From d2e6f20ab9f55e98036423953dc7671efa7b07cf Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 9 Dec 2024 16:25:56 +0000 Subject: [PATCH 1/5] skip flaky suite (#203462) --- .../test_suites/search/connectors/connectors_overview.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts b/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts index 7b014d6ad3e7a..31b52c3592626 100644 --- a/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts +++ b/x-pack/test_serverless/functional/test_suites/search/connectors/connectors_overview.ts @@ -35,7 +35,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await pageObjects.svlSearchConnectorsPage.connectorOverviewPage.expectConnectorOverviewPageComponentsToExist(); }); - describe('create and configure connector', () => { + // FLAKY: https://github.com/elastic/kibana/issues/203462 + describe.skip('create and configure connector', () => { it('create connector and confirm connector configuration page is loaded', async () => { await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.createConnector(); await pageObjects.svlSearchConnectorsPage.connectorConfigurationPage.editType('zoom'); From 2d9bcbbc25aac8d100c199866586969e7f52171e Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Mon, 9 Dec 2024 16:27:58 +0000 Subject: [PATCH 2/5] skip flaky suite (#197304) --- .../create/cancel_creation_confirmation_modal.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx b/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx index e3a11d2c94c87..6acaec47b63bb 100644 --- a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx +++ b/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx @@ -11,7 +11,8 @@ import type { AppMockRenderer } from '../../common/mock'; import { createAppMockRenderer } from '../../common/mock'; import { CancelCreationConfirmationModal } from './cancel_creation_confirmation_modal'; -describe('CancelCreationConfirmationModal', () => { +// FLAKY: https://github.com/elastic/kibana/issues/197304 +describe.skip('CancelCreationConfirmationModal', () => { let appMock: AppMockRenderer; const props = { title: 'My title', From 58b8b47928288d87c7c9d28368e110e2f3bb423d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 17:36:25 +0100 Subject: [PATCH 3/5] Sustainable Kibana Architecture: Move modules owned by `@elastic/ml-ui` (#202764) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > This PR has been auto-generated. > Do not attempt to push any changes unless you know what you are doing. > Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. #### 4 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/aiops-plugin` | `x-pack/platform/plugins/shared/aiops` | | `@kbn/data-visualizer-plugin` | `x-pack/platform/plugins/private/data_visualizer` | | `@kbn/ml-plugin` | `x-pack/platform/plugins/shared/ml` | | `@kbn/transform-plugin` | `x-pack/platform/plugins/private/transform` | #### 42 package(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@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-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-rate-analysis` | `x-pack/platform/packages/shared/ml/aiops_log_rate_analysis` | | `@kbn/aiops-test-utils` | `x-pack/platform/packages/private/ml/aiops_test_utils` | | `@kbn/deeplinks-ml` | `src/platform/packages/shared/deeplinks/ml` | | `@kbn/default-nav-ml` | `src/platform/packages/private/default-nav/ml` | | `@kbn/inference_integration_flyout` | `x-pack/platform/packages/private/ml/inference_integration_flyout` | | `@kbn/json-schemas` | `x-pack/platform/packages/private/ml/json_schemas` | | `@kbn/ml-agg-utils` | `x-pack/platform/packages/private/ml/agg_utils` | | `@kbn/ml-anomaly-utils` | `x-pack/platform/packages/shared/ml/anomaly_utils` | | `@kbn/ml-cancellable-search` | `x-pack/platform/packages/private/ml/cancellable_search` | | `@kbn/ml-category-validator` | `x-pack/platform/packages/private/ml/category_validator` | | `@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-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-view-utils` | `x-pack/platform/packages/private/ml/data_view_utils` | | `@kbn/ml-date-picker` | `x-pack/platform/packages/private/ml/date_picker` | | `@kbn/ml-date-utils` | `x-pack/platform/packages/private/ml/date_utils` | | `@kbn/ml-error-utils` | `x-pack/platform/packages/shared/ml/error_utils` | | `@kbn/ml-field-stats-flyout` | `x-pack/platform/packages/private/ml/field_stats_flyout` | | `@kbn/ml-in-memory-table` | `x-pack/platform/packages/private/ml/in_memory_table` | | `@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-kibana-theme` | `x-pack/platform/packages/private/ml/kibana_theme` | | `@kbn/ml-local-storage` | `x-pack/platform/packages/private/ml/local_storage` | | `@kbn/ml-nested-property` | `x-pack/platform/packages/private/ml/nested_property` | | `@kbn/ml-number-utils` | `x-pack/platform/packages/private/ml/number_utils` | | `@kbn/ml-parse-interval` | `x-pack/platform/packages/private/ml/parse_interval` | | `@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-response-stream` | `x-pack/platform/packages/shared/ml/response_stream` | | `@kbn/ml-route-utils` | `x-pack/platform/packages/private/ml/route_utils` | | `@kbn/ml-runtime-field-utils` | `x-pack/platform/packages/shared/ml/runtime_field_utils` | | `@kbn/ml-string-hash` | `x-pack/platform/packages/private/ml/string_hash` | | `@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-ui-actions` | `x-pack/platform/packages/private/ml/ui_actions` | | `@kbn/ml-url-state` | `x-pack/platform/packages/private/ml/url_state` | | `@kbn/ml-validators` | `x-pack/platform/packages/private/ml/validators` |
Updated references ``` ./.eslintrc.js ./docs/developer/plugin-list.asciidoc ./docs/redirects.asciidoc ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/platform/packages/private/default-nav/ml/jest.config.js ./src/platform/packages/shared/deeplinks/ml/jest.config.js ./tsconfig.base.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/packages/security-solution/navigation/src/constants.ts ./x-pack/platform/packages/private/ml/agg_utils/jest.config.js ./x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js ./x-pack/platform/packages/private/ml/aiops_components/jest.config.js ./x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js ./x-pack/platform/packages/private/ml/cancellable_search/jest.config.js ./x-pack/platform/packages/private/ml/category_validator/jest.config.js ./x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js ./x-pack/platform/packages/private/ml/data_grid/jest.config.js ./x-pack/platform/packages/private/ml/data_view_utils/jest.config.js ./x-pack/platform/packages/private/ml/date_picker/jest.config.js ./x-pack/platform/packages/private/ml/date_utils/jest.config.js ./x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js ./x-pack/platform/packages/private/ml/in_memory_table/jest.config.js ./x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js ./x-pack/platform/packages/private/ml/is_defined/jest.config.js ./x-pack/platform/packages/private/ml/is_populated_object/jest.config.js ./x-pack/platform/packages/private/ml/json_schemas/jest.config.js ./x-pack/platform/packages/private/ml/kibana_theme/jest.config.js ./x-pack/platform/packages/private/ml/local_storage/jest.config.js ./x-pack/platform/packages/private/ml/nested_property/jest.config.js ./x-pack/platform/packages/private/ml/number_utils/jest.config.js ./x-pack/platform/packages/private/ml/parse_interval/jest.config.js ./x-pack/platform/packages/private/ml/query_utils/jest.config.js ./x-pack/platform/packages/private/ml/route_utils/jest.config.js ./x-pack/platform/packages/private/ml/string_hash/jest.config.js ./x-pack/platform/packages/private/ml/time_buckets/jest.config.js ./x-pack/platform/packages/private/ml/ui_actions/jest.config.js ./x-pack/platform/packages/private/ml/url_state/jest.config.js ./x-pack/platform/packages/private/ml/validators/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_common/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js ./x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js ./x-pack/platform/packages/shared/ml/chi2test/jest.config.js ./x-pack/platform/packages/shared/ml/error_utils/jest.config.js ./x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js ./x-pack/platform/packages/shared/ml/response_stream/jest.config.js ./x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js ./x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js ./x-pack/platform/plugins/private/data_visualizer/jest.config.js ./x-pack/platform/plugins/private/transform/jest.config.js ./x-pack/platform/plugins/private/transform/readme.md ./x-pack/platform/plugins/shared/aiops/README.md ./x-pack/platform/plugins/shared/aiops/jest.config.js ./x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts ./x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts ./x-pack/platform/plugins/shared/ml/jest.config.js ./x-pack/platform/plugins/shared/ml/readme.md ./x-pack/plugins/aiops/README.md ./x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts ./x-pack/plugins/security_solution/common/machine_learning/helpers.ts ./yarn.lock ```
Updated relative paths ``` src/platform/packages/private/default-nav/ml/jest.config.js:12 src/platform/packages/private/default-nav/ml/tsconfig.json:2 src/platform/packages/shared/deeplinks/ml/jest.config.js:12 src/platform/packages/shared/deeplinks/ml/tsconfig.json:2 x-pack/platform/packages/private/ml/agg_utils/jest.config.js:10 x-pack/platform/packages/private/ml/agg_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_components/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_components/tsconfig.json:2 x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js:10 x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/cancellable_search/jest.config.js:10 x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json:2 x-pack/platform/packages/private/ml/category_validator/jest.config.js:10 x-pack/platform/packages/private/ml/category_validator/tsconfig.json:2 x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js:10 x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/data_grid/jest.config.js:10 x-pack/platform/packages/private/ml/data_grid/tsconfig.json:2 x-pack/platform/packages/private/ml/data_view_utils/jest.config.js:10 x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/date_picker/jest.config.js:10 x-pack/platform/packages/private/ml/date_picker/tsconfig.json:2 x-pack/platform/packages/private/ml/date_utils/jest.config.js:10 x-pack/platform/packages/private/ml/date_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/in_memory_table/jest.config.js:10 x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json:2 x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js:10 x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json:2 x-pack/platform/packages/private/ml/is_defined/jest.config.js:10 x-pack/platform/packages/private/ml/is_defined/tsconfig.json:2 x-pack/platform/packages/private/ml/is_populated_object/jest.config.js:10 x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json:2 x-pack/platform/packages/private/ml/json_schemas/jest.config.js:10 x-pack/platform/packages/private/ml/json_schemas/package.json:7 x-pack/platform/packages/private/ml/json_schemas/tsconfig.json:2 x-pack/platform/packages/private/ml/kibana_theme/jest.config.js:10 x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json:2 x-pack/platform/packages/private/ml/local_storage/jest.config.js:10 x-pack/platform/packages/private/ml/local_storage/tsconfig.json:2 x-pack/platform/packages/private/ml/nested_property/jest.config.js:10 x-pack/platform/packages/private/ml/nested_property/tsconfig.json:2 x-pack/platform/packages/private/ml/number_utils/jest.config.js:10 x-pack/platform/packages/private/ml/number_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/parse_interval/jest.config.js:10 x-pack/platform/packages/private/ml/parse_interval/tsconfig.json:2 x-pack/platform/packages/private/ml/query_utils/jest.config.js:10 x-pack/platform/packages/private/ml/query_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/route_utils/jest.config.js:10 x-pack/platform/packages/private/ml/route_utils/tsconfig.json:2 x-pack/platform/packages/private/ml/string_hash/jest.config.js:10 x-pack/platform/packages/private/ml/string_hash/tsconfig.json:2 x-pack/platform/packages/private/ml/time_buckets/jest.config.js:10 x-pack/platform/packages/private/ml/time_buckets/tsconfig.json:2 x-pack/platform/packages/private/ml/ui_actions/jest.config.js:10 x-pack/platform/packages/private/ml/ui_actions/tsconfig.json:2 x-pack/platform/packages/private/ml/url_state/jest.config.js:10 x-pack/platform/packages/private/ml/url_state/tsconfig.json:2 x-pack/platform/packages/private/ml/validators/jest.config.js:10 x-pack/platform/packages/private/ml/validators/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_common/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js:10 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json:2 x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/chi2test/jest.config.js:10 x-pack/platform/packages/shared/ml/chi2test/tsconfig.json:2 x-pack/platform/packages/shared/ml/error_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/error_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/response_stream/jest.config.js:10 x-pack/platform/packages/shared/ml/response_stream/tsconfig.json:2 x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json:2 x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js:10 x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/jest.config.js:10 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:2 x-pack/platform/plugins/private/data_visualizer/tsconfig.json:7 x-pack/platform/plugins/private/transform/jest.config.js:10 x-pack/platform/plugins/private/transform/tsconfig.json:10 x-pack/platform/plugins/private/transform/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/jest.config.js:10 x-pack/platform/plugins/shared/aiops/tsconfig.json:2 x-pack/platform/plugins/shared/aiops/tsconfig.json:7 x-pack/platform/plugins/shared/ml/jest.config.js:10 x-pack/platform/plugins/shared/ml/readme.md:186 x-pack/platform/plugins/shared/ml/readme.md:192 x-pack/platform/plugins/shared/ml/tsconfig.json:12 x-pack/platform/plugins/shared/ml/tsconfig.json:2 x-pack/platform/plugins/shared/ml/tsconfig.json:24 ```
Script errors ``` ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Walter Rafelsberger --- .eslintrc.js | 13 +- .github/CODEOWNERS | 92 ++++----- .github/codeql/codeql-config.yml | 1 - .i18nrc.json | 5 +- docs/developer/plugin-list.asciidoc | 8 +- docs/redirects.asciidoc | 2 +- oas_docs/scripts/merge_ess_oas.js | 2 +- oas_docs/scripts/merge_serverless_oas.js | 2 +- package.json | 92 ++++----- .../private}/default-nav/ml/README.md | 0 .../default-nav/ml/default_navigation.ts | 0 .../packages/private}/default-nav/ml/index.ts | 0 .../private}/default-nav/ml/jest.config.js | 4 +- .../private}/default-nav/ml/kibana.jsonc | 0 .../private}/default-nav/ml/package.json | 0 .../private}/default-nav/ml/tsconfig.json | 2 +- .../packages/shared}/deeplinks/ml/README.md | 0 .../shared}/deeplinks/ml/deep_links.ts | 0 .../packages/shared}/deeplinks/ml/index.ts | 0 .../shared}/deeplinks/ml/jest.config.js | 4 +- .../shared}/deeplinks/ml/kibana.jsonc | 0 .../shared}/deeplinks/ml/package.json | 0 .../shared/deeplinks/ml}/tsconfig.json | 2 +- tsconfig.base.json | 184 +++++++++--------- x-pack/.i18nrc.json | 36 ++-- .../ml/aiops_test_utils/jest.config.js | 12 -- .../packages/ml/anomaly_utils/jest.config.js | 12 -- .../ml/cancellable_search/jest.config.js | 12 -- x-pack/packages/ml/chi2test/jest.config.js | 12 -- .../ml/creation_wizard_utils/jest.config.js | 12 -- .../data_frame_analytics_utils/jest.config.js | 12 -- x-pack/packages/ml/data_grid/jest.config.js | 12 -- .../ml/data_view_utils/jest.config.js | 12 -- x-pack/packages/ml/date_picker/jest.config.js | 12 -- x-pack/packages/ml/date_utils/jest.config.js | 12 -- x-pack/packages/ml/error_utils/jest.config.js | 12 -- .../ml/field_stats_flyout/jest.config.js | 12 -- .../ml/in_memory_table/jest.config.js | 12 -- .../jest.config.js | 12 -- x-pack/packages/ml/is_defined/jest.config.js | 12 -- .../packages/ml/json_schemas/jest.config.js | 12 -- .../packages/ml/kibana_theme/jest.config.js | 12 -- .../packages/ml/local_storage/jest.config.js | 12 -- .../ml/nested_property/jest.config.js | 12 -- .../packages/ml/number_utils/jest.config.js | 12 -- x-pack/packages/ml/number_utils/tsconfig.json | 19 -- .../packages/ml/parse_interval/jest.config.js | 12 -- x-pack/packages/ml/query_utils/jest.config.js | 12 -- .../ml/random_sampler_utils/jest.config.js | 12 -- .../ml/response_stream/jest.config.js | 12 -- x-pack/packages/ml/route_utils/jest.config.js | 12 -- .../ml/runtime_field_utils/jest.config.js | 12 -- x-pack/packages/ml/string_hash/jest.config.js | 12 -- .../packages/ml/time_buckets/jest.config.js | 12 -- .../ml/trained_models_utils/jest.config.js | 12 -- x-pack/packages/ml/ui_actions/jest.config.js | 12 -- x-pack/packages/ml/url_state/jest.config.js | 12 -- x-pack/packages/ml/validators/jest.config.js | 12 -- .../navigation/src/constants.ts | 2 +- .../packages/private}/ml/agg_utils/README.md | 0 .../packages/private}/ml/agg_utils/index.ts | 0 .../private/ml/agg_utils}/jest.config.js | 4 +- .../private}/ml/agg_utils/kibana.jsonc | 0 .../private}/ml/agg_utils/package.json | 0 .../src/build_sampler_aggregation.test.ts | 0 .../src/build_sampler_aggregation.ts | 0 .../ml/agg_utils/src/fetch_agg_intervals.ts | 0 .../src/fetch_histograms_for_fields.ts | 0 .../ml/agg_utils/src/field_histograms.ts | 0 ...sampler_aggregations_response_path.test.ts | 0 .../get_sampler_aggregations_response_path.ts | 0 .../src/is_multi_bucket_aggregate.ts | 0 .../src/time_series_metric_fields.ts | 0 .../ml/agg_utils/src/type_guards.test.ts | 0 .../private}/ml/agg_utils/src/type_guards.ts | 0 .../private}/ml/agg_utils/src/types.ts | 0 .../ml/agg_utils/src/validate_number.test.ts | 0 .../ml/agg_utils/src/validate_number.ts | 0 .../private}/ml/agg_utils/tsconfig.json | 2 +- .../ml/aiops_change_point_detection/README.md | 0 .../aiops_change_point_detection/constants.ts | 0 .../jest.config.js | 12 ++ .../aiops_change_point_detection/kibana.jsonc | 0 .../aiops_change_point_detection/package.json | 0 .../tsconfig.json | 2 +- .../private}/ml/aiops_components/README.md | 0 .../private}/ml/aiops_components/index.ts | 0 .../ml/aiops_components/jest.config.js | 12 ++ .../private}/ml/aiops_components/kibana.jsonc | 0 .../private}/ml/aiops_components/package.json | 0 .../src/document_count_chart/brush_badge.tsx | 0 .../document_count_chart.tsx | 0 .../document_count_chart_redux.tsx | 0 .../src/document_count_chart/index.ts | 0 .../src/dual_brush/dual_brush.scss | 0 .../src/dual_brush/dual_brush.tsx | 0 .../src/dual_brush/dual_brush_annotation.tsx | 0 .../aiops_components/src/dual_brush/index.ts | 0 .../src/progress_controls/index.ts | 0 .../progress_controls/progress_controls.tsx | 0 .../use_animated_progress_bar_background.ts | 0 .../ml/aiops_components/tsconfig.json | 2 +- .../private}/ml/aiops_test_utils/README.md | 0 .../artificial_logs/fields.ts | 0 .../filtered_frequent_item_sets.ts | 0 .../final_significant_item_groups.ts | 0 ...final_significant_item_groups_textfield.ts | 0 .../artificial_logs/frequent_item_sets.ts | 0 .../significant_item_groups.ts | 0 .../significant_log_patterns.ts | 0 .../artificial_logs/significant_terms.ts | 0 .../artificial_logs/top_terms.ts | 0 .../artificial_logs/top_terms_groups.ts | 0 .../farequote/significant_item_groups.ts | 0 .../frequent_item_sets_large_arrays.ts | 0 .../ml/aiops_test_utils/jest.config.js | 12 ++ .../private}/ml/aiops_test_utils/kibana.jsonc | 0 .../significant_terms.ts | 0 .../private}/ml/aiops_test_utils/package.json | 0 .../ml/aiops_test_utils/tsconfig.json | 2 +- .../private}/ml/cancellable_search/README.md | 0 .../private}/ml/cancellable_search/index.ts | 0 .../ml/cancellable_search/jest.config.js | 12 ++ .../ml/cancellable_search/kibana.jsonc | 0 .../ml/cancellable_search/package.json | 0 .../src/use_cancellable_search.ts | 0 .../ml/cancellable_search/tsconfig.json | 2 +- .../private}/ml/category_validator/README.md | 0 .../common/constants/categorization.ts | 0 .../common/types/categories.ts | 0 .../private}/ml/category_validator/index.ts | 0 .../ml/category_validator/jest.config.js | 12 ++ .../ml/category_validator/kibana.jsonc | 0 .../ml/category_validator/package.json | 0 .../ml/category_validator/src/examples.ts | 0 .../ml/category_validator/src/util.ts | 0 .../src/validation_results.ts | 0 .../ml/category_validator/tsconfig.json | 2 +- .../ml/creation_wizard_utils/README.md | 0 .../components/destination_index_form.tsx | 0 .../use_id_as_index_name_switch.tsx | 0 .../ml/creation_wizard_utils/jest.config.js | 12 ++ .../ml/creation_wizard_utils/kibana.jsonc | 0 .../ml/creation_wizard_utils/package.json | 0 .../ml/creation_wizard_utils}/tsconfig.json | 2 +- .../ml/data_frame_analytics_utils/README.md | 0 .../ml/data_frame_analytics_utils/index.ts | 0 .../data_frame_analytics_utils/jest.config.js | 12 ++ .../data_frame_analytics_utils/kibana.jsonc | 0 .../data_frame_analytics_utils/package.json | 0 .../src/analytics_utils.test.ts | 0 .../src/analytics_utils.ts | 0 .../src/constants.ts | 0 .../src/feature_importance.ts | 0 .../data_frame_analytics_utils/src/fields.ts | 0 .../src/get_num_top_classes.ts | 0 .../get_num_top_feature_importance_values.ts | 0 .../data_frame_analytics_utils/src/types.ts | 0 .../data_frame_analytics_utils/tsconfig.json | 2 +- .../packages/private}/ml/data_grid/README.md | 0 .../ml/data_grid/components/column_chart.tsx | 0 .../ml/data_grid/components/data_grid.tsx | 0 .../data_grid/hooks/use_column_chart.test.tsx | 0 .../ml/data_grid/hooks/use_column_chart.tsx | 0 .../ml/data_grid/hooks/use_data_grid.tsx | 0 .../packages/private}/ml/data_grid/index.ts | 0 .../private/ml/data_grid}/jest.config.js | 4 +- .../private}/ml/data_grid/kibana.jsonc | 0 .../private}/ml/data_grid/lib/common.test.ts | 0 .../private}/ml/data_grid/lib/common.ts | 0 .../ml/data_grid/lib/field_histograms.ts | 0 .../private}/ml/data_grid/lib/types.ts | 0 .../private}/ml/data_grid/package.json | 0 .../private}/ml/data_grid/tsconfig.json | 4 +- .../private}/ml/data_view_utils/README.md | 0 .../ml/data_view_utils/actions/create.ts | 0 .../actions/data_view_handler.ts | 0 .../ml/data_view_utils/actions/delete.ts | 0 .../components/create_data_view_form_row.tsx | 0 .../components/create_data_view_switch.tsx | 0 .../create_data_view_time_field.tsx | 0 .../private/ml/data_view_utils/jest.config.js | 12 ++ .../private}/ml/data_view_utils/kibana.jsonc | 0 .../private}/ml/data_view_utils/package.json | 0 .../schemas/api_create_query_schema.ts | 0 .../private}/ml/data_view_utils/tsconfig.json | 2 +- .../types/api_create_response_schema.ts | 0 .../types/api_delete_response_schema.ts | 0 .../private}/ml/date_picker/README.md | 0 .../packages/private}/ml/date_picker/index.ts | 0 .../private/ml/date_picker/jest.config.js | 12 ++ .../private}/ml/date_picker/kibana.jsonc | 0 .../private}/ml/date_picker/package.json | 0 .../components/date_picker_wrapper.test.tsx | 0 .../src/components/date_picker_wrapper.tsx | 0 .../full_time_range_selector.test.tsx | 0 .../components/full_time_range_selector.tsx | 0 .../src/hooks/use_date_picker_context.tsx | 0 .../src/hooks/use_timefilter.test.ts | 0 .../date_picker/src/hooks/use_timefilter.ts | 0 .../full_time_range_selector_service.test.ts | 0 .../full_time_range_selector_service.ts | 0 .../src/services/time_field_range.ts | 0 .../services/timefilter_refresh_service.ts | 0 .../ml/date_picker/src/services/types.ts | 0 .../private}/ml/date_picker/src/storage.ts | 0 .../private}/ml/date_picker/tsconfig.json | 2 +- .../packages/private}/ml/date_utils/README.md | 0 .../packages/private}/ml/date_utils/index.ts | 0 .../private/ml/date_utils}/jest.config.js | 4 +- .../private}/ml/date_utils/kibana.jsonc | 0 .../private}/ml/date_utils/package.json | 0 .../ml/date_utils/src/date_utils.test.ts | 0 .../private}/ml/date_utils/src/date_utils.ts | 0 .../private}/ml/date_utils/src/time_format.ts | 0 .../private}/ml/date_utils/tsconfig.json | 2 +- .../private}/ml/field_stats_flyout/README.md | 0 .../field_stats_content.tsx | 0 .../field_stats_flyout/field_stats_flyout.tsx | 0 .../field_stats_flyout_provider.tsx | 0 .../field_stats_info_button.tsx | 0 .../get_kbn_field_icon_types.test.ts | 0 .../get_kbn_field_icon_types.ts | 0 .../private}/ml/field_stats_flyout/index.ts | 0 .../ml/field_stats_flyout/jest.config.js | 12 ++ .../ml/field_stats_flyout/kibana.jsonc | 0 .../option_list_popover.tsx | 0 .../option_list_popover_footer.tsx | 0 .../option_list_with_stats.tsx | 0 .../options_list_with_stats/types.ts | 0 .../ml/field_stats_flyout/package.json | 0 .../get_merged_populated_fields_query.test.ts | 0 .../get_merged_populated_fields_query.ts | 0 .../populated_fields/index.ts | 0 .../populated_fields_cache_manager.ts | 0 .../ml/field_stats_flyout/tsconfig.json | 2 +- .../use_field_stats_flyout_context.ts | 0 .../use_field_stats_trigger.tsx | 0 .../private}/ml/in_memory_table/README.md | 0 .../in_memory_table/hooks/use_table_state.ts | 0 .../private}/ml/in_memory_table/index.ts | 0 .../private/ml/in_memory_table/jest.config.js | 12 ++ .../private}/ml/in_memory_table/kibana.jsonc | 0 .../private}/ml/in_memory_table/package.json | 0 .../private}/ml/in_memory_table/tsconfig.json | 2 +- .../ml/inference_integration_flyout/README.md | 0 .../components/connect_to_api.tsx | 0 .../components/eland_python_client.tsx | 0 .../components/elasticsearch_models.tsx | 0 .../components/flyout_layout.tsx | 0 .../inference_flyout_wrapper.test.tsx | 0 .../components/inference_flyout_wrapper.tsx | 0 .../save_inference_mappings_button.tsx | 0 .../components/service_forms/cohere_form.tsx | 0 .../service_forms/huggingface_form.tsx | 0 .../components/service_forms/openai_form.tsx | 0 .../components/service_options.tsx | 0 .../ml/inference_integration_flyout/index.ts | 0 .../jest.config.js | 12 ++ .../inference_integration_flyout/kibana.jsonc | 0 .../lib/shared_values.ts | 0 .../inference_integration_flyout/package.json | 0 .../tsconfig.json | 2 +- .../ml/inference_integration_flyout/types.ts | 0 .../packages/private}/ml/is_defined/README.md | 0 .../packages/private}/ml/is_defined/index.ts | 0 .../private/ml/is_defined/jest.config.js | 12 ++ .../private}/ml/is_defined/kibana.jsonc | 0 .../private}/ml/is_defined/package.json | 0 .../private}/ml/is_defined/src/is_defined.ts | 0 .../private/ml/is_defined}/tsconfig.json | 2 +- .../private}/ml/is_populated_object/README.md | 0 .../private}/ml/is_populated_object/index.ts | 0 .../ml/is_populated_object/jest.config.js | 12 ++ .../ml/is_populated_object/kibana.jsonc | 0 .../ml/is_populated_object/package.json | 0 .../src/is_populated_object.test.ts | 0 .../src/is_populated_object.ts | 0 .../ml/is_populated_object/tsconfig.json | 2 +- .../private}/ml/json_schemas/README.md | 0 .../private}/ml/json_schemas/index.ts | 0 .../private/ml/json_schemas/jest.config.js | 12 ++ .../private}/ml/json_schemas/kibana.jsonc | 0 .../private}/ml/json_schemas/package.json | 2 +- .../private}/ml/json_schemas/scripts/index.ts | 0 .../json_schemas/src/json_schema_service.ts | 0 ..._ml_anomaly_detectors__job_id__schema.json | 0 ...__ml_data_frame_analytics__id__schema.json | 0 ...t___ml_datafeeds__datafeed_id__schema.json | 0 ...ransform__transform_id___pivot_schema.json | 0 .../ml/json_schemas/src/schema_overrides.ts | 0 .../private}/ml/json_schemas/src/types.ts | 0 .../private}/ml/json_schemas/tsconfig.json | 2 +- .../private}/ml/kibana_theme/README.md | 0 .../private}/ml/kibana_theme/index.ts | 0 .../private/ml/kibana_theme/jest.config.js | 12 ++ .../private}/ml/kibana_theme/kibana.jsonc | 0 .../private}/ml/kibana_theme/package.json | 0 .../private}/ml/kibana_theme/src/hooks.ts | 0 .../private}/ml/kibana_theme/tsconfig.json | 2 +- .../private}/ml/local_storage/README.md | 0 .../private}/ml/local_storage/index.ts | 0 .../private/ml/local_storage/jest.config.js | 12 ++ .../private}/ml/local_storage/kibana.jsonc | 0 .../private}/ml/local_storage/package.json | 0 .../ml/local_storage/src/storage_context.tsx | 0 .../private}/ml/local_storage/tsconfig.json | 2 +- .../private}/ml/nested_property/README.md | 0 .../private}/ml/nested_property/index.ts | 0 .../private/ml/nested_property/jest.config.js | 12 ++ .../private}/ml/nested_property/kibana.jsonc | 0 .../private}/ml/nested_property/package.json | 0 .../src/get_nested_property.test.ts | 0 .../src/get_nested_property.ts | 0 .../src/set_nested_property.test.ts | 0 .../src/set_nested_property.ts | 0 .../private}/ml/nested_property/tsconfig.json | 2 +- .../private}/ml/number_utils/README.md | 0 .../private}/ml/number_utils/index.ts | 0 .../private/ml/number_utils/jest.config.js | 12 ++ .../private}/ml/number_utils/kibana.jsonc | 0 .../private}/ml/number_utils/package.json | 0 .../src/round_to_decimal_place.test.ts | 0 .../src/round_to_decimal_place.ts | 0 .../private/ml/number_utils}/tsconfig.json | 2 +- .../private}/ml/parse_interval/README.md | 0 .../private}/ml/parse_interval/index.ts | 0 .../private/ml/parse_interval/jest.config.js | 12 ++ .../private}/ml/parse_interval/kibana.jsonc | 0 .../private}/ml/parse_interval/package.json | 0 .../ml/parse_interval/parse_interval.test.ts | 0 .../ml/parse_interval/parse_interval.ts | 0 .../private}/ml/parse_interval/tsconfig.json | 2 +- .../private}/ml/query_utils/README.md | 0 .../packages/private}/ml/query_utils/index.ts | 0 .../private/ml/query_utils/jest.config.js | 12 ++ .../private}/ml/query_utils/kibana.jsonc | 0 .../private}/ml/query_utils/package.json | 0 .../query_utils/src/__mocks__/simple_query.ts | 0 .../src/add_exclude_frozen_to_query.test.ts | 0 .../src/add_exclude_frozen_to_query.ts | 0 .../bool_filter_based_simple_query.test.ts | 0 .../src/bool_filter_based_simple_query.ts | 0 .../src/build_base_filter_criteria.test.ts | 0 .../src/build_base_filter_criteria.ts | 0 .../ml/query_utils/src/default_query.test.ts | 0 .../ml/query_utils/src/default_query.ts | 0 .../src/es_client_total_hits_relation.ts | 0 .../src/filter_based_default_query.test.ts | 0 .../src/filter_based_default_query.ts | 0 .../query_utils/src/get_default_dsl_query.ts | 0 .../src/get_safe_aggregation_name.test.ts | 0 .../src/get_safe_aggregation_name.ts | 0 .../query_utils/src/match_all_query.test.ts | 0 .../ml/query_utils/src/match_all_query.ts | 0 .../ml/query_utils/src/simple_query.test.ts | 0 .../ml/query_utils/src/simple_query.ts | 0 .../private}/ml/query_utils/src/types.ts | 0 .../private}/ml/query_utils/tsconfig.json | 2 +- .../private}/ml/route_utils/README.md | 0 .../packages/private}/ml/route_utils/index.ts | 0 .../private/ml/route_utils/jest.config.js | 12 ++ .../private}/ml/route_utils/kibana.jsonc | 0 .../private}/ml/route_utils/package.json | 0 .../src/create_execution_context.test.ts | 0 .../src/create_execution_context.ts | 0 .../private}/ml/route_utils/tsconfig.json | 2 +- .../private}/ml/string_hash/README.md | 0 .../packages/private}/ml/string_hash/index.ts | 0 .../private/ml/string_hash}/jest.config.js | 4 +- .../private}/ml/string_hash/kibana.jsonc | 0 .../private}/ml/string_hash/package.json | 0 .../ml/string_hash/src/string_hash.test.ts | 0 .../ml/string_hash/src/string_hash.ts | 0 .../private}/ml/string_hash/tsconfig.json | 2 +- .../private}/ml/time_buckets/README.md | 0 .../ml/time_buckets/calc_auto_interval.js | 0 .../time_buckets/calc_auto_interval.test.js | 0 .../private}/ml/time_buckets/index.ts | 0 .../private/ml/time_buckets/jest.config.js | 12 ++ .../private}/ml/time_buckets/kibana.jsonc | 0 .../private}/ml/time_buckets/package.json | 0 .../ml/time_buckets/parse_interval.ts | 0 .../ml/time_buckets/time_buckets.d.ts | 0 .../private}/ml/time_buckets/time_buckets.js | 0 .../ml/time_buckets/time_buckets.test.js | 0 .../private}/ml/time_buckets/tsconfig.json | 2 +- .../ml/time_buckets/use_time_buckets.ts | 0 .../packages/private}/ml/ui_actions/README.md | 0 .../packages/private}/ml/ui_actions/index.ts | 0 .../private/ml/ui_actions}/jest.config.js | 4 +- .../private}/ml/ui_actions/kibana.jsonc | 0 .../private}/ml/ui_actions/package.json | 0 .../ml/ui_actions/src/aiops/ui_actions.ts | 0 .../ml/ui_actions/src/ml/ui_actions.ts | 0 .../private}/ml/ui_actions/tsconfig.json | 2 +- .../packages/private}/ml/url_state/README.md | 0 .../packages/private}/ml/url_state/index.ts | 0 .../private/ml/url_state}/jest.config.js | 4 +- .../private}/ml/url_state/kibana.jsonc | 0 .../private}/ml/url_state/package.json | 0 .../ml/url_state/src/url_state.test.tsx | 0 .../private}/ml/url_state/src/url_state.tsx | 0 .../private}/ml/url_state/tsconfig.json | 2 +- .../packages/private}/ml/validators/README.md | 0 .../private}/ml/validators/constants.ts | 0 .../packages/private}/ml/validators/index.ts | 0 .../private/ml/validators}/jest.config.js | 4 +- .../private}/ml/validators/kibana.jsonc | 0 .../private}/ml/validators/package.json | 0 .../private}/ml/validators/tsconfig.json | 2 +- .../private}/ml/validators/validators.test.ts | 0 .../private}/ml/validators/validators.ts | 0 .../shared}/ml/aiops_common/README.md | 0 .../shared}/ml/aiops_common/constants.ts | 0 .../aiops_common/create_default_query.test.ts | 0 .../ml/aiops_common/create_default_query.ts | 0 .../is_request_aborted_error.test.ts | 0 .../aiops_common/is_request_aborted_error.ts | 0 .../shared/ml/aiops_common/jest.config.js | 12 ++ .../shared}/ml/aiops_common/kibana.jsonc | 0 .../shared}/ml/aiops_common/package.json | 0 .../shared}/ml/aiops_common/tsconfig.json | 2 +- .../ml/aiops_log_pattern_analysis/README.md | 0 .../aiops_log_pattern_analysis/constants.ts | 0 .../create_category_request.ts | 0 .../aiops_log_pattern_analysis/embeddable.ts | 0 .../get_category_query.ts | 0 .../ml/aiops_log_pattern_analysis/index.ts | 0 .../aiops_log_pattern_analysis/jest.config.js | 12 ++ .../aiops_log_pattern_analysis/kibana.jsonc | 0 .../aiops_log_pattern_analysis/package.json | 0 .../process_category_results.ts | 0 .../ml/aiops_log_pattern_analysis/schema.ts | 0 .../aiops_log_pattern_analysis/tsconfig.json | 2 +- .../ml/aiops_log_pattern_analysis/types.ts | 0 .../ml/aiops_log_rate_analysis/README.md | 0 .../__mocks__/date_histogram.ts | 0 .../ml/aiops_log_rate_analysis/api/schema.ts | 0 .../aiops_log_rate_analysis/api/schema_v2.ts | 0 .../aiops_log_rate_analysis/api/schema_v3.ts | 0 .../api/stream_reducer.test.ts | 0 .../api/stream_reducer.ts | 0 .../ml/aiops_log_rate_analysis/constants.ts | 0 .../ecs_fields.test.ts | 0 .../ml/aiops_log_rate_analysis/ecs_fields.ts | 0 .../get_baseline_and_deviation_rates.test.ts | 0 .../get_baseline_and_deviation_rates.ts | 0 .../get_extended_change_point.test.ts | 0 .../get_extended_change_point.ts | 0 ...log_rate_analysis_parameters_from_alert.ts | 0 ..._log_rate_analysis_type_for_counts.test.ts | 0 .../get_log_rate_analysis_type_for_counts.ts | 0 ...g_rate_analysis_type_for_histogram.test.ts | 0 ...et_log_rate_analysis_type_for_histogram.ts | 0 .../get_log_rate_change.test.ts | 0 .../get_log_rate_change.ts | 0 .../get_snapped_timestamps.ts | 0 .../get_snapped_window_parameters.test.ts | 0 .../get_snapped_window_parameters.ts | 0 .../get_swapped_window_parameters.test.ts | 0 .../get_swapped_window_parameters.ts | 0 .../get_window_parameters.ts | 0 .../get_window_parameters_for_trigger.ts | 0 .../ml/aiops_log_rate_analysis/index.ts | 0 .../ml/aiops_log_rate_analysis/jest.config.js | 12 ++ .../ml/aiops_log_rate_analysis/kibana.jsonc | 0 .../log_rate_analysis_type.ts | 0 .../log_rate_histogram_item.ts | 0 .../ml/aiops_log_rate_analysis/package.json | 0 .../queries/__mocks__/field_caps_ecommerce.ts | 0 .../__mocks__/field_caps_large_arrays.ts | 0 .../queries/__mocks__/field_caps_pgbench.ts | 0 .../queries/__mocks__/params_match_all.ts | 0 .../queries/__mocks__/params_search_query.ts | 0 .../queries/__mocks__/search_query.ts | 0 .../__mocks__/top_categories_result.ts | 0 .../top_categories_search_response.ts | 0 .../queries/__mocks__/top_terms_result.ts | 0 .../__mocks__/top_terms_search_response.ts | 0 .../queries/duplicate_identifier.ts | 0 .../queries/fetch_categories.test.ts | 0 .../queries/fetch_categories.ts | 0 .../queries/fetch_category_counts.test.ts | 0 .../queries/fetch_category_counts.ts | 0 .../queries/fetch_field_candidates.test.ts | 0 .../queries/fetch_field_candidates.ts | 0 .../queries/fetch_frequent_item_sets.test.ts | 0 .../queries/fetch_frequent_item_sets.ts | 0 .../queries/fetch_index_info.test.ts | 0 .../queries/fetch_index_info.ts | 0 .../fetch_log_rate_analysis_for_alert.ts | 0 ..._mini_histograms_for_significant_groups.ts | 0 ...h_mini_histograms_for_significant_items.ts | 0 .../queries/fetch_significant_categories.ts | 0 .../fetch_significant_term_p_values.ts | 0 .../fetch_terms_2_categories_counts.ts | 0 .../queries/fetch_top_categories.test.ts | 0 .../queries/fetch_top_categories.ts | 0 .../queries/fetch_top_terms.test.ts | 0 .../queries/fetch_top_terms.ts | 0 .../queries/fetch_top_types.ts | 0 .../get_field_value_pair_counts.test.ts | 0 .../queries/get_field_value_pair_counts.ts | 0 .../queries/get_group_filter.test.ts | 0 .../queries/get_group_filter.ts | 0 ...get_groups_with_readded_duplicates.test.ts | 0 .../get_groups_with_readded_duplicates.ts | 0 .../queries/get_histogram_query.test.ts | 0 .../queries/get_histogram_query.ts | 0 .../queries/get_marked_duplicates.test.ts | 0 .../queries/get_marked_duplicates.ts | 0 .../get_missing_significant_items.test.ts | 0 .../queries/get_missing_significant_items.ts | 0 .../queries/get_normalized_score.ts | 0 .../queries/get_query_with_params.test.ts | 0 .../queries/get_query_with_params.ts | 0 .../queries/get_range_query.test.ts | 0 .../queries/get_range_query.ts | 0 .../queries/get_request_base.ts | 0 .../get_significant_item_groups.test.ts | 0 .../queries/get_significant_item_groups.ts | 0 .../get_simple_hierarchical_tree.test.ts | 0 .../queries/get_simple_hierarchical_tree.ts | 0 ...et_simple_hierarchical_tree_leaves.test.ts | 0 .../get_simple_hierarchical_tree_leaves.ts | 0 .../queries/get_total_doc_count_request.ts | 0 .../queries/get_value_counts.test.ts | 0 .../queries/get_value_counts.ts | 0 .../queries/get_values_descending.test.ts | 0 .../queries/get_values_descending.ts | 0 .../queries/mini_histogram_utils.test.ts | 0 .../queries/mini_histogram_utils.ts | 0 ...ransform_significant_item_to_group.test.ts | 0 .../transform_significant_item_to_group.ts | 0 .../queue_field_candidates.ts | 0 .../ml/aiops_log_rate_analysis/state/hooks.ts | 0 .../ml/aiops_log_rate_analysis/state/index.ts | 0 ...te_analysis_field_candidates_slice.test.ts | 0 ...og_rate_analysis_field_candidates_slice.ts | 0 .../state/log_rate_analysis_slice.ts | 0 .../log_rate_analysis_table_slice.test.ts | 0 .../state/log_rate_analysis_table_slice.ts | 0 .../aiops_log_rate_analysis/state/store.tsx | 0 .../ml/aiops_log_rate_analysis/state/types.ts | 0 .../state/use_current_selected_group.ts | 0 .../use_current_selected_significant_item.ts | 0 .../ml/aiops_log_rate_analysis/tsconfig.json | 2 +- .../ml/aiops_log_rate_analysis/types.ts | 0 .../window_parameters.ts | 0 .../shared}/ml/anomaly_utils/README.md | 0 .../ml/anomaly_utils/aggregation_types.ts | 0 .../ml/anomaly_utils/anomaly_severity.ts | 0 .../anomaly_utils/anomaly_severity_types.ts | 0 .../ml/anomaly_utils/anomaly_threshold.ts | 0 .../ml/anomaly_utils/anomaly_utils.test.ts | 0 .../shared}/ml/anomaly_utils/anomaly_utils.ts | 0 .../shared}/ml/anomaly_utils/constants.ts | 0 .../shared}/ml/anomaly_utils/custom_urls.ts | 0 .../shared}/ml/anomaly_utils/detector_rule.ts | 0 .../shared}/ml/anomaly_utils/es_client.ts | 0 .../shared}/ml/anomaly_utils/field_types.ts | 0 .../shared}/ml/anomaly_utils/fields.ts | 0 .../get_formatted_severity_score.ts | 0 .../ml/anomaly_utils/get_severity.test.ts | 0 .../shared}/ml/anomaly_utils/get_severity.ts | 0 .../anomaly_utils/get_severity_color.test.ts | 0 .../ml/anomaly_utils/get_severity_color.ts | 0 .../ml/anomaly_utils/get_severity_type.ts | 0 .../shared}/ml/anomaly_utils/index.ts | 0 .../shared/ml/anomaly_utils/jest.config.js | 12 ++ .../shared}/ml/anomaly_utils/kibana.jsonc | 0 .../shared}/ml/anomaly_utils/package.json | 0 .../ml/anomaly_utils/severity_colors.ts | 0 .../shared}/ml/anomaly_utils/tsconfig.json | 2 +- .../shared}/ml/anomaly_utils/types.ts | 0 .../packages/shared}/ml/chi2test/README.md | 0 .../ml/chi2test/compute_chi_2_pvalue.test.ts | 0 .../ml/chi2test/compute_chi_2_pvalue.ts | 0 .../packages/shared}/ml/chi2test/constants.ts | 0 .../ml/chi2test/critical_table_lookup.ts | 0 .../packages/shared}/ml/chi2test/index.ts | 0 .../shared/ml/chi2test}/jest.config.js | 4 +- .../packages/shared}/ml/chi2test/kibana.jsonc | 0 .../packages/shared}/ml/chi2test/package.json | 0 .../packages/shared/ml/chi2test/tsconfig.json | 19 ++ .../packages/shared}/ml/chi2test/types.ts | 0 .../packages/shared}/ml/error_utils/README.md | 0 .../packages/shared}/ml/error_utils/index.ts | 0 .../shared/ml/error_utils/jest.config.js | 12 ++ .../shared}/ml/error_utils/kibana.jsonc | 0 .../shared}/ml/error_utils/package.json | 0 .../ml/error_utils/src/process_errors.test.ts | 0 .../ml/error_utils/src/process_errors.ts | 0 .../ml/error_utils/src/request_error.ts | 0 .../shared}/ml/error_utils/src/types.ts | 0 .../shared}/ml/error_utils/tsconfig.json | 2 +- .../shared}/ml/random_sampler_utils/README.md | 0 .../shared}/ml/random_sampler_utils/index.ts | 0 .../ml/random_sampler_utils/jest.config.js | 12 ++ .../ml/random_sampler_utils/kibana.jsonc | 0 .../ml/random_sampler_utils/package.json | 0 .../src/get_sample_probability.test.ts | 0 .../src/get_sample_probability.ts | 0 .../src/random_sampler_manager.ts | 0 .../src/random_sampler_wrapper.test.ts | 0 .../src/random_sampler_wrapper.ts | 0 .../ml/random_sampler_utils/tsconfig.json | 2 +- .../shared}/ml/response_stream/README.md | 0 .../ml/response_stream/client/constants.ts | 0 .../ml/response_stream/client/fetch_stream.ts | 0 .../ml/response_stream/client/index.ts | 0 .../ml/response_stream/client/stream_slice.ts | 0 .../response_stream/client/string_reducer.ts | 0 .../client/use_fetch_stream.ts | 0 .../shared/ml/response_stream/jest.config.js | 12 ++ .../shared}/ml/response_stream/kibana.jsonc | 0 .../shared}/ml/response_stream/package.json | 0 .../server/accept_compression.test.ts | 0 .../server/accept_compression.ts | 0 .../ml/response_stream/server/index.ts | 0 .../server/stream_factory.test.ts | 0 .../response_stream/server/stream_factory.ts | 0 .../shared}/ml/response_stream/tsconfig.json | 2 +- .../shared}/ml/runtime_field_utils/README.md | 0 .../shared}/ml/runtime_field_utils/index.ts | 0 .../ml/runtime_field_utils/jest.config.js | 12 ++ .../ml/runtime_field_utils/kibana.jsonc | 0 .../ml/runtime_field_utils/package.json | 0 .../src/get_combined_runtime_mappings.ts | 0 .../src/is_runtime_field.test.ts | 0 .../src/is_runtime_field.ts | 0 .../src/is_runtime_mappings.test.ts | 0 .../src/is_runtime_mappings.ts | 0 .../ml/runtime_field_utils/tsconfig.json | 2 +- .../shared}/ml/trained_models_utils/README.md | 0 .../shared}/ml/trained_models_utils/index.ts | 0 .../ml/trained_models_utils/jest.config.js | 12 ++ .../ml/trained_models_utils/kibana.jsonc | 0 .../ml/trained_models_utils/package.json | 0 .../src/constants/trained_models.ts | 0 .../ml/trained_models_utils}/tsconfig.json | 2 +- .../private}/data_visualizer/README.md | 0 .../private}/data_visualizer/common/app.ts | 0 .../data_visualizer/common/constants.ts | 0 .../data_visualizer/common/i18n_constants.ts | 0 .../common/types/field_request_config.ts | 0 .../common/types/field_stats.ts | 0 .../common/types/field_vis_config.ts | 0 .../data_visualizer/common/types/index.ts | 0 .../data_visualizer/common/types/indices.ts | 0 .../common/types/job_field_type.ts | 0 .../common/types/test_grok_pattern.ts | 0 .../common/types/time_field_request.ts | 0 .../common/utils/build_query_filters.ts | 0 .../common/utils/datafeed_utils.ts | 0 .../common/utils/parse_interval.test.ts | 0 .../common/utils/parse_interval.ts | 0 .../common/utils/runtime_field_utils.ts | 0 .../common/utils/tika_utils.ts | 0 .../private/data_visualizer/jest.config.js | 18 ++ .../private}/data_visualizer/kibana.jsonc | 0 .../data_visualizer/public/api/index.ts | 0 .../public/application/_index.scss | 0 .../application/common/components/_index.scss | 0 .../combined_fields/combined_field_label.tsx | 0 .../combined_fields/combined_fields_form.tsx | 0 .../combined_fields_read_only_form.tsx | 0 .../components/combined_fields/geo_point.tsx | 0 .../components/combined_fields/index.ts | 0 .../combined_fields/semantic_text.tsx | 0 .../components/combined_fields/types.ts | 0 .../components/combined_fields/utils.test.ts | 0 .../components/combined_fields/utils.ts | 0 .../document_count_chart.tsx | 0 .../document_count_chart/index.ts | 0 .../document_count_content.tsx | 0 .../document_count_content/index.ts | 0 .../total_count_header.tsx | 0 .../examples_list/examples_list.tsx | 0 .../common/components/examples_list/index.ts | 0 .../expanded_row/file_based_expanded_row.tsx | 0 .../geo_point_content/format_utils.ts | 0 .../geo_point_content/geo_point_content.tsx | 0 .../expanded_row/geo_point_content/index.ts | 0 .../geo_point_content_with_map.tsx | 0 .../geo_point_content_with_map/index.ts | 0 .../common/components/expanded_row/index.ts | 0 .../expanded_row/index_based_expanded_row.tsx | 0 .../expanded_row/use_expanded_row_css.ts | 0 .../field_count_panel/field_count_panel.tsx | 0 .../components/field_count_panel/index.ts | 0 .../field_data_row/action_menu/actions.ts | 0 .../field_data_row/action_menu/index.ts | 0 .../field_data_row/action_menu/lens_utils.ts | 0 .../common/components/field_data_row/index.ts | 0 .../field_data_row/number_content_preview.tsx | 0 .../field_names_filter/field_names_filter.tsx | 0 .../components/field_names_filter/index.ts | 0 .../field_type_icon/_field_type_icon.scss | 0 .../components/field_type_icon/_index.scss | 0 .../field_type_icon/field_type_icon.test.tsx | 0 .../field_type_icon/field_type_icon.tsx | 0 .../components/field_type_icon/index.ts | 0 .../field_types_filter/field_types_filter.tsx | 0 .../field_types_help_popover.tsx | 0 .../components/field_types_filter/index.ts | 0 .../fields_stats_grid/create_fields.ts | 0 .../fields_stats_grid/fields_stats_grid.tsx | 0 .../fields_stats_grid/filter_fields.ts | 0 .../fields_stats_grid/get_field_names.ts | 0 .../components/fields_stats_grid/index.ts | 0 .../filebeat_config_flyout/filebeat_config.ts | 0 .../filebeat_config_flyout.tsx | 0 .../filebeat_config_flyout/index.ts | 0 .../common/components/help_menu/help_menu.tsx | 0 .../common/components/help_menu/index.tsx | 0 .../common/components/link_card/index.ts | 0 .../common/components/link_card/link_card.tsx | 0 .../components/loading_indicator/index.ts | 0 .../loading_indicator/loading_indicator.tsx | 0 .../components/multi_select_picker/index.ts | 0 .../multi_select_picker.tsx | 0 .../components/not_in_docs_content/index.ts | 0 .../not_in_docs_context.tsx | 0 .../random_sampling_menu/probability_used.tsx | 0 .../random_sampler_range_slider.tsx | 0 .../random_sampling_menu.tsx | 0 .../common/components/results_links/index.ts | 0 .../results_links/results_links.tsx | 0 .../common/components/stats_table/_index.scss | 0 .../expanded_row_field_header.tsx | 0 .../expanded_row_field_header/index.ts | 0 .../components/field_count_stats/index.ts | 0 .../field_count_stats/metric_fields_count.tsx | 0 .../components/field_count_stats/styles.ts | 0 .../field_count_stats/total_fields_count.tsx | 0 .../field_data_expanded_row/_index.scss | 0 .../_number_content.scss | 0 .../boolean_content.tsx | 0 .../choropleth_map.tsx | 0 .../field_data_expanded_row/date_content.tsx | 0 .../document_stats.tsx | 0 .../field_data_expanded_row/error_message.tsx | 0 .../expanded_row_content.tsx | 0 .../expanded_row_panel.tsx | 0 .../field_data_expanded_row/index.ts | 0 .../field_data_expanded_row/ip_content.tsx | 0 .../keyword_content.tsx | 0 .../number_content.tsx | 0 .../field_data_expanded_row/other_content.tsx | 0 .../field_data_expanded_row/text_content.tsx | 0 .../components/field_data_row/_index.scss | 0 .../boolean_content_preview.tsx | 0 .../field_data_row/column_chart.scss | 0 .../field_data_row/column_chart.tsx | 0 .../field_data_row/distinct_values.tsx | 0 .../field_data_row/document_stats.tsx | 0 .../components/field_data_row/index.ts | 0 .../field_data_row/number_content_preview.tsx | 0 .../field_data_row/top_values_preview.tsx | 0 .../field_data_row/use_column_chart.test.tsx | 0 .../field_data_row/use_column_chart.tsx | 0 .../metric_distribution_chart/index.ts | 0 .../metric_distribution_chart.tsx | 0 ...metric_distribution_chart_data_builder.tsx | 0 ...tric_distribution_chart_tooltip_header.tsx | 0 .../data_visualizer_stats_table.tsx | 0 .../stats_table/hooks/color_range_legend.tsx | 0 .../components/stats_table/hooks/index.ts | 0 .../stats_table/hooks/use_color_range.test.ts | 0 .../stats_table/hooks/use_color_range.ts | 0 .../hooks/use_data_viz_chart_theme.ts | 0 .../common/components/stats_table/index.ts | 0 .../stats_table/types/field_data_row.ts | 0 .../components/stats_table/types/index.ts | 0 .../stats_table/use_table_settings.ts | 0 .../common/components/stats_table/utils.ts | 0 .../components/top_values/_top_values.scss | 0 .../common/components/top_values/index.ts | 0 .../components/top_values/top_values.tsx | 0 .../common/components/utils/format_value.ts | 0 .../common/components/utils/index.ts | 0 .../components/utils/kibana_field_format.ts | 0 .../utils/number_as_ordinal.test.ts | 0 .../components/utils/number_as_ordinal.ts | 0 .../common/components/utils/utils.ts | 0 .../public/application/common/constants.ts | 0 .../common/hooks/data_source_context.ts | 0 .../common/hooks/use_current_eui_theme.ts | 0 .../application/common/hooks/use_data.ts | 0 .../common/hooks/use_document_count_stats.ts | 0 .../application/common/hooks/use_search.ts | 0 .../common/types/data_visualizer_plugin.ts | 0 .../application/common/util/display_error.ts | 0 .../common/util/example_utils.test.ts | 0 .../application/common/util/example_utils.ts | 0 .../common/util/field_types_utils.ts | 0 .../common/util/get_data_test_subject.ts | 0 ...or_messages_from_es_shard_failures.test.ts | 0 ...t_error_messages_from_es_shard_failures.ts | 0 .../application/common/util/get_max_bytes.ts | 0 .../common/util/grok_pattern.test.ts | 0 .../application/common/util/grok_pattern.ts | 0 .../common/util/promise_all_settled_utils.ts | 0 .../charts/data_drift_distribution_chart.tsx | 0 .../charts/default_value_formatter.ts | 0 .../data_drift/charts/no_charts_data.tsx | 0 .../charts/overlap_distribution_chart.tsx | 0 .../charts/single_distribution_chart.tsx | 0 .../application/data_drift/constants.ts | 0 .../data_drift/data_drift_app_state.tsx | 0 .../data_drift_chart_tooltip_body.tsx | 0 .../data_drift/data_drift_hint.tsx | 0 .../data_drift/data_drift_overview_table.tsx | 0 .../data_drift/data_drift_page.tsx | 0 .../data_drift/data_drift_utils.ts | 0 .../data_drift/data_drift_view.tsx | 0 .../document_count_chart_singular.tsx | 2 +- .../index.tsx | 0 .../single_brush.tsx | 2 +- .../data_drift/document_count_with_brush.tsx | 0 .../public/application/data_drift/index.ts | 0 .../public/application/data_drift/types.ts | 0 .../data_drift/use_data_drift_result.ts | 0 .../data_drift/use_state_manager.ts | 0 .../components/about_panel/about_panel.tsx | 0 .../components/about_panel/index.ts | 0 .../about_panel/welcome_content.tsx | 0 .../analysis_summary/analysis_summary.tsx | 0 .../components/analysis_summary/index.ts | 0 .../components/doc_count_chart/axes.tsx | 0 .../doc_count_chart/doc_count_chart.tsx | 0 .../doc_count_chart/doc_count_search.ts | 0 .../doc_count_chart/event_rate_chart.tsx | 0 .../components/doc_count_chart/index.ts | 0 .../components/edit_flyout/edit_flyout.js | 0 .../components/edit_flyout/index.js | 0 .../components/edit_flyout/options/index.js | 0 .../edit_flyout/options/option_lists.ts | 0 .../components/edit_flyout/options/options.ts | 0 .../components/edit_flyout/overrides.js | 0 .../components/edit_flyout/overrides.test.js | 0 .../components/edit_flyout/overrides_utils.ts | 0 .../edit_flyout/overrides_validation.js | 0 .../explanation_flyout/explanation_flyout.tsx | 0 .../components/explanation_flyout/index.ts | 0 .../components/file_contents/field_badge.tsx | 0 .../file_contents/file_contents.tsx | 0 .../file_contents/grok_highlighter.ts | 0 .../components/file_contents/index.ts | 0 .../components/file_contents/preview_pdf.ts | 0 .../file_contents/use_text_parser.tsx | 0 .../file_data_visualizer_view/constants.ts | 0 .../file_data_visualizer_view.js | 0 .../file_error_callouts.tsx | 0 .../file_size_check.ts | 0 .../file_data_visualizer_view/index.js | 0 .../tika_analyzer.ts | 0 .../components/import_errors/errors.tsx | 0 .../components/import_errors/index.ts | 0 .../import_progress/import_progress.tsx | 0 .../components/import_progress/index.ts | 0 .../import_settings/advanced/advanced.tsx | 0 .../import_settings/advanced/index.ts | 0 .../import_settings/advanced/inputs.tsx | 0 .../advanced/use_existing_indices.ts | 0 .../create_data_view_tooltip.tsx | 0 .../import_settings/import_settings.tsx | 0 .../components/import_settings/index.ts | 0 .../import_settings/semantic_text_info.tsx | 0 .../components/import_settings/simple.tsx | 0 .../components/import_summary/failures.tsx | 0 .../import_summary/import_summary.tsx | 0 .../components/import_summary/index.ts | 0 .../components/import_view/auto_deploy.ts | 0 .../components/import_view/import.ts | 0 .../components/import_view/import_view.js | 0 .../components/import_view/index.js | 0 .../components/json_editor/index.ts | 0 .../components/json_editor/json_editor.tsx | 0 .../components/results_view/index.ts | 0 .../components/results_view/results_view.tsx | 0 .../file_data_visualizer.tsx | 0 .../application/file_data_visualizer/index.ts | 0 .../public/application/index.ts | 0 .../actions_panel/actions_panel.tsx | 0 .../components/actions_panel/index.ts | 0 .../data_view_management.tsx | 0 .../components/data_view_management/index.ts | 0 .../index_data_visualizer_view/index.ts | 0 .../index_data_visualizer_esql.tsx | 0 .../index_data_visualizer_view.tsx | 0 .../search_panel/esql/limit_size.tsx | 0 .../search_panel/field_name_filter.tsx | 0 .../search_panel/field_type_filter.tsx | 0 .../components/search_panel/index.ts | 0 .../components/search_panel/search_bar.tsx | 0 .../components/search_panel/search_panel.tsx | 0 .../constants/esql_constants.ts | 0 .../constants/field_stats_component_type.ts | 0 .../constants/index_data_visualizer_viewer.ts | 0 .../constants/random_sampler.ts | 0 .../embeddables/field_stats/constants.ts | 0 .../field_stats/field_stats_esql_editor.tsx | 0 .../field_stats/field_stats_factory.tsx | 0 .../field_stats/field_stats_initializer.tsx | 0 .../field_stats_initializer_view_type.tsx | 0 .../embeddables/field_stats/index.ts | 0 .../initialize_field_stats_controls.ts | 0 .../resolve_field_stats_embeddable_input.tsx | 0 .../embeddables/field_stats/types.ts | 0 .../grid_embeddable/embeddable_error_msg.tsx | 0 .../embeddable_esql_field_stats_table.tsx | 0 .../embeddable_field_stats_no_results.tsx | 0 .../embeddable_field_stats_table.tsx | 0 .../embeddable_loading_fallback.tsx | 0 .../grid_embeddable/field_stats_wrapper.tsx | 0 .../embeddables/grid_embeddable/types.ts | 0 .../esql/use_data_visualizer_esql_data.tsx | 0 .../hooks/esql/use_esql_field_stats_data.ts | 0 .../hooks/esql/use_esql_overall_stats_data.ts | 0 .../hooks/use_data_visualizer_grid_data.ts | 0 .../hooks/use_field_stats.ts | 0 .../hooks/use_overall_stats.ts | 0 .../index_data_visualizer/index.ts | 0 .../index_data_visualizer.tsx | 0 .../index_data_visualizer/locator/index.ts | 0 .../locator/locator.test.ts | 0 .../index_data_visualizer/locator/locator.ts | 0 .../index_data_visualizer/progress_utils.ts | 0 .../esql_requests/get_boolean_field_stats.ts | 0 .../get_count_and_cardinality.ts | 0 .../esql_requests/get_date_field_stats.ts | 0 .../esql_requests/get_keyword_fields.ts | 0 .../esql_requests/get_numeric_field_stats.ts | 0 .../esql_requests/handle_error.ts | 0 .../requests/build_random_sampler_agg.ts | 0 .../search_strategy/requests/constants.ts | 0 .../requests/esql_utils.test.ts | 0 .../search_strategy/requests/esql_utils.ts | 0 .../search_strategy/requests/fetch_utils.ts | 0 .../requests/get_boolean_field_stats.ts | 0 .../get_data_view_by_index_pattern.ts | 0 .../requests/get_date_field_stats.ts | 0 .../requests/get_document_stats.ts | 0 .../requests/get_field_examples.ts | 0 .../requests/get_fields_stats.ts | 0 .../requests/get_numeric_field_stats.ts | 0 .../requests/get_string_field_stats.ts | 0 .../search_strategy/requests/overall_stats.ts | 0 .../search_strategy/requests/utils.ts | 0 .../types/combined_query.ts | 0 .../index_data_visualizer/types/data_drift.ts | 0 .../types/esql_data_visualizer.ts | 0 .../types/index_data_visualizer_state.ts | 0 .../types/overall_stats.ts | 0 .../index_data_visualizer/types/storage.ts | 0 .../get_fields_with_subfields_utils.test.ts | 0 .../utils/get_fields_with_subfields_utils.ts | 0 ...n_fieldstats_unavailable_for_esql_query.ts | 0 .../utils/get_supported_aggs.ts | 0 .../utils/process_distribution_data.ts | 0 .../utils/saved_search_utils.test.ts | 0 .../utils/saved_search_utils.ts | 0 .../public/application/kibana_context.ts | 0 .../private}/data_visualizer/public/index.ts | 0 .../data_visualizer/public/kibana_services.ts | 0 .../lazy_load_bundle/component_wrapper.tsx | 0 .../public/lazy_load_bundle/index.ts | 0 .../public/lazy_load_bundle/lazy/index.tsx | 0 .../private}/data_visualizer/public/plugin.ts | 0 .../data_visualizer/public/register_home.ts | 0 .../data_visualizer/server/config_schema.ts | 0 .../private}/data_visualizer/server/index.ts | 0 .../private}/data_visualizer/server/plugin.ts | 0 .../server/register_custom_integration.ts | 0 .../private}/data_visualizer/server/routes.ts | 0 .../data_visualizer/server/types/deps.ts | 0 .../data_visualizer/server/types/index.ts | 0 .../server/utils/error_wrapper.ts | 0 .../private}/data_visualizer/tsconfig.json | 4 +- .../transform/common/constants.test.ts | 0 .../private}/transform/common/constants.ts | 0 .../private}/transform/common/index.ts | 0 .../transform/common/types/aggregations.ts | 0 .../transform/common/types/alerting.ts | 0 .../transform/common/types/capabilities.ts | 0 .../private}/transform/common/types/common.ts | 0 .../transform/common/types/data_view.test.ts | 0 .../transform/common/types/data_view.ts | 0 .../transform/common/types/es_index.ts | 0 .../common/types/es_ingest_pipeline.ts | 0 .../private}/transform/common/types/fields.ts | 0 .../transform/common/types/messages.ts | 0 .../transform/common/types/pivot_aggs.ts | 0 .../transform/common/types/pivot_group_by.ts | 0 .../transform/common/types/storage.ts | 0 .../transform/common/types/transform.ts | 0 .../transform/common/types/transform_stats.ts | 0 .../transform/common/utils/alerts.test.ts | 0 .../private}/transform/common/utils/alerts.ts | 0 .../create_capability_failure_message.ts | 0 .../utils/create_stats_unknown_message.ts | 0 .../private}/transform/common/utils/errors.ts | 0 .../transform/common/utils/es_utils.ts | 0 .../common/utils/field_utils.test.ts | 0 .../transform/common/utils/field_utils.ts | 0 .../transform/common/utils/to_array.ts | 0 .../common/utils/transform_api_key.ts | 0 .../plugins/private/transform}/jest.config.js | 11 +- .../plugins/private}/transform/kibana.jsonc | 0 .../transform/public/alerting/index.ts | 0 .../alerting/transform_alerting_flyout.tsx | 0 .../transform_health_rule_type/index.ts | 0 .../register_transform_health_rule.ts | 0 .../tests_selection_control.tsx | 0 .../transform_health_rule_trigger.tsx | 0 .../transform_selector_control.tsx | 0 .../public/app/__mocks__/app_dependencies.tsx | 0 .../private}/transform/public/app/app.tsx | 0 .../transform/public/app/app_dependencies.tsx | 0 .../common/__mocks__/transform_list_row.json | 0 .../app/common/__mocks__/transform_stats.json | 0 .../public/app/common/aggregations.test.ts | 0 .../public/app/common/aggregations.ts | 0 .../public/app/common/constants/index.ts | 0 .../public/app/common/data_grid.test.ts | 0 .../transform/public/app/common/data_grid.ts | 0 .../transform/public/app/common/dropdown.ts | 0 .../transform/public/app/common/fields.ts | 0 .../transform/public/app/common/index.ts | 0 .../app/common/managed_transforms_utils.ts | 0 .../public/app/common/navigation.tsx | 0 .../public/app/common/pivot_aggs.test.ts | 0 .../transform/public/app/common/pivot_aggs.ts | 0 .../public/app/common/pivot_group_by.ts | 0 .../app/common/reauthorization_utils.ts | 0 .../public/app/common/request.test.ts | 0 .../transform/public/app/common/request.ts | 0 .../public/app/common/time_zone_utils.test.ts | 0 .../public/app/common/time_zone_utils.ts | 0 .../public/app/common/transform.test.ts | 0 .../transform/public/app/common/transform.ts | 0 .../public/app/common/transform_list.ts | 0 .../public/app/common/transform_stats.test.ts | 0 .../public/app/common/transform_stats.ts | 0 .../validators/frequency_validator.test.ts | 0 .../common/validators/frequency_validator.ts | 0 .../public/app/common/validators/index.ts | 0 .../integer_above_zero_validator.test.ts | 0 .../integer_above_zero_validator.ts | 0 .../integer_range_minus_1_to_100_validator.ts | 0 .../is_continuous_mode_delay.test.ts | 0 .../validators/is_continuous_mode_delay.ts | 0 .../common/validators/is_json_string.test.ts | 0 .../app/common/validators/is_json_string.ts | 0 .../is_retention_policy_max_age.test.ts | 0 .../validators/is_retention_policy_max_age.ts | 0 .../is_transform_wizard_frequency.test.ts | 0 .../is_transform_wizard_frequency.ts | 0 .../common/validators/is_valid_frequency.ts | 0 .../public/app/common/validators/messages.ts | 0 .../parse_duration_above_zero.test.ts | 0 .../validators/parse_duration_above_zero.ts | 0 ...retention_policy_max_age_validator.test.ts | 0 .../retention_policy_max_age_validator.ts | 0 .../validators/string_validator.test.ts | 0 .../app/common/validators/string_validator.ts | 0 ...rm_settings_number_of_retries_validator.ts | 0 ...orm_settings_page_search_size_validator.ts | 0 .../public/app/common/validators/types.ts | 0 .../app/components/capabilities_wrapper.tsx | 0 .../transform/public/app/components/index.ts | 0 .../public/app/components/job_icon.tsx | 0 .../toast_notification_text.test.tsx | 0 .../components/toast_notification_text.tsx | 0 .../transform/public/app/hooks/index.ts | 0 .../public/app/hooks/use_create_transform.tsx | 0 .../public/app/hooks/use_data_search.ts | 0 .../public/app/hooks/use_data_view_exists.ts | 0 .../public/app/hooks/use_delete_transform.tsx | 0 .../app/hooks/use_documentation_links.ts | 0 .../app/hooks/use_get_data_view_titles.ts | 0 .../hooks/use_get_data_views_title_id_map.ts | 0 .../public/app/hooks/use_get_es_indices.ts | 0 .../app/hooks/use_get_es_ingest_pipelines.ts | 0 .../hooks/use_get_histograms_for_fields.ts | 0 .../public/app/hooks/use_get_transform.tsx | 0 .../hooks/use_get_transform_audit_messages.ts | 0 .../app/hooks/use_get_transform_nodes.ts | 0 .../app/hooks/use_get_transform_stats.ts | 0 .../public/app/hooks/use_get_transforms.ts | 0 .../app/hooks/use_get_transforms_preview.ts | 0 .../public/app/hooks/use_index_data.test.tsx | 0 .../public/app/hooks/use_index_data.ts | 0 .../app/hooks/use_reauthorize_transform.tsx | 0 .../app/hooks/use_refresh_transform_list.ts | 0 .../public/app/hooks/use_reset_transform.tsx | 0 .../app/hooks/use_schedule_now_transform.tsx | 0 .../app/hooks/use_search_items/common.ts | 0 .../app/hooks/use_search_items/index.ts | 0 .../use_search_items/use_search_items.ts | 0 .../public/app/hooks/use_start_transform.tsx | 0 .../public/app/hooks/use_stop_transform.tsx | 0 .../app/hooks/use_transform_capabilities.ts | 0 .../hooks/use_transform_config_data.test.ts | 0 .../app/hooks/use_transform_config_data.ts | 0 .../public/app/hooks/use_update_transform.ts | 0 .../private}/transform/public/app/index.scss | 0 .../public/app/mount_management_section.ts | 0 .../clone_transform_section.tsx | 0 .../app/sections/clone_transform/index.ts | 0 .../advanced_pivot_editor.tsx | 0 .../components/advanced_pivot_editor/index.ts | 0 .../advanced_pivot_editor_switch.tsx | 0 .../advanced_pivot_editor_switch/index.ts | 0 .../advanced_query_editor_switch.tsx | 0 .../advanced_query_editor_switch/index.ts | 0 .../advanced_runtime_mappings_editor.tsx | 0 ...dvanced_runtime_mappings_editor_switch.tsx | 0 .../index.ts | 0 .../switch_modal.tsx | 0 .../advanced_runtime_mappings_settings.tsx | 0 .../index.ts | 0 .../advanced_source_editor.tsx | 0 .../advanced_source_editor/index.ts | 0 .../aggregation_dropdown/dropdown.tsx | 0 .../components/aggregation_dropdown/index.ts | 0 .../_aggregation_label_form.scss | 0 .../components/aggregation_list/_index.scss | 0 .../aggregation_list/agg_label_form.test.tsx | 0 .../aggregation_list/agg_label_form.tsx | 0 .../components/aggregation_list/index.ts | 0 .../aggregation_list/list_form.test.tsx | 0 .../components/aggregation_list/list_form.tsx | 0 .../aggregation_list/list_summary.test.tsx | 0 .../aggregation_list/list_summary.tsx | 0 .../aggregation_list/popover_form.test.tsx | 0 .../aggregation_list/popover_form.tsx | 0 .../aggregation_list/sub_aggs_section.tsx | 0 .../date_picker_apply_switch.tsx | 0 .../date_picker_apply_switch/index.ts | 0 .../group_by_list/_group_by_label_form.scss | 0 .../components/group_by_list/_index.scss | 0 .../group_by_label_form.test.tsx | 0 .../group_by_list/group_by_label_form.tsx | 0 .../group_by_label_summary.test.tsx | 0 .../group_by_list/group_by_label_summary.tsx | 0 .../components/group_by_list/index.ts | 0 .../group_by_list/list_form.test.tsx | 0 .../components/group_by_list/list_form.tsx | 0 .../group_by_list/list_summary.test.tsx | 0 .../components/group_by_list/list_summary.tsx | 0 .../group_by_list/popover_form.test.tsx | 0 .../components/group_by_list/popover_form.tsx | 0 .../components/pivot_configuration/index.ts | 0 .../pivot_configuration.tsx | 0 .../components/source_search_bar/index.ts | 0 .../source_search_bar/source_search_bar.tsx | 0 .../components/step_create/index.ts | 0 .../step_create/step_create_form.test.tsx | 0 .../step_create/step_create_form.tsx | 0 .../step_create/step_create_summary.tsx | 0 .../apply_transform_config_to_define_state.ts | 0 .../step_define/common/common.test.ts | 0 .../step_define/common/constants.ts | 0 .../filter_agg/components/editor_form.tsx | 0 .../components/filter_agg_form.test.tsx | 0 .../filter_agg/components/filter_agg_form.tsx | 0 .../components/filter_range_form.tsx | 0 .../components/filter_term_form.tsx | 0 .../common/filter_agg/components/index.ts | 0 .../step_define/common/filter_agg/config.ts | 0 .../common/filter_agg/constants.ts | 0 .../step_define/common/filter_agg/index.ts | 0 .../step_define/common/filter_agg/types.ts | 0 .../step_define/common/get_agg_form_config.ts | 0 .../get_agg_name_conflict_toast_messages.ts | 0 .../common/get_default_aggregation_config.ts | 0 .../common/get_default_group_by_config.ts | 0 .../common/get_default_step_define_state.ts | 0 .../common/get_pivot_dropdown_options.ts | 0 .../components/step_define/common/index.ts | 0 .../common/percentiles_agg/config.test.ts | 0 .../common/percentiles_agg/config.ts | 0 .../common/percentiles_agg/constants.ts | 0 .../common/percentiles_agg/index.ts | 0 .../percentiles_form_component.tsx | 0 .../common/percentiles_agg/types.ts | 0 .../step_define/common/terms_agg/config.ts | 0 .../step_define/common/terms_agg/index.ts | 0 .../common/terms_agg/terms_form_component.tsx | 0 .../step_define/common/terms_agg/types.ts | 0 .../components/top_metrics_agg_form.tsx | 0 .../common/top_metrics_agg/config.test.ts | 0 .../common/top_metrics_agg/config.ts | 0 .../common/top_metrics_agg/index.ts | 0 .../common/top_metrics_agg/types.ts | 0 .../components/step_define/common/types.ts | 0 .../hooks/use_advanced_pivot_editor.ts | 0 .../use_advanced_runtime_mappings_editor.ts | 0 .../hooks/use_advanced_source_editor.ts | 0 .../step_define/hooks/use_date_picker.ts | 0 .../hooks/use_latest_function_config.test.ts | 0 .../hooks/use_latest_function_config.ts | 0 .../step_define/hooks/use_pivot_config.ts | 0 .../step_define/hooks/use_search_bar.ts | 0 .../step_define/hooks/use_step_define_form.ts | 0 .../components/step_define/index.ts | 0 .../step_define/latest_function_form.tsx | 0 .../step_define/pivot_function_form.tsx | 0 .../step_define/step_define_form.test.tsx | 0 .../step_define/step_define_form.tsx | 0 .../step_define/step_define_summary.test.tsx | 0 .../step_define/step_define_summary.tsx | 0 .../transform_function_selector.tsx | 0 .../components/step_details/common.ts | 0 .../components/step_details/index.ts | 0 .../step_details/step_details_form.tsx | 0 .../step_details/step_details_summary.tsx | 0 .../components/switch_modal/index.ts | 0 .../components/switch_modal/switch_modal.tsx | 0 .../components/wizard/_index.scss | 0 .../components/wizard/_wizard.scss | 0 .../components/wizard/index.ts | 0 .../components/wizard/storage.ts | 0 .../components/wizard/wizard.tsx | 0 .../components/wizard_nav/index.ts | 0 .../components/wizard_nav/wizard_nav.tsx | 0 .../create_transform_section.tsx | 0 .../app/sections/create_transform/index.ts | 0 .../edit_transform_api_error_callout.tsx | 0 .../components/edit_transform_flyout.tsx | 0 .../edit_transform_flyout_callout.tsx | 0 .../components/edit_transform_flyout_form.tsx | 0 .../edit_transform_flyout_form_text_area.tsx | 0 .../edit_transform_flyout_form_text_input.tsx | 0 .../edit_transform_ingest_pipeline.tsx | 0 .../edit_transform_retention_policy.tsx | 0 .../edit_transform_update_button.tsx | 0 .../app/sections/edit_transform/index.ts | 0 .../__mocks__/transform_config.ts | 0 .../state_management/actions.ts | 0 ...ply_form_state_to_transform_config.test.ts | 0 .../apply_form_state_to_transform_config.ts | 0 .../edit_transform_flyout_state.test.tsx | 0 .../edit_transform_flyout_state.tsx | 0 .../state_management/form_field.ts | 0 .../state_management/form_section.ts | 0 .../state_management/get_default_state.ts | 0 .../state_management/get_update_value.ts | 0 .../selectors/api_error_message.ts | 0 .../state_management/selectors/form_field.ts | 0 .../selectors/form_sections.ts | 0 .../selectors/is_form_touched.ts | 0 .../selectors/is_form_valid.ts | 0 .../selectors/retention_policy_field.ts | 0 .../selectors/updated_transform_config.ts | 0 .../state_management/validators.ts | 0 .../state_management/value_parsers.ts | 0 .../utils/capitalize_first_letter.ts | 0 .../action_clone/clone_action_name.tsx | 0 .../components/action_clone/index.ts | 0 .../action_clone/use_clone_action.tsx | 0 .../create_alert_rule_action_name.tsx | 0 .../components/action_create_alert/index.ts | 0 .../use_create_alert_rule_action.tsx | 0 .../action_delete/delete_action_modal.tsx | 0 .../action_delete/delete_action_name.test.tsx | 0 .../action_delete/delete_action_name.tsx | 0 .../components/action_delete/index.ts | 0 .../action_delete/use_delete_action.tsx | 0 .../discover_action_name.test.tsx | 0 .../action_discover/discover_action_name.tsx | 0 .../components/action_discover/index.ts | 0 .../action_discover/use_action_discover.tsx | 0 .../action_edit/edit_action_name.tsx | 0 .../components/action_edit/index.ts | 0 .../action_edit/use_edit_action.tsx | 0 .../components/action_reauthorize/index.ts | 0 .../reauthorize_action_modal.tsx | 0 .../reauthorize_action_name.tsx | 0 .../sort_transforms_to_reauthorize.test.ts | 0 .../sort_transforms_to_reauthorize.ts | 0 .../use_reauthorize_action.tsx | 0 .../components/action_reset/index.ts | 0 .../action_reset/reset_action_modal.tsx | 0 .../action_reset/reset_action_name.tsx | 0 .../action_reset/use_reset_action.tsx | 0 .../components/action_schedule_now/index.ts | 0 .../schedule_now_action_name.tsx | 0 .../use_schedule_now_action.tsx | 0 .../components/action_start/index.ts | 0 .../action_start/start_action_modal.tsx | 0 .../action_start/start_action_name.test.tsx | 0 .../action_start/start_action_name.tsx | 0 .../action_start/use_start_action.tsx | 0 .../components/action_stop/index.ts | 0 .../action_stop/stop_action_modal.tsx | 0 .../action_stop/stop_action_name.test.tsx | 0 .../action_stop/stop_action_name.tsx | 0 .../action_stop/use_stop_action.tsx | 0 .../create_transform_button/_index.scss | 0 .../_transform_search_dialog.scss | 0 .../create_transform_button.test.tsx | 0 .../create_transform_button.tsx | 0 .../create_transform_button/index.ts | 0 .../dangling_task_warning.tsx | 0 .../managed_transforms_callout.tsx | 0 .../refresh_transform_list_button/index.ts | 0 .../refresh_transform_list_button.tsx | 0 .../components/search_selection/index.ts | 0 .../search_selection/search_selection.tsx | 0 .../components/stats_bar/_index.scss | 0 .../components/stats_bar/_stat.scss | 0 .../components/stats_bar/_stats_bar.scss | 0 .../components/stats_bar/index.ts | 0 .../components/stats_bar/stat.tsx | 0 .../components/stats_bar/stats_bar.tsx | 0 .../transform_list/expanded_row.test.tsx | 0 .../transform_list/expanded_row.tsx | 0 .../expanded_row_column_view.test.tsx | 0 .../expanded_row_column_view.tsx | 0 .../expanded_row_details_pane.tsx | 0 .../expanded_row_health_pane.tsx | 0 .../expanded_row_json_pane.test.tsx | 0 .../transform_list/expanded_row_json_pane.tsx | 0 .../expanded_row_messages_pane.tsx | 0 .../expanded_row_preview_pane.tsx | 0 .../expanded_row_stats_pane.tsx | 0 .../components/transform_list/index.ts | 0 .../transform_health_colored_dot.tsx | 0 .../transform_list/transform_list.test.tsx | 0 .../transform_list/transform_list.tsx | 0 .../transform_search_bar_filters.tsx | 0 .../transform_task_state_badge.tsx | 0 .../transform_list/transforms_stats_bar.tsx | 0 .../transform_list/use_actions.test.tsx | 0 .../components/transform_list/use_actions.tsx | 0 .../transform_list/use_columns.test.tsx | 0 .../components/transform_list/use_columns.tsx | 0 .../transform_list/use_table_settings.ts | 0 .../sections/transform_management/index.ts | 0 .../transform_management_section.test.tsx | 0 .../transform_management_section.tsx | 0 .../public/app/serverless_context.tsx | 0 .../app/services/navigation/breadcrumb.ts | 0 .../app/services/navigation/doc_title.ts | 0 .../public/app/services/navigation/index.ts | 0 .../public/app/services/text/index.ts | 0 .../public/app/services/text/text.ts | 0 .../private}/transform/public/index.ts | 0 .../private}/transform/public/plugin.ts | 0 .../transform/public/register_feature.ts | 0 .../plugins/private}/transform/readme.md | 2 +- .../private}/transform/server/README.md | 0 .../transform/server/capabilities.test.ts | 0 .../private}/transform/server/capabilities.ts | 0 .../private}/transform/server/config.ts | 0 .../private}/transform/server/index.ts | 0 .../transform/server/lib/alerting/index.ts | 0 .../transform_health_rule_type/index.ts | 0 .../register_transform_health_rule_type.ts | 0 .../transform_health_rule_type/schema.ts | 0 .../transform_health_service.test.ts | 0 .../transform_health_service.ts | 0 .../private}/transform/server/plugin.ts | 0 .../api/audit_messages/register_route.ts | 0 .../api/audit_messages/route_handler.ts | 0 .../delete_transforms/delete_transforms.ts | 0 .../api/delete_transforms/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/field_histograms/register_route.ts | 0 .../api/field_histograms/route_handler.ts | 0 .../reauthorize_and_start_transforms.ts | 0 .../reauthorize_transforms/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/reset_transforms/register_route.ts | 0 .../api/reset_transforms/reset_transforms.ts | 0 .../api/reset_transforms/route_handler.ts | 0 .../schedule_now_transforms/register_route.ts | 0 .../schedule_now_transforms/route_handler.ts | 0 .../schedule_now_transforms.ts | 0 .../api/start_transforms/register_route.ts | 0 .../api/start_transforms/route_handler.ts | 0 .../api/start_transforms/start_transforms.ts | 0 .../api/stop_transforms/register_route.ts | 0 .../api/stop_transforms/route_handler.ts | 0 .../api/stop_transforms/stop_transforms.ts | 0 .../api/transforms_all/register_route.ts | 0 .../api/transforms_all/route_handler.ts | 0 .../api/transforms_create/register_route.ts | 0 .../route_handler_factory.ts | 0 .../api/transforms_nodes/register_route.ts | 0 .../route_handler_factory.test.ts | 0 .../transforms_nodes/route_handler_factory.ts | 0 .../api/transforms_preview/register_route.ts | 0 .../api/transforms_preview/route_handler.ts | 0 .../api/transforms_single/register_route.ts | 0 .../api/transforms_single/route_handler.ts | 0 .../transforms_stats_all/register_route.ts | 0 .../api/transforms_stats_all/route_handler.ts | 0 .../transforms_stats_single/register_route.ts | 0 .../transforms_stats_single/route_handler.ts | 0 .../api/transforms_update/register_route.ts | 0 .../api/transforms_update/route_handler.ts | 0 .../routes/api_schemas/audit_messages.ts | 0 .../server/routes/api_schemas/common.ts | 0 .../routes/api_schemas/delete_transforms.ts | 0 .../routes/api_schemas/field_histograms.ts | 0 .../api_schemas/reauthorize_transforms.ts | 0 .../routes/api_schemas/reset_transforms.ts | 0 .../api_schemas/schedule_now_transforms.ts | 0 .../routes/api_schemas/start_transforms.ts | 0 .../routes/api_schemas/stop_transforms.ts | 0 .../server/routes/api_schemas/transforms.ts | 0 .../routes/api_schemas/transforms_stats.ts | 0 .../routes/api_schemas/update_transforms.ts | 0 .../transform/server/routes/apidoc.json | 0 .../private}/transform/server/routes/index.ts | 0 .../server/routes/utils/error_utils.ts | 0 .../transform/server/services/index.ts | 0 .../transform/server/services/license.ts | 0 .../private}/transform/server/types.ts | 0 .../transform/server/usage/collector.ts | 0 .../private/transform}/server/usage/index.ts | 0 .../plugins/private}/transform/tsconfig.json | 4 +- .../plugins/shared}/aiops/README.md | 6 +- .../plugins/shared}/aiops/jest.config.js | 10 +- .../plugins/shared}/aiops/kibana.jsonc | 0 .../application/url_state/common.test.ts | 0 .../public/application/url_state/common.ts | 0 .../url_state/log_pattern_analysis.ts | 0 .../url_state/log_rate_analysis.ts | 0 ...uild_extended_base_filter_criteria.test.ts | 0 .../build_extended_base_filter_criteria.ts | 2 +- .../public/application/utils/search_utils.ts | 2 +- .../utils/time_series_dataview_check.tsx | 0 .../cases/change_point_charts_attachment.tsx | 0 .../public/cases/log_pattern_attachment.tsx | 0 .../cases/log_rate_analysis_attachment.tsx | 0 .../aiops/public/cases/register_cases.tsx | 0 .../change_point_detection_context.tsx | 0 .../change_point_detection_page.tsx | 0 .../change_point_detection_root.tsx | 0 .../change_point_type_filter.tsx | 0 .../change_points_table.tsx | 0 .../chart_component.tsx | 0 .../change_point_detection/charts_grid.tsx | 0 .../change_point_detection/constants.ts | 0 .../change_point_detection/fields_config.tsx | 0 .../function_picker.tsx | 0 .../change_point_detection/index.ts | 0 .../max_series_control.tsx | 0 .../metric_field_selector.tsx | 0 .../no_change_points_warning.tsx | 0 .../partitions_selector.tsx | 0 .../change_point_detection/search_bar.tsx | 0 .../split_field_selector.tsx | 0 .../use_change_point_agg_request.ts | 0 .../use_common_chart_props.ts | 0 .../use_split_field_cardinality.ts | 0 .../view_type_selector.tsx | 0 .../document_count_content.tsx | 0 .../document_count_content/index.ts | 0 .../total_count_header/index.ts | 0 .../total_count_header/total_count_header.tsx | 2 +- .../field_stats_content.tsx | 0 .../field_stats_popover.tsx | 0 .../components/field_stats_popover/index.ts | 0 .../log_categorization/attachments_menu.tsx | 0 .../categorize_field_actions.ts | 0 .../category_table/category_table.tsx | 0 .../category_table/expanded_row.tsx | 0 .../category_table/index.ts | 0 .../category_table/labels.ts | 0 .../category_table/table_header.tsx | 0 .../category_table/use_actions.tsx | 0 .../category_table/use_open_in_discover.ts | 0 .../category_validation_callout.tsx | 0 .../create_categorization_job.tsx | 0 .../document_count_chart.tsx | 0 .../format_category.test.tsx | 0 .../log_categorization/format_category.tsx | 0 .../components/log_categorization/index.ts | 0 .../log_categorization/information_text.tsx | 0 .../loading_categorization.tsx | 0 .../log_categorization_app_state.tsx | 0 .../log_categorization_enabled.ts | 0 .../discover_tabs.tsx | 0 .../embeddable_menu.tsx | 0 .../field_selector.tsx | 0 .../index.ts | 0 .../log_categorization_for_discover.tsx | 0 ...og_categorization_for_discover_wrapper.tsx | 0 .../log_categorization_for_embeddable.tsx | 0 .../minimum_time_range.ts | 0 .../selected_patterns.tsx | 0 .../use_minimum_time_range.ts | 0 .../log_categorization_for_flyout.tsx | 0 .../log_categorization_page.tsx | 0 .../log_categorization/sampling_menu/index.ts | 0 .../sampling_menu/random_sampler.ts | 0 .../random_sampler_range_slider.tsx | 0 .../sampling_menu/sampling_menu.tsx | 0 .../sampling_menu/sampling_panel.tsx | 0 .../use_random_sampler_storage.ts | 0 .../log_categorization/show_flyout.tsx | 0 .../technical_preview_badge/index.ts | 0 .../technical_preview_badge.tsx | 0 .../use_categorize_request.ts | 0 .../log_categorization/use_discover_links.ts | 0 .../use_validate_category_field.ts | 0 .../components/log_categorization/utils.ts | 0 .../components/log_rate_analysis/index.ts | 0 .../item_filter_apply_button.tsx | 0 .../log_rate_analysis/item_filter_popover.tsx | 0 .../log_rate_analysis_app_state.tsx | 0 .../log_rate_analysis_content/index.ts | 0 .../log_rate_analysis_attachments_menu.tsx | 0 .../log_rate_analysis_content.tsx | 0 .../log_rate_analysis_content_wrapper.tsx | 0 ...ate_analysis_document_count_chart_data.tsx | 0 .../log_rate_analysis_for_embeddable.tsx | 0 .../log_rate_analysis_info_popover.tsx | 0 .../log_rate_analysis_options.tsx | 0 .../log_rate_analysis_page.tsx | 2 +- .../log_rate_analysis_results.tsx | 0 ...d_transactions_correlation_impact_label.ts | 0 .../get_group_table_items.test.ts | 0 .../get_group_table_items.ts | 0 .../get_table_item_as_kql.test.ts | 0 .../get_table_item_as_kql.ts | 0 .../impact_bar.tsx | 0 .../log_rate_analysis_results_table/index.ts | 0 .../log_rate_analysis_results_table.tsx | 0 ...log_rate_analysis_results_table_groups.tsx | 0 .../table_action_button.tsx | 0 .../use_columns.tsx | 0 .../use_copy_to_clipboard_action.test.tsx | 0 .../use_copy_to_clipboard_action.tsx | 0 .../use_view_in_discover_action.tsx | 0 ...se_view_in_log_pattern_analysis_action.tsx | 0 .../public/components/mini_histogram/index.ts | 0 .../mini_histogram/mini_histogram.tsx | 0 .../public/components/page_header/index.ts | 0 .../components/page_header/page_header.tsx | 0 .../public}/components/search_panel/index.ts | 0 .../components/search_panel/search_panel.tsx | 0 .../public/components/time_field_warning.tsx | 0 .../change_point_chart_initializer.tsx | 0 .../embeddables/change_point_chart/const.ts | 0 .../embeddable_change_point_chart_factory.tsx | 0 .../embeddable_chart_component_wrapper.tsx | 0 .../embeddables/change_point_chart/index.ts | 0 .../initialize_change_point_controls.ts | 0 .../resolve_change_point_config_input.tsx | 0 .../embeddables/change_point_chart/types.ts | 0 .../shared}/aiops/public/embeddables/index.ts | 0 .../embeddable_log_rate_analysis_factory.tsx | 0 .../embeddables/log_rate_analysis/index.ts | 0 ...ize_log_rate_analysis_analysis_controls.ts | 0 ...g_rate_analysis_embeddable_initializer.tsx | 0 ...resolve_log_rate_analysis_config_input.tsx | 0 .../embeddables/log_rate_analysis/types.ts | 0 .../embeddable_pattern_analysis_factory.tsx | 0 .../embeddables/pattern_analysis/index.ts | 0 .../initialize_pattern_analysis_controls.ts | 0 .../pattern_analysis_component_wrapper.tsx | 0 .../pattern_analysis_initializer.tsx | 0 .../resolve_pattern_analysis_config_input.tsx | 0 .../embeddables/pattern_analysis/types.ts | 0 .../aiops/public/get_document_stats.ts | 0 .../hooks/__mocks__/use_aiops_app_context.ts | 0 .../public/hooks/__mocks__/use_reload.tsx | 0 .../public/hooks/use_aiops_app_context.ts | 0 .../public/hooks/use_cancellable_search.ts | 0 .../aiops/public/hooks/use_cases_modal.ts | 0 .../shared}/aiops/public/hooks/use_data.ts | 0 .../aiops/public/hooks/use_data_source.tsx | 0 .../public/hooks/use_document_count_stats.ts | 0 .../aiops/public/hooks/use_eui_theme.ts | 0 .../public/hooks/use_filters_query.test.tsx | 0 .../aiops/public/hooks/use_filters_query.tsx | 0 .../shared}/aiops/public/hooks/use_reload.tsx | 0 .../shared}/aiops/public/hooks/use_search.ts | 0 .../plugins/shared}/aiops/public/index.ts | 0 .../plugins/shared}/aiops/public/plugin.tsx | 0 .../change_point_detection.tsx | 0 .../aiops/public/shared_components/index.tsx | 0 .../log_rate_analysis_embeddable_wrapper.tsx | 0 .../shared_components/pattern_analysis.tsx | 0 .../aiops/public/shared_lazy_components.tsx | 0 .../shared}/aiops/public/types/index.ts | 0 .../shared}/aiops/public/types/storage.ts | 0 .../ui_actions/change_point_action_context.ts | 0 .../ui_actions/create_change_point_chart.tsx | 0 .../create_log_rate_analysis_actions.tsx | 0 .../create_pattern_analysis_action.tsx | 0 .../shared}/aiops/public/ui_actions/index.ts | 0 .../log_rate_analysis_action_context.ts | 0 .../ui_actions/open_change_point_ml.tsx | 0 .../pattern_analysis_action_context.ts | 0 .../plugins/shared}/aiops/server/index.ts | 0 .../shared}/aiops/server/lib/license.ts | 0 .../server/lib/track_route_usage.test.ts | 0 .../aiops/server/lib/track_route_usage.ts | 0 .../plugins/shared}/aiops/server/plugin.ts | 0 .../shared}/aiops/server/register_cases.ts | 0 .../define_route.ts | 0 .../route_handler_factory.ts | 0 .../aiops/server/routes/error_wrapper.ts | 0 .../analysis_handlers/grouping_handler.ts | 0 .../analysis_handlers/histogram_handler.ts | 0 .../analysis_handlers/index_info_handler.ts | 0 .../overall_histogram_handler.ts | 0 .../analysis_handlers/overrides_handler.ts | 0 .../significant_items_handler.ts | 0 .../analysis_handlers/top_items_handler.ts | 0 .../routes/log_rate_analysis/define_route.ts | 0 .../response_stream_factory.ts | 0 .../response_stream_utils/constants.ts | 0 .../log_debug_message.ts | 0 .../response_stream_utils/state_handler.ts | 0 .../response_stream_utils/stream_end.ts | 0 .../stream_end_with_updated_loading_state.ts | 0 .../stream_push_error.ts | 0 .../stream_push_ping_with_timeout.ts | 0 .../route_handler_factory.ts | 0 .../define_route.ts | 0 .../route_handler_factory.ts | 0 .../plugins/shared}/aiops/server/types.ts | 0 .../plugins/shared}/aiops/tsconfig.json | 4 +- .../plugins/shared}/ml/.gitignore | 0 .../__mocks__/mock_anomalies_table_data.json | 0 ...omalies_table_data_multiple_detectors.json | 0 .../common/api_schemas/json_schema_schema.ts | 0 .../shared}/ml/common/constants/alerts.ts | 0 .../ml/common/constants/annotations.ts | 0 .../shared}/ml/common/constants/app.ts | 0 .../shared}/ml/common/constants/calendars.ts | 0 .../shared}/ml/common/constants/cases.ts | 0 .../shared}/ml/common/constants/charts.ts | 0 .../shared}/ml/common/constants/cloud.ts | 0 .../ml/common/constants/index_patterns.ts | 0 .../ml/common/constants/job_actions.ts | 0 .../shared}/ml/common/constants/jobs_list.ts | 0 .../shared}/ml/common/constants/license.ts | 0 .../shared}/ml/common/constants/locator.ts | 0 .../ml/common/constants/message_levels.ts | 0 .../ml/common/constants/messages.test.mock.ts | 0 .../ml/common/constants/messages.test.ts | 0 .../shared}/ml/common/constants/messages.ts | 0 .../shared}/ml/common/constants/new_job.ts | 0 .../ml/common/constants/notifications.ts | 0 .../shared}/ml/common/constants/search.ts | 0 .../shared}/ml/common/constants/settings.ts | 0 .../shared}/ml/common/constants/states.ts | 0 .../ml/common/constants/trained_models.ts | 0 .../ml/common/constants/usage_collection.ts | 0 .../plugins/shared}/ml/common/index.ts | 0 .../shared}/ml/common/license/index.ts | 0 .../shared}/ml/common/license/ml_license.ts | 0 .../shared}/ml/common/openapi/README.md | 0 .../shared}/ml/common/openapi/ml_apis.yaml | 0 .../ml/common/openapi/ml_apis_serverless.yaml | 0 .../types/__mocks__/job_config_farequote.json | 0 .../plugins/shared}/ml/common/types/alerts.ts | 0 .../ml/common/types/annotations.test.ts | 0 .../shared}/ml/common/types/annotations.ts | 0 .../combined_job.test.ts | 0 .../anomaly_detection_jobs/combined_job.ts | 0 .../types/anomaly_detection_jobs/datafeed.ts | 0 .../anomaly_detection_jobs/datafeed_stats.ts | 0 .../types/anomaly_detection_jobs/index.ts | 0 .../types/anomaly_detection_jobs/job.ts | 0 .../types/anomaly_detection_jobs/job_stats.ts | 0 .../anomaly_detection_jobs/model_snapshot.ts | 0 .../anomaly_detection_jobs/summary_job.ts | 0 .../shared}/ml/common/types/audit_message.ts | 0 .../shared}/ml/common/types/calendars.ts | 0 .../shared}/ml/common/types/capabilities.ts | 0 .../shared}/ml/common/types/categories.ts | 0 .../shared}/ml/common/types/common.test.ts | 0 .../plugins/shared}/ml/common/types/common.ts | 0 .../ml/common/types/data_recognizer.ts | 0 .../shared}/ml/common/types/detector_rules.ts | 0 .../shared}/ml/common/types/filters.ts | 0 .../plugins/shared}/ml/common/types/groups.ts | 0 .../shared}/ml/common/types/job_service.ts | 0 .../shared}/ml/common/types/job_validation.ts | 0 .../plugins/shared}/ml/common/types/kibana.ts | 0 .../shared}/ml/common/types/locator.ts | 0 .../shared}/ml/common/types/management.ts | 0 .../shared}/ml/common/types/ml_server_info.ts | 0 .../shared}/ml/common/types/modules.ts | 0 .../shared}/ml/common/types/notifications.ts | 0 .../shared}/ml/common/types/results.ts | 0 .../shared}/ml/common/types/saved_objects.ts | 0 .../shared}/ml/common/types/storage.test.tsx | 0 .../shared}/ml/common/types/storage.ts | 0 .../shared}/ml/common/types/trained_models.ts | 0 .../shared}/ml/common/util/alerts.test.ts | 0 .../plugins/shared}/ml/common/util/alerts.ts | 0 .../common/util/anomalies_table_utils.test.ts | 0 .../ml/common/util/anomalies_table_utils.ts | 0 .../ml/common/util/anomaly_description.ts | 0 .../shared}/ml/common/util/chart_utils.ts | 0 .../shared}/ml/common/util/datafeed_utils.ts | 0 .../shared}/ml/common/util/es_utils.test.ts | 0 .../shared}/ml/common/util/es_utils.ts | 0 .../shared}/ml/common/util/fields_utils.ts | 0 .../ml/common/util/group_color_utils.ts | 0 .../shared}/ml/common/util/job_utils.test.ts | 0 .../shared}/ml/common/util/job_utils.ts | 0 .../util/metric_change_description.test.ts | 0 .../common/util/metric_change_description.ts | 0 .../ml/common/util/object_utils.test.ts | 0 .../shared}/ml/common/util/object_utils.ts | 0 .../ml/common/util/string_utils.test.ts | 0 .../shared}/ml/common/util/string_utils.ts | 0 .../ml/common/util/validation_utils.ts | 0 .../plugins/shared/ml}/jest.config.js | 8 +- .../plugins/shared}/ml/kibana.jsonc | 0 .../shared}/ml/public/__mocks__/core_start.ts | 0 .../ml/public/__mocks__/ml_start_deps.ts | 0 .../alert_actions.tsx | 0 .../anomaly_detection_alerts_table/index.ts | 0 .../register_alerts_table_configuration.tsx | 0 .../render_cell_value.test.tsx | 0 .../render_cell_value.tsx | 0 .../use_alerts_flyout.tsx | 0 .../advanced_settings.tsx | 0 .../config_validator.tsx | 0 .../alerting/anomaly_detection_rule/index.ts | 0 .../interim_results_control.tsx | 0 .../ml_anomaly_alert_trigger.tsx | 0 .../preview_alert_condition.tsx | 0 .../register_anomaly_detection_rule.tsx | 0 .../result_type_selector.tsx | 0 .../shared}/ml/public/alerting/index.ts | 0 .../ml/public/alerting/job_selector.tsx | 0 ...aly_detection_jobs_health_rule_trigger.tsx | 0 .../public/alerting/jobs_health_rule/index.ts | 0 .../register_jobs_health_alerting_rule.ts | 0 .../tests_selection_control.tsx | 0 .../ml/public/alerting/ml_alerting_flyout.tsx | 0 .../ml/public/alerting/register_ml_alerts.ts | 0 .../public/alerting/time_interval_control.tsx | 0 .../shared}/ml/public/alerting/validators.ts | 0 .../shared}/ml/public/application/_index.scss | 0 .../ml/public/application/_variables.scss | 0 .../access_denied/access_denied.tsx | 0 .../application/access_denied/index.tsx | 0 .../aiops/change_point_detection.tsx | 0 .../ml/public/application/aiops/index.ts | 0 .../application/aiops/log_categorization.tsx | 0 .../application/aiops/log_rate_analysis.tsx | 0 .../shared}/ml/public/application/app.tsx | 0 .../__mocks__/check_capabilities.ts | 0 .../capabilities/check_capabilities.ts | 0 .../capabilities/get_capabilities.ts | 0 .../__snapshots__/index.test.tsx.snap | 0 .../annotation_description_list/_index.scss | 0 .../index.test.tsx | 0 .../annotation_description_list/index.tsx | 0 .../annotation_flyout/index.test.tsx | 0 .../annotations/annotation_flyout/index.tsx | 0 .../__mocks__/mock_annotations.json | 0 .../annotations_table.test.js.snap | 0 .../annotations_table/annotations_table.js | 0 .../annotations_table.test.js | 0 .../annotations/annotations_table/index.js | 0 .../delete_annotation_modal/index.tsx | 0 .../anomalies_table/_anomalies_table.scss | 0 .../components/anomalies_table/_index.scss | 0 .../anomalies_table/anomalies_table.js | 0 .../anomalies_table/anomalies_table.test.js | 0 .../anomalies_table_columns.js | 0 .../anomalies_table_constants.ts | 0 .../anomalies_table/anomaly_details.test.js | 0 .../anomalies_table/anomaly_details.tsx | 0 .../anomalies_table/anomaly_details_utils.tsx | 0 .../anomalies_table/description_cell.js | 0 .../anomalies_table/detector_cell.js | 0 .../get_query_string_for_influencers.test.ts | 0 .../get_query_string_for_influencers.ts | 0 .../components/anomalies_table/index.js | 0 .../anomalies_table/influencers_cell.js | 0 .../components/anomalies_table/links_menu.tsx | 0 .../anomalies_table/severity_cell/index.ts | 0 .../severity_cell/severity_cell.test.tsx | 0 .../severity_cell/severity_cell.tsx | 0 .../anomaly_results_view_selector.test.tsx | 0 .../anomaly_results_view_selector.tsx | 0 .../anomaly_results_view_selector/index.tsx | 0 .../components/callout/callout.tsx | 0 .../application/components/callout/index.ts | 0 .../chart_tooltip/chart_tooltip.tsx | 0 .../chart_tooltip_service.test.ts | 0 .../chart_tooltip/chart_tooltip_service.ts | 0 .../chart_tooltip/chart_tooltip_styles.ts | 0 .../components/chart_tooltip/index.ts | 0 .../collapsible_panel/collapsible_panel.tsx | 0 .../components/collapsible_panel/index.ts | 0 .../collapsible_panel/panel_header_items.tsx | 0 .../color_range_legend/color_range_legend.tsx | 0 .../components/color_range_legend/index.ts | 0 .../use_color_range.test.ts | 0 .../color_range_legend/use_color_range.ts | 0 .../checkbox_showcharts.tsx | 0 .../controls/checkbox_showcharts/index.ts | 0 .../application/components/controls/index.ts | 0 .../controls/select_interval/index.ts | 0 .../select_interval/select_interval.test.tsx | 0 .../select_interval/select_interval.tsx | 0 .../controls/select_severity/index.ts | 0 .../select_severity/select_severity.test.tsx | 0 .../select_severity/select_severity.tsx | 0 .../create_data_view_button.tsx | 0 .../create_data_view_button/index.ts | 0 .../components/custom_hooks/index.ts | 0 .../custom_hooks/use_create_ad_links.ts | 0 .../custom_hooks/use_partial_state.ts | 0 .../custom_selection_table.js | 0 .../custom_selection_table/index.js | 0 .../__snapshots__/list.test.tsx.snap | 0 .../custom_url_editor/constants.ts | 0 .../custom_time_range_picker.tsx | 0 .../custom_urls/custom_url_editor/editor.tsx | 0 .../custom_url_editor/get_dropdown_options.ts | 0 .../custom_urls/custom_url_editor/index.ts | 0 .../interval_time_range_selector.tsx | 0 .../custom_url_editor/list.test.tsx | 0 .../custom_urls/custom_url_editor/list.tsx | 0 .../custom_urls/custom_url_editor/utils.ts | 0 .../components/custom_urls/custom_urls.tsx | 0 .../custom_urls/custom_urls_wrapper.tsx | 0 .../components/custom_urls/index.ts | 0 .../custom_urls/is_valid_custom_urls.ts | 0 .../data_recognizer/data_recognizer.d.ts | 0 .../data_recognizer/data_recognizer.js | 0 .../components/data_recognizer/index.ts | 0 .../data_recognizer/recognized_result.js | 0 .../delete_space_aware_item_check_modal.tsx | 0 .../index.ts | 0 .../display_value/display_value.tsx | 0 .../components/display_value/index.ts | 0 .../components/entity_cell/_index.scss | 0 .../components/entity_cell/entity_cell.scss | 0 .../entity_cell/entity_cell.test.tsx | 0 .../components/entity_cell/entity_cell.tsx | 0 .../components/entity_cell/index.ts | 0 .../feature_feedback_button.tsx | 0 .../feedback_button/feedback_button.tsx | 0 .../components/feedback_button/index.ts | 0 .../header_menu_portal/header_menu_portal.tsx | 0 .../components/header_menu_portal/index.ts | 0 .../components/help_icon/help_icon.tsx | 0 .../components/help_icon/index.tsx | 0 .../components/help_menu/help_menu.tsx | 0 .../components/help_menu/index.tsx | 0 .../components/help_popover/help_popover.scss | 0 .../components/help_popover/help_popover.tsx | 0 .../components/help_popover/index.tsx | 0 .../export_job_warning_callout.tsx | 0 .../export_jobs_flyout/export_jobs_flyout.tsx | 0 .../export_jobs_flyout_content.tsx | 0 .../export_jobs_flyout/index.ts | 0 .../export_jobs_flyout/jobs_export_service.ts | 0 .../cannot_import_jobs_callout.tsx | 0 .../cannot_read_file_callout.tsx | 0 .../import_jobs_flyout/import_jobs_flyout.tsx | 0 .../import_jobs_flyout/index.ts | 0 .../import_jobs_flyout/jobs_import_service.ts | 0 .../import_jobs_flyout/validate.ts | 0 .../components/import_export_jobs/index.ts | 0 .../components/influencers_list/index.ts | 0 .../influencers_list/influencers_list.tsx | 0 .../influencers_list_styles.ts | 0 .../components/items_grid/index.js | 0 .../components/items_grid/items_grid.js | 0 .../items_grid/items_grid_pagination.js | 0 .../components/job_message_icon/index.ts | 0 .../job_message_icon/job_message_icon.tsx | 0 .../components/job_messages/index.ts | 0 .../components/job_messages/job_messages.tsx | 0 .../components/job_selector/_index.scss | 0 .../job_selector/_job_selector.scss | 0 .../job_selector/id_badges/id_badges.js | 0 .../job_selector/id_badges/id_badges.test.js | 0 .../job_selector/id_badges/index.js | 0 .../components/job_selector/index.ts | 0 .../job_selector/job_select_service_utils.ts | 0 .../components/job_selector/job_selector.tsx | 0 .../job_selector/job_selector_badge/index.ts | 0 .../job_selector_badge/job_selector_badge.tsx | 0 .../job_selector/job_selector_flyout.tsx | 0 .../job_selector/job_selector_table/index.js | 0 .../job_selector_table/job_selector_table.js | 0 .../job_selector_table.test.js | 0 .../new_selection_id_badges/index.ts | 0 .../new_selection_id_badges.test.js | 0 .../new_selection_id_badges.tsx | 0 .../job_selector/timerange_bar/index.js | 0 .../timerange_bar/timerange_bar.js | 0 .../timerange_bar/timerange_bar.test.js | 0 .../job_selector/use_job_selection.ts | 0 .../components/job_spaces_sync/index.ts | 0 .../job_spaces_sync_flyout.tsx | 0 .../components/job_spaces_sync/sync_list.tsx | 0 .../jobs_awaiting_node_warning/index.ts | 0 .../jobs_awaiting_node_warning.tsx | 0 .../new_job_awaiting_node.tsx | 0 .../new_job_awaiting_node_shared/index.tsx | 0 .../lazy_loader.tsx | 0 .../new_job_awaiting_node_shared.tsx | 0 .../application/components/link_card/index.ts | 0 .../components/link_card/link_card.tsx | 0 .../components/loading_indicator/index.ts | 0 .../loading_indicator/loading_indicator.tsx | 0 .../components/message_call_out/index.js | 0 .../message_call_out/message_call_out.js | 0 .../components/ml_entity_selector/index.ts | 0 .../ml_entity_selector.test.tsx | 0 .../ml_entity_selector/ml_entity_selector.tsx | 0 .../add_inference_pipeline_flyout.tsx | 0 .../additional_advanced_settings.tsx | 0 .../components/pipeline_details.tsx | 0 .../components/processor_configuration.tsx | 0 .../components/reindex_with_pipeline.tsx | 0 .../components/save_changes_button.tsx | 0 .../ml_inference/components/test_pipeline.tsx | 0 .../components/ml_inference/constants.ts | 0 .../ml_inference/get_pipeline_config.ts | 0 .../components/ml_inference/get_steps.ts | 0 .../ml_inference/hooks/use_fetch_pipelines.ts | 0 .../components/ml_inference/index.ts | 0 .../ml_inference/retry_create_data_view.ts | 0 .../components/ml_inference/state.ts | 0 .../components/ml_inference/types.ts | 0 .../components/ml_inference/validation.ts | 0 .../application/components/ml_page/index.ts | 0 .../components/ml_page/ml_page.tsx | 0 .../ml_page/notifications_indicator.tsx | 0 .../components/ml_page/side_nav.tsx | 0 .../ml_saved_objects_spaces_list/index.ts | 0 .../ml_saved_objects_spaces_list.tsx | 0 .../close_job_confirm/close_job_confirm.tsx | 0 .../close_job_confirm/index.ts | 0 .../edit_model_snapshot_flyout.tsx | 0 .../edit_model_snapshot_flyout/index.ts | 0 .../components/model_snapshots/index.ts | 0 .../model_snapshots/model_snapshots_table.tsx | 0 .../chart_loader.ts | 0 .../create_calendar.tsx | 0 .../revert_model_snapshot_flyout/index.ts | 0 .../revert_model_snapshot_flyout.tsx | 0 .../components/multi_select_picker/index.ts | 0 .../multi_select_picker.tsx | 0 .../node_available_warning/hooks.ts | 0 .../node_available_warning/index.ts | 0 .../node_available_warning.tsx | 0 .../node_available_warning_shared.tsx | 0 .../node_available_warning/warning.tsx | 0 .../components/page_header/index.ts | 0 .../components/page_header/page_header.tsx | 0 .../components/page_title/index.ts | 0 .../components/page_title/page_title.tsx | 0 .../actions_section.test.js.snap | 0 .../condition_expression.test.js.snap | 0 .../conditions_section.test.js.snap | 0 .../rule_editor_flyout.test.js.snap | 0 .../scope_expression.test.js.snap | 0 .../__snapshots__/scope_section.test.js.snap | 0 .../components/rule_editor/_index.scss | 0 .../components/rule_editor/_rule_editor.scss | 0 .../components/rule_editor/actions_section.js | 0 .../rule_editor/actions_section.test.js | 0 .../detector_description_list.test.js.snap | 0 .../_detector_description_list.scss | 0 .../detector_description_list/_index.scss | 0 .../detector_description_list.js | 0 .../detector_description_list.test.js | 0 .../detector_description_list/index.js | 0 .../rule_editor/condition_expression.js | 0 .../rule_editor/condition_expression.test.js | 0 .../rule_editor/conditions_section.js | 0 .../rule_editor/conditions_section.test.js | 0 .../components/rule_editor/index.js | 0 .../rule_editor/rule_editor_flyout.js | 0 .../rule_editor/rule_editor_flyout.test.js | 0 .../rule_editor/scope_expression.js | 0 .../rule_editor/scope_expression.test.js | 0 .../components/rule_editor/scope_section.js | 0 .../rule_editor/scope_section.test.js | 0 .../add_to_filter_list_link.test.js.snap | 0 .../delete_rule_modal.test.js.snap | 0 .../edit_condition_link.test.js.snap | 0 .../add_to_filter_list_link.js | 0 .../add_to_filter_list_link.test.js | 0 .../select_rule_action/delete_rule_modal.js | 0 .../delete_rule_modal.test.js | 0 .../select_rule_action/edit_condition_link.js | 0 .../edit_condition_link.test.js | 0 .../rule_editor/select_rule_action/index.js | 0 .../select_rule_action/rule_action_panel.js | 0 .../rule_action_panel.test.js | 0 .../select_rule_action/select_rule_action.js | 0 .../components/rule_editor/utils.js | 0 .../components/rule_editor/utils.test.js | 0 .../saved_objects_warning/__mocks__/index.ts | 0 .../components/saved_objects_warning/index.ts | 0 .../saved_objects_warning.tsx | 0 .../components/scatterplot_matrix/index.ts | 0 .../scatterplot_matrix.test.tsx | 0 .../scatterplot_matrix/scatterplot_matrix.tsx | 0 .../scatterplot_matrix_vega_lite_spec.test.ts | 0 .../scatterplot_matrix_vega_lite_spec.ts | 0 .../use_scatterplot_field_options.ts | 0 .../components/severity_control/index.ts | 0 .../severity_control/severity_control.tsx | 0 .../shared/add_inference_pipeline_footer.tsx | 0 ...dd_inference_pipeline_horizontal_steps.tsx | 0 .../application/components/shared/index.ts | 0 .../shared/on_failure_configuration.tsx | 0 .../shared/pipeline_details_title.tsx | 0 .../shared/pipeline_name_and_description.tsx | 0 .../shared/review_and_create_pipeline.tsx | 0 .../application/components/stats_bar/index.ts | 0 .../application/components/stats_bar/stat.tsx | 0 .../components/stats_bar/stats_bar.tsx | 0 .../technical_preview_badge/index.ts | 0 .../technical_preview_badge.tsx | 0 .../application/components/upgrade/index.ts | 0 .../components/upgrade/upgrade_warning.tsx | 0 .../components/validate_job/index.ts | 0 .../validate_job/validate_job_view.d.ts | 0 .../validate_job/validate_job_view.js | 0 .../validate_job/validate_job_view.test.js | 0 .../components/vega_chart/common.ts | 0 .../components/vega_chart/index.ts | 0 .../components/vega_chart/vega_chart.tsx | 0 .../vega_chart/vega_chart_loading.tsx | 0 .../components/vega_chart/vega_chart_view.tsx | 0 .../contexts/kibana/__mocks__/index.ts | 0 .../kibana/__mocks__/kibana_context.ts | 0 .../kibana/__mocks__/use_field_formatter.ts | 0 .../kibana/__mocks__/use_ml_api_context.ts | 0 .../kibana/__mocks__/use_ml_license.ts | 0 .../kibana/__mocks__/use_timefilter.ts | 0 .../application/contexts/kibana/index.ts | 0 .../contexts/kibana/kibana_context.ts | 0 .../contexts/kibana/use_cases_modal.ts | 0 .../contexts/kibana/use_create_url.ts | 0 .../contexts/kibana/use_current_theme.ts | 0 .../contexts/kibana/use_field_formatter.ts | 0 .../contexts/kibana/use_ml_api_context.ts | 0 .../contexts/kibana/use_ml_license.ts | 0 .../contexts/kibana/use_navigate_to_path.ts | 0 .../kibana/use_notifications_context.ts | 0 .../kibana/use_ui_settings_context.ts | 0 .../contexts/ml/__mocks__/data_view.ts | 0 .../ml/__mocks__/data_view_contract.ts | 0 .../contexts/ml/__mocks__/kibana_config.ts | 0 .../ml/__mocks__/ml_notifications_context.tsx | 0 .../contexts/ml/__mocks__/saved_search.ts | 0 .../contexts/ml/data_source_context.tsx | 0 .../public/application/contexts/ml/index.ts | 0 .../ml/ml_annotation_updates_context.ts | 0 .../ml/ml_notifications_context.test.tsx | 0 .../contexts/ml/ml_notifications_context.tsx | 0 .../contexts/ml/ml_server_info_context.tsx | 0 .../contexts/ml/serverless_context.tsx | 0 .../contexts/ml/use_job_selection_flyout.tsx | 0 .../common/analytics.test.ts | 0 .../data_frame_analytics/common/analytics.ts | 0 .../common/get_destination_index.ts | 0 .../common/get_index_data.ts | 0 .../common/get_index_fields.ts | 0 .../get_scatterplot_matrix_legend_type.ts | 0 .../data_frame_analytics/common/index.ts | 0 .../common/render_cell_popover.tsx | 0 .../common/search_bar_filters.tsx | 0 .../common/use_results_view_config.ts | 0 .../advanced_step/advanced_step.tsx | 0 .../advanced_step/advanced_step_details.tsx | 0 .../advanced_step/advanced_step_form.tsx | 0 .../advanced_step/hyper_parameters.tsx | 0 .../components/advanced_step/index.ts | 0 .../outlier_hyper_parameters.tsx | 0 .../back_to_list_panel/back_to_list_panel.tsx | 0 .../components/back_to_list_panel/index.ts | 0 .../analysis_fields_table.tsx | 0 .../configuration_step/configuration_step.tsx | 0 .../configuration_step_details.tsx | 0 .../configuration_step_form.tsx | 0 .../form_options_validation.ts | 0 .../components/configuration_step/index.ts | 0 .../configuration_step/job_type.tsx | 0 .../supported_fields_message.tsx | 0 .../configuration_step/use_saved_search.ts | 0 .../components/continue_button.tsx | 0 .../create_analytics_advanced_editor.tsx | 0 .../editor_component.tsx | 0 .../create_analytics_advanced_editor/index.ts | 0 .../components/create_step/create_step.tsx | 0 .../components/create_step/index.ts | 0 .../create_step_footer/create_step_footer.tsx | 0 .../components/create_step_footer/index.ts | 0 .../create_step_footer/progress_stats.tsx | 0 .../details_step/additional_section.tsx | 0 .../components/details_step/description.tsx | 0 .../components/details_step/details_step.tsx | 0 .../details_step/details_step_details.tsx | 0 .../details_step/details_step_form.tsx | 0 .../components/details_step/index.ts | 0 .../analytics_creation/components/index.ts | 0 .../components/index_permissions_callout.tsx | 0 .../components/runtime_mappings/index.ts | 0 .../runtime_mappings/runtime_mappings.tsx | 0 .../runtime_mappings_editor.tsx | 0 .../runtime_mappings/switch_modal.tsx | 0 .../components/shared/fetch_explain_data.ts | 0 .../components/shared/index.ts | 0 .../components/shared/messages.tsx | 0 .../components/validation_step/index.ts | 0 .../validation_step/validation_step.tsx | 0 .../validation_step_details.tsx | 0 .../validation_step_wrapper.tsx | 0 .../components/view_results_panel/index.ts | 0 .../view_results_panel/view_results_panel.tsx | 0 .../pages/analytics_creation/hooks/index.ts | 0 .../hooks/use_can_create_data_view.ts | 0 .../hooks/use_data_view_time_fields.ts | 0 .../hooks/use_has_index_permission.ts | 0 .../hooks/use_index_data.ts | 0 .../pages/analytics_creation/index.ts | 0 .../pages/analytics_creation/page.tsx | 0 .../classification_exploration.tsx | 0 .../column_data.tsx | 0 .../confusion_matrix_help_popover.tsx | 0 .../evaluate_panel.tsx | 0 .../evaluate_stat.tsx | 0 .../evaluation_quality_metrics_table.tsx | 0 .../get_roc_curve_chart_vega_lite_spec.tsx | 0 .../classification_exploration/index.ts | 0 .../is_training_filter.ts | 0 .../roc_curve_help_popover.tsx | 0 .../use_confusion_matrix.ts | 0 .../use_roc_curve.ts | 0 .../data_view_prompt/data_view_prompt.tsx | 0 .../components/data_view_prompt/index.ts | 0 .../error_callout/error_callout.tsx | 0 .../components/error_callout/index.ts | 0 .../expandable_section/expandable_section.tsx | 0 .../expandable_section_analytics.tsx | 0 .../expandable_section_results.tsx | 0 .../expandable_section_splom.tsx | 0 .../components/expandable_section/index.ts | 0 .../exploration_page_wrapper.tsx | 0 .../exploration_page_wrapper/index.ts | 0 .../exploration_query_bar.tsx | 0 .../components/exploration_query_bar/index.ts | 0 .../exploration_results_table.tsx | 0 .../exploration_results_table/index.ts | 0 .../use_exploration_data_grid.ts | 0 .../use_exploration_results.ts | 0 .../decision_path_chart.tsx | 0 .../decision_path_classification.tsx | 0 .../decision_path_json_viewer.tsx | 0 .../decision_path_popover.tsx | 0 .../decision_path_regression.tsx | 0 .../missing_decision_path_callout.tsx | 0 .../use_classification_path_data.test.tsx | 0 .../use_classification_path_data.tsx | 0 .../job_config_error_callout/index.ts | 0 .../job_config_error_callout.tsx | 0 .../components/loading_panel/index.ts | 0 .../loading_panel/loading_panel.tsx | 0 .../outlier_exploration/common.test.ts | 0 .../components/outlier_exploration/common.ts | 0 .../components/outlier_exploration/index.ts | 0 .../outlier_exploration.test.tsx | 0 .../outlier_exploration.tsx | 0 .../use_outlier_data.test.ts | 0 .../outlier_exploration/use_outlier_data.ts | 0 .../regression_exploration/evaluate_panel.tsx | 0 .../regression_exploration/evaluate_stat.tsx | 0 .../regression_exploration/index.ts | 0 .../regression_exploration.tsx | 0 .../feature_importance_summary.tsx | 0 .../hooks/use_exploration_url_state.ts | 0 .../pages/analytics_exploration/index.ts | 0 .../pages/analytics_exploration/page.tsx | 0 .../action_clone/clone_action_name.test.ts | 0 .../action_clone/clone_action_name.tsx | 0 .../components/action_clone/index.ts | 0 .../action_clone/use_clone_action.tsx | 0 .../action_delete/delete_action_modal.tsx | 0 .../action_delete/delete_action_name.test.tsx | 0 .../action_delete/delete_action_name.tsx | 0 .../components/action_delete/index.ts | 0 .../action_delete/use_delete_action.tsx | 0 .../action_edit/edit_action_flyout.tsx | 0 .../action_edit/edit_action_name.tsx | 0 .../components/action_edit/index.ts | 0 .../action_edit/use_edit_action.tsx | 0 .../components/action_map/index.ts | 0 .../components/action_map/map_button.tsx | 0 .../components/action_map/use_map_action.tsx | 0 .../components/action_start/index.ts | 0 .../action_start/start_action_modal.tsx | 0 .../action_start/start_action_name.tsx | 0 .../action_start/use_start_action.tsx | 0 .../components/action_stop/index.ts | 0 .../action_stop/stop_action_modal.tsx | 0 .../action_stop/stop_action_name.tsx | 0 .../action_stop/use_stop_action.tsx | 0 .../action_view/get_view_link_status.ts | 0 .../components/action_view/index.ts | 0 .../action_view/use_view_action.tsx | 0 .../components/action_view/view_button.tsx | 0 .../__mocks__/analytics_list_item.json | 0 .../__mocks__/analytics_stats.json | 0 .../analytics_list/analytics_list.tsx | 0 .../components/analytics_list/common.test.ts | 0 .../components/analytics_list/common.ts | 0 .../analytics_list/expanded_row.tsx | 0 .../expanded_row_details_pane.tsx | 0 .../analytics_list/expanded_row_json_pane.tsx | 0 .../expanded_row_messages_pane.tsx | 0 .../components/analytics_list/index.ts | 0 .../analytics_list/progress_bar.tsx | 0 .../components/analytics_list/use_actions.tsx | 0 .../components/analytics_list/use_columns.tsx | 0 .../analytics_list/use_refresh_interval.ts | 0 .../analytics_list/use_table_settings.ts | 0 .../create_analytics_button.test.tsx | 0 .../create_analytics_button.tsx | 0 .../create_analytics_button/index.ts | 0 .../data_frame_analytics_kibana.png | Bin .../components/empty_prompt/empty_prompt.tsx | 0 .../components/empty_prompt/index.ts | 0 .../refresh_analytics_list_button/index.ts | 0 .../refresh_analytics_list_button.tsx | 0 .../components/source_selection/index.ts | 0 .../source_selection.test.tsx | 0 .../source_selection/source_selection.tsx | 0 .../use_create_analytics_form/actions.ts | 0 .../hooks/use_create_analytics_form/index.ts | 0 .../use_create_analytics_form/reducer.test.ts | 0 .../use_create_analytics_form/reducer.ts | 0 .../use_create_analytics_form/state.test.ts | 0 .../hooks/use_create_analytics_form/state.ts | 0 .../use_create_analytics_form.test.tsx | 0 .../use_create_analytics_form.ts | 0 .../pages/analytics_management/index.ts | 0 .../pages/analytics_management/page.tsx | 0 .../analytics_service/delete_analytics.ts | 0 .../analytics_service/get_analytics.test.ts | 0 .../analytics_service/get_analytics.ts | 0 .../services/analytics_service/index.ts | 0 .../analytics_service/start_analytics.ts | 0 .../analytics_service/stop_analytics.ts | 0 .../analytics_id_selector.tsx | 0 .../analytics_id_selector_controls.tsx | 0 .../components/analytics_selector/index.ts | 0 .../pages/job_map/components/controls.tsx | 0 .../pages/job_map/components/cytoscape.tsx | 0 .../job_map/components/cytoscape_options.tsx | 0 .../icons/ml_classification_job.svg | 0 .../icons/ml_outlier_detection_job.svg | 0 .../components/icons/ml_regression_job.svg | 0 .../pages/job_map/components/index.ts | 0 .../pages/job_map/components/legend.tsx | 0 .../job_map/components/use_ref_dimensions.ts | 0 .../pages/job_map/index.ts | 0 .../pages/job_map/job_map.tsx | 0 .../pages/job_map/page.tsx | 0 .../job_map/use_fetch_analytics_map_data.ts | 0 .../pages/source_selection/index.ts | 0 .../pages/source_selection/page.tsx | 0 .../data_drift_index_patterns_editor.tsx | 0 .../data_drift/data_drift_page.tsx | 0 .../data_drift/data_view_editor.tsx | 0 .../data_drift/index_patterns_picker.tsx | 0 .../datavisualizer_selector.tsx | 0 .../file_based/file_datavisualizer.tsx | 0 .../datavisualizer/file_based/index.tsx | 0 .../application/datavisualizer/index.ts | 0 .../index_based/common/request.ts | 0 .../index_based/data_loader/data_loader.ts | 0 .../index_based/data_loader/index.ts | 0 .../datavisualizer/index_based/index.ts | 0 .../index_based/index_data_visualizer.tsx | 0 .../__mocks__/mock_overall_swimlane.json | 0 .../__mocks__/mock_viewby_swimlane.json | 0 .../application/explorer/_explorer.scss | 0 .../public/application/explorer/_index.scss | 0 .../application/explorer/actions/index.ts | 0 .../explorer/actions/job_selection.ts | 0 .../explorer/actions/load_explorer_data.ts | 0 .../explorer/alerts/alerts_panel.tsx | 0 .../explorer/alerts/alerts_summary.tsx | 0 .../anomaly_detection_alerts_state_service.ts | 0 .../application/explorer/alerts/chart.tsx | 0 .../application/explorer/alerts/const.ts | 0 .../alerts/get_alerts_summary.test.ts | 0 .../explorer/alerts/get_alerts_summary.ts | 0 .../application/explorer/alerts/index.ts | 0 .../explorer/alerts/swim_lane_wrapper.tsx | 0 .../explorer/annotation_timeline.tsx | 0 .../application/explorer/anomalies_map.tsx | 0 .../explorer/anomaly_charts_state_service.ts | 0 .../explorer/anomaly_context_menu.tsx | 0 .../explorer/anomaly_explorer_common_state.ts | 0 .../explorer/anomaly_explorer_context.tsx | 0 .../application/explorer/anomaly_timeline.tsx | 0 .../anomaly_timeline_help_popover.tsx | 0 .../anomaly_timeline_state_service.ts | 0 .../explorer/calculate_row_options.test.ts | 0 .../explorer/calculate_row_options.ts | 0 ...explorer_no_influencers_found.test.js.snap | 0 .../explorer_no_influencers_found.test.js | 0 .../explorer_no_influencers_found.tsx | 0 .../explorer_no_influencers_found/index.ts | 0 .../explorer_no_jobs_selected.tsx | 0 .../explorer_no_jobs_selected/index.ts | 0 .../explorer_no_results_found.test.js.snap | 0 .../explorer_no_results_found.test.js | 0 .../explorer_no_results_found.tsx | 0 .../explorer_no_results_found/index.ts | 0 .../explorer_query_bar/explorer_query_bar.tsx | 0 .../components/explorer_query_bar/index.ts | 0 .../application/explorer/components/index.ts | 0 .../explorer/components/no_overall_data.tsx | 0 .../public/application/explorer/constants.ts | 0 .../public/application/explorer/explorer.tsx | 0 .../__mocks__/mock_anomaly_chart_records.json | 0 .../__mocks__/mock_anomaly_record.json | 0 .../__mocks__/mock_chart_data.js | 0 .../__mocks__/mock_chart_data_rare.js | 0 .../__mocks__/mock_detectors_by_job.json | 0 .../__mocks__/mock_job_config.json | 0 .../mock_series_config_filebeat.json | 0 .../__mocks__/mock_series_config_rare.json | 0 .../mock_series_promises_response.json | 0 .../explorer_chart_info_tooltip.test.js.snap | 0 .../explorer_charts/_explorer_chart.scss | 0 .../_explorer_chart_tooltip.scss | 0 .../explorer/explorer_charts/_index.scss | 0 .../explorer_chart_label.test.js.snap | 0 .../explorer_chart_label_badge.test.js.snap | 0 .../_explorer_chart_label.scss | 0 .../_explorer_chart_label_badge.scss | 0 .../explorer_chart_label/_index.scss | 0 .../entity_filter/_entity_filter.scss | 0 .../entity_filter/entity_filter.tsx | 0 .../entity_filter/index.ts | 0 .../explorer_chart_label.js | 0 .../explorer_chart_label.test.js | 0 .../explorer_chart_label_badge.js | 0 .../explorer_chart_label_badge.test.js | 0 .../components/explorer_chart_label/index.js | 0 .../explorer/explorer_charts/constants.ts | 0 .../explorer_anomalies_container.tsx | 0 .../explorer_chart_distribution.js | 0 .../explorer_chart_distribution.test.js | 0 .../explorer_chart_embedded_map.tsx | 0 .../explorer_chart_info_tooltip.js | 0 .../explorer_chart_info_tooltip.test.js | 0 .../explorer_chart_single_metric.js | 0 .../explorer_chart_single_metric.test.js | 0 .../explorer_charts_container.js | 0 .../explorer_charts_container.test.js | 0 .../explorer_charts_container_service.ts | 0 .../explorer_charts_error_callouts.tsx | 0 .../explorer/explorer_charts/index.js | 0 .../explorer/explorer_charts/map_config.ts | 0 .../draw_anomaly_explorer_charts_cursor.ts | 0 .../explorer/explorer_constants.ts | 0 .../explorer/explorer_dashboard_service.ts | 0 .../application/explorer/explorer_utils.ts | 0 .../explorer/has_matching_points.test.ts | 0 .../explorer/has_matching_points.ts | 0 .../explorer/hooks/use_explorer_url_state.ts | 0 .../explorer/hooks/use_selected_cells.ts | 0 .../ml/public/application/explorer/index.ts | 0 .../clear_influencer_filter_settings.ts | 0 .../explorer_reducer/get_index_pattern.ts | 0 .../reducers/explorer_reducer/index.ts | 0 .../explorer_reducer/job_selection_change.ts | 0 .../reducers/explorer_reducer/reducer.ts | 0 .../set_kql_query_bar_placeholder.ts | 0 .../reducers/explorer_reducer/state.ts | 0 .../application/explorer/reducers/index.ts | 0 .../swimlane_annotation_container.tsx | 0 .../explorer/swimlane_container.tsx | 0 .../explorer/swimlane_pagination.tsx | 0 .../abbreviate_whole_number.test.ts | 0 .../formatters/abbreviate_whole_number.ts | 0 .../formatters/format_value.test.ts | 0 .../application/formatters/format_value.ts | 0 .../formatters/kibana_field_format.ts | 0 .../formatters/number_as_ordinal.test.ts | 0 .../formatters/number_as_ordinal.ts | 0 .../ml/public/application/hooks/index.ts | 0 .../hooks/use_as_observable.test.ts | 0 .../application/hooks/use_as_observable.ts | 0 .../jobs/components/jobs_action_menu/index.ts | 0 .../jobs_action_menu/jobs_action_menu.tsx | 0 .../ml/public/application/jobs/index.ts | 0 .../anomaly_detection_empty_state.tsx | 0 .../anomaly_detection_kibana.png | Bin .../anomaly_detection_empty_state/index.ts | 0 .../close_jobs_confirm_modal.tsx | 0 .../managed_jobs_warning_callout.tsx | 0 .../stop_datafeeds_confirm_modal.tsx | 0 .../datafeed_chart_flyout/constants.ts | 0 .../datafeed_chart_flyout.tsx | 0 .../edit_query_delay.tsx | 0 .../fill_missing_chart_data.test.ts | 0 .../fill_missing_chart_data.ts | 0 .../components/datafeed_chart_flyout/index.ts | 0 .../delete_job_modal/delete_job_modal.tsx | 0 .../components/delete_job_modal/index.ts | 0 .../edit_job_flyout/edit_job_flyout.js | 0 .../components/edit_job_flyout/edit_utils.js | 0 .../components/edit_job_flyout/index.js | 0 .../edit_job_flyout/tabs/datafeed.js | 0 .../edit_job_flyout/tabs/detectors.js | 0 .../components/edit_job_flyout/tabs/index.js | 0 .../edit_job_flyout/tabs/job_details.js | 0 .../jobs_list/components/job_actions/index.js | 0 .../components/job_actions/management.js | 0 .../components/job_actions/results.js | 0 .../job_details/datafeed_preview_tab.tsx | 0 .../job_details/extract_job_details.js | 0 .../forecasts_table/forecasts_table.js | 0 .../job_details/forecasts_table/index.js | 0 .../components/job_details/format_values.js | 0 .../jobs_list/components/job_details/index.js | 0 .../components/job_details/job_details.js | 0 .../job_details/job_details_pane.tsx | 0 .../job_details/job_messages_pane.tsx | 0 .../components/job_details/json_tab.js | 0 .../components/job_filter_bar/index.ts | 0 .../job_filter_bar/job_filter_bar.tsx | 0 .../jobs_list/components/job_group/index.ts | 0 .../components/job_group/job_group.tsx | 0 .../jobs_list/components/jobs_list/index.js | 0 .../components/jobs_list/job_description.js | 0 .../components/jobs_list/job_id_link.tsx | 0 .../components/jobs_list/jobs_list.js | 0 .../components/jobs_list_view/index.js | 0 .../jobs_list_view/jobs_list_view.js | 0 .../components/jobs_stats_bar/index.js | 0 .../jobs_stats_bar/jobs_stats_bar.js | 0 .../components/ml_job_editor/index.ts | 0 .../ml_job_editor/ml_job_editor.tsx | 0 .../multi_job_actions/actions_menu.js | 0 .../group_selector/group_list/group_list.js | 0 .../group_selector/group_list/index.js | 0 .../group_selector/group_selector.js | 0 .../multi_job_actions/group_selector/index.js | 0 .../group_selector/new_group_input/index.js | 0 .../new_group_input/new_group_input.js | 0 .../components/multi_job_actions/index.js | 0 .../multi_job_actions/multi_job_actions.js | 0 .../components/new_job_button/index.js | 0 .../new_job_button/new_job_button.js | 0 .../components/reset_job_modal/index.ts | 0 .../open_jobs_warning_callout.tsx | 0 .../reset_job_modal/reset_job_modal.tsx | 0 .../components/start_datafeed_modal/index.js | 0 .../start_datafeed_modal.js | 0 .../time_range_selector/index.js | 0 .../time_range_selector.js | 0 .../time_range_selector_wrapper.tsx | 0 .../jobs/jobs_list/components/utils.d.ts | 0 .../jobs/jobs_list/components/utils.js | 0 .../jobs/jobs_list/components/validate_job.js | 0 .../application/jobs/jobs_list/index.ts | 0 .../application/jobs/jobs_list/jobs.tsx | 0 .../ml/public/application/jobs/jobs_utils.ts | 0 .../common/chart_loader/chart_loader.ts | 0 .../jobs/new_job/common/chart_loader/index.ts | 0 .../new_job/common/chart_loader/searches.ts | 0 .../jobs/new_job/common/components/index.ts | 0 .../common/components/job_groups_input.tsx | 0 .../common/components/time_range_picker.tsx | 0 .../application/jobs/new_job/common/index.ts | 0 .../new_job/common/index_pattern_context.ts | 0 .../job_creator/advanced_job_creator.ts | 0 .../job_creator/categorization_job_creator.ts | 0 .../common/job_creator/geo_job_creator.ts | 0 .../jobs/new_job/common/job_creator/index.ts | 0 .../new_job/common/job_creator/job_creator.ts | 0 .../common/job_creator/job_creator_factory.ts | 0 .../job_creator/multi_metric_job_creator.ts | 0 .../job_creator/population_job_creator.ts | 0 .../common/job_creator/rare_job_creator.ts | 0 .../job_creator/single_metric_job_creator.ts | 0 .../new_job/common/job_creator/type_guards.ts | 0 .../job_creator/util/default_configs.ts | 0 .../util/filter_runtime_mappings.test.ts | 0 .../util/filter_runtime_mappings.ts | 0 .../common/job_creator/util/general.ts | 0 .../util/model_memory_estimator.test.ts | 0 .../util/model_memory_estimator.ts | 0 .../jobs/new_job/common/job_runner/index.ts | 0 .../new_job/common/job_runner/job_runner.ts | 0 .../new_job/common/job_validator/index.ts | 0 .../common/job_validator/job_validator.ts | 0 .../jobs/new_job/common/job_validator/util.ts | 0 .../common/job_validator/validators.ts | 0 .../jobs/new_job/common/map_loader/index.ts | 0 .../new_job/common/map_loader/map_loader.ts | 0 .../categorization_examples_loader.ts | 0 .../new_job/common/results_loader/index.ts | 0 .../common/results_loader/results_loader.ts | 0 .../new_job/common/results_loader/searches.ts | 0 .../jobs/new_job/job_from_dashboard/index.ts | 0 .../quick_create_job_base.ts | 0 .../jobs/new_job/job_from_lens/index.ts | 0 .../new_job/job_from_lens/quick_create_job.ts | 0 .../new_job/job_from_lens/route_resolver.ts | 0 .../jobs/new_job/job_from_lens/utils.ts | 0 .../job_from_lens/visualization_extractor.ts | 0 .../jobs/new_job/job_from_map/index.ts | 0 .../new_job/job_from_map/quick_create_job.ts | 0 .../new_job/job_from_map/route_resolver.ts | 0 .../jobs/new_job/job_from_map/utils.ts | 0 .../job_from_map/visualization_extractor.ts | 0 .../job_from_pattern_analysis/index.ts | 0 .../quick_create_job.ts | 0 .../route_resolver.ts | 0 .../job_from_pattern_analysis/utils.ts | 0 .../charts/anomaly_chart/anomaly_chart.tsx | 0 .../components/charts/anomaly_chart/index.ts | 0 .../components/charts/anomaly_chart/line.tsx | 0 .../charts/anomaly_chart/model_bounds.tsx | 0 .../charts/anomaly_chart/scatter.tsx | 0 .../components/charts/common/anomalies.tsx | 0 .../pages/components/charts/common/axes.tsx | 0 .../components/charts/common/settings.ts | 0 .../pages/components/charts/common/utils.ts | 0 .../event_rate_chart/event_rate_chart.tsx | 0 .../charts/event_rate_chart/index.ts | 0 .../charts/event_rate_chart/overlay_range.tsx | 0 .../charts/loading_wrapper/index.ts | 0 .../loading_wrapper/loading_wrapper.tsx | 0 .../datafeed_preview.tsx | 0 .../datafeed_preview_flyout.tsx | 0 .../common/datafeed_preview_flyout/index.ts | 0 .../edit_categorization_analyzer_flyout.tsx | 0 .../index.ts | 0 .../common/json_editor_flyout/index.ts | 0 .../json_editor_flyout/json_editor_flyout.tsx | 0 .../common/model_memory_limit/description.tsx | 0 .../common/model_memory_limit/index.ts | 0 .../model_memory_limit_input.tsx | 0 .../components/data_view/change_data_view.tsx | 0 .../data_view/change_data_view_button.tsx | 0 .../components/data_view/description.tsx | 0 .../components/data_view/index.ts | 0 .../components/frequency/description.tsx | 0 .../components/frequency/frequency_input.tsx | 0 .../components/frequency/index.ts | 0 .../datafeed_step/components/hooks.ts | 0 .../components/query/description.tsx | 0 .../datafeed_step/components/query/index.ts | 0 .../components/query/query_input.tsx | 0 .../components/query_delay/description.tsx | 0 .../components/query_delay/index.ts | 0 .../query_delay/query_delay_input.tsx | 0 .../components/reset_query/index.tsx | 0 .../components/reset_query/reset_query.tsx | 0 .../components/scroll_size/description.tsx | 0 .../components/scroll_size/index.ts | 0 .../scroll_size/scroll_size_input.tsx | 0 .../components/time_field/description.tsx | 0 .../components/time_field/index.ts | 0 .../components/time_field/time_field.tsx | 0 .../time_field/time_field_select.tsx | 0 .../components/datafeed_step/datafeed.tsx | 0 .../pages/components/datafeed_step/index.ts | 0 .../pages/components/job_creator_context.ts | 0 .../additional_section/additional_section.tsx | 0 .../calendars/calendars_selection.tsx | 0 .../components/calendars/description.tsx | 0 .../components/calendars/description_dst.tsx | 0 .../components/calendars/index.ts | 0 .../custom_urls/custom_urls_selection.tsx | 0 .../components/custom_urls/description.tsx | 0 .../components/custom_urls/index.ts | 0 .../components/additional_section/index.ts | 0 .../advanced_section/advanced_section.tsx | 0 .../annotations/annotations_switch.tsx | 0 .../components/annotations/description.tsx | 0 .../components/annotations/index.ts | 0 .../dedicated_index_switch.tsx | 0 .../dedicated_index/description.tsx | 0 .../components/dedicated_index/index.ts | 0 .../ignore_unavailable/description.tsx | 0 .../ignore_unavailable_switch.tsx | 0 .../components/ignore_unavailable/index.ts | 0 .../components/mml_callout.tsx | 0 .../components/model_plot/description.tsx | 0 .../components/model_plot/index.ts | 0 .../model_plot/model_plot_switch.tsx | 0 .../components/advanced_section/index.ts | 0 .../components/groups/description.tsx | 0 .../components/groups/groups_input.tsx | 0 .../components/groups/index.ts | 0 .../job_description/description.tsx | 0 .../components/job_description/index.ts | 0 .../job_description/job_description_input.tsx | 0 .../components/job_id/description.tsx | 0 .../components/job_id/index.ts | 0 .../components/job_id/job_id_input.tsx | 0 .../components/job_details_step/index.ts | 0 .../job_details_step/job_details.tsx | 0 .../advanced_detector_modal.tsx | 0 .../advanced_detector_modal/descriptions.tsx | 0 .../advanced_detector_modal/function_help.tsx | 0 .../advanced_detector_modal/index.tsx | 0 .../advanced_detector_modal/modal_wrapper.tsx | 0 .../advanced_view/advanced_view.tsx | 0 .../advanced_view/detector_list.tsx | 0 .../components/advanced_view/extra.tsx | 0 .../components/advanced_view/index.ts | 0 .../advanced_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../advanced_view/metric_selector.tsx | 0 .../components/advanced_view/settings.tsx | 0 .../components/agg_select/agg_select.tsx | 0 .../components/agg_select/index.ts | 0 .../components/bucket_span/bucket_span.tsx | 0 .../bucket_span/bucket_span_input.tsx | 0 .../components/bucket_span/description.tsx | 0 .../components/bucket_span/index.ts | 0 .../bucket_span_estimator.tsx | 0 .../estimate_bucket_span.ts | 0 .../components/bucket_span_estimator/index.ts | 0 .../components/by_field/by_field.tsx | 0 .../components/by_field/index.ts | 0 .../categorization_detector.tsx | 0 .../detector_cards.tsx | 0 .../categorization_detector/index.ts | 0 .../categorization_field.tsx | 0 .../categorization_field_select.tsx | 0 .../categorization_field/description.tsx | 0 .../components/categorization_field/index.ts | 0 .../categorization_per_partition.tsx | 0 .../categorization_per_partition_dropdown.tsx | 0 .../categorization_per_partition_input.tsx | 0 .../categorization_per_partition_switch.tsx | 0 .../categorization_stop_on_warn_switch.tsx | 0 .../description.tsx | 0 .../categorization_partition_field/index.ts | 0 .../categorization_view.tsx | 0 .../category_stopped_partitions.tsx | 0 .../examples_valid_callout.tsx | 0 .../categorization_view/field_examples.tsx | 0 .../components/categorization_view/index.ts | 0 .../invalid_ccs_version_valid_callout.tsx | 0 .../categorization_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../categorization_view/settings.tsx | 0 .../categorization_view/top_categories.tsx | 0 .../detector_title/detector_title.tsx | 0 .../components/detector_title/index.ts | 0 .../components/geo_field/description.tsx | 0 .../components/geo_field/geo_field.tsx | 0 .../components/geo_field/geo_field_select.tsx | 0 .../components/geo_field/index.ts | 0 .../components/geo_view/geo_map_examples.tsx | 0 .../components/geo_view/geo_view.tsx | 0 .../components/geo_view/index.ts | 0 .../components/geo_view/metric_selection.tsx | 0 .../geo_view/metric_selection_summary.tsx | 0 .../components/geo_view/settings.tsx | 0 .../components/influencers/description.tsx | 0 .../components/influencers/index.ts | 0 .../components/influencers/influencers.tsx | 0 .../influencers/influencers_select.tsx | 0 .../components/metric_selector/index.ts | 0 .../metric_selector/metric_selector.tsx | 0 .../multi_metric_view/chart_grid.tsx | 0 .../components/multi_metric_view/index.ts | 0 .../multi_metric_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../multi_metric_view/multi_metric_view.tsx | 0 .../components/multi_metric_view/settings.tsx | 0 .../population_field/description.tsx | 0 .../components/population_field/index.ts | 0 .../population_field/population_field.tsx | 0 .../components/population_view/chart_grid.tsx | 0 .../components/population_view/index.ts | 0 .../population_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../population_view/population_view.tsx | 0 .../components/population_view/settings.tsx | 0 .../rare_detector/detector_cards.tsx | 0 .../components/rare_detector/index.ts | 0 .../rare_detector/rare_detector.tsx | 0 .../components/rare_field/description.tsx | 0 .../components/rare_field/index.ts | 0 .../components/rare_field/rare_field.tsx | 0 .../rare_field/rare_field_select.tsx | 0 .../rare_view/detector_description.tsx | 0 .../components/rare_view/index.ts | 0 .../components/rare_view/metric_selection.tsx | 0 .../rare_view/metric_selection_summary.tsx | 0 .../components/rare_view/rare_view.tsx | 0 .../components/rare_view/settings.tsx | 0 .../components/single_metric_view/index.ts | 0 .../single_metric_view/metric_selection.tsx | 0 .../metric_selection_summary.tsx | 0 .../single_metric_view/settings.tsx | 0 .../single_metric_view/single_metric_view.tsx | 0 .../components/sparse_data/description.tsx | 0 .../components/sparse_data/index.ts | 0 .../sparse_data/sparse_data_switch.tsx | 0 .../split_cards/animate_split_hook.ts | 0 .../components/split_cards/index.ts | 0 .../components/split_cards/split_cards.tsx | 0 .../components/split_field/description.tsx | 0 .../components/split_field/index.ts | 0 .../components/split_field/split_field.tsx | 0 .../components/split_field_select/index.ts | 0 .../split_field_select/split_field_select.tsx | 0 .../summary_count_field/description.tsx | 0 .../components/summary_count_field/index.ts | 0 .../summary_count_field.tsx | 0 .../summary_count_field_select.tsx | 0 .../components/pick_fields_step/index.ts | 0 .../pick_fields_step/pick_fields.tsx | 0 .../new_job/pages/components/step_types.ts | 0 .../summary_step/components/common.tsx | 0 .../datafeed_details/datafeed_details.tsx | 0 .../components/datafeed_details/index.ts | 0 .../detector_chart/detector_chart.tsx | 0 .../components/detector_chart/index.ts | 0 .../components/job_details/index.ts | 0 .../components/job_details/job_details.tsx | 0 .../components/job_progress/index.ts | 0 .../components/job_progress/job_progress.tsx | 0 .../components/post_save_options/index.ts | 0 .../post_save_options/post_save_options.tsx | 0 .../components/start_datafeed_switch/index.ts | 0 .../start_datafeed_switch.tsx | 0 .../pages/components/summary_step/index.ts | 0 .../pages/components/summary_step/summary.tsx | 0 .../pages/components/time_range_step/index.ts | 0 .../components/time_range_step/time_range.tsx | 0 .../pages/components/validation_step/index.ts | 0 .../validation_step/skip_validatoin.tsx | 0 .../components/validation_step/validation.tsx | 0 .../pages/components/wizard_nav/index.ts | 0 .../components/wizard_nav/wizard_nav.tsx | 0 .../new_job/pages/index_or_search/index.ts | 0 .../new_job/pages/index_or_search/page.tsx | 0 .../preconfigured_job_redirect.ts | 0 .../job_type/categorization_job_icon.tsx | 0 .../new_job/pages/job_type/geo_job_icon.tsx | 0 .../jobs/new_job/pages/job_type/index.ts | 0 .../jobs/new_job/pages/job_type/page.tsx | 0 .../new_job/pages/job_type/rare_job_icon.tsx | 0 .../jobs/new_job/pages/new_job/index.ts | 0 .../jobs/new_job/pages/new_job/page.tsx | 0 .../jobs/new_job/pages/new_job/wizard.tsx | 0 .../pages/new_job/wizard_horizontal_steps.tsx | 0 .../new_job/pages/new_job/wizard_steps.tsx | 0 .../components/create_result_callout.tsx | 0 .../new_job/recognize/components/edit_job.tsx | 0 .../new_job/recognize/components/job_item.tsx | 0 .../components/job_settings_form.tsx | 0 .../recognize/components/kibana_objects.tsx | 0 .../recognize/components/module_jobs.tsx | 0 .../jobs/new_job/recognize/index.ts | 0 .../jobs/new_job/recognize/page.tsx | 0 .../jobs/new_job/utils/new_job_utils.test.ts | 0 .../jobs/new_job/utils/new_job_utils.ts | 0 .../application/license/check_license.tsx | 0 .../ml/public/application/license/index.ts | 0 .../application/management/breadcrumbs.ts | 0 .../ml/public/application/management/index.ts | 0 .../components/access_denied_page.tsx | 0 .../management/jobs_list/components/index.ts | 0 .../components/insufficient_license_page.tsx | 0 .../components/jobs_list_page/docs_link.tsx | 0 .../components/jobs_list_page/index.ts | 0 .../jobs_list_page/jobs_list_page.tsx | 0 .../space_management/columns.tsx | 0 .../space_management/filters.ts | 0 .../jobs_list_page/space_management/index.ts | 0 .../space_management/space_management.tsx | 0 .../application/management/jobs_list/index.ts | 0 .../application/management/management_urls.ts | 0 .../public/application/memory_usage/index.ts | 0 .../memory_usage/memory_item_colors.ts | 0 .../memory_usage/memory_tree_map/index.ts | 0 .../memory_tree_map/memory_page.tsx | 0 .../memory_usage/memory_tree_map/tree_map.tsx | 0 .../memory_usage/memory_usage_page.tsx | 0 .../nodes_overview/allocated_models.tsx | 0 .../nodes_overview/expanded_row.tsx | 0 .../memory_usage/nodes_overview/index.ts | 0 .../nodes_overview/memory_preview_chart.tsx | 0 .../nodes_overview/nodes_list.tsx | 0 .../shared}/ml/public/application/ml.svg | 0 .../ml_nodes_check/check_ml_nodes.ts | 0 .../application/ml_nodes_check/index.ts | 0 .../model_management/add_model_flyout.tsx | 0 .../model_management/config_mapping.ts | 0 .../create_pipeline_for_model_flyout.tsx | 0 ...ference_properties_from_pipeline_config.ts | 0 .../get_pipeline_config.ts | 0 .../pipeline_details.tsx | 0 .../create_pipeline_for_model/state.ts | 0 .../test_trained_model.tsx | 0 .../model_management/delete_models_modal.tsx | 0 .../deployment_params_mapper.test.ts | 0 .../deployment_params_mapper.ts | 0 .../model_management/deployment_setup.tsx | 0 .../model_management/expanded_row.tsx | 0 .../model_management/force_stop_dialog.tsx | 0 .../model_management/get_model_state.tsx | 0 .../model_management/inference_api_tab.tsx | 0 .../model_management/model_actions.tsx | 0 .../model_management/model_link.tsx | 0 .../model_management/models_list.tsx | 0 .../pipelines/expanded_row.tsx | 0 .../model_management/pipelines/index.ts | 0 .../model_management/pipelines/pipelines.tsx | 0 .../test_dfa_models_flyout.tsx | 0 .../model_management/test_models/index.ts | 0 .../test_models/inference_error.tsx | 0 .../test_models/models/index.ts | 0 .../test_models/models/index_input.tsx | 0 .../test_models/models/inference_base.ts | 0 .../test_models/models/inference_info.tsx | 0 .../models/inference_input_form/index.tsx | 0 .../inference_input_form/index_input.tsx | 0 .../inference_input_form.tsx | 0 .../input_form_controls.tsx | 0 .../inference_input_form/text_input.tsx | 0 .../test_models/models/ner/index.ts | 0 .../test_models/models/ner/ner_inference.ts | 0 .../test_models/models/ner/ner_output.tsx | 0 .../models/question_answering/index.ts | 0 .../question_answering_inference.ts | 0 .../question_answering_input.tsx | 0 .../question_answering_output.tsx | 0 .../test_models/models/raw_output.tsx | 0 .../models/text_classification/common.ts | 0 .../fill_mask_inference.ts | 0 .../text_classification/fill_mask_output.tsx | 0 .../models/text_classification/index.ts | 0 .../models/text_classification/lang_codes.ts | 0 .../lang_ident_inference.ts | 0 .../text_classification/lang_ident_output.tsx | 0 .../text_classification_inference.ts | 0 .../text_classification_output.tsx | 0 .../zero_shot_classification_inference.ts | 0 .../zero_shot_classification_input.tsx | 0 .../models/text_embedding/index.ts | 0 .../text_embedding_inference.ts | 0 .../text_embedding/text_embedding_output.tsx | 0 .../models/text_expansion/index.ts | 0 .../text_expansion_inference.ts | 0 .../text_expansion/text_expansion_input.tsx | 0 .../text_expansion/text_expansion_output.tsx | 0 .../test_models/models/text_input.tsx | 0 .../test_models/output_loading.tsx | 0 .../test_models/selected_model.tsx | 0 .../test_models/test_flyout.tsx | 0 ...est_model_and_pipeline_creation_flyout.tsx | 0 .../test_trained_model_content.tsx | 0 .../test_trained_models_context.tsx | 0 .../model_management/test_models/utils.ts | 0 .../components/entity_filter.tsx | 0 .../components/notifications_list.test.tsx | 0 .../components/notifications_list.tsx | 0 .../public/application/notifications/page.tsx | 0 .../components/analytics_panel/actions.tsx | 0 .../analytics_panel/analytics_panel.tsx | 0 .../components/analytics_panel/index.ts | 0 .../components/analytics_panel/table.tsx | 0 .../anomaly_detection_panel/actions.tsx | 0 .../anomaly_detection_panel.tsx | 0 .../anomaly_detection_panel/index.ts | 0 .../anomaly_detection_panel/table.tsx | 0 .../anomaly_detection_panel/utils.ts | 0 .../overview/components/content.tsx | 0 .../application/overview/overview_page.tsx | 0 .../public/application/routing/breadcrumbs.ts | 0 .../components/navigate_to_page_button.tsx | 0 .../ml/public/application/routing/index.ts | 0 .../application/routing/ml_page_wrapper.tsx | 0 .../public/application/routing/resolvers.ts | 0 .../ml/public/application/routing/router.tsx | 0 .../routes/aiops/change_point_detection.tsx | 0 .../application/routing/routes/aiops/index.ts | 0 .../routes/aiops/log_categorization.tsx | 0 .../routes/aiops/log_rate_analysis.tsx | 0 .../analytics_job_creation.tsx | 0 .../analytics_job_exploration.tsx | 0 .../analytics_jobs_list.tsx | 0 .../data_frame_analytics/analytics_map.tsx | 0 .../analytics_source_selection.tsx | 0 .../routes/data_frame_analytics/index.ts | 0 .../routes/datavisualizer/data_comparison.tsx | 0 .../routes/datavisualizer/data_drift.tsx | 0 .../routes/datavisualizer/datavisualizer.tsx | 0 .../routes/datavisualizer/file_based.tsx | 0 .../routing/routes/datavisualizer/index.ts | 0 .../routes/datavisualizer/index_based.tsx | 0 .../routing/routes/explorer/explorer.tsx | 0 .../routing/routes/explorer/index.ts | 0 .../routing/routes/explorer/state_manager.tsx | 0 .../application/routing/routes/index.ts | 0 .../application/routing/routes/jobs_list.tsx | 0 .../routing/routes/memory_usage.tsx | 0 .../routing/routes/new_job/from_lens.tsx | 0 .../routing/routes/new_job/from_map.tsx | 0 .../routes/new_job/from_pattern_analysis.tsx | 0 .../routing/routes/new_job/index.ts | 0 .../routes/new_job/index_or_search.tsx | 0 .../routing/routes/new_job/job_type.tsx | 0 .../routing/routes/new_job/new_job.tsx | 0 .../routing/routes/new_job/recognize.tsx | 0 .../routing/routes/new_job/wizard.tsx | 0 .../routing/routes/notifications.tsx | 0 .../application/routing/routes/overview.tsx | 0 .../routing/routes/settings/calendar_list.tsx | 0 .../routes/settings/calendar_new_edit.tsx | 0 .../routing/routes/settings/filter_list.tsx | 0 .../routes/settings/filter_list_new_edit.tsx | 0 .../routing/routes/settings/index.ts | 0 .../routing/routes/settings/settings.tsx | 0 .../routes/supplied_configurations/index.ts | 0 .../supplied_configurations_view.tsx | 0 .../routes/timeseriesexplorer/index.ts | 0 .../timeseriesexplorer/state_manager.tsx | 0 .../timeseriesexplorer.test.tsx | 0 .../timeseriesexplorer/timeseriesexplorer.tsx | 0 .../routing/routes/trained_models/index.ts | 0 .../routes/trained_models/models_list.tsx | 0 .../application/routing/use_active_route.tsx | 0 .../application/routing/use_doc_title.ts | 0 .../public/application/routing/use_refresh.ts | 0 .../application/routing/use_resolver.test.ts | 0 .../application/routing/use_resolver.tsx | 0 .../__mocks__/anomaly_detector_service.ts | 0 .../anomaly_explorer_charts_service.ts | 0 .../cloudwatch_job_caps_response.json | 0 .../services/__mocks__/ml_api_services.ts | 0 .../services/__mocks__/ml_info_response.json | 0 .../nested_field_index_response.json | 0 .../services/annotations_service.test.tsx | 0 .../services/annotations_service.tsx | 0 .../services/anomaly_detector_service.ts | 0 .../anomaly_explorer_charts_service.test.ts | 0 .../anomaly_explorer_charts_service.ts | 0 .../services/anomaly_timeline_service.ts | 0 .../application/services/calendar_service.ts | 0 .../services/dashboard_service.test.ts | 0 .../application/services/dashboard_service.ts | 0 .../services/elastic_models_service.ts | 0 .../services/field_format_service.ts | 0 .../services/field_format_service_factory.ts | 0 .../application/services/forecast_service.ts | 0 .../services/get_shared_ml_services.ts | 0 .../application/services/http_service.ts | 0 .../services/job_cloning_service.ts | 0 .../application/services/job_service.d.ts | 0 .../application/services/job_service.js | 0 .../services/ml_api_service/alerting.ts | 0 .../services/ml_api_service/annotations.ts | 0 .../ml_api_service/data_frame_analytics.ts | 0 .../services/ml_api_service/filters.ts | 0 .../services/ml_api_service/index.ts | 0 .../ml_api_service/inference_models.ts | 0 .../services/ml_api_service/jobs.ts | 0 .../services/ml_api_service/json_schema.ts | 0 .../services/ml_api_service/management.ts | 0 .../services/ml_api_service/notifications.ts | 0 .../services/ml_api_service/results.ts | 0 .../services/ml_api_service/saved_objects.ts | 0 .../services/ml_api_service/trained_models.ts | 0 .../services/ml_results_service.ts | 0 .../services/ml_server_info.test.ts | 0 .../application/services/ml_server_info.ts | 0 .../services/new_job_capabilities/index.ts | 0 .../load_new_job_capabilities.ts | 0 .../new_job_capabilities.ts | 0 .../new_job_capabilities_service.test.ts | 0 .../new_job_capabilities_service.ts | 0 .../new_job_capabilities_service_analytics.ts | 0 .../remove_nested_field_children.test.ts | 0 .../services/results_service/index.ts | 0 .../results_service/result_service_rx.ts | 0 .../results_service/results_service.d.ts | 0 .../results_service/results_service.js | 0 .../application/services/state_service.ts | 0 .../application/services/table_service.js | 0 .../__mocks__/index.ts | 0 .../toast_notification_service/index.ts | 0 .../toast_notification_service.ts | 0 .../services/usage_collection.test.ts | 0 .../application/services/usage_collection.ts | 0 .../settings/anomaly_detection_settings.tsx | 0 .../anomaly_detection_settings_context.tsx | 0 .../settings/calendars/dst_utils.test.ts | 0 .../settings/calendars/dst_utils.ts | 0 .../__snapshots__/calendar_form.test.js.snap | 0 .../edit/calendar_form/calendar_form.test.js | 0 .../edit/calendar_form/calendar_form.tsx | 0 .../calendar_form/dst_event_generator.tsx | 0 .../calendars/edit/calendar_form/index.ts | 0 .../__snapshots__/events_table.test.js.snap | 0 .../edit/events_table/events_table.test.js | 0 .../edit/events_table/events_table.tsx | 0 .../calendars/edit/events_table/index.ts | 0 .../__snapshots__/import_modal.test.js.snap | 0 .../edit/import_modal/import_modal.js | 0 .../edit/import_modal/import_modal.test.js | 0 .../calendars/edit/import_modal/index.js | 0 .../calendars/edit/import_modal/utils.js | 0 .../imported_events.test.js.snap | 0 .../edit/imported_events/imported_events.js | 0 .../imported_events/imported_events.test.js | 0 .../calendars/edit/imported_events/index.js | 0 .../settings/calendars/edit/index.ts | 0 .../settings/calendars/edit/new_calendar.d.ts | 0 .../settings/calendars/edit/new_calendar.js | 0 .../calendars/edit/new_calendar.test.js | 0 .../calendars/edit/new_event_modal/index.js | 0 .../edit/new_event_modal/new_event_modal.js | 0 .../new_event_modal/new_event_modal.test.js | 0 .../settings/calendars/edit/utils.ts | 0 .../application/settings/calendars/index.ts | 0 .../list/__snapshots__/header.test.js.snap | 0 .../calendars/list/calendars_list.d.ts | 0 .../settings/calendars/list/calendars_list.js | 0 .../calendars/list/calendars_list.test.js | 0 .../calendars/list/delete_calendars.js | 0 .../settings/calendars/list/header.test.js | 0 .../settings/calendars/list/header.tsx | 0 .../settings/calendars/list/index.ts | 0 .../table/__snapshots__/table.test.js.snap | 0 .../settings/calendars/list/table/index.js | 0 .../settings/calendars/list/table/table.js | 0 .../calendars/list/table/table.test.js | 0 .../add_item_popover.test.js.snap | 0 .../add_item_popover/add_item_popover.js | 0 .../add_item_popover/add_item_popover.test.js | 0 .../components/add_item_popover/index.js | 0 .../delete_filter_list_modal.test.js.snap | 0 .../delete_filter_list_modal.js | 0 .../delete_filter_list_modal.test.js | 0 .../delete_filter_lists.js | 0 .../delete_filter_list_modal/index.js | 0 .../edit_description_popover.test.js.snap | 0 .../edit_description_popover.js | 0 .../edit_description_popover.test.js | 0 .../edit_description_popover/index.js | 0 .../filter_list_usage_popover.test.js.snap | 0 .../filter_list_usage_popover.js | 0 .../filter_list_usage_popover.test.js | 0 .../filter_list_usage_popover/index.js | 0 .../edit/__snapshots__/header.test.js.snap | 0 .../edit/__snapshots__/toolbar.test.js.snap | 0 .../filter_lists/edit/edit_filter_list.d.ts | 0 .../filter_lists/edit/edit_filter_list.js | 0 .../edit/edit_filter_list.test.js | 0 .../settings/filter_lists/edit/header.js | 0 .../settings/filter_lists/edit/header.test.js | 0 .../settings/filter_lists/edit/index.ts | 0 .../settings/filter_lists/edit/toolbar.js | 0 .../filter_lists/edit/toolbar.test.js | 0 .../settings/filter_lists/edit/utils.js | 0 .../settings/filter_lists/index.ts | 0 .../list/__snapshots__/header.test.js.snap | 0 .../list/__snapshots__/table.test.js.snap | 0 .../filter_lists/list/filter_lists.d.ts | 0 .../filter_lists/list/filter_lists.js | 0 .../filter_lists/list/filter_lists.test.js | 0 .../settings/filter_lists/list/header.js | 0 .../settings/filter_lists/list/header.test.js | 0 .../settings/filter_lists/list/index.ts | 0 .../settings/filter_lists/list/table.js | 0 .../settings/filter_lists/list/table.test.js | 0 .../ml/public/application/settings/index.ts | 0 .../application/settings/settings.test.tsx | 0 .../public/application/settings/settings.tsx | 0 .../shared}/ml/public/application/styles.ts | 0 .../supplied_configurations.tsx | 0 .../data_views_table.tsx | 0 .../supplied_configurations_flyout/flyout.tsx | 0 .../supplied_configurations_flyout/index.ts | 0 .../jobs_tab_content.tsx | 0 .../kibana_tab_content.tsx | 0 .../overview_tab_content.tsx | 0 .../supplied_configurations/utils.ts | 0 .../context_chart_mask/context_chart_mask.js | 0 .../components/context_chart_mask/index.js | 0 .../entity_control/entity_config.tsx | 0 .../entity_control/entity_control.tsx | 0 .../components/entity_control/index.ts | 0 .../forecasting_modal/forecast_button.tsx | 0 .../forecasting_modal/forecast_progress.js | 0 .../forecasting_modal/forecasting_modal.js | 0 .../forecasting_modal/forecasts_list.js | 0 .../components/forecasting_modal/index.js | 0 .../components/forecasting_modal/modal.js | 0 .../forecasting_modal/progress_icon.js | 0 .../forecasting_modal/progress_states.js | 0 .../forecasting_modal/run_controls.js | 0 .../plot_function_controls/index.ts | 0 .../plot_function_controls.tsx | 0 .../components/series_controls/index.ts | 0 .../series_controls/series_controls.tsx | 0 .../__mocks__/mock_annotations_overlap.json | 0 .../timeseries_chart/timeseries_chart.d.ts | 0 .../timeseries_chart/timeseries_chart.js | 0 .../timeseries_chart/timeseries_chart.test.js | 0 .../timeseries_chart_annotations.test.ts | 0 .../timeseries_chart_annotations.ts | 0 .../timeseries_chart_with_tooltip.tsx | 0 .../index.ts | 0 .../timeseriesexplorer_chart_data_error.tsx | 0 .../timeseriesexplorer_controls/index.ts | 0 .../timeseriesexplorer_controls.tsx | 0 .../timeseriesexplorer_no_chart_data/index.ts | 0 .../timeseriesexplorer_no_chart_data.tsx | 0 .../timeseriesexplorer_no_jobs_found/index.ts | 0 .../timeseriesexplorer_no_jobs_found.tsx | 0 .../get_controls_for_detector.ts | 0 .../timeseriesexplorer/get_criteria_fields.ts | 0 .../get_function_description.ts | 0 .../use_timeseriesexplorer_url_state.ts | 0 .../hooks/use_timeseriesexplorer_url_state.ts | 0 .../application/timeseriesexplorer/index.ts | 0 .../application/timeseriesexplorer/styles.ts | 0 .../timeseriesexplorer.d.ts | 0 .../timeseriesexplorer/timeseriesexplorer.js | 0 .../timeseriesexplorer_constants.ts | 0 .../index.ts | 0 .../timeseriesexplorer_checkbox.tsx | 0 .../timeseriesexplorer_embeddable_chart.js | 0 .../timeseriesexplorer_title.tsx | 0 .../timeseriesexplorer_help_popover.tsx | 0 .../timeseriesexplorer_page.tsx | 0 .../get_timeseriesexplorer_default_state.ts | 0 .../get_viewable_detectors.ts | 0 .../timeseriesexplorer_utils/index.ts | 0 .../time_series_search_service.ts | 0 .../validate_job_selection.ts | 0 .../util/__mocks__/time_buckets.ts | 0 .../application/util/__mocks__/url_state.tsx | 0 .../application/util/chart_config_builder.ts | 0 .../public/application/util/chart_utils.d.ts | 0 .../ml/public/application/util/chart_utils.js | 0 .../application/util/chart_utils.test.js | 0 .../application/util/component_utils.ts | 0 .../application/util/custom_url_utils.test.ts | 0 .../application/util/custom_url_utils.ts | 0 .../util/field_types_utils.test.ts | 0 .../application/util/field_types_utils.ts | 0 .../public/application/util/get_services.ts | 0 .../util/get_time_buckets_from_cache.ts | 0 .../public/application/util/index_service.ts | 0 .../ml/public/application/util/index_utils.ts | 0 .../application/util/recently_accessed.ts | 0 .../ml/public/application/util/results_url.ts | 0 .../application/util/string_utils.test.ts | 0 .../public/application/util/string_utils.ts | 0 .../application/util/time_buckets_service.ts | 0 .../util/time_series_explorer_service.ts | 0 .../public/application/util/url_utils.test.ts | 0 .../ml/public/application/util/url_utils.ts | 0 .../cases/anomaly_charts_attachments.tsx | 0 .../cases/anomaly_swim_lane_attachment.tsx | 0 .../plugins/shared}/ml/public/cases/index.tsx | 0 .../register_anomaly_charts_attachment.tsx | 0 .../register_anomaly_swim_lane_attachment.tsx | 0 .../cases/register_cases_attachments.ts | 0 ...gister_single_metric_viewer_attachment.tsx | 0 .../cases/single_metric_viewer_attachment.tsx | 0 .../anomaly_charts_embeddable_factory.tsx | 0 .../anomaly_charts_initializer.test.tsx | 0 .../anomaly_charts_initializer.tsx | 0 .../anomaly_charts_react_container.tsx | 0 .../anomaly_charts_setup_flyout.tsx | 0 ...et_anomaly_charts_services_dependencies.ts | 0 .../embeddables/anomaly_charts/index.ts | 0 .../initialize_anomaly_charts_controls.ts | 0 .../lazy_anomaly_charts_container.ts | 0 .../anomaly_charts/use_anomaly_charts_data.ts | 0 .../embeddables/anomaly_charts/utils.ts | 0 .../anomaly_swimlane_embeddable.tsx | 0 ...omaly_swimlane_embeddable_factory.test.tsx | 0 .../anomaly_swimlane_embeddable_factory.tsx | 0 .../anomaly_swimlane_initializer.tsx | 0 .../anomaly_swimlane_setup_flyout.tsx | 0 .../embeddables/anomaly_swimlane/index.ts | 0 .../initialize_swim_lane_controls.ts | 0 .../initialize_swim_lane_data_fetcher.ts | 0 .../embeddables/anomaly_swimlane/types.ts | 0 .../common/anomaly_detection_embeddable.ts | 0 .../embeddable_loading_fallback.tsx | 0 .../common/components/job_selector_flyout.tsx | 0 .../embeddables/common/get_jobs_observable.ts | 0 .../common/process_filters.test.ts | 0 .../embeddables/common/process_filters.ts | 0 .../use_embeddable_execution_context.ts | 0 .../ml/public/embeddables/constants.ts | 0 .../shared}/ml/public/embeddables/index.ts | 0 .../job_creation/aiops/flyout/create_job.tsx | 0 .../job_creation/aiops/flyout/flyout.tsx | 0 .../job_creation/aiops/flyout/index.ts | 0 .../embeddables/job_creation/aiops/index.ts | 0 .../job_creation/aiops/show_flyout.tsx | 0 .../job_creation/common/context.ts | 0 .../job_creation/common/create_flyout.tsx | 0 .../job_creation/common/job_details.tsx | 0 .../embeddables/job_creation/lens/index.ts | 0 .../flyout.tsx | 0 .../lens_vis_layer_selection_flyout/index.ts | 0 .../layer/compatible_layer.tsx | 0 .../layer/incompatible_layer.tsx | 0 .../layer/index.ts | 0 .../layer/layer.tsx | 0 .../job_creation/lens/show_flyout.tsx | 0 .../embeddables/job_creation/map/flyout.tsx | 0 .../embeddables/job_creation/map/index.ts | 0 .../layer/compatible_layer.tsx | 0 .../layer/incompatible_layer.tsx | 0 .../layer/index.ts | 0 .../layer/layer.tsx | 0 .../job_creation/map/show_flyout.tsx | 0 .../get_default_panel_title.ts | 0 .../single_metric_viewer/get_services.ts | 0 .../embeddables/single_metric_viewer/index.ts | 0 ...ngle_metric_viewer_controls_initializer.ts | 0 .../single_metric_viewer_data_fetcher.ts | 0 ...ingle_metric_viewer_embeddable_factory.tsx | 0 .../single_metric_viewer_initializer.tsx | 0 .../single_metric_viewer_setup_flyout.tsx | 0 .../shared}/ml/public/embeddables/types.ts | 0 .../shared}/ml/public/embeddables/utils.ts | 0 .../plugins/shared}/ml/public/index.ts | 0 .../ml/public/locator/formatters/aiops.ts | 0 .../locator/formatters/anomaly_detection.ts | 0 .../ml/public/locator/formatters/common.ts | 0 .../formatters/data_frame_analytics.ts | 0 .../ml/public/locator/formatters/index.ts | 0 .../locator/formatters/notifications.ts | 0 .../ml/public/locator/formatters/settings.tsx | 0 .../locator/formatters/trained_models.ts | 0 .../shared}/ml/public/locator/index.ts | 0 .../ml/public/locator/ml_locator.test.ts | 0 .../shared}/ml/public/locator/ml_locator.ts | 0 .../shared}/ml/public/locator/use_ml_href.ts | 0 .../ml/public/maps/anomaly_job_selector.tsx | 0 .../maps/anomaly_job_selector_empty_state.tsx | 0 .../ml/public/maps/anomaly_layer_wizard.tsx | 0 .../maps/anomaly_layer_wizard_factory.tsx | 0 .../shared}/ml/public/maps/anomaly_source.tsx | 0 .../ml/public/maps/anomaly_source_factory.ts | 0 .../ml/public/maps/anomaly_source_field.tsx | 0 .../maps/create_anomaly_source_editor.tsx | 0 .../shared}/ml/public/maps/layer_selector.tsx | 0 .../shared}/ml/public/maps/maps_util.test.js | 0 .../ml/public/maps/register_map_extension.ts | 0 .../ml/public/maps/results.test.mock.ts | 0 .../maps/update_anomaly_source_editor.tsx | 0 .../plugins/shared}/ml/public/maps/util.ts | 0 .../plugins/shared}/ml/public/mocks.ts | 0 .../plugins/shared}/ml/public/plugin.ts | 0 .../ml/public/register_helper/index.ts | 0 .../register_search_links/index.ts | 0 .../register_search_links.ts | 0 .../search_deep_links.ts | 0 .../ml/public/register_home_feature.ts | 0 .../shared_components/anomaly_swim_lane.tsx | 0 .../ml/public/shared_components/index.ts | 0 .../single_metric_viewer/index.tsx | 0 .../single_metric_viewer.tsx | 0 .../apply_entity_filters_action.tsx | 0 .../apply_influencer_filters_action.tsx | 0 .../ui_actions/apply_time_range_action.tsx | 0 .../ui_actions/clear_selection_action.tsx | 0 .../shared}/ml/public/ui_actions/constants.ts | 0 .../ui_actions/create_anomaly_chart.tsx | 0 .../create_single_metric_viewer.tsx | 0 .../ml/public/ui_actions/create_swim_lane.tsx | 0 .../ui_actions/get_embeddable_time_range.ts | 0 .../shared}/ml/public/ui_actions/index.ts | 0 .../open_create_categorization_job_action.tsx | 0 .../open_in_anomaly_explorer_action.tsx | 0 .../open_in_single_metric_viewer_action.tsx | 0 .../ui_actions/open_vis_in_ml_action.tsx | 0 .../shared}/ml/public/ui_actions/triggers.ts | 0 .../shared}/ml/public/ui_actions/types.ts | 0 .../plugins/shared}/ml/readme.md | 10 +- .../shared}/ml/server/client/error_wrapper.ts | 0 .../shared}/ml/server/client/errors.js | 0 .../shared}/ml/server/config_schema.ts | 0 .../plugins/shared}/ml/server/index.ts | 0 .../shared}/ml/server/lib/__mocks__/log.ts | 0 .../ml/server/lib/alerts/alerting_service.ts | 0 .../lib/alerts/jobs_health_service.test.ts | 0 .../server/lib/alerts/jobs_health_service.ts | 0 .../register_anomaly_detection_alert_type.ts | 0 .../register_jobs_monitoring_rule_type.ts | 0 .../server/lib/alerts/register_ml_alerts.ts | 0 .../capabilities/__mocks__/ml_capabilities.ts | 0 .../lib/capabilities/capabilities_switcher.ts | 0 .../capabilities/check_capabilities.test.ts | 0 .../lib/capabilities/check_capabilities.ts | 0 .../ml/server/lib/capabilities/errors.ts | 0 .../ml/server/lib/capabilities/index.ts | 0 .../ml/server/lib/capabilities/upgrade.ts | 0 .../ml/server/lib/check_annotations/index.ts | 0 .../shared}/ml/server/lib/data_views_utils.ts | 0 .../plugins/shared}/ml/server/lib/log.ts | 0 .../shared}/ml/server/lib/ml_client/errors.ts | 0 .../shared}/ml/server/lib/ml_client/index.ts | 0 .../server/lib/ml_client/ml_audit_logger.ts | 0 .../ml/server/lib/ml_client/ml_client.ts | 0 .../shared}/ml/server/lib/ml_client/search.ts | 0 .../shared}/ml/server/lib/ml_client/types.ts | 0 .../shared}/ml/server/lib/node_utils.ts | 0 .../shared}/ml/server/lib/register_cases.ts | 0 .../lib/register_sample_data_set_links.ts | 0 .../ml/server/lib/register_settings.ts | 0 .../ml/server/lib/request_authorization.ts | 0 .../shared}/ml/server/lib/route_guard.ts | 0 .../shared}/ml/server/lib/spaces_utils.ts | 0 .../plugins/shared}/ml/server/mocks.ts | 0 .../__mocks__/get_annotations_request.json | 0 .../__mocks__/get_annotations_response.json | 0 .../annotation_service/annotation.test.ts | 0 .../models/annotation_service/annotation.ts | 0 .../server/models/annotation_service/index.ts | 0 .../bucket_span_estimator.d.ts | 0 .../bucket_span_estimator.js | 0 .../bucket_span_estimator.test.ts | 0 .../models/bucket_span_estimator/index.ts | 0 .../models/bucket_span_estimator/intervals.js | 0 .../polled_data_checker.js | 0 .../single_series_checker.js | 0 .../calculate_model_memory_limit.ts | 0 .../calculate_model_memory_limit/index.ts | 0 .../models/calendar/calendar_manager.ts | 0 .../server/models/calendar/event_manager.ts | 0 .../ml/server/models/calendar/index.ts | 0 .../analytics_audit_messages.ts | 0 .../data_frame_analytics/analytics_manager.ts | 0 .../models/data_frame_analytics/index.ts | 0 .../models/data_frame_analytics/types.ts | 0 .../models/data_frame_analytics/validation.ts | 0 .../data_recognizer/data_recognizer.test.ts | 0 .../models/data_recognizer/data_recognizer.ts | 0 .../ml/server/models/data_recognizer/index.ts | 0 .../ml_http_access_explorer_ecs.json | 0 .../search/ml_http_access_filebeat_ecs.json | 0 .../ml_http_access_events_timechart_ecs.json | 0 .../visualization/ml_http_access_map_ecs.json | 0 ...l_http_access_source_ip_timechart_ecs.json | 0 ...http_access_status_code_timechart_ecs.json | 0 ..._http_access_top_source_ips_table_ecs.json | 0 .../ml_http_access_top_urls_table_ecs.json | 0 ...access_unique_count_url_timechart_ecs.json | 0 .../modules/apache_ecs/logo.json | 0 .../modules/apache_ecs/manifest.json | 0 .../ml/datafeed_low_request_rate_ecs.json | 0 .../datafeed_source_ip_request_rate_ecs.json | 0 .../ml/datafeed_source_ip_url_count_ecs.json | 0 .../ml/datafeed_status_code_rate_ecs.json | 0 .../ml/datafeed_visitor_rate_ecs.json | 0 .../apache_ecs/ml/low_request_rate_ecs.json | 0 .../ml/source_ip_request_rate_ecs.json | 0 .../ml/source_ip_url_count_ecs.json | 0 .../apache_ecs/ml/status_code_rate_ecs.json | 0 .../apache_ecs/ml/visitor_rate_ecs.json | 0 .../modules/apm_transaction/logo.json | 0 .../modules/apm_transaction/manifest.json | 0 .../apm_transaction/ml/apm_tx_metrics.json | 0 .../ml/datafeed_apm_tx_metrics.json | 0 ...ditbeat_docker_process_event_rate_ecs.json | 0 ...auditbeat_docker_process_explorer_ecs.json | 0 ...l_auditbeat_docker_process_events_ecs.json | 0 ...ker_process_event_rate_by_process_ecs.json | 0 ...eat_docker_process_event_rate_vis_ecs.json | 0 ...ditbeat_docker_process_occurrence_ecs.json | 0 .../auditbeat_process_docker_ecs/logo.json | 0 .../manifest.json | 0 ..._docker_high_count_process_events_ecs.json | 0 ...feed_docker_rare_process_activity_ecs.json | 0 .../docker_high_count_process_events_ecs.json | 0 .../ml/docker_rare_process_activity_ecs.json | 0 .../modules/logs_ui_analysis/logo.json | 0 .../modules/logs_ui_analysis/manifest.json | 0 .../ml/datafeed_log_entry_rate.json | 0 .../logs_ui_analysis/ml/log_entry_rate.json | 0 .../modules/logs_ui_categories/logo.json | 0 .../modules/logs_ui_categories/manifest.json | 0 .../datafeed_log_entry_categories_count.json | 0 .../ml/log_entry_categories_count.json | 0 .../modules/metricbeat_system_ecs/logo.json | 0 .../metricbeat_system_ecs/manifest.json | 0 .../ml/datafeed_high_mean_cpu_iowait_ecs.json | 0 .../ml/datafeed_max_disk_utilization_ecs.json | 0 .../ml/datafeed_metricbeat_outages_ecs.json | 0 .../ml/high_mean_cpu_iowait_ecs.json | 0 .../ml/max_disk_utilization_ecs.json | 0 .../ml/metricbeat_outages_ecs.json | 0 .../modules/metrics_ui_hosts/logo.json | 0 .../modules/metrics_ui_hosts/manifest.json | 0 .../ml/datafeed_hosts_memory_usage.json | 0 .../ml/datafeed_hosts_network_in.json | 0 .../ml/datafeed_hosts_network_out.json | 0 .../ml/hosts_memory_usage.json | 0 .../metrics_ui_hosts/ml/hosts_network_in.json | 0 .../ml/hosts_network_out.json | 0 .../modules/metrics_ui_k8s/logo.json | 0 .../modules/metrics_ui_k8s/manifest.json | 0 .../ml/datafeed_k8s_memory_usage.json | 0 .../ml/datafeed_k8s_network_in.json | 0 .../ml/datafeed_k8s_network_out.json | 0 .../metrics_ui_k8s/ml/k8s_memory_usage.json | 0 .../metrics_ui_k8s/ml/k8s_network_in.json | 0 .../metrics_ui_k8s/ml/k8s_network_out.json | 0 .../ml_http_access_explorer_ecs.json | 0 .../search/ml_http_access_filebeat_ecs.json | 0 .../ml_http_access_events_timechart_ecs.json | 0 .../visualization/ml_http_access_map_ecs.json | 0 ...l_http_access_source_ip_timechart_ecs.json | 0 ...http_access_status_code_timechart_ecs.json | 0 ..._http_access_top_source_ips_table_ecs.json | 0 .../ml_http_access_top_urls_table_ecs.json | 0 ...access_unique_count_url_timechart_ecs.json | 0 .../modules/nginx_ecs/logo.json | 0 .../modules/nginx_ecs/manifest.json | 0 .../ml/datafeed_low_request_rate_ecs.json | 0 .../datafeed_source_ip_request_rate_ecs.json | 0 .../ml/datafeed_source_ip_url_count_ecs.json | 0 .../ml/datafeed_status_code_rate_ecs.json | 0 .../ml/datafeed_visitor_rate_ecs.json | 0 .../nginx_ecs/ml/low_request_rate_ecs.json | 0 .../ml/source_ip_request_rate_ecs.json | 0 .../nginx_ecs/ml/source_ip_url_count_ecs.json | 0 .../nginx_ecs/ml/status_code_rate_ecs.json | 0 .../nginx_ecs/ml/visitor_rate_ecs.json | 0 .../modules/sample_data_ecommerce/logo.json | 0 .../sample_data_ecommerce/manifest.json | 0 .../ml/datafeed_high_sum_total_sales.json | 0 .../ml/high_sum_total_sales.json | 0 .../modules/sample_data_weblogs/logo.json | 0 .../modules/sample_data_weblogs/manifest.json | 0 .../ml/datafeed_low_request_rate.json | 0 .../ml/datafeed_response_code_rates.json | 0 .../ml/datafeed_url_scanning.json | 0 .../ml/low_request_rate.json | 0 .../ml/response_code_rates.json | 0 .../sample_data_weblogs/ml/url_scanning.json | 0 .../modules/security_auth/logo.json | 0 .../modules/security_auth/manifest.json | 0 .../ml/auth_high_count_logon_events.json | 0 ...gh_count_logon_events_for_a_source_ip.json | 0 .../ml/auth_high_count_logon_fails.json | 0 .../ml/auth_rare_hour_for_a_user.json | 0 .../ml/auth_rare_source_ip_for_a_user.json | 0 .../security_auth/ml/auth_rare_user.json | 0 ...datafeed_auth_high_count_logon_events.json | 0 ...gh_count_logon_events_for_a_source_ip.json | 0 .../datafeed_auth_high_count_logon_fails.json | 0 .../datafeed_auth_rare_hour_for_a_user.json | 0 ...tafeed_auth_rare_source_ip_for_a_user.json | 0 .../ml/datafeed_auth_rare_user.json | 0 .../datafeed_suspicious_login_activity.json | 0 .../ml/suspicious_login_activity.json | 0 .../modules/security_cloudtrail/logo.json | 0 .../modules/security_cloudtrail/manifest.json | 0 ...eed_high_distinct_count_error_message.json | 0 .../ml/datafeed_rare_error_code.json | 0 .../ml/datafeed_rare_method_for_a_city.json | 0 .../datafeed_rare_method_for_a_country.json | 0 .../datafeed_rare_method_for_a_username.json | 0 .../ml/high_distinct_count_error_message.json | 0 .../ml/rare_error_code.json | 0 .../ml/rare_method_for_a_city.json | 0 .../ml/rare_method_for_a_country.json | 0 .../ml/rare_method_for_a_username.json | 0 .../modules/security_host/logo.json | 0 .../modules/security_host/manifest.json | 0 ...eed_high_count_events_for_a_host_name.json | 0 ...feed_low_count_events_for_a_host_name.json | 0 .../ml/high_count_events_for_a_host_name.json | 0 .../ml/low_count_events_for_a_host_name.json | 0 .../modules/security_linux/logo.json | 0 .../modules/security_linux/manifest.json | 0 ...d_v3_linux_anomalous_network_activity.json | 0 ...linux_anomalous_network_port_activity.json | 0 ..._v3_linux_anomalous_process_all_hosts.json | 0 ...datafeed_v3_linux_anomalous_user_name.json | 0 ...linux_network_configuration_discovery.json | 0 ...v3_linux_network_connection_discovery.json | 0 ...tafeed_v3_linux_rare_metadata_process.json | 0 .../datafeed_v3_linux_rare_metadata_user.json | 0 .../ml/datafeed_v3_linux_rare_sudo_user.json | 0 .../datafeed_v3_linux_rare_user_compiler.json | 0 ...v3_linux_system_information_discovery.json | 0 ...eed_v3_linux_system_process_discovery.json | 0 ...tafeed_v3_linux_system_user_discovery.json | 0 ...atafeed_v3_rare_process_by_host_linux.json | 0 .../v3_linux_anomalous_network_activity.json | 0 ...linux_anomalous_network_port_activity.json | 0 .../v3_linux_anomalous_process_all_hosts.json | 0 .../ml/v3_linux_anomalous_user_name.json | 0 ...linux_network_configuration_discovery.json | 0 ...v3_linux_network_connection_discovery.json | 0 .../ml/v3_linux_rare_metadata_process.json | 0 .../ml/v3_linux_rare_metadata_user.json | 0 .../ml/v3_linux_rare_sudo_user.json | 0 .../ml/v3_linux_rare_user_compiler.json | 0 ...v3_linux_system_information_discovery.json | 0 .../ml/v3_linux_system_process_discovery.json | 0 .../ml/v3_linux_system_user_discovery.json | 0 .../ml/v3_rare_process_by_host_linux.json | 0 .../modules/security_network/logo.json | 0 .../modules/security_network/manifest.json | 0 ...eed_high_count_by_destination_country.json | 0 .../datafeed_high_count_network_denies.json | 0 .../datafeed_high_count_network_events.json | 0 .../ml/datafeed_rare_destination_country.json | 0 .../ml/high_count_by_destination_country.json | 0 .../ml/high_count_network_denies.json | 0 .../ml/high_count_network_events.json | 0 .../ml/rare_destination_country.json | 0 .../modules/security_packetbeat/logo.json | 0 .../modules/security_packetbeat/manifest.json | 0 .../ml/datafeed_packetbeat_dns_tunneling.json | 0 ...datafeed_packetbeat_rare_dns_question.json | 0 ...atafeed_packetbeat_rare_server_domain.json | 0 .../ml/datafeed_packetbeat_rare_urls.json | 0 .../datafeed_packetbeat_rare_user_agent.json | 0 .../ml/packetbeat_dns_tunneling.json | 0 .../ml/packetbeat_rare_dns_question.json | 0 .../ml/packetbeat_rare_server_domain.json | 0 .../ml/packetbeat_rare_urls.json | 0 .../ml/packetbeat_rare_user_agent.json | 0 .../modules/security_windows/logo.json | 0 .../modules/security_windows/manifest.json | 0 ...afeed_v3_rare_process_by_host_windows.json | 0 ...v3_windows_anomalous_network_activity.json | 0 ...ed_v3_windows_anomalous_path_activity.json | 0 ...3_windows_anomalous_process_all_hosts.json | 0 ...v3_windows_anomalous_process_creation.json | 0 .../datafeed_v3_windows_anomalous_script.json | 0 ...datafeed_v3_windows_anomalous_service.json | 0 ...tafeed_v3_windows_anomalous_user_name.json | 0 ...feed_v3_windows_rare_metadata_process.json | 0 ...atafeed_v3_windows_rare_metadata_user.json | 0 ...feed_v3_windows_rare_user_runas_event.json | 0 ...windows_rare_user_type10_remote_login.json | 0 .../ml/v3_rare_process_by_host_windows.json | 0 ...v3_windows_anomalous_network_activity.json | 0 .../v3_windows_anomalous_path_activity.json | 0 ...3_windows_anomalous_process_all_hosts.json | 0 ...v3_windows_anomalous_process_creation.json | 0 .../ml/v3_windows_anomalous_script.json | 0 .../ml/v3_windows_anomalous_service.json | 0 .../ml/v3_windows_anomalous_user_name.json | 0 .../ml/v3_windows_rare_metadata_process.json | 0 .../ml/v3_windows_rare_metadata_user.json | 0 .../ml/v3_windows_rare_user_runas_event.json | 0 ...windows_rare_user_type10_remote_login.json | 0 .../modules/uptime_heartbeat/logo.json | 0 .../modules/uptime_heartbeat/manifest.json | 0 .../ml/datafeed_high_latency_by_geo.json | 0 .../ml/high_latency_by_geo.json | 0 .../models/data_visualizer/data_visualizer.ts | 0 .../ml/server/models/data_visualizer/index.ts | 0 .../fields_service/fields_aggs_cache.ts | 0 .../models/fields_service/fields_service.ts | 0 .../ml/server/models/fields_service/index.ts | 0 .../ml/server/models/filter/filter_manager.ts | 0 .../shared}/ml/server/models/filter/index.ts | 0 .../server/models/job_audit_messages/index.ts | 0 .../job_audit_messages/is_clearable.test.ts | 0 .../job_audit_messages/job_audit_messages.ts | 0 .../ml/server/models/job_service/datafeeds.ts | 0 .../server/models/job_service/error_utils.ts | 0 .../ml/server/models/job_service/groups.ts | 0 .../ml/server/models/job_service/index.ts | 0 .../ml/server/models/job_service/jobs.ts | 0 .../models/job_service/model_snapshots.ts | 0 .../new_job/categorization/index.ts | 0 .../new_job/categorization/top_categories.ts | 0 .../models/job_service/new_job/charts.ts | 0 .../models/job_service/new_job/index.ts | 0 .../models/job_service/new_job/line_chart.ts | 0 .../job_service/new_job/population_chart.ts | 0 .../responses/cloudwatch_field_caps.json | 0 .../data_view_rollup_cloudwatch.json | 0 .../responses/farequote_field_caps.json | 0 .../__mocks__/responses/rollup_caps.json | 0 .../results/cloudwatch_rollup_job_caps.json | 0 .../__mocks__/results/farequote_job_caps.json | 0 .../results/farequote_job_caps_empty.json | 0 .../job_service/new_job_caps/field_service.ts | 0 .../models/job_service/new_job_caps/index.ts | 0 .../new_job_caps/new_job_caps.test.ts | 0 .../job_service/new_job_caps/new_job_caps.ts | 0 .../models/job_service/new_job_caps/rollup.ts | 0 .../__mocks__/mock_farequote_cardinality.json | 0 .../mock_farequote_search_response.json | 0 .../__mocks__/mock_field_caps.json | 0 .../__mocks__/mock_it_search_response.json | 0 .../__mocks__/mock_time_field.json | 0 .../__mocks__/mock_time_field_nested.json | 0 .../__mocks__/mock_time_range.json | 0 .../ml/server/models/job_validation/index.ts | 0 .../job_validation/job_validation.test.ts | 0 .../models/job_validation/job_validation.ts | 0 .../job_validation/validate_bucket_span.js | 0 .../validate_bucket_span.test.ts | 0 .../validate_cardinality.test.ts | 0 .../job_validation/validate_cardinality.ts | 0 .../validate_datafeed_preview.ts | 0 .../validate_influencers.test.ts | 0 .../job_validation/validate_influencers.ts | 0 .../job_validation/validate_job_object.ts | 0 .../validate_model_memory_limit.test.ts | 0 .../validate_model_memory_limit.ts | 0 .../validate_time_range.test.ts | 0 .../job_validation/validate_time_range.ts | 0 .../__mocks__/mock_deployment_response.json | 0 .../__mocks__/mock_download_tasks.json | 0 .../model_management/get_model_state.test.tsx | 0 .../model_management/get_model_state.ts | 0 .../server/models/model_management/index.ts | 0 .../model_management/memory_usage.test.ts | 0 .../models/model_management/memory_usage.ts | 0 .../model_management/model_provider.test.ts | 0 .../model_management/models_provider.ts | 0 .../models/notifications_service/index.ts | 0 .../notifications_service_provider.ts | 0 .../results_service/anomaly_charts.test.ts | 0 .../models/results_service/anomaly_charts.ts | 0 .../build_anomaly_table_items.d.ts | 0 .../build_anomaly_table_items.js | 0 .../get_partition_fields_values.ts | 0 .../ml/server/models/results_service/index.ts | 0 .../models/results_service/results_service.ts | 0 .../plugins/shared}/ml/server/plugin.ts | 0 .../shared}/ml/server/routes/README.md | 0 .../shared}/ml/server/routes/alerting.ts | 0 .../shared}/ml/server/routes/annotations.ts | 0 .../ml/server/routes/anomaly_detectors.ts | 0 .../shared}/ml/server/routes/calendars.ts | 0 .../ml/server/routes/data_frame_analytics.ts | 0 .../ml/server/routes/data_visualizer.ts | 0 .../shared}/ml/server/routes/datafeeds.ts | 0 .../ml/server/routes/fields_service.ts | 0 .../shared}/ml/server/routes/filters.ts | 0 .../ml/server/routes/inference_models.ts | 0 .../ml/server/routes/job_audit_messages.ts | 0 .../shared}/ml/server/routes/job_service.ts | 0 .../ml/server/routes/job_validation.ts | 0 .../shared}/ml/server/routes/management.ts | 0 .../ml/server/routes/model_management.ts | 0 .../shared}/ml/server/routes/modules.ts | 0 .../shared}/ml/server/routes/notifications.ts | 0 .../ml/server/routes/results_service.ts | 0 .../shared}/ml/server/routes/saved_objects.ts | 0 .../server/routes/schemas/alerting_schema.ts | 0 .../routes/schemas/annotations_schema.ts | 0 .../schemas/anomaly_detectors_schema.ts | 0 .../server/routes/schemas/calendars_schema.ts | 0 .../schemas/data_frame_analytics_schema.ts | 0 .../routes/schemas/data_visualizer_schema.ts | 0 .../server/routes/schemas/datafeeds_schema.ts | 0 .../routes/schemas/fields_service_schema.ts | 0 .../server/routes/schemas/filters_schema.ts | 0 .../server/routes/schemas/indices_schema.ts | 0 .../server/routes/schemas/inference_schema.ts | 0 .../schemas/job_audit_messages_schema.ts | 0 .../routes/schemas/job_service_schema.ts | 0 .../routes/schemas/job_validation_schema.ts | 0 .../routes/schemas/management_schema.ts | 0 .../ml/server/routes/schemas/modules.ts | 0 .../routes/schemas/notifications_schema.ts | 0 .../routes/schemas/results_service_schema.ts | 0 .../routes/schemas/runtime_mappings_schema.ts | 0 .../ml/server/routes/schemas/saved_objects.ts | 0 .../shared}/ml/server/routes/system.ts | 0 .../ml/server/routes/trained_models.ts | 0 .../ml/server/saved_objects/authorization.ts | 0 .../shared}/ml/server/saved_objects/checks.ts | 0 .../shared}/ml/server/saved_objects/index.ts | 0 .../saved_objects/initialization/index.ts | 0 .../initialization/initialization.ts | 0 .../initialization/space_overrides/index.ts | 0 .../initialization/space_overrides/logs.ts | 0 .../initialization/space_overrides/metrics.ts | 0 .../space_overrides/space_overrides.test.ts | 0 .../space_overrides/space_overrides.ts | 0 .../ml/server/saved_objects/mappings.ts | 0 .../ml/server/saved_objects/migrations.ts | 0 .../ml/server/saved_objects/saved_objects.ts | 0 .../ml/server/saved_objects/service.ts | 0 .../shared}/ml/server/saved_objects/sync.ts | 0 .../ml/server/saved_objects/sync_task.ts | 0 .../shared}/ml/server/saved_objects/util.ts | 0 .../plugins/shared}/ml/server/shared.ts | 0 .../ml/server/shared_services/errors.test.ts | 0 .../ml/server/shared_services/errors.ts | 0 .../ml/server/shared_services/index.ts | 0 .../shared_services/license_checks/errors.ts | 0 .../shared_services/license_checks/index.ts | 0 .../license_checks/license_checks.ts | 0 .../providers/__mocks__/alerting_service.ts | 0 .../providers/__mocks__/anomaly_detectors.ts | 0 .../providers/__mocks__/jobs_service.ts | 0 .../providers/__mocks__/modules.ts | 0 .../providers/__mocks__/results_service.ts | 0 .../providers/__mocks__/system.ts | 0 .../providers/__mocks__/trained_models.ts | 0 .../providers/alerting_service.ts | 0 .../providers/anomaly_detectors.ts | 0 .../server/shared_services/providers/index.ts | 0 .../shared_services/providers/job_service.ts | 0 .../shared_services/providers/modules.ts | 0 .../providers/results_service.ts | 0 .../shared_services/providers/system.ts | 0 .../providers/trained_models.ts | 0 .../server/shared_services/shared_services.ts | 0 .../plugins/shared}/ml/server/types.ts | 0 .../shared}/ml/server/usage/collector.ts | 0 .../plugins/shared/ml}/server/usage/index.ts | 0 .../plugins/shared}/ml/tsconfig.json | 6 +- .../machine_learning/affected_job_ids.ts | 2 +- .../common/machine_learning/helpers.ts | 2 +- .../schema/xpack_platform.json | 103 +++++++++- .../schema/xpack_plugins.json | 100 ---------- x-pack/plugins/transform/jest.config.js | 15 -- yarn.lock | 92 ++++----- 3757 files changed, 896 insertions(+), 884 deletions(-) rename {packages => src/platform/packages/private}/default-nav/ml/README.md (100%) rename {packages => src/platform/packages/private}/default-nav/ml/default_navigation.ts (100%) rename {packages => src/platform/packages/private}/default-nav/ml/index.ts (100%) rename {packages => src/platform/packages/private}/default-nav/ml/jest.config.js (83%) rename {packages => src/platform/packages/private}/default-nav/ml/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/default-nav/ml/package.json (100%) rename {packages => src/platform/packages/private}/default-nav/ml/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/deeplinks/ml/README.md (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/deep_links.ts (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/index.ts (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/jest.config.js (83%) rename {packages => src/platform/packages/shared}/deeplinks/ml/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/deeplinks/ml/package.json (100%) rename {x-pack/packages/ml/is_defined => src/platform/packages/shared/deeplinks/ml}/tsconfig.json (81%) delete mode 100644 x-pack/packages/ml/aiops_test_utils/jest.config.js delete mode 100644 x-pack/packages/ml/anomaly_utils/jest.config.js delete mode 100644 x-pack/packages/ml/cancellable_search/jest.config.js delete mode 100644 x-pack/packages/ml/chi2test/jest.config.js delete mode 100644 x-pack/packages/ml/creation_wizard_utils/jest.config.js delete mode 100644 x-pack/packages/ml/data_frame_analytics_utils/jest.config.js delete mode 100644 x-pack/packages/ml/data_grid/jest.config.js delete mode 100644 x-pack/packages/ml/data_view_utils/jest.config.js delete mode 100644 x-pack/packages/ml/date_picker/jest.config.js delete mode 100644 x-pack/packages/ml/date_utils/jest.config.js delete mode 100644 x-pack/packages/ml/error_utils/jest.config.js delete mode 100644 x-pack/packages/ml/field_stats_flyout/jest.config.js delete mode 100644 x-pack/packages/ml/in_memory_table/jest.config.js delete mode 100644 x-pack/packages/ml/inference_integration_flyout/jest.config.js delete mode 100644 x-pack/packages/ml/is_defined/jest.config.js delete mode 100644 x-pack/packages/ml/json_schemas/jest.config.js delete mode 100644 x-pack/packages/ml/kibana_theme/jest.config.js delete mode 100644 x-pack/packages/ml/local_storage/jest.config.js delete mode 100644 x-pack/packages/ml/nested_property/jest.config.js delete mode 100644 x-pack/packages/ml/number_utils/jest.config.js delete mode 100644 x-pack/packages/ml/number_utils/tsconfig.json delete mode 100644 x-pack/packages/ml/parse_interval/jest.config.js delete mode 100644 x-pack/packages/ml/query_utils/jest.config.js delete mode 100644 x-pack/packages/ml/random_sampler_utils/jest.config.js delete mode 100644 x-pack/packages/ml/response_stream/jest.config.js delete mode 100644 x-pack/packages/ml/route_utils/jest.config.js delete mode 100644 x-pack/packages/ml/runtime_field_utils/jest.config.js delete mode 100644 x-pack/packages/ml/string_hash/jest.config.js delete mode 100644 x-pack/packages/ml/time_buckets/jest.config.js delete mode 100644 x-pack/packages/ml/trained_models_utils/jest.config.js delete mode 100644 x-pack/packages/ml/ui_actions/jest.config.js delete mode 100644 x-pack/packages/ml/url_state/jest.config.js delete mode 100644 x-pack/packages/ml/validators/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/agg_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/index.ts (100%) rename x-pack/{packages/ml/category_validator => platform/packages/private/ml/agg_utils}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/build_sampler_aggregation.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/build_sampler_aggregation.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/fetch_agg_intervals.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/fetch_histograms_for_fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/field_histograms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/get_sampler_aggregations_response_path.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/is_multi_bucket_aggregate.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/time_series_metric_fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/type_guards.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/type_guards.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/validate_number.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/src/validate_number.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/agg_utils/tsconfig.json (89%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/constants.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_change_point_detection/package.json (100%) rename {packages/deeplinks/ml => x-pack/platform/packages/private/ml/aiops_change_point_detection}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_components/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_components/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/brush_badge.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/document_count_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/document_count_chart/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush.scss (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/dual_brush/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/progress_controls.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_components/tsconfig.json (92%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/significant_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/top_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/farequote/significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/aiops_test_utils/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/cancellable_search/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/src/use_cancellable_search.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/cancellable_search/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/common/constants/categorization.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/common/types/categories.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/category_validator/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/category_validator/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/examples.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/util.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/src/validation_results.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/category_validator/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/components/destination_index_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx (100%) create mode 100644 x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/creation_wizard_utils/package.json (100%) rename x-pack/{packages/ml/trained_models_utils => platform/packages/private/ml/creation_wizard_utils}/tsconfig.json (82%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/analytics_utils.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/analytics_utils.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/constants.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/feature_importance.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/fields.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/get_num_top_classes.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_frame_analytics_utils/tsconfig.json (87%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/components/column_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/components/data_grid.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_column_chart.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_column_chart.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/hooks/use_data_grid.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/index.ts (100%) rename x-pack/{packages/ml/aiops_log_pattern_analysis => platform/packages/private/ml/data_grid}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/common.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/common.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/field_histograms.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/lib/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_grid/tsconfig.json (88%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/create.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/data_view_handler.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/actions/delete.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_form_row.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_switch.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/components/create_data_view_time_field.tsx (100%) create mode 100644 x-pack/platform/packages/private/ml/data_view_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/schemas/api_create_query_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/tsconfig.json (87%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/types/api_create_response_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/data_view_utils/types/api_delete_response_schema.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/date_picker/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/date_picker/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/date_picker_wrapper.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/date_picker_wrapper.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/full_time_range_selector.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/components/full_time_range_selector.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_date_picker_context.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_timefilter.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/hooks/use_timefilter.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/full_time_range_selector_service.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/full_time_range_selector_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/time_field_range.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/timefilter_refresh_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/services/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/src/storage.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_picker/tsconfig.json (90%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/index.ts (100%) rename x-pack/{packages/ml/aiops_change_point_detection => platform/packages/private/ml/date_utils}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/date_utils.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/date_utils.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/src/time_format.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/date_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_content.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_flyout.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_flyout_provider.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/field_stats_info_button.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/get_kbn_field_icon_types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/options_list_with_stats/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/tsconfig.json (92%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/use_field_stats_flyout_context.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/field_stats_flyout/use_field_stats_trigger.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/hooks/use_table_state.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/in_memory_table/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/in_memory_table/tsconfig.json (86%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/connect_to_api.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/eland_python_client.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/elasticsearch_models.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/flyout_layout.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_forms/openai_form.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/components/service_options.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/lib/shared_values.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/inference_integration_flyout/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/is_defined/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/is_defined/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/is_defined/src/is_defined.ts (100%) rename x-pack/{packages/ml/aiops_change_point_detection => platform/packages/private/ml/is_defined}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/is_populated_object/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/src/is_populated_object.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/src/is_populated_object.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/is_populated_object/tsconfig.json (79%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/json_schemas/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/json_schemas/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/package.json (59%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/scripts/index.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/json_schema_service.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/schema_overrides.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/json_schemas/tsconfig.json (82%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/kibana_theme/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/src/hooks.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/kibana_theme/tsconfig.json (83%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/local_storage/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/local_storage/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/src/storage_context.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/local_storage/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/nested_property/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/nested_property/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/get_nested_property.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/get_nested_property.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/set_nested_property.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/src/set_nested_property.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/nested_property/tsconfig.json (80%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/number_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/number_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/src/round_to_decimal_place.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/number_utils/src/round_to_decimal_place.ts (100%) rename x-pack/{packages/ml/chi2test => platform/packages/private/ml/number_utils}/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/parse_interval/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/parse_interval/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/parse_interval.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/parse_interval.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/parse_interval/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/query_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/query_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/__mocks__/simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/add_exclude_frozen_to_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/add_exclude_frozen_to_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/bool_filter_based_simple_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/bool_filter_based_simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/build_base_filter_criteria.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/build_base_filter_criteria.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/default_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/default_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/es_client_total_hits_relation.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/filter_based_default_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/filter_based_default_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_default_dsl_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_safe_aggregation_name.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/get_safe_aggregation_name.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/match_all_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/match_all_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/simple_query.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/simple_query.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/query_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/route_utils/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/route_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/src/create_execution_context.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/src/create_execution_context.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/route_utils/tsconfig.json (84%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/index.ts (100%) rename x-pack/{packages/ml/is_populated_object => platform/packages/private/ml/string_hash}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/src/string_hash.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/src/string_hash.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/string_hash/tsconfig.json (79%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/calc_auto_interval.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/calc_auto_interval.test.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/index.ts (100%) create mode 100644 x-pack/platform/packages/private/ml/time_buckets/jest.config.js rename x-pack/{packages => platform/packages/private}/ml/time_buckets/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/parse_interval.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.d.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/time_buckets.test.js (100%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/time_buckets/use_time_buckets.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/index.ts (100%) rename x-pack/{packages/ml/agg_utils => platform/packages/private/ml/ui_actions}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/src/aiops/ui_actions.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/src/ml/ui_actions.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/ui_actions/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/url_state/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/index.ts (100%) rename x-pack/{packages/ml/aiops_log_rate_analysis => platform/packages/private/ml/url_state}/jest.config.js (74%) rename x-pack/{packages => platform/packages/private}/ml/url_state/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/src/url_state.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/src/url_state.tsx (100%) rename x-pack/{packages => platform/packages/private}/ml/url_state/tsconfig.json (85%) rename x-pack/{packages => platform/packages/private}/ml/validators/README.md (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/constants.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/index.ts (100%) rename x-pack/{packages/ml/aiops_common => platform/packages/private/ml/validators}/jest.config.js (75%) rename x-pack/{packages => platform/packages/private}/ml/validators/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/package.json (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/tsconfig.json (81%) rename x-pack/{packages => platform/packages/private}/ml/validators/validators.test.ts (100%) rename x-pack/{packages => platform/packages/private}/ml/validators/validators.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/create_default_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/create_default_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/is_request_aborted_error.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/is_request_aborted_error.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_common/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_common/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/create_category_request.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/embeddable.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/get_category_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/process_category_results.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/schema.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/tsconfig.json (89%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_pattern_analysis/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema_v2.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/schema_v3.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/api/stream_reducer.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/ecs_fields.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/ecs_fields.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_extended_change_point.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_log_rate_change.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_group_filter.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_range_query.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_request_base.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_value_counts.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/get_values_descending.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/queue_field_candidates.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/hooks.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/store.tsx (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/tsconfig.json (92%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/aiops_log_rate_analysis/window_parameters.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/aggregation_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_severity.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_severity_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_threshold.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_utils.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/anomaly_utils.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/custom_urls.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/detector_rule.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/es_client.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/field_types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/fields.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_formatted_severity_score.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_color.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_color.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/get_severity_type.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/severity_colors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/anomaly_utils/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/compute_chi_2_pvalue.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/compute_chi_2_pvalue.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/critical_table_lookup.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/index.ts (100%) rename x-pack/{packages/ml/aiops_components => platform/packages/shared/ml/chi2test}/jest.config.js (74%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/chi2test/package.json (100%) create mode 100644 x-pack/platform/packages/shared/ml/chi2test/tsconfig.json rename x-pack/{packages => platform/packages/shared}/ml/chi2test/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/error_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/error_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/process_errors.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/process_errors.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/request_error.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/src/types.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/error_utils/tsconfig.json (85%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/get_sample_probability.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/get_sample_probability.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_manager.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/src/random_sampler_wrapper.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/random_sampler_utils/tsconfig.json (83%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/constants.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/fetch_stream.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/stream_slice.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/string_reducer.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/client/use_fetch_stream.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/response_stream/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/response_stream/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/accept_compression.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/accept_compression.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/index.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/stream_factory.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/server/stream_factory.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/response_stream/tsconfig.json (86%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_field.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_field.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_mappings.test.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/src/is_runtime_mappings.ts (100%) rename x-pack/{packages => platform/packages/shared}/ml/runtime_field_utils/tsconfig.json (86%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/README.md (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/index.ts (100%) create mode 100644 x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/package.json (100%) rename x-pack/{packages => platform/packages/shared}/ml/trained_models_utils/src/constants/trained_models.ts (100%) rename x-pack/{packages/ml/creation_wizard_utils => platform/packages/shared/ml/trained_models_utils}/tsconfig.json (82%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/i18n_constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_request_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/field_vis_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/job_field_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/test_grok_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/types/time_field_request.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/build_query_filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/datafeed_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/parse_interval.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/parse_interval.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/runtime_field_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/common/utils/tika_utils.ts (100%) create mode 100644 x-pack/platform/plugins/private/data_visualizer/jest.config.js rename x-pack/{plugins => platform/plugins/private}/data_visualizer/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/combined_fields/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx (100%) rename x-pack/{plugins/aiops/public/components/document_count_content => platform/plugins/private/data_visualizer/public/application/common/components}/document_count_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/examples_list/examples_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/examples_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_count_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_names_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_type_icon/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/field_types_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/fields_stats_grid/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/help_menu/help_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/help_menu/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/link_card/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/link_card/link_card.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/loading_indicator/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/multi_select_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/not_in_docs_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/results_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/results_links/results_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/stats_table/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/_top_values.scss (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/top_values/top_values.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/format_value.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/kibana_field_format.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/components/utils/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/data_source_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_document_count_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/hooks/use_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/types/data_visualizer_plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/display_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/example_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/example_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/field_types_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_data_test_subject.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/get_max_bytes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/grok_pattern.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/grok_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/common/util/promise_all_settled_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_hint.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_page.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/data_drift_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx (99%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx (99%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/document_count_with_brush.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/use_data_drift_result.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/data_drift/use_state_manager.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/file_data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx (100%) rename x-pack/{plugins/aiops/public => platform/plugins/private/data_visualizer/public/application/index_data_visualizer}/components/search_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/locator/locator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/progress_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/application/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/kibana_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/lazy_load_bundle/lazy/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/public/register_home.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/config_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/register_custom_integration.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/routes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/types/deps.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/server/utils/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/data_visualizer/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/private}/transform/common/constants.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/data_view.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/data_view.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/es_index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/es_ingest_pipeline.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/pivot_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/pivot_group_by.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/types/transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/create_capability_failure_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/create_stats_unknown_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/es_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/field_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/field_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/to_array.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/common/utils/transform_api_key.ts (100%) rename x-pack/{plugins/ml => platform/plugins/private/transform}/jest.config.js (50%) rename x-pack/{plugins => platform/plugins/private}/transform/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_alerting_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/__mocks__/app_dependencies.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/app_dependencies.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/__mocks__/transform_list_row.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/__mocks__/transform_stats.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/aggregations.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/aggregations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/constants/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/data_grid.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/data_grid.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/dropdown.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/managed_transforms_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/navigation.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_aggs.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/pivot_group_by.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/reauthorization_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/request.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/request.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/time_zone_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/time_zone_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_stats.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/frequency_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/frequency_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_above_zero_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_above_zero_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_continuous_mode_delay.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_continuous_mode_delay.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_json_string.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_json_string.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_retention_policy_max_age.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_retention_policy_max_age.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_transform_wizard_frequency.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/is_valid_frequency.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/parse_duration_above_zero.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/parse_duration_above_zero.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/retention_policy_max_age_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/string_validator.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/string_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/common/validators/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/capabilities_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/toast_notification_text.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/components/toast_notification_text.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_create_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_data_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_data_view_exists.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_delete_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_documentation_links.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_data_view_titles.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_data_views_title_id_map.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_es_indices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_es_ingest_pipelines.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_histograms_for_fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_nodes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transform_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_get_transforms_preview.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_index_data.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_reauthorize_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_refresh_transform_list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_reset_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_schedule_now_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_search_items/use_search_items.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_start_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_stop_transform.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_config_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_transform_config_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/hooks/use_update_transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/mount_management_section.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/clone_transform/clone_transform_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/clone_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/source_search_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/switch_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/_wizard.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard_nav/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/create_transform_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/create_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/form_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/form_section.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/get_default_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/get_update_value.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/validators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/state_management/value_parsers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/create_transform_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/search_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/transform_management_section.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/sections/transform_management/transform_management_section.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/serverless_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/breadcrumb.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/navigation/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/text/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/app/services/text/text.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/public/register_feature.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/readme.md (98%) rename x-pack/{plugins => platform/plugins/private}/transform/server/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/audit_messages/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/audit_messages/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/delete_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/delete_transforms/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/field_histograms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/field_histograms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/reset_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/reset_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/start_transforms/start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/stop_transforms/stop_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_all/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_all/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_create/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_create/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_nodes/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_preview/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_preview/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_single/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_single/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_all/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_all/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_single/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_stats_single/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_update/register_route.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api/transforms_update/route_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/common.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/delete_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/field_histograms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/reauthorize_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/reset_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/schedule_now_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/start_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/stop_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/transforms_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/api_schemas/update_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/apidoc.json (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/routes/utils/error_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/services/license.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/server/usage/collector.ts (100%) rename x-pack/{plugins/ml => platform/plugins/private/transform}/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/transform/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/aiops/README.md (89%) rename x-pack/{plugins => platform/plugins/shared}/aiops/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/aiops/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/log_pattern_analysis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/url_state/log_rate_analysis.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/build_extended_base_filter_criteria.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/search_utils.ts (97%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/application/utils/time_series_dataview_check.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/change_point_charts_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/log_pattern_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/log_rate_analysis_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/cases/register_cases.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_detection_root.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_point_type_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/change_points_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/chart_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/charts_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/fields_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/function_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/max_series_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/metric_field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/no_change_points_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/partitions_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/split_field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_change_point_agg_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_common_chart_props.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/use_split_field_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/change_point_detection/view_type_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx (100%) rename x-pack/{plugins/data_visualizer/public/application/common/components => platform/plugins/shared/aiops/public/components/document_count_content}/document_count_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/total_count_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx (94%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/field_stats_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/field_stats_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/field_stats_popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/attachments_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/categorize_field_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/category_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/labels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/table_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/category_validation_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/create_categorization_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/document_count_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/format_category.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/format_category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/information_text.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/loading_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_enabled.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/log_categorization_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/technical_preview_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_categorize_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_discover_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/use_validate_category_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_categorization/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/item_filter_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx (98%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/mini_histogram/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/mini_histogram/mini_histogram.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/page_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/page_header/page_header.tsx (100%) rename x-pack/{plugins/data_visualizer/public/application/index_data_visualizer => platform/plugins/shared/aiops/public}/components/search_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/search_panel/search_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/components/time_field_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/const.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/change_point_chart/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/log_rate_analysis/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/embeddables/pattern_analysis/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/get_document_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/__mocks__/use_aiops_app_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/__mocks__/use_reload.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_aiops_app_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_cancellable_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_cases_modal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_data_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_document_count_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_eui_theme.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_filters_query.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_filters_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_reload.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/hooks/use_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_components/pattern_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/shared_lazy_components.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/change_point_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_change_point_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/create_pattern_analysis_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/log_rate_analysis_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/open_change_point_ml.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/public/ui_actions/pattern_analysis_action_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/track_route_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/lib/track_route_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/register_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/categorization_field_validation/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/categorization_field_validation/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/aiops/tsconfig.json (96%) rename x-pack/{plugins => platform/plugins/shared}/ml/.gitignore (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/__mocks__/mock_anomalies_table_data.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/api_schemas/json_schema_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/app.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/cloud.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/index_patterns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/job_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/jobs_list.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/message_levels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/new_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/states.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/constants/usage_collection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/license/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/license/ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/ml_apis.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/openapi/ml_apis_serverless.yaml (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/__mocks__/job_config_farequote.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/annotations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/combined_job.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/combined_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/datafeed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/job_stats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/model_snapshot.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/anomaly_detection_jobs/summary_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/audit_message.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/categories.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/data_recognizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/detector_rules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/kibana.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/ml_server_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/storage.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/types/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/alerts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomalies_table_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomalies_table_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/anomaly_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/chart_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/datafeed_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/es_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/es_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/fields_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/group_color_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/job_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/job_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/metric_change_description.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/metric_change_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/object_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/object_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/string_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/string_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/common/util/validation_utils.ts (100%) rename x-pack/{plugins/data_visualizer => platform/plugins/shared/ml}/jest.config.js (67%) rename x-pack/{plugins => platform/plugins/shared}/ml/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/__mocks__/core_start.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/__mocks__/ml_start_deps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/config_validator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/ml_alerting_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/register_ml_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/time_interval_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/alerting/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/_variables.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/access_denied/access_denied.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/access_denied/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/log_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/aiops/log_rate_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/__mocks__/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/capabilities/get_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_description_list/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_flyout/index.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotation_flyout/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/annotations_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/annotations_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/annotations_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/annotations/delete_annotation_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/_anomalies_table.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table_columns.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomalies_table_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/description_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/detector_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/influencers_cell.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/links_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/anomaly_results_view_selector/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/callout/callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/chart_tooltip/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/collapsible_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/collapsible_panel/panel_header_items.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/color_range_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/use_color_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/color_range_legend/use_color_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/checkbox_showcharts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/select_interval.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_interval/select_interval.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/select_severity.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/controls/select_severity/select_severity.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/create_data_view_button/create_data_view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/create_data_view_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/use_create_ad_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_hooks/use_partial_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_selection_table/custom_selection_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_selection_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_url_editor/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_urls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/custom_urls/is_valid_custom_urls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/data_recognizer.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/data_recognizer.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/data_recognizer/recognized_result.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/delete_space_aware_item_check_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/display_value/display_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/display_value/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/entity_cell.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/entity_cell/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/feature_feedback_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/feedback_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/feedback_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/header_menu_portal/header_menu_portal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/header_menu_portal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_icon/help_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_icon/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_menu/help_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_menu/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/help_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/help_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/import_export_jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/influencers_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/influencers_list/influencers_list_styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/items_grid.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/items_grid/items_grid_pagination.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_message_icon/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_message_icon/job_message_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_messages/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_messages/job_messages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/_job_selector.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/id_badges.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/id_badges.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/id_badges/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_select_service_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_selector/use_job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/job_spaces_sync/sync_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/link_card/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/link_card/link_card.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/loading_indicator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/loading_indicator/loading_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/message_call_out/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/message_call_out/message_call_out.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/pipeline_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/processor_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/save_changes_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/components/test_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/get_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/get_steps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/retry_create_data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_inference/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/ml_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/notifications_indicator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_page/side_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_saved_objects_spaces_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/close_job_confirm/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/model_snapshots_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/multi_select_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/multi_select_picker/multi_select_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/node_available_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/node_available_warning/warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_header/page_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_title/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/page_title/page_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/_rule_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/actions_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/actions_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/components/detector_description_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/condition_expression.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/condition_expression.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/conditions_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/conditions_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/rule_editor_flyout.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/rule_editor_flyout.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_expression.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_expression.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_section.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/scope_section.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/rule_editor/utils.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/severity_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/severity_control/severity_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/add_inference_pipeline_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/on_failure_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/pipeline_details_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/pipeline_name_and_description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/shared/review_and_create_pipeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/stats_bar/stats_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/technical_preview_badge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/upgrade/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/upgrade/upgrade_warning.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/validate_job/validate_job_view.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart_loading.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/components/vega_chart/vega_chart_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/kibana_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_cases_modal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_create_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_current_theme.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_field_formatter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ml_api_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ml_license.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_navigate_to_path.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_notifications_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/kibana/use_ui_settings_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/kibana_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/__mocks__/saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/data_source_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_annotation_updates_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_notifications_context.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_notifications_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/ml_server_info_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/serverless_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/contexts/ml/use_job_selection_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/analytics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_destination_index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_index_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/common/use_results_view_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/source_selection/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/datavisualizer_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/file_based/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/common/request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/data_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/_explorer.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/actions/load_explorer_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/alerts_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/alerts_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/const.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/get_alerts_summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/get_alerts_summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/annotation_timeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomalies_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_charts_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_context_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_explorer_common_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_explorer_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/anomaly_timeline_state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/calculate_row_options.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/calculate_row_options.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_no_results_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/explorer_query_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/components/no_overall_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_explorer_chart.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/map_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_dashboard_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/explorer_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/has_matching_points.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/has_matching_points.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/hooks/use_explorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/hooks/use_selected_cells.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/explorer_reducer/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/reducers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_annotation_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/explorer/swimlane_pagination.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/abbreviate_whole_number.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/abbreviate_whole_number.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/format_value.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/format_value.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/kibana_field_format.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/number_as_ordinal.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/formatters/number_as_ordinal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/use_as_observable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/hooks/use_as_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/components/jobs_action_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/management.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_actions/results.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/format_values.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_details.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_group/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/new_job_button/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/utils.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/components/validate_job.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_list/jobs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/jobs_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/chart_loader/searches.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/index_pattern_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/general.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_runner/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/job_validator/validators.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/map_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/common/results_loader/searches.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_dashboard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/step_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/job_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/recognize/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/jobs/new_job/utils/new_job_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/license/check_license.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/license/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/access_denied_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/jobs_list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/management/management_urls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_item_colors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/memory_usage_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml_nodes_check/check_ml_nodes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/ml_nodes_check/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/add_model_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/config_mapping.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/delete_models_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_params_mapper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_params_mapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/deployment_setup.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/force_stop_dialog.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/get_model_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/inference_api_tab.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/model_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/model_link.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/models_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/expanded_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/pipelines/pipelines.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_dfa_models_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/inference_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/index_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_base.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_info.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/ner_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/ner/ner_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/raw_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/models/text_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/output_loading.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/selected_model.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_trained_model_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/test_trained_models_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/model_management/test_models/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/entity_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/notifications_list.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/components/notifications_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/notifications/page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/analytics_panel/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/anomaly_detection_panel/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/components/content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/overview/overview_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/components/navigate_to_page_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/ml_page_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/resolvers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/router.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/change_point_detection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/log_categorization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/data_frame_analytics/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/data_drift.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/file_based.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/datavisualizer/index_based.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/explorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/explorer/state_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/jobs_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/memory_usage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_lens.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/index_or_search.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/job_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/new_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/recognize.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/new_job/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/notifications.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/overview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/calendar_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/calendar_new_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/filter_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/supplied_configurations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/trained_models/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/routes/trained_models/models_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_active_route.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_refresh.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_resolver.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/routing/use_resolver.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/anomaly_detector_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/ml_api_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/ml_info_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/__mocks__/nested_field_index_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/annotations_service.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/annotations_service.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_detector_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_explorer_charts_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_explorer_charts_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/anomaly_timeline_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/calendar_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/dashboard_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/dashboard_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/elastic_models_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/field_format_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/field_format_service_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/forecast_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/get_shared_ml_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/http_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_cloning_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_service.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/job_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/inference_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/json_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/results.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_api_service/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_server_info.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/ml_server_info.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/result_service_rx.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/results_service.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/results_service/results_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/state_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/table_service.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/toast_notification_service/toast_notification_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/usage_collection.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/services/usage_collection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/anomaly_detection_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/anomaly_detection_settings_context.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/dst_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/dst_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/calendar_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/events_table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/events_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/events_table/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/import_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/import_modal/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/imported_events.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/imported_events/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_calendar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/edit/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/calendars_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/delete_calendars.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/calendars/list/table/table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/add_item_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/header.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/toolbar.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/toolbar.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/edit/utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/filter_lists.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/header.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/header.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/table.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/filter_lists/list/table.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/supplied_configurations/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/entity_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/series_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_criteria_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/get_function_description.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/styles.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/__mocks__/time_buckets.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/__mocks__/url_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_config_builder.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/chart_utils.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/component_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/custom_url_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/custom_url_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/field_types_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/field_types_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/get_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/get_time_buckets_from_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/index_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/index_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/recently_accessed.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/results_url.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/string_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/string_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/time_buckets_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/time_series_explorer_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/url_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/application/util/url_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/anomaly_charts_attachments.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/anomaly_swim_lane_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_anomaly_charts_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_anomaly_swim_lane_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_cases_attachments.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/register_single_metric_viewer_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/cases/single_metric_viewer_attachment.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_charts/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/anomaly_swimlane/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/anomaly_detection_embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/components/job_selector_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/get_jobs_observable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/process_filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/process_filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/common/use_embeddable_execution_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/aiops/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/create_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/common/job_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/lens/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/job_creation/map/show_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/get_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/embeddables/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/aiops.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/anomaly_detection.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/common.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/formatters/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/ml_locator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/ml_locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/locator/use_ml_href.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_job_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_job_selector_empty_state.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_layer_wizard_factory.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/anomaly_source_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/create_anomaly_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/layer_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/maps_util.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/register_map_extension.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/results.test.mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/update_anomaly_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/maps/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/register_search_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_helper/register_search_links/search_deep_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/register_home_feature.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/anomaly_swim_lane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/single_metric_viewer/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_entity_filters_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_influencer_filters_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/apply_time_range_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/clear_selection_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_anomaly_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_single_metric_viewer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/create_swim_lane.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/get_embeddable_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_create_categorization_job_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/open_vis_in_ml_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/triggers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/public/ui_actions/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/readme.md (94%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/client/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/client/errors.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/config_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/__mocks__/log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/jobs_health_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/jobs_health_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/alerts/register_ml_alerts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/capabilities_switcher.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/check_capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/check_capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/capabilities/upgrade.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/check_annotations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/data_views_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/log.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/ml_audit_logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/ml_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/search.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/ml_client/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/node_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_cases.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_sample_data_set_links.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/register_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/request_authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/route_guard.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/lib/spaces_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/__mocks__/get_annotations_request.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/__mocks__/get_annotations_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/annotation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/annotation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/annotation_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/intervals.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/polled_data_checker.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/bucket_span_estimator/single_series_checker.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calculate_model_memory_limit/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/calendar_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/event_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/calendar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/analytics_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/analytics_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_frame_analytics/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/data_recognizer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/data_recognizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_visualizer/data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/data_visualizer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/fields_aggs_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/fields_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/fields_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/filter/filter_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/is_clearable.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_audit_messages/job_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/datafeeds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/error_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/groups.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/jobs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/model_snapshots.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/categorization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/categorization/top_categories.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/line_chart.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job/population_chart.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/field_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/new_job_caps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_service/new_job_caps/rollup.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_field_caps.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_it_search_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_field.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/__mocks__/mock_time_range.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/job_validation.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_bucket_span.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_bucket_span.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_cardinality.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_cardinality.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_datafeed_preview.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_influencers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_influencers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_job_object.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_model_memory_limit.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_model_memory_limit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_time_range.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/job_validation/validate_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/__mocks__/mock_deployment_response.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/__mocks__/mock_download_tasks.json (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/get_model_state.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/get_model_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/memory_usage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/memory_usage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/model_provider.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/model_management/models_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/notifications_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/notifications_service/notifications_service_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/anomaly_charts.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/anomaly_charts.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/build_anomaly_table_items.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/build_anomaly_table_items.js (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/get_partition_fields_values.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/models/results_service/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/README.md (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/alerting.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/annotations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/calendars.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/data_frame_analytics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/data_visualizer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/datafeeds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/fields_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/filters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/inference_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_audit_messages.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/job_validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/model_management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/notifications.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/alerting_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/annotations_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/anomaly_detectors_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/calendars_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/data_frame_analytics_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/data_visualizer_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/datafeeds_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/fields_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/filters_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/indices_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/inference_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_audit_messages_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/job_validation_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/management_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/notifications_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/results_service_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/runtime_mappings_schema.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/schemas/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/routes/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/authorization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/checks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/initialization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/logs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/metrics.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/sync.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/sync_task.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/saved_objects/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/errors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/license_checks/license_checks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/jobs_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/__mocks__/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/alerting_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/anomaly_detectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/job_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/modules.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/results_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/system.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/providers/trained_models.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/shared_services/shared_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/server/usage/collector.ts (100%) rename x-pack/{plugins/transform => platform/plugins/shared/ml}/server/usage/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/ml/tsconfig.json (96%) delete mode 100644 x-pack/plugins/transform/jest.config.js diff --git a/.eslintrc.js b/.eslintrc.js index 3052b07745e4c..0fe79513a9948 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -967,7 +967,7 @@ module.exports = { }, { files: [ - 'x-pack/plugins/aiops/**/*.tsx', + 'x-pack/platform/plugins/shared/aiops/**/*.tsx', 'x-pack/plugins/observability_solution/**/*.tsx', 'x-pack/plugins/{streams,streams_app}/**/*.{ts,tsx}', 'src/plugins/ai_assistant_management/**/*.tsx', @@ -1073,11 +1073,12 @@ module.exports = { */ { files: [ - 'x-pack/plugins/aiops/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/data_visualizer/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/ml/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/transform/**/*.{js,mjs,ts,tsx}', - 'x-pack/packages/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/aiops/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/private/data_visualizer/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/private/transform/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/private/ml/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/shared/ml/**/*.{js,mjs,ts,tsx}', ], rules: { '@typescript-eslint/consistent-type-imports': 'error', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 320b4eb868eb7..032c8f17a98c6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -265,7 +265,6 @@ packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-pres packages/deeplinks/devtools @elastic/kibana-management packages/deeplinks/fleet @elastic/fleet packages/deeplinks/management @elastic/kibana-management -packages/deeplinks/ml @elastic/ml-ui packages/deeplinks/observability @elastic/obs-ux-management-team packages/deeplinks/search @elastic/search-kibana packages/deeplinks/security @elastic/security-solution @@ -273,7 +272,6 @@ packages/deeplinks/shared @elastic/appex-sharedux packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations packages/default-nav/devtools @elastic/kibana-management packages/default-nav/management @elastic/kibana-management -packages/default-nav/ml @elastic/ml-ui packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux @@ -620,8 +618,10 @@ 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/default-nav/ml @elastic/ml-ui src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql +src/platform/packages/shared/deeplinks/ml @elastic/ml-ui 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 @@ -797,46 +797,6 @@ x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-slo-schema @elastic/obs-ux-management-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation -x-pack/packages/ml/agg_utils @elastic/ml-ui -x-pack/packages/ml/aiops_change_point_detection @elastic/ml-ui -x-pack/packages/ml/aiops_common @elastic/ml-ui -x-pack/packages/ml/aiops_components @elastic/ml-ui -x-pack/packages/ml/aiops_log_pattern_analysis @elastic/ml-ui -x-pack/packages/ml/aiops_log_rate_analysis @elastic/ml-ui -x-pack/packages/ml/aiops_test_utils @elastic/ml-ui -x-pack/packages/ml/anomaly_utils @elastic/ml-ui -x-pack/packages/ml/cancellable_search @elastic/ml-ui -x-pack/packages/ml/category_validator @elastic/ml-ui -x-pack/packages/ml/chi2test @elastic/ml-ui -x-pack/packages/ml/creation_wizard_utils @elastic/ml-ui -x-pack/packages/ml/data_frame_analytics_utils @elastic/ml-ui -x-pack/packages/ml/data_grid @elastic/ml-ui -x-pack/packages/ml/data_view_utils @elastic/ml-ui -x-pack/packages/ml/date_picker @elastic/ml-ui -x-pack/packages/ml/date_utils @elastic/ml-ui -x-pack/packages/ml/error_utils @elastic/ml-ui -x-pack/packages/ml/field_stats_flyout @elastic/ml-ui -x-pack/packages/ml/in_memory_table @elastic/ml-ui -x-pack/packages/ml/inference_integration_flyout @elastic/ml-ui -x-pack/packages/ml/is_defined @elastic/ml-ui -x-pack/packages/ml/is_populated_object @elastic/ml-ui -x-pack/packages/ml/json_schemas @elastic/ml-ui -x-pack/packages/ml/kibana_theme @elastic/ml-ui -x-pack/packages/ml/local_storage @elastic/ml-ui -x-pack/packages/ml/nested_property @elastic/ml-ui -x-pack/packages/ml/number_utils @elastic/ml-ui -x-pack/packages/ml/parse_interval @elastic/ml-ui -x-pack/packages/ml/query_utils @elastic/ml-ui -x-pack/packages/ml/random_sampler_utils @elastic/ml-ui -x-pack/packages/ml/response_stream @elastic/ml-ui -x-pack/packages/ml/route_utils @elastic/ml-ui -x-pack/packages/ml/runtime_field_utils @elastic/ml-ui -x-pack/packages/ml/string_hash @elastic/ml-ui -x-pack/packages/ml/time_buckets @elastic/ml-ui -x-pack/packages/ml/trained_models_utils @elastic/ml-ui -x-pack/packages/ml/ui_actions @elastic/ml-ui -x-pack/packages/ml/url_state @elastic/ml-ui -x-pack/packages/ml/validators @elastic/ml-ui x-pack/packages/observability/alert_details @elastic/obs-ux-management-team x-pack/packages/observability/alerting_rule_utils @elastic/obs-ux-management-team x-pack/packages/observability/alerting_test_data @elastic/obs-ux-management-team @@ -866,12 +826,55 @@ x-pack/packages/security/plugin_types_server @elastic/kibana-security x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui +x-pack/platform/packages/private/ml/aiops_test_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/cancellable_search @elastic/ml-ui +x-pack/platform/packages/private/ml/category_validator @elastic/ml-ui +x-pack/platform/packages/private/ml/creation_wizard_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_frame_analytics_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/data_grid @elastic/ml-ui +x-pack/platform/packages/private/ml/data_view_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/date_picker @elastic/ml-ui +x-pack/platform/packages/private/ml/date_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/field_stats_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/in_memory_table @elastic/ml-ui +x-pack/platform/packages/private/ml/inference_integration_flyout @elastic/ml-ui +x-pack/platform/packages/private/ml/is_defined @elastic/ml-ui +x-pack/platform/packages/private/ml/is_populated_object @elastic/ml-ui +x-pack/platform/packages/private/ml/json_schemas @elastic/ml-ui +x-pack/platform/packages/private/ml/kibana_theme @elastic/ml-ui +x-pack/platform/packages/private/ml/local_storage @elastic/ml-ui +x-pack/platform/packages/private/ml/nested_property @elastic/ml-ui +x-pack/platform/packages/private/ml/number_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/parse_interval @elastic/ml-ui +x-pack/platform/packages/private/ml/query_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/route_utils @elastic/ml-ui +x-pack/platform/packages/private/ml/string_hash @elastic/ml-ui +x-pack/platform/packages/private/ml/time_buckets @elastic/ml-ui +x-pack/platform/packages/private/ml/ui_actions @elastic/ml-ui +x-pack/platform/packages/private/ml/url_state @elastic/ml-ui +x-pack/platform/packages/private/ml/validators @elastic/ml-ui x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui +x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/chi2test @elastic/ml-ui +x-pack/platform/packages/shared/ml/error_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui +x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui +x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui +x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/transform @elastic/ml-ui +x-pack/platform/plugins/shared/aiops @elastic/ml-ui x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/plugins/actions @elastic/response-ops x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/plugins/ai_infra/product_doc_base @elastic/appex-ai-infra -x-pack/plugins/aiops @elastic/ml-ui x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture x-pack/plugins/banners @elastic/appex-sharedux @@ -890,7 +893,6 @@ 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 x-pack/plugins/data_usage @elastic/obs-ai-assistant @elastic/security-solution -x-pack/plugins/data_visualizer @elastic/ml-ui x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux x-pack/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore @@ -921,7 +923,6 @@ x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/lists @elastic/security-detection-engine x-pack/plugins/logstash @elastic/logstash x-pack/plugins/maps @elastic/kibana-presentation -x-pack/plugins/ml @elastic/ml-ui x-pack/plugins/monitoring @elastic/stack-monitoring x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux @@ -990,7 +991,6 @@ x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core x-pack/plugins/threat_intelligence @elastic/security-threat-hunting-investigations x-pack/plugins/timelines @elastic/security-threat-hunting-investigations -x-pack/plugins/transform @elastic/ml-ui x-pack/plugins/translations @elastic/kibana-localization x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-management diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index d21bd48caf760..e7120dc82fd7d 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -80,7 +80,6 @@ paths-ignore: - x-pack/plugins/fleet/scripts - x-pack/plugins/lists/scripts - x-pack/plugins/lists/server/scripts - - x-pack/plugins/ml/scripts - x-pack/plugins/observability_solution/*/scripts - x-pack/plugins/osquery/scripts - x-pack/plugins/rule_registry/scripts diff --git a/.i18nrc.json b/.i18nrc.json index 12294fb37e5a2..c11b622291838 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -25,7 +25,10 @@ "data": "src/plugins/data", "observabilityAlertDetails": "x-pack/packages/observability/alert_details", "dataViews": "src/plugins/data_views", - "defaultNavigation": "packages/default-nav", + "defaultNavigation": [ + "packages/default-nav", + "src/platform/packages/private/default-nav" + ], "devTools": "src/plugins/dev_tools", "discover": ["src/plugins/discover", "packages/kbn-discover-utils", "packages/kbn-discover-contextual-components"], "savedSearch": "src/plugins/saved_search", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index dc65c9df54e92..2fe0c672af734 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -454,7 +454,7 @@ The plugin exposes the static DefaultEditorController class to consume. |The Kibana actions plugin provides a framework to create executable actions. You can: -|{kib-repo}blob/{branch}/x-pack/plugins/aiops/README.md[aiops] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/aiops/README.md[aiops] |The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team. @@ -545,7 +545,7 @@ Plugin server-side only. Plugin has three main functions: |Serverless only plugin for users to view data usage -|{kib-repo}blob/{branch}/x-pack/plugins/data_visualizer/README.md[dataVisualizer] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/data_visualizer/README.md[dataVisualizer] |The data_visualizer plugin enables you to explore the fields in your data. @@ -726,7 +726,7 @@ using the CURL scripts in the scripts folder. |Exposes utilities to access metrics data. -|{kib-repo}blob/{branch}/x-pack/plugins/ml/readme.md[ml] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/ml/readme.md[ml] |This plugin provides access to the machine learning features provided by Elastic. @@ -946,7 +946,7 @@ in their infrastructure. |Timelines is a plugin that provides a grid component with accompanying server side apis to help users identify events of interest and perform root cause analysis within Kibana. -|{kib-repo}blob/{branch}/x-pack/plugins/transform/readme.md[transform] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/transform/readme.md[transform] |This plugin provides access to the transforms features provided by Elastic. diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index c9a81c5d398ce..34a9daa1f3d2a 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -428,7 +428,7 @@ This connector was renamed. Refer to <>. == APIs For the most up-to-date API details, refer to the -{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/plugins/ml/common/openapi[machine learning] open API specifications. +{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. [role="exclude",id="add-case-connectors"] == Add connectors to cases diff --git a/oas_docs/scripts/merge_ess_oas.js b/oas_docs/scripts/merge_ess_oas.js index d8bc45e64c2f2..b9882b3dd49fc 100644 --- a/oas_docs/scripts/merge_ess_oas.js +++ b/oas_docs/scripts/merge_ess_oas.js @@ -18,7 +18,7 @@ const { REPO_ROOT } = require('@kbn/repo-info'); `${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/ml/common/openapi/ml_apis.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`, // Observability Solution diff --git a/oas_docs/scripts/merge_serverless_oas.js b/oas_docs/scripts/merge_serverless_oas.js index 63d2df0f32d3f..7dcfa340eaf09 100644 --- a/oas_docs/scripts/merge_serverless_oas.js +++ b/oas_docs/scripts/merge_serverless_oas.js @@ -16,7 +16,7 @@ const { REPO_ROOT } = require('@kbn/repo-info'); sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.serverless.json`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled_serverless.yaml`, // Observability Solution diff --git a/package.json b/package.json index d628499e5bf22..facb7ae498c28 100644 --- a/package.json +++ b/package.json @@ -161,13 +161,13 @@ "@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant", "@kbn/ai-assistant-common": "link:x-pack/packages/kbn-ai-assistant-common", "@kbn/ai-assistant-management-plugin": "link:src/plugins/ai_assistant_management/selection", - "@kbn/aiops-change-point-detection": "link:x-pack/packages/ml/aiops_change_point_detection", - "@kbn/aiops-common": "link:x-pack/packages/ml/aiops_common", - "@kbn/aiops-components": "link:x-pack/packages/ml/aiops_components", - "@kbn/aiops-log-pattern-analysis": "link:x-pack/packages/ml/aiops_log_pattern_analysis", - "@kbn/aiops-log-rate-analysis": "link:x-pack/packages/ml/aiops_log_rate_analysis", - "@kbn/aiops-plugin": "link:x-pack/plugins/aiops", - "@kbn/aiops-test-utils": "link:x-pack/packages/ml/aiops_test_utils", + "@kbn/aiops-change-point-detection": "link:x-pack/platform/packages/private/ml/aiops_change_point_detection", + "@kbn/aiops-common": "link:x-pack/platform/packages/shared/ml/aiops_common", + "@kbn/aiops-components": "link:x-pack/platform/packages/private/ml/aiops_components", + "@kbn/aiops-log-pattern-analysis": "link:x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis", + "@kbn/aiops-log-rate-analysis": "link:x-pack/platform/packages/shared/ml/aiops_log_rate_analysis", + "@kbn/aiops-plugin": "link:x-pack/platform/plugins/shared/aiops", + "@kbn/aiops-test-utils": "link:x-pack/platform/packages/private/ml/aiops_test_utils", "@kbn/alerting-api-integration-test-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts", "@kbn/alerting-comparators": "link:x-pack/packages/kbn-alerting-comparators", "@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example", @@ -436,14 +436,14 @@ "@kbn/data-view-management-plugin": "link:src/plugins/data_view_management", "@kbn/data-view-utils": "link:packages/kbn-data-view-utils", "@kbn/data-views-plugin": "link:src/plugins/data_views", - "@kbn/data-visualizer-plugin": "link:x-pack/plugins/data_visualizer", + "@kbn/data-visualizer-plugin": "link:x-pack/platform/plugins/private/data_visualizer", "@kbn/dataset-quality-plugin": "link:x-pack/plugins/observability_solution/dataset_quality", "@kbn/datemath": "link:packages/kbn-datemath", "@kbn/deeplinks-analytics": "link:packages/deeplinks/analytics", "@kbn/deeplinks-devtools": "link:packages/deeplinks/devtools", "@kbn/deeplinks-fleet": "link:packages/deeplinks/fleet", "@kbn/deeplinks-management": "link:packages/deeplinks/management", - "@kbn/deeplinks-ml": "link:packages/deeplinks/ml", + "@kbn/deeplinks-ml": "link:src/platform/packages/shared/deeplinks/ml", "@kbn/deeplinks-observability": "link:packages/deeplinks/observability", "@kbn/deeplinks-search": "link:packages/deeplinks/search", "@kbn/deeplinks-security": "link:packages/deeplinks/security", @@ -451,7 +451,7 @@ "@kbn/default-nav-analytics": "link:packages/default-nav/analytics", "@kbn/default-nav-devtools": "link:packages/default-nav/devtools", "@kbn/default-nav-management": "link:packages/default-nav/management", - "@kbn/default-nav-ml": "link:packages/default-nav/ml", + "@kbn/default-nav-ml": "link:src/platform/packages/private/default-nav/ml", "@kbn/dev-tools-plugin": "link:src/plugins/dev_tools", "@kbn/developer-examples-plugin": "link:examples/developer_examples", "@kbn/discover-contextual-components": "link:packages/kbn-discover-contextual-components", @@ -579,7 +579,7 @@ "@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns", "@kbn/inference-common": "link:x-pack/packages/ai-infra/inference-common", "@kbn/inference-plugin": "link:x-pack/plugins/inference", - "@kbn/inference_integration_flyout": "link:x-pack/packages/ml/inference_integration_flyout", + "@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout", "@kbn/infra-forge": "link:x-pack/packages/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/plugins/ingest_pipelines", @@ -596,7 +596,7 @@ "@kbn/io-ts-utils": "link:packages/kbn-io-ts-utils", "@kbn/ipynb": "link:packages/kbn-ipynb", "@kbn/item-buffer": "link:packages/kbn-item-buffer", - "@kbn/json-schemas": "link:x-pack/packages/ml/json_schemas", + "@kbn/json-schemas": "link:x-pack/platform/packages/private/ml/json_schemas", "@kbn/kbn-health-gateway-status-plugin": "link:test/health_gateway/plugins/status", "@kbn/kbn-sample-panel-action-plugin": "link:test/plugin_functional/plugins/kbn_sample_panel_action", "@kbn/kbn-top-nav-plugin": "link:test/plugin_functional/plugins/kbn_top_nav", @@ -649,39 +649,39 @@ "@kbn/maps-plugin": "link:x-pack/plugins/maps", "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", - "@kbn/ml-agg-utils": "link:x-pack/packages/ml/agg_utils", - "@kbn/ml-anomaly-utils": "link:x-pack/packages/ml/anomaly_utils", - "@kbn/ml-cancellable-search": "link:x-pack/packages/ml/cancellable_search", - "@kbn/ml-category-validator": "link:x-pack/packages/ml/category_validator", - "@kbn/ml-chi2test": "link:x-pack/packages/ml/chi2test", - "@kbn/ml-creation-wizard-utils": "link:x-pack/packages/ml/creation_wizard_utils", - "@kbn/ml-data-frame-analytics-utils": "link:x-pack/packages/ml/data_frame_analytics_utils", - "@kbn/ml-data-grid": "link:x-pack/packages/ml/data_grid", - "@kbn/ml-data-view-utils": "link:x-pack/packages/ml/data_view_utils", - "@kbn/ml-date-picker": "link:x-pack/packages/ml/date_picker", - "@kbn/ml-date-utils": "link:x-pack/packages/ml/date_utils", - "@kbn/ml-error-utils": "link:x-pack/packages/ml/error_utils", - "@kbn/ml-field-stats-flyout": "link:x-pack/packages/ml/field_stats_flyout", - "@kbn/ml-in-memory-table": "link:x-pack/packages/ml/in_memory_table", - "@kbn/ml-is-defined": "link:x-pack/packages/ml/is_defined", - "@kbn/ml-is-populated-object": "link:x-pack/packages/ml/is_populated_object", - "@kbn/ml-kibana-theme": "link:x-pack/packages/ml/kibana_theme", - "@kbn/ml-local-storage": "link:x-pack/packages/ml/local_storage", - "@kbn/ml-nested-property": "link:x-pack/packages/ml/nested_property", - "@kbn/ml-number-utils": "link:x-pack/packages/ml/number_utils", - "@kbn/ml-parse-interval": "link:x-pack/packages/ml/parse_interval", - "@kbn/ml-plugin": "link:x-pack/plugins/ml", - "@kbn/ml-query-utils": "link:x-pack/packages/ml/query_utils", - "@kbn/ml-random-sampler-utils": "link:x-pack/packages/ml/random_sampler_utils", - "@kbn/ml-response-stream": "link:x-pack/packages/ml/response_stream", - "@kbn/ml-route-utils": "link:x-pack/packages/ml/route_utils", - "@kbn/ml-runtime-field-utils": "link:x-pack/packages/ml/runtime_field_utils", - "@kbn/ml-string-hash": "link:x-pack/packages/ml/string_hash", - "@kbn/ml-time-buckets": "link:x-pack/packages/ml/time_buckets", - "@kbn/ml-trained-models-utils": "link:x-pack/packages/ml/trained_models_utils", - "@kbn/ml-ui-actions": "link:x-pack/packages/ml/ui_actions", - "@kbn/ml-url-state": "link:x-pack/packages/ml/url_state", - "@kbn/ml-validators": "link:x-pack/packages/ml/validators", + "@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils", + "@kbn/ml-anomaly-utils": "link:x-pack/platform/packages/shared/ml/anomaly_utils", + "@kbn/ml-cancellable-search": "link:x-pack/platform/packages/private/ml/cancellable_search", + "@kbn/ml-category-validator": "link:x-pack/platform/packages/private/ml/category_validator", + "@kbn/ml-chi2test": "link:x-pack/platform/packages/shared/ml/chi2test", + "@kbn/ml-creation-wizard-utils": "link:x-pack/platform/packages/private/ml/creation_wizard_utils", + "@kbn/ml-data-frame-analytics-utils": "link:x-pack/platform/packages/private/ml/data_frame_analytics_utils", + "@kbn/ml-data-grid": "link:x-pack/platform/packages/private/ml/data_grid", + "@kbn/ml-data-view-utils": "link:x-pack/platform/packages/private/ml/data_view_utils", + "@kbn/ml-date-picker": "link:x-pack/platform/packages/private/ml/date_picker", + "@kbn/ml-date-utils": "link:x-pack/platform/packages/private/ml/date_utils", + "@kbn/ml-error-utils": "link:x-pack/platform/packages/shared/ml/error_utils", + "@kbn/ml-field-stats-flyout": "link:x-pack/platform/packages/private/ml/field_stats_flyout", + "@kbn/ml-in-memory-table": "link:x-pack/platform/packages/private/ml/in_memory_table", + "@kbn/ml-is-defined": "link:x-pack/platform/packages/private/ml/is_defined", + "@kbn/ml-is-populated-object": "link:x-pack/platform/packages/private/ml/is_populated_object", + "@kbn/ml-kibana-theme": "link:x-pack/platform/packages/private/ml/kibana_theme", + "@kbn/ml-local-storage": "link:x-pack/platform/packages/private/ml/local_storage", + "@kbn/ml-nested-property": "link:x-pack/platform/packages/private/ml/nested_property", + "@kbn/ml-number-utils": "link:x-pack/platform/packages/private/ml/number_utils", + "@kbn/ml-parse-interval": "link:x-pack/platform/packages/private/ml/parse_interval", + "@kbn/ml-plugin": "link:x-pack/platform/plugins/shared/ml", + "@kbn/ml-query-utils": "link:x-pack/platform/packages/private/ml/query_utils", + "@kbn/ml-random-sampler-utils": "link:x-pack/platform/packages/shared/ml/random_sampler_utils", + "@kbn/ml-response-stream": "link:x-pack/platform/packages/shared/ml/response_stream", + "@kbn/ml-route-utils": "link:x-pack/platform/packages/private/ml/route_utils", + "@kbn/ml-runtime-field-utils": "link:x-pack/platform/packages/shared/ml/runtime_field_utils", + "@kbn/ml-string-hash": "link:x-pack/platform/packages/private/ml/string_hash", + "@kbn/ml-time-buckets": "link:x-pack/platform/packages/private/ml/time_buckets", + "@kbn/ml-trained-models-utils": "link:x-pack/platform/packages/shared/ml/trained_models_utils", + "@kbn/ml-ui-actions": "link:x-pack/platform/packages/private/ml/ui_actions", + "@kbn/ml-url-state": "link:x-pack/platform/packages/private/ml/url_state", + "@kbn/ml-validators": "link:x-pack/platform/packages/private/ml/validators", "@kbn/monaco": "link:packages/kbn-monaco", "@kbn/monitoring-collection-plugin": "link:x-pack/plugins/monitoring_collection", "@kbn/monitoring-plugin": "link:x-pack/plugins/monitoring", @@ -962,7 +962,7 @@ "@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar", "@kbn/timerange": "link:packages/kbn-timerange", "@kbn/tinymath": "link:packages/kbn-tinymath", - "@kbn/transform-plugin": "link:x-pack/plugins/transform", + "@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform", "@kbn/translations-plugin": "link:x-pack/plugins/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", diff --git a/packages/default-nav/ml/README.md b/src/platform/packages/private/default-nav/ml/README.md similarity index 100% rename from packages/default-nav/ml/README.md rename to src/platform/packages/private/default-nav/ml/README.md diff --git a/packages/default-nav/ml/default_navigation.ts b/src/platform/packages/private/default-nav/ml/default_navigation.ts similarity index 100% rename from packages/default-nav/ml/default_navigation.ts rename to src/platform/packages/private/default-nav/ml/default_navigation.ts diff --git a/packages/default-nav/ml/index.ts b/src/platform/packages/private/default-nav/ml/index.ts similarity index 100% rename from packages/default-nav/ml/index.ts rename to src/platform/packages/private/default-nav/ml/index.ts diff --git a/packages/default-nav/ml/jest.config.js b/src/platform/packages/private/default-nav/ml/jest.config.js similarity index 83% rename from packages/default-nav/ml/jest.config.js rename to src/platform/packages/private/default-nav/ml/jest.config.js index 4440d60a37451..66d4438733b5c 100644 --- a/packages/default-nav/ml/jest.config.js +++ b/src/platform/packages/private/default-nav/ml/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/default-nav/ml'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/private/default-nav/ml'], }; diff --git a/packages/default-nav/ml/kibana.jsonc b/src/platform/packages/private/default-nav/ml/kibana.jsonc similarity index 100% rename from packages/default-nav/ml/kibana.jsonc rename to src/platform/packages/private/default-nav/ml/kibana.jsonc diff --git a/packages/default-nav/ml/package.json b/src/platform/packages/private/default-nav/ml/package.json similarity index 100% rename from packages/default-nav/ml/package.json rename to src/platform/packages/private/default-nav/ml/package.json diff --git a/packages/default-nav/ml/tsconfig.json b/src/platform/packages/private/default-nav/ml/tsconfig.json similarity index 85% rename from packages/default-nav/ml/tsconfig.json rename to src/platform/packages/private/default-nav/ml/tsconfig.json index d1c9e532620f0..9a69944d1b465 100644 --- a/packages/default-nav/ml/tsconfig.json +++ b/src/platform/packages/private/default-nav/ml/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/deeplinks/ml/README.md b/src/platform/packages/shared/deeplinks/ml/README.md similarity index 100% rename from packages/deeplinks/ml/README.md rename to src/platform/packages/shared/deeplinks/ml/README.md diff --git a/packages/deeplinks/ml/deep_links.ts b/src/platform/packages/shared/deeplinks/ml/deep_links.ts similarity index 100% rename from packages/deeplinks/ml/deep_links.ts rename to src/platform/packages/shared/deeplinks/ml/deep_links.ts diff --git a/packages/deeplinks/ml/index.ts b/src/platform/packages/shared/deeplinks/ml/index.ts similarity index 100% rename from packages/deeplinks/ml/index.ts rename to src/platform/packages/shared/deeplinks/ml/index.ts diff --git a/packages/deeplinks/ml/jest.config.js b/src/platform/packages/shared/deeplinks/ml/jest.config.js similarity index 83% rename from packages/deeplinks/ml/jest.config.js rename to src/platform/packages/shared/deeplinks/ml/jest.config.js index fda145857e304..e5ba4c7150c9e 100644 --- a/packages/deeplinks/ml/jest.config.js +++ b/src/platform/packages/shared/deeplinks/ml/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/deeplinks/ml'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/deeplinks/ml'], }; diff --git a/packages/deeplinks/ml/kibana.jsonc b/src/platform/packages/shared/deeplinks/ml/kibana.jsonc similarity index 100% rename from packages/deeplinks/ml/kibana.jsonc rename to src/platform/packages/shared/deeplinks/ml/kibana.jsonc diff --git a/packages/deeplinks/ml/package.json b/src/platform/packages/shared/deeplinks/ml/package.json similarity index 100% rename from packages/deeplinks/ml/package.json rename to src/platform/packages/shared/deeplinks/ml/package.json diff --git a/x-pack/packages/ml/is_defined/tsconfig.json b/src/platform/packages/shared/deeplinks/ml/tsconfig.json similarity index 81% rename from x-pack/packages/ml/is_defined/tsconfig.json rename to src/platform/packages/shared/deeplinks/ml/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/is_defined/tsconfig.json +++ b/src/platform/packages/shared/deeplinks/ml/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 7d1f6ea696819..9a44fec9d5498 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -20,20 +20,20 @@ "@kbn/ai-assistant-common/*": ["x-pack/packages/kbn-ai-assistant-common/*"], "@kbn/ai-assistant-management-plugin": ["src/plugins/ai_assistant_management/selection"], "@kbn/ai-assistant-management-plugin/*": ["src/plugins/ai_assistant_management/selection/*"], - "@kbn/aiops-change-point-detection": ["x-pack/packages/ml/aiops_change_point_detection"], - "@kbn/aiops-change-point-detection/*": ["x-pack/packages/ml/aiops_change_point_detection/*"], - "@kbn/aiops-common": ["x-pack/packages/ml/aiops_common"], - "@kbn/aiops-common/*": ["x-pack/packages/ml/aiops_common/*"], - "@kbn/aiops-components": ["x-pack/packages/ml/aiops_components"], - "@kbn/aiops-components/*": ["x-pack/packages/ml/aiops_components/*"], - "@kbn/aiops-log-pattern-analysis": ["x-pack/packages/ml/aiops_log_pattern_analysis"], - "@kbn/aiops-log-pattern-analysis/*": ["x-pack/packages/ml/aiops_log_pattern_analysis/*"], - "@kbn/aiops-log-rate-analysis": ["x-pack/packages/ml/aiops_log_rate_analysis"], - "@kbn/aiops-log-rate-analysis/*": ["x-pack/packages/ml/aiops_log_rate_analysis/*"], - "@kbn/aiops-plugin": ["x-pack/plugins/aiops"], - "@kbn/aiops-plugin/*": ["x-pack/plugins/aiops/*"], - "@kbn/aiops-test-utils": ["x-pack/packages/ml/aiops_test_utils"], - "@kbn/aiops-test-utils/*": ["x-pack/packages/ml/aiops_test_utils/*"], + "@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-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"], @@ -726,8 +726,8 @@ "@kbn/data-view-utils/*": ["packages/kbn-data-view-utils/*"], "@kbn/data-views-plugin": ["src/plugins/data_views"], "@kbn/data-views-plugin/*": ["src/plugins/data_views/*"], - "@kbn/data-visualizer-plugin": ["x-pack/plugins/data_visualizer"], - "@kbn/data-visualizer-plugin/*": ["x-pack/plugins/data_visualizer/*"], + "@kbn/data-visualizer-plugin": ["x-pack/platform/plugins/private/data_visualizer"], + "@kbn/data-visualizer-plugin/*": ["x-pack/platform/plugins/private/data_visualizer/*"], "@kbn/dataset-quality-plugin": ["x-pack/plugins/observability_solution/dataset_quality"], "@kbn/dataset-quality-plugin/*": ["x-pack/plugins/observability_solution/dataset_quality/*"], "@kbn/datemath": ["packages/kbn-datemath"], @@ -740,8 +740,8 @@ "@kbn/deeplinks-fleet/*": ["packages/deeplinks/fleet/*"], "@kbn/deeplinks-management": ["packages/deeplinks/management"], "@kbn/deeplinks-management/*": ["packages/deeplinks/management/*"], - "@kbn/deeplinks-ml": ["packages/deeplinks/ml"], - "@kbn/deeplinks-ml/*": ["packages/deeplinks/ml/*"], + "@kbn/deeplinks-ml": ["src/platform/packages/shared/deeplinks/ml"], + "@kbn/deeplinks-ml/*": ["src/platform/packages/shared/deeplinks/ml/*"], "@kbn/deeplinks-observability": ["packages/deeplinks/observability"], "@kbn/deeplinks-observability/*": ["packages/deeplinks/observability/*"], "@kbn/deeplinks-search": ["packages/deeplinks/search"], @@ -756,8 +756,8 @@ "@kbn/default-nav-devtools/*": ["packages/default-nav/devtools/*"], "@kbn/default-nav-management": ["packages/default-nav/management"], "@kbn/default-nav-management/*": ["packages/default-nav/management/*"], - "@kbn/default-nav-ml": ["packages/default-nav/ml"], - "@kbn/default-nav-ml/*": ["packages/default-nav/ml/*"], + "@kbn/default-nav-ml": ["src/platform/packages/private/default-nav/ml"], + "@kbn/default-nav-ml/*": ["src/platform/packages/private/default-nav/ml/*"], "@kbn/dependency-ownership": ["packages/kbn-dependency-ownership"], "@kbn/dependency-ownership/*": ["packages/kbn-dependency-ownership/*"], "@kbn/dependency-usage": ["packages/kbn-dependency-usage"], @@ -1060,8 +1060,8 @@ "@kbn/index-management-shared-types/*": ["x-pack/packages/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/packages/ml/inference_integration_flyout"], - "@kbn/inference_integration_flyout/*": ["x-pack/packages/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/packages/ai-infra/inference-common"], "@kbn/inference-common/*": ["x-pack/packages/ai-infra/inference-common/*"], "@kbn/inference-plugin": ["x-pack/plugins/inference"], @@ -1106,8 +1106,8 @@ "@kbn/journeys/*": ["packages/kbn-journeys/*"], "@kbn/json-ast": ["packages/kbn-json-ast"], "@kbn/json-ast/*": ["packages/kbn-json-ast/*"], - "@kbn/json-schemas": ["x-pack/packages/ml/json_schemas"], - "@kbn/json-schemas/*": ["x-pack/packages/ml/json_schemas/*"], + "@kbn/json-schemas": ["x-pack/platform/packages/private/ml/json_schemas"], + "@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"], @@ -1226,72 +1226,72 @@ "@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/ml-agg-utils": ["x-pack/packages/ml/agg_utils"], - "@kbn/ml-agg-utils/*": ["x-pack/packages/ml/agg_utils/*"], - "@kbn/ml-anomaly-utils": ["x-pack/packages/ml/anomaly_utils"], - "@kbn/ml-anomaly-utils/*": ["x-pack/packages/ml/anomaly_utils/*"], - "@kbn/ml-cancellable-search": ["x-pack/packages/ml/cancellable_search"], - "@kbn/ml-cancellable-search/*": ["x-pack/packages/ml/cancellable_search/*"], - "@kbn/ml-category-validator": ["x-pack/packages/ml/category_validator"], - "@kbn/ml-category-validator/*": ["x-pack/packages/ml/category_validator/*"], - "@kbn/ml-chi2test": ["x-pack/packages/ml/chi2test"], - "@kbn/ml-chi2test/*": ["x-pack/packages/ml/chi2test/*"], - "@kbn/ml-creation-wizard-utils": ["x-pack/packages/ml/creation_wizard_utils"], - "@kbn/ml-creation-wizard-utils/*": ["x-pack/packages/ml/creation_wizard_utils/*"], - "@kbn/ml-data-frame-analytics-utils": ["x-pack/packages/ml/data_frame_analytics_utils"], - "@kbn/ml-data-frame-analytics-utils/*": ["x-pack/packages/ml/data_frame_analytics_utils/*"], - "@kbn/ml-data-grid": ["x-pack/packages/ml/data_grid"], - "@kbn/ml-data-grid/*": ["x-pack/packages/ml/data_grid/*"], - "@kbn/ml-data-view-utils": ["x-pack/packages/ml/data_view_utils"], - "@kbn/ml-data-view-utils/*": ["x-pack/packages/ml/data_view_utils/*"], - "@kbn/ml-date-picker": ["x-pack/packages/ml/date_picker"], - "@kbn/ml-date-picker/*": ["x-pack/packages/ml/date_picker/*"], - "@kbn/ml-date-utils": ["x-pack/packages/ml/date_utils"], - "@kbn/ml-date-utils/*": ["x-pack/packages/ml/date_utils/*"], - "@kbn/ml-error-utils": ["x-pack/packages/ml/error_utils"], - "@kbn/ml-error-utils/*": ["x-pack/packages/ml/error_utils/*"], - "@kbn/ml-field-stats-flyout": ["x-pack/packages/ml/field_stats_flyout"], - "@kbn/ml-field-stats-flyout/*": ["x-pack/packages/ml/field_stats_flyout/*"], - "@kbn/ml-in-memory-table": ["x-pack/packages/ml/in_memory_table"], - "@kbn/ml-in-memory-table/*": ["x-pack/packages/ml/in_memory_table/*"], - "@kbn/ml-is-defined": ["x-pack/packages/ml/is_defined"], - "@kbn/ml-is-defined/*": ["x-pack/packages/ml/is_defined/*"], - "@kbn/ml-is-populated-object": ["x-pack/packages/ml/is_populated_object"], - "@kbn/ml-is-populated-object/*": ["x-pack/packages/ml/is_populated_object/*"], - "@kbn/ml-kibana-theme": ["x-pack/packages/ml/kibana_theme"], - "@kbn/ml-kibana-theme/*": ["x-pack/packages/ml/kibana_theme/*"], - "@kbn/ml-local-storage": ["x-pack/packages/ml/local_storage"], - "@kbn/ml-local-storage/*": ["x-pack/packages/ml/local_storage/*"], - "@kbn/ml-nested-property": ["x-pack/packages/ml/nested_property"], - "@kbn/ml-nested-property/*": ["x-pack/packages/ml/nested_property/*"], - "@kbn/ml-number-utils": ["x-pack/packages/ml/number_utils"], - "@kbn/ml-number-utils/*": ["x-pack/packages/ml/number_utils/*"], - "@kbn/ml-parse-interval": ["x-pack/packages/ml/parse_interval"], - "@kbn/ml-parse-interval/*": ["x-pack/packages/ml/parse_interval/*"], - "@kbn/ml-plugin": ["x-pack/plugins/ml"], - "@kbn/ml-plugin/*": ["x-pack/plugins/ml/*"], - "@kbn/ml-query-utils": ["x-pack/packages/ml/query_utils"], - "@kbn/ml-query-utils/*": ["x-pack/packages/ml/query_utils/*"], - "@kbn/ml-random-sampler-utils": ["x-pack/packages/ml/random_sampler_utils"], - "@kbn/ml-random-sampler-utils/*": ["x-pack/packages/ml/random_sampler_utils/*"], - "@kbn/ml-response-stream": ["x-pack/packages/ml/response_stream"], - "@kbn/ml-response-stream/*": ["x-pack/packages/ml/response_stream/*"], - "@kbn/ml-route-utils": ["x-pack/packages/ml/route_utils"], - "@kbn/ml-route-utils/*": ["x-pack/packages/ml/route_utils/*"], - "@kbn/ml-runtime-field-utils": ["x-pack/packages/ml/runtime_field_utils"], - "@kbn/ml-runtime-field-utils/*": ["x-pack/packages/ml/runtime_field_utils/*"], - "@kbn/ml-string-hash": ["x-pack/packages/ml/string_hash"], - "@kbn/ml-string-hash/*": ["x-pack/packages/ml/string_hash/*"], - "@kbn/ml-time-buckets": ["x-pack/packages/ml/time_buckets"], - "@kbn/ml-time-buckets/*": ["x-pack/packages/ml/time_buckets/*"], - "@kbn/ml-trained-models-utils": ["x-pack/packages/ml/trained_models_utils"], - "@kbn/ml-trained-models-utils/*": ["x-pack/packages/ml/trained_models_utils/*"], - "@kbn/ml-ui-actions": ["x-pack/packages/ml/ui_actions"], - "@kbn/ml-ui-actions/*": ["x-pack/packages/ml/ui_actions/*"], - "@kbn/ml-url-state": ["x-pack/packages/ml/url_state"], - "@kbn/ml-url-state/*": ["x-pack/packages/ml/url_state/*"], - "@kbn/ml-validators": ["x-pack/packages/ml/validators"], - "@kbn/ml-validators/*": ["x-pack/packages/ml/validators/*"], + "@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"], + "@kbn/ml-anomaly-utils/*": ["x-pack/platform/packages/shared/ml/anomaly_utils/*"], + "@kbn/ml-cancellable-search": ["x-pack/platform/packages/private/ml/cancellable_search"], + "@kbn/ml-cancellable-search/*": ["x-pack/platform/packages/private/ml/cancellable_search/*"], + "@kbn/ml-category-validator": ["x-pack/platform/packages/private/ml/category_validator"], + "@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-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"], + "@kbn/ml-data-view-utils/*": ["x-pack/platform/packages/private/ml/data_view_utils/*"], + "@kbn/ml-date-picker": ["x-pack/platform/packages/private/ml/date_picker"], + "@kbn/ml-date-picker/*": ["x-pack/platform/packages/private/ml/date_picker/*"], + "@kbn/ml-date-utils": ["x-pack/platform/packages/private/ml/date_utils"], + "@kbn/ml-date-utils/*": ["x-pack/platform/packages/private/ml/date_utils/*"], + "@kbn/ml-error-utils": ["x-pack/platform/packages/shared/ml/error_utils"], + "@kbn/ml-error-utils/*": ["x-pack/platform/packages/shared/ml/error_utils/*"], + "@kbn/ml-field-stats-flyout": ["x-pack/platform/packages/private/ml/field_stats_flyout"], + "@kbn/ml-field-stats-flyout/*": ["x-pack/platform/packages/private/ml/field_stats_flyout/*"], + "@kbn/ml-in-memory-table": ["x-pack/platform/packages/private/ml/in_memory_table"], + "@kbn/ml-in-memory-table/*": ["x-pack/platform/packages/private/ml/in_memory_table/*"], + "@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-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"], + "@kbn/ml-local-storage/*": ["x-pack/platform/packages/private/ml/local_storage/*"], + "@kbn/ml-nested-property": ["x-pack/platform/packages/private/ml/nested_property"], + "@kbn/ml-nested-property/*": ["x-pack/platform/packages/private/ml/nested_property/*"], + "@kbn/ml-number-utils": ["x-pack/platform/packages/private/ml/number_utils"], + "@kbn/ml-number-utils/*": ["x-pack/platform/packages/private/ml/number_utils/*"], + "@kbn/ml-parse-interval": ["x-pack/platform/packages/private/ml/parse_interval"], + "@kbn/ml-parse-interval/*": ["x-pack/platform/packages/private/ml/parse_interval/*"], + "@kbn/ml-plugin": ["x-pack/platform/plugins/shared/ml"], + "@kbn/ml-plugin/*": ["x-pack/platform/plugins/shared/ml/*"], + "@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-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"], + "@kbn/ml-route-utils/*": ["x-pack/platform/packages/private/ml/route_utils/*"], + "@kbn/ml-runtime-field-utils": ["x-pack/platform/packages/shared/ml/runtime_field_utils"], + "@kbn/ml-runtime-field-utils/*": ["x-pack/platform/packages/shared/ml/runtime_field_utils/*"], + "@kbn/ml-string-hash": ["x-pack/platform/packages/private/ml/string_hash"], + "@kbn/ml-string-hash/*": ["x-pack/platform/packages/private/ml/string_hash/*"], + "@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-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"], + "@kbn/ml-url-state/*": ["x-pack/platform/packages/private/ml/url_state/*"], + "@kbn/ml-validators": ["x-pack/platform/packages/private/ml/validators"], + "@kbn/ml-validators/*": ["x-pack/platform/packages/private/ml/validators/*"], "@kbn/mock-idp-plugin": ["packages/kbn-mock-idp-plugin"], "@kbn/mock-idp-plugin/*": ["packages/kbn-mock-idp-plugin/*"], "@kbn/mock-idp-utils": ["packages/kbn-mock-idp-utils"], @@ -1930,8 +1930,8 @@ "@kbn/tinymath/*": ["packages/kbn-tinymath/*"], "@kbn/tooling-log": ["packages/kbn-tooling-log"], "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], - "@kbn/transform-plugin": ["x-pack/plugins/transform"], - "@kbn/transform-plugin/*": ["x-pack/plugins/transform/*"], + "@kbn/transform-plugin": ["x-pack/platform/plugins/private/transform"], + "@kbn/transform-plugin/*": ["x-pack/platform/plugins/private/transform/*"], "@kbn/translations-plugin": ["x-pack/plugins/translations"], "@kbn/translations-plugin/*": ["x-pack/plugins/translations/*"], "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 213c3f06f34aa..29cd97f61b970 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -3,11 +3,11 @@ "paths": { "xpack.actions": "plugins/actions", "xpack.aiops": [ - "packages/ml/aiops_common", - "packages/ml/aiops_components", - "packages/ml/aiops_log_pattern_analysis", - "packages/ml/aiops_log_rate_analysis", - "plugins/aiops" + "platform/packages/shared/ml/aiops_common", + "platform/packages/private/ml/aiops_components", + "platform/packages/shared/ml/aiops_log_pattern_analysis", + "platform/packages/shared/ml/aiops_log_rate_analysis", + "platform/plugins/shared/aiops" ], "xpack.aiAssistant": "packages/kbn-ai-assistant", "xpack.alerting": "plugins/alerting", @@ -43,7 +43,7 @@ "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "plugins/enterprise_search", "xpack.features": "plugins/features", - "xpack.dataVisualizer": "plugins/data_visualizer", + "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "plugins/observability_solution/exploratory_view", "xpack.fileUpload": "plugins/file_upload", "xpack.globalSearch": [ @@ -85,17 +85,17 @@ ], "xpack.metricsData": "plugins/observability_solution/metrics_data_access", "xpack.ml": [ - "packages/ml/anomaly_utils", - "packages/ml/creation_wizard_utils", - "packages/ml/data_grid", - "packages/ml/data_view_utils", - "packages/ml/date_picker", - "packages/ml/field_stats_flyout", - "packages/ml/inference_integration_flyout", - "packages/ml/trained_models_utils", - "packages/ml/category_validator", - "packages/ml/ui_actions", - "plugins/ml" + "platform/packages/shared/ml/anomaly_utils", + "platform/packages/private/ml/creation_wizard_utils", + "platform/packages/private/ml/data_grid", + "platform/packages/private/ml/data_view_utils", + "platform/packages/private/ml/date_picker", + "platform/packages/private/ml/field_stats_flyout", + "platform/packages/private/ml/inference_integration_flyout", + "platform/packages/shared/ml/trained_models_utils", + "platform/packages/private/ml/category_validator", + "platform/packages/private/ml/ui_actions", + "platform/plugins/shared/ml" ], "xpack.monitoring": [ "plugins/monitoring" @@ -162,7 +162,7 @@ "xpack.taskManager": "legacy/plugins/task_manager", "xpack.threatIntelligence": "plugins/threat_intelligence", "xpack.timelines": "plugins/timelines", - "xpack.transform": "plugins/transform", + "xpack.transform": "platform/plugins/private/transform", "xpack.triggersActionsUI": "plugins/triggers_actions_ui", "xpack.upgradeAssistant": "plugins/upgrade_assistant", "xpack.uptime": [ diff --git a/x-pack/packages/ml/aiops_test_utils/jest.config.js b/x-pack/packages/ml/aiops_test_utils/jest.config.js deleted file mode 100644 index 39dea48501808..0000000000000 --- a/x-pack/packages/ml/aiops_test_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/aiops_test_utils'], -}; diff --git a/x-pack/packages/ml/anomaly_utils/jest.config.js b/x-pack/packages/ml/anomaly_utils/jest.config.js deleted file mode 100644 index d16d2ef76a83c..0000000000000 --- a/x-pack/packages/ml/anomaly_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/anomaly_utils'], -}; diff --git a/x-pack/packages/ml/cancellable_search/jest.config.js b/x-pack/packages/ml/cancellable_search/jest.config.js deleted file mode 100644 index 450cf6662aa45..0000000000000 --- a/x-pack/packages/ml/cancellable_search/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/cancellable_search'], -}; diff --git a/x-pack/packages/ml/chi2test/jest.config.js b/x-pack/packages/ml/chi2test/jest.config.js deleted file mode 100644 index 1a1e0ce1f29c4..0000000000000 --- a/x-pack/packages/ml/chi2test/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/chi2test'], -}; diff --git a/x-pack/packages/ml/creation_wizard_utils/jest.config.js b/x-pack/packages/ml/creation_wizard_utils/jest.config.js deleted file mode 100644 index 04abfa6eec19c..0000000000000 --- a/x-pack/packages/ml/creation_wizard_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/creation_wizard_utils'], -}; diff --git a/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js b/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js deleted file mode 100644 index a8cecda847dc3..0000000000000 --- a/x-pack/packages/ml/data_frame_analytics_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/data_frame_analytics_utils'], -}; diff --git a/x-pack/packages/ml/data_grid/jest.config.js b/x-pack/packages/ml/data_grid/jest.config.js deleted file mode 100644 index 8dac505e19dbd..0000000000000 --- a/x-pack/packages/ml/data_grid/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/data_grid'], -}; diff --git a/x-pack/packages/ml/data_view_utils/jest.config.js b/x-pack/packages/ml/data_view_utils/jest.config.js deleted file mode 100644 index 783a52cc9f53e..0000000000000 --- a/x-pack/packages/ml/data_view_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/data_view_utils'], -}; diff --git a/x-pack/packages/ml/date_picker/jest.config.js b/x-pack/packages/ml/date_picker/jest.config.js deleted file mode 100644 index 7538f57ac314e..0000000000000 --- a/x-pack/packages/ml/date_picker/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/date_picker'], -}; diff --git a/x-pack/packages/ml/date_utils/jest.config.js b/x-pack/packages/ml/date_utils/jest.config.js deleted file mode 100644 index 3b493da80d9b4..0000000000000 --- a/x-pack/packages/ml/date_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/date_utils'], -}; diff --git a/x-pack/packages/ml/error_utils/jest.config.js b/x-pack/packages/ml/error_utils/jest.config.js deleted file mode 100644 index f5da401040575..0000000000000 --- a/x-pack/packages/ml/error_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/error_utils'], -}; diff --git a/x-pack/packages/ml/field_stats_flyout/jest.config.js b/x-pack/packages/ml/field_stats_flyout/jest.config.js deleted file mode 100644 index 92a117be85f1b..0000000000000 --- a/x-pack/packages/ml/field_stats_flyout/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/field_stats_flyout'], -}; diff --git a/x-pack/packages/ml/in_memory_table/jest.config.js b/x-pack/packages/ml/in_memory_table/jest.config.js deleted file mode 100644 index a0dd7192dac50..0000000000000 --- a/x-pack/packages/ml/in_memory_table/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/in_memory_table'], -}; diff --git a/x-pack/packages/ml/inference_integration_flyout/jest.config.js b/x-pack/packages/ml/inference_integration_flyout/jest.config.js deleted file mode 100644 index 18482d601ee24..0000000000000 --- a/x-pack/packages/ml/inference_integration_flyout/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/inference_integration_flyout'], -}; diff --git a/x-pack/packages/ml/is_defined/jest.config.js b/x-pack/packages/ml/is_defined/jest.config.js deleted file mode 100644 index a4deb4d18ecf8..0000000000000 --- a/x-pack/packages/ml/is_defined/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/is_defined'], -}; diff --git a/x-pack/packages/ml/json_schemas/jest.config.js b/x-pack/packages/ml/json_schemas/jest.config.js deleted file mode 100644 index ee3bee9c626bf..0000000000000 --- a/x-pack/packages/ml/json_schemas/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/json_schemas'], -}; diff --git a/x-pack/packages/ml/kibana_theme/jest.config.js b/x-pack/packages/ml/kibana_theme/jest.config.js deleted file mode 100644 index 267dfc52f2b12..0000000000000 --- a/x-pack/packages/ml/kibana_theme/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/kibana_theme'], -}; diff --git a/x-pack/packages/ml/local_storage/jest.config.js b/x-pack/packages/ml/local_storage/jest.config.js deleted file mode 100644 index 7de0a696c57ef..0000000000000 --- a/x-pack/packages/ml/local_storage/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/local_storage'], -}; diff --git a/x-pack/packages/ml/nested_property/jest.config.js b/x-pack/packages/ml/nested_property/jest.config.js deleted file mode 100644 index 1f242155d4093..0000000000000 --- a/x-pack/packages/ml/nested_property/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/nested_property'], -}; diff --git a/x-pack/packages/ml/number_utils/jest.config.js b/x-pack/packages/ml/number_utils/jest.config.js deleted file mode 100644 index 8705572d76963..0000000000000 --- a/x-pack/packages/ml/number_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/number_utils'], -}; diff --git a/x-pack/packages/ml/number_utils/tsconfig.json b/x-pack/packages/ml/number_utils/tsconfig.json deleted file mode 100644 index b05325b824a67..0000000000000 --- a/x-pack/packages/ml/number_utils/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "../../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "target/types", - "types": [ - "jest", - "node", - "react" - ] - }, - "include": [ - "**/*.ts", - "**/*.tsx", - ], - "exclude": [ - "target/**/*" - ], - "kbn_references": [] -} diff --git a/x-pack/packages/ml/parse_interval/jest.config.js b/x-pack/packages/ml/parse_interval/jest.config.js deleted file mode 100644 index 01fc21724c5bf..0000000000000 --- a/x-pack/packages/ml/parse_interval/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/parse_interval'], -}; diff --git a/x-pack/packages/ml/query_utils/jest.config.js b/x-pack/packages/ml/query_utils/jest.config.js deleted file mode 100644 index d02c9d5ca6173..0000000000000 --- a/x-pack/packages/ml/query_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/query_utils'], -}; diff --git a/x-pack/packages/ml/random_sampler_utils/jest.config.js b/x-pack/packages/ml/random_sampler_utils/jest.config.js deleted file mode 100644 index 72446f7039aa7..0000000000000 --- a/x-pack/packages/ml/random_sampler_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/random_sampler_utils'], -}; diff --git a/x-pack/packages/ml/response_stream/jest.config.js b/x-pack/packages/ml/response_stream/jest.config.js deleted file mode 100644 index df4232d130e89..0000000000000 --- a/x-pack/packages/ml/response_stream/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/response_stream'], -}; diff --git a/x-pack/packages/ml/route_utils/jest.config.js b/x-pack/packages/ml/route_utils/jest.config.js deleted file mode 100644 index a102ea958c48d..0000000000000 --- a/x-pack/packages/ml/route_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/route_utils'], -}; diff --git a/x-pack/packages/ml/runtime_field_utils/jest.config.js b/x-pack/packages/ml/runtime_field_utils/jest.config.js deleted file mode 100644 index db561f50a515d..0000000000000 --- a/x-pack/packages/ml/runtime_field_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/runtime_field_utils'], -}; diff --git a/x-pack/packages/ml/string_hash/jest.config.js b/x-pack/packages/ml/string_hash/jest.config.js deleted file mode 100644 index 4f9fe0d1c70e0..0000000000000 --- a/x-pack/packages/ml/string_hash/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/string_hash'], -}; diff --git a/x-pack/packages/ml/time_buckets/jest.config.js b/x-pack/packages/ml/time_buckets/jest.config.js deleted file mode 100644 index b2267ec660090..0000000000000 --- a/x-pack/packages/ml/time_buckets/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/time_buckets'], -}; diff --git a/x-pack/packages/ml/trained_models_utils/jest.config.js b/x-pack/packages/ml/trained_models_utils/jest.config.js deleted file mode 100644 index 1f771ba2fa4c5..0000000000000 --- a/x-pack/packages/ml/trained_models_utils/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/trained_models_utils'], -}; diff --git a/x-pack/packages/ml/ui_actions/jest.config.js b/x-pack/packages/ml/ui_actions/jest.config.js deleted file mode 100644 index 8efadb42705fa..0000000000000 --- a/x-pack/packages/ml/ui_actions/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/ui_actions'], -}; diff --git a/x-pack/packages/ml/url_state/jest.config.js b/x-pack/packages/ml/url_state/jest.config.js deleted file mode 100644 index 34c3a85409e99..0000000000000 --- a/x-pack/packages/ml/url_state/jest.config.js +++ /dev/null @@ -1,12 +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/packages/ml/url_state'], -}; diff --git a/x-pack/packages/ml/validators/jest.config.js b/x-pack/packages/ml/validators/jest.config.js deleted file mode 100644 index 67f28da8589d9..0000000000000 --- a/x-pack/packages/ml/validators/jest.config.js +++ /dev/null @@ -1,12 +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/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/validators'], -}; diff --git a/x-pack/packages/security-solution/navigation/src/constants.ts b/x-pack/packages/security-solution/navigation/src/constants.ts index 249b834f929bd..d05d6c26807b5 100644 --- a/x-pack/packages/security-solution/navigation/src/constants.ts +++ b/x-pack/packages/security-solution/navigation/src/constants.ts @@ -38,7 +38,7 @@ export enum ExternalPageName { maps = 'maps:', visualize = 'visualize:', // Machine Learning - // Ref: packages/default-nav/ml/default_navigation.ts + // Ref: src/platform/packages/private/default-nav/ml/default_navigation.ts mlOverview = 'ml:overview', mlNotifications = 'ml:notifications', mlMemoryUsage = 'ml:memoryUsage', diff --git a/x-pack/packages/ml/agg_utils/README.md b/x-pack/platform/packages/private/ml/agg_utils/README.md similarity index 100% rename from x-pack/packages/ml/agg_utils/README.md rename to x-pack/platform/packages/private/ml/agg_utils/README.md diff --git a/x-pack/packages/ml/agg_utils/index.ts b/x-pack/platform/packages/private/ml/agg_utils/index.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/index.ts rename to x-pack/platform/packages/private/ml/agg_utils/index.ts diff --git a/x-pack/packages/ml/category_validator/jest.config.js b/x-pack/platform/packages/private/ml/agg_utils/jest.config.js similarity index 75% rename from x-pack/packages/ml/category_validator/jest.config.js rename to x-pack/platform/packages/private/ml/agg_utils/jest.config.js index 16140d5a9b1f7..2709a876d33b8 100644 --- a/x-pack/packages/ml/category_validator/jest.config.js +++ b/x-pack/platform/packages/private/ml/agg_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/category_validator'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/agg_utils'], }; diff --git a/x-pack/packages/ml/agg_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/agg_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/agg_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/agg_utils/kibana.jsonc diff --git a/x-pack/packages/ml/agg_utils/package.json b/x-pack/platform/packages/private/ml/agg_utils/package.json similarity index 100% rename from x-pack/packages/ml/agg_utils/package.json rename to x-pack/platform/packages/private/ml/agg_utils/package.json diff --git a/x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts b/x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/build_sampler_aggregation.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/build_sampler_aggregation.ts diff --git a/x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts b/x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/fetch_agg_intervals.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/fetch_agg_intervals.ts diff --git a/x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts b/x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/fetch_histograms_for_fields.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/fetch_histograms_for_fields.ts diff --git a/x-pack/packages/ml/agg_utils/src/field_histograms.ts b/x-pack/platform/packages/private/ml/agg_utils/src/field_histograms.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/field_histograms.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/field_histograms.ts diff --git a/x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts b/x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/get_sampler_aggregations_response_path.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/get_sampler_aggregations_response_path.ts diff --git a/x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts b/x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/is_multi_bucket_aggregate.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/is_multi_bucket_aggregate.ts diff --git a/x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts b/x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/time_series_metric_fields.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/time_series_metric_fields.ts diff --git a/x-pack/packages/ml/agg_utils/src/type_guards.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/type_guards.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/type_guards.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/type_guards.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/type_guards.ts b/x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/type_guards.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/type_guards.ts diff --git a/x-pack/packages/ml/agg_utils/src/types.ts b/x-pack/platform/packages/private/ml/agg_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/types.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/types.ts diff --git a/x-pack/packages/ml/agg_utils/src/validate_number.test.ts b/x-pack/platform/packages/private/ml/agg_utils/src/validate_number.test.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/validate_number.test.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/validate_number.test.ts diff --git a/x-pack/packages/ml/agg_utils/src/validate_number.ts b/x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts similarity index 100% rename from x-pack/packages/ml/agg_utils/src/validate_number.ts rename to x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts diff --git a/x-pack/packages/ml/agg_utils/tsconfig.json b/x-pack/platform/packages/private/ml/agg_utils/tsconfig.json similarity index 89% rename from x-pack/packages/ml/agg_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/agg_utils/tsconfig.json index fc8993c828529..8246980e72f2a 100644 --- a/x-pack/packages/ml/agg_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/agg_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_change_point_detection/README.md b/x-pack/platform/packages/private/ml/aiops_change_point_detection/README.md similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/README.md rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/README.md diff --git a/x-pack/packages/ml/aiops_change_point_detection/constants.ts b/x-pack/platform/packages/private/ml/aiops_change_point_detection/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/constants.ts rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/constants.ts diff --git a/x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js b/x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js new file mode 100644 index 0000000000000..29c2261f5968e --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_change_point_detection/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/aiops_change_point_detection'], +}; diff --git a/x-pack/packages/ml/aiops_change_point_detection/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_change_point_detection/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_change_point_detection/package.json b/x-pack/platform/packages/private/ml/aiops_change_point_detection/package.json similarity index 100% rename from x-pack/packages/ml/aiops_change_point_detection/package.json rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/package.json diff --git a/packages/deeplinks/ml/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json similarity index 81% rename from packages/deeplinks/ml/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json index d1414086f2187..18d16ae2e8837 100644 --- a/packages/deeplinks/ml/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_change_point_detection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/aiops_components/README.md b/x-pack/platform/packages/private/ml/aiops_components/README.md similarity index 100% rename from x-pack/packages/ml/aiops_components/README.md rename to x-pack/platform/packages/private/ml/aiops_components/README.md diff --git a/x-pack/packages/ml/aiops_components/index.ts b/x-pack/platform/packages/private/ml/aiops_components/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/index.ts diff --git a/x-pack/platform/packages/private/ml/aiops_components/jest.config.js b/x-pack/platform/packages/private/ml/aiops_components/jest.config.js new file mode 100644 index 0000000000000..435c591ffdbeb --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_components/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/aiops_components'], +}; diff --git a/x-pack/packages/ml/aiops_components/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_components/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_components/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_components/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_components/package.json b/x-pack/platform/packages/private/ml/aiops_components/package.json similarity index 100% rename from x-pack/packages/ml/aiops_components/package.json rename to x-pack/platform/packages/private/ml/aiops_components/package.json diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/brush_badge.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/brush_badge.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/brush_badge.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/brush_badge.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart_redux.tsx diff --git a/x-pack/packages/ml/aiops_components/src/document_count_chart/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/document_count_chart/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/document_count_chart/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.scss b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.scss similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.scss rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.scss diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx diff --git a/x-pack/packages/ml/aiops_components/src/dual_brush/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/dual_brush/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/dual_brush/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/index.ts b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/index.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/index.ts diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/progress_controls.tsx diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts b/x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts similarity index 100% rename from x-pack/packages/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts rename to x-pack/platform/packages/private/ml/aiops_components/src/progress_controls/use_animated_progress_bar_background.ts diff --git a/x-pack/packages/ml/aiops_components/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_components/tsconfig.json similarity index 92% rename from x-pack/packages/ml/aiops_components/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_components/tsconfig.json index 23cf9e9d60d4b..697ba566f34d9 100644 --- a/x-pack/packages/ml/aiops_components/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_test_utils/README.md b/x-pack/platform/packages/private/ml/aiops_test_utils/README.md similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/README.md rename to x-pack/platform/packages/private/ml/aiops_test_utils/README.md diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/fields.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/fields.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/fields.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/fields.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/filtered_frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/final_significant_item_groups_textfield.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_log_patterns.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/significant_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/significant_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/artificial_logs/top_terms_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/farequote/significant_item_groups.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/farequote/significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/farequote/significant_item_groups.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/farequote/significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/frequent_item_sets_large_arrays.ts diff --git a/x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js b/x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js new file mode 100644 index 0000000000000..356b3d678c445 --- /dev/null +++ b/x-pack/platform/packages/private/ml/aiops_test_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/aiops_test_utils'], +}; diff --git a/x-pack/packages/ml/aiops_test_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/aiops_test_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/aiops_test_utils/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts b/x-pack/platform/packages/private/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts rename to x-pack/platform/packages/private/ml/aiops_test_utils/kibana_sample_data_logs/significant_terms.ts diff --git a/x-pack/packages/ml/aiops_test_utils/package.json b/x-pack/platform/packages/private/ml/aiops_test_utils/package.json similarity index 100% rename from x-pack/packages/ml/aiops_test_utils/package.json rename to x-pack/platform/packages/private/ml/aiops_test_utils/package.json diff --git a/x-pack/packages/ml/aiops_test_utils/tsconfig.json b/x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json similarity index 83% rename from x-pack/packages/ml/aiops_test_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json index d9046fb446c1d..ead29b0529fe0 100644 --- a/x-pack/packages/ml/aiops_test_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/aiops_test_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/cancellable_search/README.md b/x-pack/platform/packages/private/ml/cancellable_search/README.md similarity index 100% rename from x-pack/packages/ml/cancellable_search/README.md rename to x-pack/platform/packages/private/ml/cancellable_search/README.md diff --git a/x-pack/packages/ml/cancellable_search/index.ts b/x-pack/platform/packages/private/ml/cancellable_search/index.ts similarity index 100% rename from x-pack/packages/ml/cancellable_search/index.ts rename to x-pack/platform/packages/private/ml/cancellable_search/index.ts diff --git a/x-pack/platform/packages/private/ml/cancellable_search/jest.config.js b/x-pack/platform/packages/private/ml/cancellable_search/jest.config.js new file mode 100644 index 0000000000000..9d89101ba02ba --- /dev/null +++ b/x-pack/platform/packages/private/ml/cancellable_search/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/cancellable_search'], +}; diff --git a/x-pack/packages/ml/cancellable_search/kibana.jsonc b/x-pack/platform/packages/private/ml/cancellable_search/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/cancellable_search/kibana.jsonc rename to x-pack/platform/packages/private/ml/cancellable_search/kibana.jsonc diff --git a/x-pack/packages/ml/cancellable_search/package.json b/x-pack/platform/packages/private/ml/cancellable_search/package.json similarity index 100% rename from x-pack/packages/ml/cancellable_search/package.json rename to x-pack/platform/packages/private/ml/cancellable_search/package.json diff --git a/x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts b/x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts similarity index 100% rename from x-pack/packages/ml/cancellable_search/src/use_cancellable_search.ts rename to x-pack/platform/packages/private/ml/cancellable_search/src/use_cancellable_search.ts diff --git a/x-pack/packages/ml/cancellable_search/tsconfig.json b/x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json similarity index 84% rename from x-pack/packages/ml/cancellable_search/tsconfig.json rename to x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json index 096fcd47fd25b..9875b747b7755 100644 --- a/x-pack/packages/ml/cancellable_search/tsconfig.json +++ b/x-pack/platform/packages/private/ml/cancellable_search/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/category_validator/README.md b/x-pack/platform/packages/private/ml/category_validator/README.md similarity index 100% rename from x-pack/packages/ml/category_validator/README.md rename to x-pack/platform/packages/private/ml/category_validator/README.md diff --git a/x-pack/packages/ml/category_validator/common/constants/categorization.ts b/x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts similarity index 100% rename from x-pack/packages/ml/category_validator/common/constants/categorization.ts rename to x-pack/platform/packages/private/ml/category_validator/common/constants/categorization.ts diff --git a/x-pack/packages/ml/category_validator/common/types/categories.ts b/x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts similarity index 100% rename from x-pack/packages/ml/category_validator/common/types/categories.ts rename to x-pack/platform/packages/private/ml/category_validator/common/types/categories.ts diff --git a/x-pack/packages/ml/category_validator/index.ts b/x-pack/platform/packages/private/ml/category_validator/index.ts similarity index 100% rename from x-pack/packages/ml/category_validator/index.ts rename to x-pack/platform/packages/private/ml/category_validator/index.ts diff --git a/x-pack/platform/packages/private/ml/category_validator/jest.config.js b/x-pack/platform/packages/private/ml/category_validator/jest.config.js new file mode 100644 index 0000000000000..e8cf31682353d --- /dev/null +++ b/x-pack/platform/packages/private/ml/category_validator/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/category_validator'], +}; diff --git a/x-pack/packages/ml/category_validator/kibana.jsonc b/x-pack/platform/packages/private/ml/category_validator/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/category_validator/kibana.jsonc rename to x-pack/platform/packages/private/ml/category_validator/kibana.jsonc diff --git a/x-pack/packages/ml/category_validator/package.json b/x-pack/platform/packages/private/ml/category_validator/package.json similarity index 100% rename from x-pack/packages/ml/category_validator/package.json rename to x-pack/platform/packages/private/ml/category_validator/package.json diff --git a/x-pack/packages/ml/category_validator/src/examples.ts b/x-pack/platform/packages/private/ml/category_validator/src/examples.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/examples.ts rename to x-pack/platform/packages/private/ml/category_validator/src/examples.ts diff --git a/x-pack/packages/ml/category_validator/src/util.ts b/x-pack/platform/packages/private/ml/category_validator/src/util.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/util.ts rename to x-pack/platform/packages/private/ml/category_validator/src/util.ts diff --git a/x-pack/packages/ml/category_validator/src/validation_results.ts b/x-pack/platform/packages/private/ml/category_validator/src/validation_results.ts similarity index 100% rename from x-pack/packages/ml/category_validator/src/validation_results.ts rename to x-pack/platform/packages/private/ml/category_validator/src/validation_results.ts diff --git a/x-pack/packages/ml/category_validator/tsconfig.json b/x-pack/platform/packages/private/ml/category_validator/tsconfig.json similarity index 83% rename from x-pack/packages/ml/category_validator/tsconfig.json rename to x-pack/platform/packages/private/ml/category_validator/tsconfig.json index 51c0faec5b5c0..60f536dcd4d92 100644 --- a/x-pack/packages/ml/category_validator/tsconfig.json +++ b/x-pack/platform/packages/private/ml/category_validator/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/creation_wizard_utils/README.md b/x-pack/platform/packages/private/ml/creation_wizard_utils/README.md similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/README.md rename to x-pack/platform/packages/private/ml/creation_wizard_utils/README.md diff --git a/x-pack/packages/ml/creation_wizard_utils/components/destination_index_form.tsx b/x-pack/platform/packages/private/ml/creation_wizard_utils/components/destination_index_form.tsx similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/components/destination_index_form.tsx rename to x-pack/platform/packages/private/ml/creation_wizard_utils/components/destination_index_form.tsx diff --git a/x-pack/packages/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx b/x-pack/platform/packages/private/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx rename to x-pack/platform/packages/private/ml/creation_wizard_utils/components/use_id_as_index_name_switch.tsx diff --git a/x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js b/x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js new file mode 100644 index 0000000000000..f86efaebdddda --- /dev/null +++ b/x-pack/platform/packages/private/ml/creation_wizard_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/creation_wizard_utils'], +}; diff --git a/x-pack/packages/ml/creation_wizard_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/creation_wizard_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/creation_wizard_utils/kibana.jsonc diff --git a/x-pack/packages/ml/creation_wizard_utils/package.json b/x-pack/platform/packages/private/ml/creation_wizard_utils/package.json similarity index 100% rename from x-pack/packages/ml/creation_wizard_utils/package.json rename to x-pack/platform/packages/private/ml/creation_wizard_utils/package.json diff --git a/x-pack/packages/ml/trained_models_utils/tsconfig.json b/x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json similarity index 82% rename from x-pack/packages/ml/trained_models_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json index df10dcf5b4b50..b87274720351a 100644 --- a/x-pack/packages/ml/trained_models_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/creation_wizard_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/data_frame_analytics_utils/README.md b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/README.md similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/README.md rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/README.md diff --git a/x-pack/packages/ml/data_frame_analytics_utils/index.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/index.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/index.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js new file mode 100644 index 0000000000000..9c4bcd6447308 --- /dev/null +++ b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/data_frame_analytics_utils'], +}; diff --git a/x-pack/packages/ml/data_frame_analytics_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/kibana.jsonc diff --git a/x-pack/packages/ml/data_frame_analytics_utils/package.json b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/package.json similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/package.json rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/package.json diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.test.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.test.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.test.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.test.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/analytics_utils.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/analytics_utils.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/constants.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/constants.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/feature_importance.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/feature_importance.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/fields.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/fields.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_classes.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_classes.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/get_num_top_feature_importance_values.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/src/types.ts b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/data_frame_analytics_utils/src/types.ts rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/src/types.ts diff --git a/x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json similarity index 87% rename from x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json index b3a8f3600a328..952dac2510b37 100644 --- a/x-pack/packages/ml/data_frame_analytics_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_frame_analytics_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/data_grid/README.md b/x-pack/platform/packages/private/ml/data_grid/README.md similarity index 100% rename from x-pack/packages/ml/data_grid/README.md rename to x-pack/platform/packages/private/ml/data_grid/README.md diff --git a/x-pack/packages/ml/data_grid/components/column_chart.tsx b/x-pack/platform/packages/private/ml/data_grid/components/column_chart.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/components/column_chart.tsx rename to x-pack/platform/packages/private/ml/data_grid/components/column_chart.tsx diff --git a/x-pack/packages/ml/data_grid/components/data_grid.tsx b/x-pack/platform/packages/private/ml/data_grid/components/data_grid.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/components/data_grid.tsx rename to x-pack/platform/packages/private/ml/data_grid/components/data_grid.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_column_chart.test.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.test.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_column_chart.test.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.test.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_column_chart.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_column_chart.tsx diff --git a/x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx b/x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx similarity index 100% rename from x-pack/packages/ml/data_grid/hooks/use_data_grid.tsx rename to x-pack/platform/packages/private/ml/data_grid/hooks/use_data_grid.tsx diff --git a/x-pack/packages/ml/data_grid/index.ts b/x-pack/platform/packages/private/ml/data_grid/index.ts similarity index 100% rename from x-pack/packages/ml/data_grid/index.ts rename to x-pack/platform/packages/private/ml/data_grid/index.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js b/x-pack/platform/packages/private/ml/data_grid/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/data_grid/jest.config.js index a8495ca86189f..550e09aa8c366 100644 --- a/x-pack/packages/ml/aiops_log_pattern_analysis/jest.config.js +++ b/x-pack/platform/packages/private/ml/data_grid/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_log_pattern_analysis'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/data_grid'], }; diff --git a/x-pack/packages/ml/data_grid/kibana.jsonc b/x-pack/platform/packages/private/ml/data_grid/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_grid/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_grid/kibana.jsonc diff --git a/x-pack/packages/ml/data_grid/lib/common.test.ts b/x-pack/platform/packages/private/ml/data_grid/lib/common.test.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/common.test.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/common.test.ts diff --git a/x-pack/packages/ml/data_grid/lib/common.ts b/x-pack/platform/packages/private/ml/data_grid/lib/common.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/common.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/common.ts diff --git a/x-pack/packages/ml/data_grid/lib/field_histograms.ts b/x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/field_histograms.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/field_histograms.ts diff --git a/x-pack/packages/ml/data_grid/lib/types.ts b/x-pack/platform/packages/private/ml/data_grid/lib/types.ts similarity index 100% rename from x-pack/packages/ml/data_grid/lib/types.ts rename to x-pack/platform/packages/private/ml/data_grid/lib/types.ts diff --git a/x-pack/packages/ml/data_grid/package.json b/x-pack/platform/packages/private/ml/data_grid/package.json similarity index 100% rename from x-pack/packages/ml/data_grid/package.json rename to x-pack/platform/packages/private/ml/data_grid/package.json diff --git a/x-pack/packages/ml/data_grid/tsconfig.json b/x-pack/platform/packages/private/ml/data_grid/tsconfig.json similarity index 88% rename from x-pack/packages/ml/data_grid/tsconfig.json rename to x-pack/platform/packages/private/ml/data_grid/tsconfig.json index 16e44151edb55..db1fefe7ccca0 100644 --- a/x-pack/packages/ml/data_grid/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_grid/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ @@ -14,7 +14,7 @@ "include": [ "**/*.ts", "**/*.tsx", - "../../../../typings/emotion.d.ts" + "../../../../../../typings/emotion.d.ts" ], "exclude": [ "target/**/*" diff --git a/x-pack/packages/ml/data_view_utils/README.md b/x-pack/platform/packages/private/ml/data_view_utils/README.md similarity index 100% rename from x-pack/packages/ml/data_view_utils/README.md rename to x-pack/platform/packages/private/ml/data_view_utils/README.md diff --git a/x-pack/packages/ml/data_view_utils/actions/create.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/create.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/create.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/create.ts diff --git a/x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/data_view_handler.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts diff --git a/x-pack/packages/ml/data_view_utils/actions/delete.ts b/x-pack/platform/packages/private/ml/data_view_utils/actions/delete.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/actions/delete.ts rename to x-pack/platform/packages/private/ml/data_view_utils/actions/delete.ts diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_form_row.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_form_row.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_form_row.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_form_row.tsx diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_switch.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_switch.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_switch.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_switch.tsx diff --git a/x-pack/packages/ml/data_view_utils/components/create_data_view_time_field.tsx b/x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_time_field.tsx similarity index 100% rename from x-pack/packages/ml/data_view_utils/components/create_data_view_time_field.tsx rename to x-pack/platform/packages/private/ml/data_view_utils/components/create_data_view_time_field.tsx diff --git a/x-pack/platform/packages/private/ml/data_view_utils/jest.config.js b/x-pack/platform/packages/private/ml/data_view_utils/jest.config.js new file mode 100644 index 0000000000000..646171178c758 --- /dev/null +++ b/x-pack/platform/packages/private/ml/data_view_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/data_view_utils'], +}; diff --git a/x-pack/packages/ml/data_view_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/data_view_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/data_view_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/data_view_utils/kibana.jsonc diff --git a/x-pack/packages/ml/data_view_utils/package.json b/x-pack/platform/packages/private/ml/data_view_utils/package.json similarity index 100% rename from x-pack/packages/ml/data_view_utils/package.json rename to x-pack/platform/packages/private/ml/data_view_utils/package.json diff --git a/x-pack/packages/ml/data_view_utils/schemas/api_create_query_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/schemas/api_create_query_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/schemas/api_create_query_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/schemas/api_create_query_schema.ts diff --git a/x-pack/packages/ml/data_view_utils/tsconfig.json b/x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json similarity index 87% rename from x-pack/packages/ml/data_view_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json index 957b027bc2f20..4c01f381b79d1 100644 --- a/x-pack/packages/ml/data_view_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/data_view_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/data_view_utils/types/api_create_response_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/types/api_create_response_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/types/api_create_response_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/types/api_create_response_schema.ts diff --git a/x-pack/packages/ml/data_view_utils/types/api_delete_response_schema.ts b/x-pack/platform/packages/private/ml/data_view_utils/types/api_delete_response_schema.ts similarity index 100% rename from x-pack/packages/ml/data_view_utils/types/api_delete_response_schema.ts rename to x-pack/platform/packages/private/ml/data_view_utils/types/api_delete_response_schema.ts diff --git a/x-pack/packages/ml/date_picker/README.md b/x-pack/platform/packages/private/ml/date_picker/README.md similarity index 100% rename from x-pack/packages/ml/date_picker/README.md rename to x-pack/platform/packages/private/ml/date_picker/README.md diff --git a/x-pack/packages/ml/date_picker/index.ts b/x-pack/platform/packages/private/ml/date_picker/index.ts similarity index 100% rename from x-pack/packages/ml/date_picker/index.ts rename to x-pack/platform/packages/private/ml/date_picker/index.ts diff --git a/x-pack/platform/packages/private/ml/date_picker/jest.config.js b/x-pack/platform/packages/private/ml/date_picker/jest.config.js new file mode 100644 index 0000000000000..87306b61d8bc4 --- /dev/null +++ b/x-pack/platform/packages/private/ml/date_picker/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/date_picker'], +}; diff --git a/x-pack/packages/ml/date_picker/kibana.jsonc b/x-pack/platform/packages/private/ml/date_picker/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/date_picker/kibana.jsonc rename to x-pack/platform/packages/private/ml/date_picker/kibana.jsonc diff --git a/x-pack/packages/ml/date_picker/package.json b/x-pack/platform/packages/private/ml/date_picker/package.json similarity index 100% rename from x-pack/packages/ml/date_picker/package.json rename to x-pack/platform/packages/private/ml/date_picker/package.json diff --git a/x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.test.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.test.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.test.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.test.tsx diff --git a/x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/date_picker_wrapper.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx diff --git a/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.test.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/full_time_range_selector.test.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.test.tsx diff --git a/x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/components/full_time_range_selector.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_date_picker_context.tsx rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_date_picker_context.tsx diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_timefilter.test.ts b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.test.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_timefilter.test.ts rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.test.ts diff --git a/x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts b/x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/hooks/use_timefilter.ts rename to x-pack/platform/packages/private/ml/date_picker/src/hooks/use_timefilter.ts diff --git a/x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.test.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.test.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.test.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.test.ts diff --git a/x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/full_time_range_selector_service.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/full_time_range_selector_service.ts diff --git a/x-pack/packages/ml/date_picker/src/services/time_field_range.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/time_field_range.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/time_field_range.ts diff --git a/x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/timefilter_refresh_service.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/timefilter_refresh_service.ts diff --git a/x-pack/packages/ml/date_picker/src/services/types.ts b/x-pack/platform/packages/private/ml/date_picker/src/services/types.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/services/types.ts rename to x-pack/platform/packages/private/ml/date_picker/src/services/types.ts diff --git a/x-pack/packages/ml/date_picker/src/storage.ts b/x-pack/platform/packages/private/ml/date_picker/src/storage.ts similarity index 100% rename from x-pack/packages/ml/date_picker/src/storage.ts rename to x-pack/platform/packages/private/ml/date_picker/src/storage.ts diff --git a/x-pack/packages/ml/date_picker/tsconfig.json b/x-pack/platform/packages/private/ml/date_picker/tsconfig.json similarity index 90% rename from x-pack/packages/ml/date_picker/tsconfig.json rename to x-pack/platform/packages/private/ml/date_picker/tsconfig.json index d85c1a4cf4613..323eaf200913a 100644 --- a/x-pack/packages/ml/date_picker/tsconfig.json +++ b/x-pack/platform/packages/private/ml/date_picker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/date_utils/README.md b/x-pack/platform/packages/private/ml/date_utils/README.md similarity index 100% rename from x-pack/packages/ml/date_utils/README.md rename to x-pack/platform/packages/private/ml/date_utils/README.md diff --git a/x-pack/packages/ml/date_utils/index.ts b/x-pack/platform/packages/private/ml/date_utils/index.ts similarity index 100% rename from x-pack/packages/ml/date_utils/index.ts rename to x-pack/platform/packages/private/ml/date_utils/index.ts diff --git a/x-pack/packages/ml/aiops_change_point_detection/jest.config.js b/x-pack/platform/packages/private/ml/date_utils/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_change_point_detection/jest.config.js rename to x-pack/platform/packages/private/ml/date_utils/jest.config.js index f6d1246fd9f66..2fdf51410786c 100644 --- a/x-pack/packages/ml/aiops_change_point_detection/jest.config.js +++ b/x-pack/platform/packages/private/ml/date_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_change_point_detection'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/date_utils'], }; diff --git a/x-pack/packages/ml/date_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/date_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/date_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/date_utils/kibana.jsonc diff --git a/x-pack/packages/ml/date_utils/package.json b/x-pack/platform/packages/private/ml/date_utils/package.json similarity index 100% rename from x-pack/packages/ml/date_utils/package.json rename to x-pack/platform/packages/private/ml/date_utils/package.json diff --git a/x-pack/packages/ml/date_utils/src/date_utils.test.ts b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.test.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/date_utils.test.ts rename to x-pack/platform/packages/private/ml/date_utils/src/date_utils.test.ts diff --git a/x-pack/packages/ml/date_utils/src/date_utils.ts b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/date_utils.ts rename to x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts diff --git a/x-pack/packages/ml/date_utils/src/time_format.ts b/x-pack/platform/packages/private/ml/date_utils/src/time_format.ts similarity index 100% rename from x-pack/packages/ml/date_utils/src/time_format.ts rename to x-pack/platform/packages/private/ml/date_utils/src/time_format.ts diff --git a/x-pack/packages/ml/date_utils/tsconfig.json b/x-pack/platform/packages/private/ml/date_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/date_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/date_utils/tsconfig.json index 5eb9555f8841e..69c45cb343c50 100644 --- a/x-pack/packages/ml/date_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/date_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/field_stats_flyout/README.md b/x-pack/platform/packages/private/ml/field_stats_flyout/README.md similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/README.md rename to x-pack/platform/packages/private/ml/field_stats_flyout/README.md diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_content.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_content.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_flyout.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_flyout_provider.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_flyout_provider.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/field_stats_info_button.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/field_stats_info_button.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.test.ts diff --git a/x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/get_kbn_field_icon_types.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/get_kbn_field_icon_types.ts diff --git a/x-pack/packages/ml/field_stats_flyout/index.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/index.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/index.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/index.ts diff --git a/x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js b/x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js new file mode 100644 index 0000000000000..b73790b1a48a5 --- /dev/null +++ b/x-pack/platform/packages/private/ml/field_stats_flyout/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/field_stats_flyout'], +}; diff --git a/x-pack/packages/ml/field_stats_flyout/kibana.jsonc b/x-pack/platform/packages/private/ml/field_stats_flyout/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/kibana.jsonc rename to x-pack/platform/packages/private/ml/field_stats_flyout/kibana.jsonc diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_popover_footer.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/option_list_with_stats.tsx diff --git a/x-pack/packages/ml/field_stats_flyout/options_list_with_stats/types.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/types.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/options_list_with_stats/types.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/options_list_with_stats/types.ts diff --git a/x-pack/packages/ml/field_stats_flyout/package.json b/x-pack/platform/packages/private/ml/field_stats_flyout/package.json similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/package.json rename to x-pack/platform/packages/private/ml/field_stats_flyout/package.json diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.test.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/get_merged_populated_fields_query.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/index.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/index.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/index.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/index.ts diff --git a/x-pack/packages/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/populated_fields/populated_fields_cache_manager.ts diff --git a/x-pack/packages/ml/field_stats_flyout/tsconfig.json b/x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json similarity index 92% rename from x-pack/packages/ml/field_stats_flyout/tsconfig.json rename to x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json index df70aa27788b8..33e65f0cebcae 100644 --- a/x-pack/packages/ml/field_stats_flyout/tsconfig.json +++ b/x-pack/platform/packages/private/ml/field_stats_flyout/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/field_stats_flyout/use_field_stats_flyout_context.ts b/x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/use_field_stats_flyout_context.ts rename to x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_flyout_context.ts diff --git a/x-pack/packages/ml/field_stats_flyout/use_field_stats_trigger.tsx b/x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_trigger.tsx similarity index 100% rename from x-pack/packages/ml/field_stats_flyout/use_field_stats_trigger.tsx rename to x-pack/platform/packages/private/ml/field_stats_flyout/use_field_stats_trigger.tsx diff --git a/x-pack/packages/ml/in_memory_table/README.md b/x-pack/platform/packages/private/ml/in_memory_table/README.md similarity index 100% rename from x-pack/packages/ml/in_memory_table/README.md rename to x-pack/platform/packages/private/ml/in_memory_table/README.md diff --git a/x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts b/x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts similarity index 100% rename from x-pack/packages/ml/in_memory_table/hooks/use_table_state.ts rename to x-pack/platform/packages/private/ml/in_memory_table/hooks/use_table_state.ts diff --git a/x-pack/packages/ml/in_memory_table/index.ts b/x-pack/platform/packages/private/ml/in_memory_table/index.ts similarity index 100% rename from x-pack/packages/ml/in_memory_table/index.ts rename to x-pack/platform/packages/private/ml/in_memory_table/index.ts diff --git a/x-pack/platform/packages/private/ml/in_memory_table/jest.config.js b/x-pack/platform/packages/private/ml/in_memory_table/jest.config.js new file mode 100644 index 0000000000000..efd1a3a47c989 --- /dev/null +++ b/x-pack/platform/packages/private/ml/in_memory_table/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/in_memory_table'], +}; diff --git a/x-pack/packages/ml/in_memory_table/kibana.jsonc b/x-pack/platform/packages/private/ml/in_memory_table/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/in_memory_table/kibana.jsonc rename to x-pack/platform/packages/private/ml/in_memory_table/kibana.jsonc diff --git a/x-pack/packages/ml/in_memory_table/package.json b/x-pack/platform/packages/private/ml/in_memory_table/package.json similarity index 100% rename from x-pack/packages/ml/in_memory_table/package.json rename to x-pack/platform/packages/private/ml/in_memory_table/package.json diff --git a/x-pack/packages/ml/in_memory_table/tsconfig.json b/x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json similarity index 86% rename from x-pack/packages/ml/in_memory_table/tsconfig.json rename to x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json index 67fc862a62f30..9ddef10b3ed07 100644 --- a/x-pack/packages/ml/in_memory_table/tsconfig.json +++ b/x-pack/platform/packages/private/ml/in_memory_table/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/inference_integration_flyout/README.md b/x-pack/platform/packages/private/ml/inference_integration_flyout/README.md similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/README.md rename to x-pack/platform/packages/private/ml/inference_integration_flyout/README.md diff --git a/x-pack/packages/ml/inference_integration_flyout/components/connect_to_api.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/connect_to_api.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/connect_to_api.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/connect_to_api.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/eland_python_client.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/eland_python_client.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/elasticsearch_models.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/elasticsearch_models.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/elasticsearch_models.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/elasticsearch_models.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/flyout_layout.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/flyout_layout.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/flyout_layout.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/flyout_layout.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.test.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/inference_flyout_wrapper.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/save_inference_mappings_button.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/cohere_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/huggingface_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_forms/openai_form.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/openai_form.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_forms/openai_form.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_forms/openai_form.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/components/service_options.tsx b/x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_options.tsx similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/components/service_options.tsx rename to x-pack/platform/packages/private/ml/inference_integration_flyout/components/service_options.tsx diff --git a/x-pack/packages/ml/inference_integration_flyout/index.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/index.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/index.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/index.ts diff --git a/x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js b/x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js new file mode 100644 index 0000000000000..81ae0f207bf50 --- /dev/null +++ b/x-pack/platform/packages/private/ml/inference_integration_flyout/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/inference_integration_flyout'], +}; diff --git a/x-pack/packages/ml/inference_integration_flyout/kibana.jsonc b/x-pack/platform/packages/private/ml/inference_integration_flyout/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/kibana.jsonc rename to x-pack/platform/packages/private/ml/inference_integration_flyout/kibana.jsonc diff --git a/x-pack/packages/ml/inference_integration_flyout/lib/shared_values.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/lib/shared_values.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/lib/shared_values.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/lib/shared_values.ts diff --git a/x-pack/packages/ml/inference_integration_flyout/package.json b/x-pack/platform/packages/private/ml/inference_integration_flyout/package.json similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/package.json rename to x-pack/platform/packages/private/ml/inference_integration_flyout/package.json diff --git a/x-pack/packages/ml/inference_integration_flyout/tsconfig.json b/x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json similarity index 85% rename from x-pack/packages/ml/inference_integration_flyout/tsconfig.json rename to x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json index 0b0b6b65972af..b846fdc0972dd 100644 --- a/x-pack/packages/ml/inference_integration_flyout/tsconfig.json +++ b/x-pack/platform/packages/private/ml/inference_integration_flyout/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/inference_integration_flyout/types.ts b/x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts similarity index 100% rename from x-pack/packages/ml/inference_integration_flyout/types.ts rename to x-pack/platform/packages/private/ml/inference_integration_flyout/types.ts diff --git a/x-pack/packages/ml/is_defined/README.md b/x-pack/platform/packages/private/ml/is_defined/README.md similarity index 100% rename from x-pack/packages/ml/is_defined/README.md rename to x-pack/platform/packages/private/ml/is_defined/README.md diff --git a/x-pack/packages/ml/is_defined/index.ts b/x-pack/platform/packages/private/ml/is_defined/index.ts similarity index 100% rename from x-pack/packages/ml/is_defined/index.ts rename to x-pack/platform/packages/private/ml/is_defined/index.ts diff --git a/x-pack/platform/packages/private/ml/is_defined/jest.config.js b/x-pack/platform/packages/private/ml/is_defined/jest.config.js new file mode 100644 index 0000000000000..f2be233565d7f --- /dev/null +++ b/x-pack/platform/packages/private/ml/is_defined/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/is_defined'], +}; diff --git a/x-pack/packages/ml/is_defined/kibana.jsonc b/x-pack/platform/packages/private/ml/is_defined/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/is_defined/kibana.jsonc rename to x-pack/platform/packages/private/ml/is_defined/kibana.jsonc diff --git a/x-pack/packages/ml/is_defined/package.json b/x-pack/platform/packages/private/ml/is_defined/package.json similarity index 100% rename from x-pack/packages/ml/is_defined/package.json rename to x-pack/platform/packages/private/ml/is_defined/package.json diff --git a/x-pack/packages/ml/is_defined/src/is_defined.ts b/x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts similarity index 100% rename from x-pack/packages/ml/is_defined/src/is_defined.ts rename to x-pack/platform/packages/private/ml/is_defined/src/is_defined.ts diff --git a/x-pack/packages/ml/aiops_change_point_detection/tsconfig.json b/x-pack/platform/packages/private/ml/is_defined/tsconfig.json similarity index 81% rename from x-pack/packages/ml/aiops_change_point_detection/tsconfig.json rename to x-pack/platform/packages/private/ml/is_defined/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/aiops_change_point_detection/tsconfig.json +++ b/x-pack/platform/packages/private/ml/is_defined/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/is_populated_object/README.md b/x-pack/platform/packages/private/ml/is_populated_object/README.md similarity index 100% rename from x-pack/packages/ml/is_populated_object/README.md rename to x-pack/platform/packages/private/ml/is_populated_object/README.md diff --git a/x-pack/packages/ml/is_populated_object/index.ts b/x-pack/platform/packages/private/ml/is_populated_object/index.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/index.ts rename to x-pack/platform/packages/private/ml/is_populated_object/index.ts diff --git a/x-pack/platform/packages/private/ml/is_populated_object/jest.config.js b/x-pack/platform/packages/private/ml/is_populated_object/jest.config.js new file mode 100644 index 0000000000000..853897e001cb8 --- /dev/null +++ b/x-pack/platform/packages/private/ml/is_populated_object/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/is_populated_object'], +}; diff --git a/x-pack/packages/ml/is_populated_object/kibana.jsonc b/x-pack/platform/packages/private/ml/is_populated_object/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/is_populated_object/kibana.jsonc rename to x-pack/platform/packages/private/ml/is_populated_object/kibana.jsonc diff --git a/x-pack/packages/ml/is_populated_object/package.json b/x-pack/platform/packages/private/ml/is_populated_object/package.json similarity index 100% rename from x-pack/packages/ml/is_populated_object/package.json rename to x-pack/platform/packages/private/ml/is_populated_object/package.json diff --git a/x-pack/packages/ml/is_populated_object/src/is_populated_object.test.ts b/x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.test.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/src/is_populated_object.test.ts rename to x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.test.ts diff --git a/x-pack/packages/ml/is_populated_object/src/is_populated_object.ts b/x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts similarity index 100% rename from x-pack/packages/ml/is_populated_object/src/is_populated_object.ts rename to x-pack/platform/packages/private/ml/is_populated_object/src/is_populated_object.ts diff --git a/x-pack/packages/ml/is_populated_object/tsconfig.json b/x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json similarity index 79% rename from x-pack/packages/ml/is_populated_object/tsconfig.json rename to x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/is_populated_object/tsconfig.json +++ b/x-pack/platform/packages/private/ml/is_populated_object/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/json_schemas/README.md b/x-pack/platform/packages/private/ml/json_schemas/README.md similarity index 100% rename from x-pack/packages/ml/json_schemas/README.md rename to x-pack/platform/packages/private/ml/json_schemas/README.md diff --git a/x-pack/packages/ml/json_schemas/index.ts b/x-pack/platform/packages/private/ml/json_schemas/index.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/index.ts rename to x-pack/platform/packages/private/ml/json_schemas/index.ts diff --git a/x-pack/platform/packages/private/ml/json_schemas/jest.config.js b/x-pack/platform/packages/private/ml/json_schemas/jest.config.js new file mode 100644 index 0000000000000..1a62b9c635d59 --- /dev/null +++ b/x-pack/platform/packages/private/ml/json_schemas/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/json_schemas'], +}; diff --git a/x-pack/packages/ml/json_schemas/kibana.jsonc b/x-pack/platform/packages/private/ml/json_schemas/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/json_schemas/kibana.jsonc rename to x-pack/platform/packages/private/ml/json_schemas/kibana.jsonc diff --git a/x-pack/packages/ml/json_schemas/package.json b/x-pack/platform/packages/private/ml/json_schemas/package.json similarity index 59% rename from x-pack/packages/ml/json_schemas/package.json rename to x-pack/platform/packages/private/ml/json_schemas/package.json index 62e2574b153a5..dfa4afe017258 100644 --- a/x-pack/packages/ml/json_schemas/package.json +++ b/x-pack/platform/packages/private/ml/json_schemas/package.json @@ -4,6 +4,6 @@ "version": "1.0.0", "license": "Elastic License 2.0", "scripts": { - "jsonSchema": "../../../../node_modules/ts-node/dist/bin.js scripts/index.ts" + "jsonSchema": "../../../../../../node_modules/ts-node/dist/bin.js scripts/index.ts" } } diff --git a/x-pack/packages/ml/json_schemas/scripts/index.ts b/x-pack/platform/packages/private/ml/json_schemas/scripts/index.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/scripts/index.ts rename to x-pack/platform/packages/private/ml/json_schemas/scripts/index.ts diff --git a/x-pack/packages/ml/json_schemas/src/json_schema_service.ts b/x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/json_schema_service.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/json_schema_service.ts diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_anomaly_detectors__job_id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_data_frame_analytics__id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___ml_datafeeds__datafeed_id__schema.json diff --git a/x-pack/packages/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json b/x-pack/platform/packages/private/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json similarity index 100% rename from x-pack/packages/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json rename to x-pack/platform/packages/private/ml/json_schemas/src/put___transform__transform_id___pivot_schema.json diff --git a/x-pack/packages/ml/json_schemas/src/schema_overrides.ts b/x-pack/platform/packages/private/ml/json_schemas/src/schema_overrides.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/schema_overrides.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/schema_overrides.ts diff --git a/x-pack/packages/ml/json_schemas/src/types.ts b/x-pack/platform/packages/private/ml/json_schemas/src/types.ts similarity index 100% rename from x-pack/packages/ml/json_schemas/src/types.ts rename to x-pack/platform/packages/private/ml/json_schemas/src/types.ts diff --git a/x-pack/packages/ml/json_schemas/tsconfig.json b/x-pack/platform/packages/private/ml/json_schemas/tsconfig.json similarity index 82% rename from x-pack/packages/ml/json_schemas/tsconfig.json rename to x-pack/platform/packages/private/ml/json_schemas/tsconfig.json index e036ed4845c6b..07f297b124994 100644 --- a/x-pack/packages/ml/json_schemas/tsconfig.json +++ b/x-pack/platform/packages/private/ml/json_schemas/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/kibana_theme/README.md b/x-pack/platform/packages/private/ml/kibana_theme/README.md similarity index 100% rename from x-pack/packages/ml/kibana_theme/README.md rename to x-pack/platform/packages/private/ml/kibana_theme/README.md diff --git a/x-pack/packages/ml/kibana_theme/index.ts b/x-pack/platform/packages/private/ml/kibana_theme/index.ts similarity index 100% rename from x-pack/packages/ml/kibana_theme/index.ts rename to x-pack/platform/packages/private/ml/kibana_theme/index.ts diff --git a/x-pack/platform/packages/private/ml/kibana_theme/jest.config.js b/x-pack/platform/packages/private/ml/kibana_theme/jest.config.js new file mode 100644 index 0000000000000..98e6c95b278b3 --- /dev/null +++ b/x-pack/platform/packages/private/ml/kibana_theme/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/kibana_theme'], +}; diff --git a/x-pack/packages/ml/kibana_theme/kibana.jsonc b/x-pack/platform/packages/private/ml/kibana_theme/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/kibana_theme/kibana.jsonc rename to x-pack/platform/packages/private/ml/kibana_theme/kibana.jsonc diff --git a/x-pack/packages/ml/kibana_theme/package.json b/x-pack/platform/packages/private/ml/kibana_theme/package.json similarity index 100% rename from x-pack/packages/ml/kibana_theme/package.json rename to x-pack/platform/packages/private/ml/kibana_theme/package.json diff --git a/x-pack/packages/ml/kibana_theme/src/hooks.ts b/x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts similarity index 100% rename from x-pack/packages/ml/kibana_theme/src/hooks.ts rename to x-pack/platform/packages/private/ml/kibana_theme/src/hooks.ts diff --git a/x-pack/packages/ml/kibana_theme/tsconfig.json b/x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json similarity index 83% rename from x-pack/packages/ml/kibana_theme/tsconfig.json rename to x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json index 9783a201c7e75..263f34ba27581 100644 --- a/x-pack/packages/ml/kibana_theme/tsconfig.json +++ b/x-pack/platform/packages/private/ml/kibana_theme/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/local_storage/README.md b/x-pack/platform/packages/private/ml/local_storage/README.md similarity index 100% rename from x-pack/packages/ml/local_storage/README.md rename to x-pack/platform/packages/private/ml/local_storage/README.md diff --git a/x-pack/packages/ml/local_storage/index.ts b/x-pack/platform/packages/private/ml/local_storage/index.ts similarity index 100% rename from x-pack/packages/ml/local_storage/index.ts rename to x-pack/platform/packages/private/ml/local_storage/index.ts diff --git a/x-pack/platform/packages/private/ml/local_storage/jest.config.js b/x-pack/platform/packages/private/ml/local_storage/jest.config.js new file mode 100644 index 0000000000000..79d5f350a3871 --- /dev/null +++ b/x-pack/platform/packages/private/ml/local_storage/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/local_storage'], +}; diff --git a/x-pack/packages/ml/local_storage/kibana.jsonc b/x-pack/platform/packages/private/ml/local_storage/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/local_storage/kibana.jsonc rename to x-pack/platform/packages/private/ml/local_storage/kibana.jsonc diff --git a/x-pack/packages/ml/local_storage/package.json b/x-pack/platform/packages/private/ml/local_storage/package.json similarity index 100% rename from x-pack/packages/ml/local_storage/package.json rename to x-pack/platform/packages/private/ml/local_storage/package.json diff --git a/x-pack/packages/ml/local_storage/src/storage_context.tsx b/x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx similarity index 100% rename from x-pack/packages/ml/local_storage/src/storage_context.tsx rename to x-pack/platform/packages/private/ml/local_storage/src/storage_context.tsx diff --git a/x-pack/packages/ml/local_storage/tsconfig.json b/x-pack/platform/packages/private/ml/local_storage/tsconfig.json similarity index 84% rename from x-pack/packages/ml/local_storage/tsconfig.json rename to x-pack/platform/packages/private/ml/local_storage/tsconfig.json index 23b139e6f3aeb..32660382b94eb 100644 --- a/x-pack/packages/ml/local_storage/tsconfig.json +++ b/x-pack/platform/packages/private/ml/local_storage/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/nested_property/README.md b/x-pack/platform/packages/private/ml/nested_property/README.md similarity index 100% rename from x-pack/packages/ml/nested_property/README.md rename to x-pack/platform/packages/private/ml/nested_property/README.md diff --git a/x-pack/packages/ml/nested_property/index.ts b/x-pack/platform/packages/private/ml/nested_property/index.ts similarity index 100% rename from x-pack/packages/ml/nested_property/index.ts rename to x-pack/platform/packages/private/ml/nested_property/index.ts diff --git a/x-pack/platform/packages/private/ml/nested_property/jest.config.js b/x-pack/platform/packages/private/ml/nested_property/jest.config.js new file mode 100644 index 0000000000000..05e4ab37147db --- /dev/null +++ b/x-pack/platform/packages/private/ml/nested_property/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/nested_property'], +}; diff --git a/x-pack/packages/ml/nested_property/kibana.jsonc b/x-pack/platform/packages/private/ml/nested_property/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/nested_property/kibana.jsonc rename to x-pack/platform/packages/private/ml/nested_property/kibana.jsonc diff --git a/x-pack/packages/ml/nested_property/package.json b/x-pack/platform/packages/private/ml/nested_property/package.json similarity index 100% rename from x-pack/packages/ml/nested_property/package.json rename to x-pack/platform/packages/private/ml/nested_property/package.json diff --git a/x-pack/packages/ml/nested_property/src/get_nested_property.test.ts b/x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.test.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/get_nested_property.test.ts rename to x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.test.ts diff --git a/x-pack/packages/ml/nested_property/src/get_nested_property.ts b/x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/get_nested_property.ts rename to x-pack/platform/packages/private/ml/nested_property/src/get_nested_property.ts diff --git a/x-pack/packages/ml/nested_property/src/set_nested_property.test.ts b/x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.test.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/set_nested_property.test.ts rename to x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.test.ts diff --git a/x-pack/packages/ml/nested_property/src/set_nested_property.ts b/x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts similarity index 100% rename from x-pack/packages/ml/nested_property/src/set_nested_property.ts rename to x-pack/platform/packages/private/ml/nested_property/src/set_nested_property.ts diff --git a/x-pack/packages/ml/nested_property/tsconfig.json b/x-pack/platform/packages/private/ml/nested_property/tsconfig.json similarity index 80% rename from x-pack/packages/ml/nested_property/tsconfig.json rename to x-pack/platform/packages/private/ml/nested_property/tsconfig.json index 693d1ee9ce31e..2b9453a424187 100644 --- a/x-pack/packages/ml/nested_property/tsconfig.json +++ b/x-pack/platform/packages/private/ml/nested_property/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/number_utils/README.md b/x-pack/platform/packages/private/ml/number_utils/README.md similarity index 100% rename from x-pack/packages/ml/number_utils/README.md rename to x-pack/platform/packages/private/ml/number_utils/README.md diff --git a/x-pack/packages/ml/number_utils/index.ts b/x-pack/platform/packages/private/ml/number_utils/index.ts similarity index 100% rename from x-pack/packages/ml/number_utils/index.ts rename to x-pack/platform/packages/private/ml/number_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/number_utils/jest.config.js b/x-pack/platform/packages/private/ml/number_utils/jest.config.js new file mode 100644 index 0000000000000..30b8a2f58cdc3 --- /dev/null +++ b/x-pack/platform/packages/private/ml/number_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/number_utils'], +}; diff --git a/x-pack/packages/ml/number_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/number_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/number_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/number_utils/kibana.jsonc diff --git a/x-pack/packages/ml/number_utils/package.json b/x-pack/platform/packages/private/ml/number_utils/package.json similarity index 100% rename from x-pack/packages/ml/number_utils/package.json rename to x-pack/platform/packages/private/ml/number_utils/package.json diff --git a/x-pack/packages/ml/number_utils/src/round_to_decimal_place.test.ts b/x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.test.ts similarity index 100% rename from x-pack/packages/ml/number_utils/src/round_to_decimal_place.test.ts rename to x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.test.ts diff --git a/x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts b/x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts similarity index 100% rename from x-pack/packages/ml/number_utils/src/round_to_decimal_place.ts rename to x-pack/platform/packages/private/ml/number_utils/src/round_to_decimal_place.ts diff --git a/x-pack/packages/ml/chi2test/tsconfig.json b/x-pack/platform/packages/private/ml/number_utils/tsconfig.json similarity index 81% rename from x-pack/packages/ml/chi2test/tsconfig.json rename to x-pack/platform/packages/private/ml/number_utils/tsconfig.json index b05325b824a67..18d16ae2e8837 100644 --- a/x-pack/packages/ml/chi2test/tsconfig.json +++ b/x-pack/platform/packages/private/ml/number_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/parse_interval/README.md b/x-pack/platform/packages/private/ml/parse_interval/README.md similarity index 100% rename from x-pack/packages/ml/parse_interval/README.md rename to x-pack/platform/packages/private/ml/parse_interval/README.md diff --git a/x-pack/packages/ml/parse_interval/index.ts b/x-pack/platform/packages/private/ml/parse_interval/index.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/index.ts rename to x-pack/platform/packages/private/ml/parse_interval/index.ts diff --git a/x-pack/platform/packages/private/ml/parse_interval/jest.config.js b/x-pack/platform/packages/private/ml/parse_interval/jest.config.js new file mode 100644 index 0000000000000..553e68f10c738 --- /dev/null +++ b/x-pack/platform/packages/private/ml/parse_interval/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/parse_interval'], +}; diff --git a/x-pack/packages/ml/parse_interval/kibana.jsonc b/x-pack/platform/packages/private/ml/parse_interval/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/parse_interval/kibana.jsonc rename to x-pack/platform/packages/private/ml/parse_interval/kibana.jsonc diff --git a/x-pack/packages/ml/parse_interval/package.json b/x-pack/platform/packages/private/ml/parse_interval/package.json similarity index 100% rename from x-pack/packages/ml/parse_interval/package.json rename to x-pack/platform/packages/private/ml/parse_interval/package.json diff --git a/x-pack/packages/ml/parse_interval/parse_interval.test.ts b/x-pack/platform/packages/private/ml/parse_interval/parse_interval.test.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/parse_interval.test.ts rename to x-pack/platform/packages/private/ml/parse_interval/parse_interval.test.ts diff --git a/x-pack/packages/ml/parse_interval/parse_interval.ts b/x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts similarity index 100% rename from x-pack/packages/ml/parse_interval/parse_interval.ts rename to x-pack/platform/packages/private/ml/parse_interval/parse_interval.ts diff --git a/x-pack/packages/ml/parse_interval/tsconfig.json b/x-pack/platform/packages/private/ml/parse_interval/tsconfig.json similarity index 81% rename from x-pack/packages/ml/parse_interval/tsconfig.json rename to x-pack/platform/packages/private/ml/parse_interval/tsconfig.json index e1bbb08bab509..4eae15a6d2a24 100644 --- a/x-pack/packages/ml/parse_interval/tsconfig.json +++ b/x-pack/platform/packages/private/ml/parse_interval/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/query_utils/README.md b/x-pack/platform/packages/private/ml/query_utils/README.md similarity index 100% rename from x-pack/packages/ml/query_utils/README.md rename to x-pack/platform/packages/private/ml/query_utils/README.md diff --git a/x-pack/packages/ml/query_utils/index.ts b/x-pack/platform/packages/private/ml/query_utils/index.ts similarity index 100% rename from x-pack/packages/ml/query_utils/index.ts rename to x-pack/platform/packages/private/ml/query_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/query_utils/jest.config.js b/x-pack/platform/packages/private/ml/query_utils/jest.config.js new file mode 100644 index 0000000000000..e3ff59ad969d7 --- /dev/null +++ b/x-pack/platform/packages/private/ml/query_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/query_utils'], +}; diff --git a/x-pack/packages/ml/query_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/query_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/query_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/query_utils/kibana.jsonc diff --git a/x-pack/packages/ml/query_utils/package.json b/x-pack/platform/packages/private/ml/query_utils/package.json similarity index 100% rename from x-pack/packages/ml/query_utils/package.json rename to x-pack/platform/packages/private/ml/query_utils/package.json diff --git a/x-pack/packages/ml/query_utils/src/__mocks__/simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/__mocks__/simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/__mocks__/simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/__mocks__/simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/add_exclude_frozen_to_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/add_exclude_frozen_to_query.ts diff --git a/x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/bool_filter_based_simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/bool_filter_based_simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/build_base_filter_criteria.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/build_base_filter_criteria.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.test.ts diff --git a/x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts b/x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/build_base_filter_criteria.ts rename to x-pack/platform/packages/private/ml/query_utils/src/build_base_filter_criteria.ts diff --git a/x-pack/packages/ml/query_utils/src/default_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/default_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/default_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/default_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/default_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/default_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/default_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/default_query.ts diff --git a/x-pack/packages/ml/query_utils/src/es_client_total_hits_relation.ts b/x-pack/platform/packages/private/ml/query_utils/src/es_client_total_hits_relation.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/es_client_total_hits_relation.ts rename to x-pack/platform/packages/private/ml/query_utils/src/es_client_total_hits_relation.ts diff --git a/x-pack/packages/ml/query_utils/src/filter_based_default_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/filter_based_default_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/filter_based_default_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/filter_based_default_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/filter_based_default_query.ts diff --git a/x-pack/packages/ml/query_utils/src/get_default_dsl_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_default_dsl_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_default_dsl_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_default_dsl_query.ts diff --git a/x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.test.ts diff --git a/x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts b/x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/get_safe_aggregation_name.ts rename to x-pack/platform/packages/private/ml/query_utils/src/get_safe_aggregation_name.ts diff --git a/x-pack/packages/ml/query_utils/src/match_all_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/match_all_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/match_all_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/match_all_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/match_all_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/match_all_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/match_all_query.ts diff --git a/x-pack/packages/ml/query_utils/src/simple_query.test.ts b/x-pack/platform/packages/private/ml/query_utils/src/simple_query.test.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/simple_query.test.ts rename to x-pack/platform/packages/private/ml/query_utils/src/simple_query.test.ts diff --git a/x-pack/packages/ml/query_utils/src/simple_query.ts b/x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/simple_query.ts rename to x-pack/platform/packages/private/ml/query_utils/src/simple_query.ts diff --git a/x-pack/packages/ml/query_utils/src/types.ts b/x-pack/platform/packages/private/ml/query_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/query_utils/src/types.ts rename to x-pack/platform/packages/private/ml/query_utils/src/types.ts diff --git a/x-pack/packages/ml/query_utils/tsconfig.json b/x-pack/platform/packages/private/ml/query_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/query_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/query_utils/tsconfig.json index acdb082c874b7..fc68fe24642a3 100644 --- a/x-pack/packages/ml/query_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/query_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/route_utils/README.md b/x-pack/platform/packages/private/ml/route_utils/README.md similarity index 100% rename from x-pack/packages/ml/route_utils/README.md rename to x-pack/platform/packages/private/ml/route_utils/README.md diff --git a/x-pack/packages/ml/route_utils/index.ts b/x-pack/platform/packages/private/ml/route_utils/index.ts similarity index 100% rename from x-pack/packages/ml/route_utils/index.ts rename to x-pack/platform/packages/private/ml/route_utils/index.ts diff --git a/x-pack/platform/packages/private/ml/route_utils/jest.config.js b/x-pack/platform/packages/private/ml/route_utils/jest.config.js new file mode 100644 index 0000000000000..11409dc629a0a --- /dev/null +++ b/x-pack/platform/packages/private/ml/route_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/route_utils'], +}; diff --git a/x-pack/packages/ml/route_utils/kibana.jsonc b/x-pack/platform/packages/private/ml/route_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/route_utils/kibana.jsonc rename to x-pack/platform/packages/private/ml/route_utils/kibana.jsonc diff --git a/x-pack/packages/ml/route_utils/package.json b/x-pack/platform/packages/private/ml/route_utils/package.json similarity index 100% rename from x-pack/packages/ml/route_utils/package.json rename to x-pack/platform/packages/private/ml/route_utils/package.json diff --git a/x-pack/packages/ml/route_utils/src/create_execution_context.test.ts b/x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.test.ts similarity index 100% rename from x-pack/packages/ml/route_utils/src/create_execution_context.test.ts rename to x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.test.ts diff --git a/x-pack/packages/ml/route_utils/src/create_execution_context.ts b/x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts similarity index 100% rename from x-pack/packages/ml/route_utils/src/create_execution_context.ts rename to x-pack/platform/packages/private/ml/route_utils/src/create_execution_context.ts diff --git a/x-pack/packages/ml/route_utils/tsconfig.json b/x-pack/platform/packages/private/ml/route_utils/tsconfig.json similarity index 84% rename from x-pack/packages/ml/route_utils/tsconfig.json rename to x-pack/platform/packages/private/ml/route_utils/tsconfig.json index d7a348f37f8e8..b346b9a234a51 100644 --- a/x-pack/packages/ml/route_utils/tsconfig.json +++ b/x-pack/platform/packages/private/ml/route_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/string_hash/README.md b/x-pack/platform/packages/private/ml/string_hash/README.md similarity index 100% rename from x-pack/packages/ml/string_hash/README.md rename to x-pack/platform/packages/private/ml/string_hash/README.md diff --git a/x-pack/packages/ml/string_hash/index.ts b/x-pack/platform/packages/private/ml/string_hash/index.ts similarity index 100% rename from x-pack/packages/ml/string_hash/index.ts rename to x-pack/platform/packages/private/ml/string_hash/index.ts diff --git a/x-pack/packages/ml/is_populated_object/jest.config.js b/x-pack/platform/packages/private/ml/string_hash/jest.config.js similarity index 74% rename from x-pack/packages/ml/is_populated_object/jest.config.js rename to x-pack/platform/packages/private/ml/string_hash/jest.config.js index 8ce420d82a0a4..c15c13d767054 100644 --- a/x-pack/packages/ml/is_populated_object/jest.config.js +++ b/x-pack/platform/packages/private/ml/string_hash/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/is_populated_object'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/string_hash'], }; diff --git a/x-pack/packages/ml/string_hash/kibana.jsonc b/x-pack/platform/packages/private/ml/string_hash/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/string_hash/kibana.jsonc rename to x-pack/platform/packages/private/ml/string_hash/kibana.jsonc diff --git a/x-pack/packages/ml/string_hash/package.json b/x-pack/platform/packages/private/ml/string_hash/package.json similarity index 100% rename from x-pack/packages/ml/string_hash/package.json rename to x-pack/platform/packages/private/ml/string_hash/package.json diff --git a/x-pack/packages/ml/string_hash/src/string_hash.test.ts b/x-pack/platform/packages/private/ml/string_hash/src/string_hash.test.ts similarity index 100% rename from x-pack/packages/ml/string_hash/src/string_hash.test.ts rename to x-pack/platform/packages/private/ml/string_hash/src/string_hash.test.ts diff --git a/x-pack/packages/ml/string_hash/src/string_hash.ts b/x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts similarity index 100% rename from x-pack/packages/ml/string_hash/src/string_hash.ts rename to x-pack/platform/packages/private/ml/string_hash/src/string_hash.ts diff --git a/x-pack/packages/ml/string_hash/tsconfig.json b/x-pack/platform/packages/private/ml/string_hash/tsconfig.json similarity index 79% rename from x-pack/packages/ml/string_hash/tsconfig.json rename to x-pack/platform/packages/private/ml/string_hash/tsconfig.json index 0036df9dd1a20..4306fab3f0afd 100644 --- a/x-pack/packages/ml/string_hash/tsconfig.json +++ b/x-pack/platform/packages/private/ml/string_hash/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/time_buckets/README.md b/x-pack/platform/packages/private/ml/time_buckets/README.md similarity index 100% rename from x-pack/packages/ml/time_buckets/README.md rename to x-pack/platform/packages/private/ml/time_buckets/README.md diff --git a/x-pack/packages/ml/time_buckets/calc_auto_interval.js b/x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.js similarity index 100% rename from x-pack/packages/ml/time_buckets/calc_auto_interval.js rename to x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.js diff --git a/x-pack/packages/ml/time_buckets/calc_auto_interval.test.js b/x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.test.js similarity index 100% rename from x-pack/packages/ml/time_buckets/calc_auto_interval.test.js rename to x-pack/platform/packages/private/ml/time_buckets/calc_auto_interval.test.js diff --git a/x-pack/packages/ml/time_buckets/index.ts b/x-pack/platform/packages/private/ml/time_buckets/index.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/index.ts rename to x-pack/platform/packages/private/ml/time_buckets/index.ts diff --git a/x-pack/platform/packages/private/ml/time_buckets/jest.config.js b/x-pack/platform/packages/private/ml/time_buckets/jest.config.js new file mode 100644 index 0000000000000..108e234fc66e4 --- /dev/null +++ b/x-pack/platform/packages/private/ml/time_buckets/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/time_buckets'], +}; diff --git a/x-pack/packages/ml/time_buckets/kibana.jsonc b/x-pack/platform/packages/private/ml/time_buckets/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/time_buckets/kibana.jsonc rename to x-pack/platform/packages/private/ml/time_buckets/kibana.jsonc diff --git a/x-pack/packages/ml/time_buckets/package.json b/x-pack/platform/packages/private/ml/time_buckets/package.json similarity index 100% rename from x-pack/packages/ml/time_buckets/package.json rename to x-pack/platform/packages/private/ml/time_buckets/package.json diff --git a/x-pack/packages/ml/time_buckets/parse_interval.ts b/x-pack/platform/packages/private/ml/time_buckets/parse_interval.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/parse_interval.ts rename to x-pack/platform/packages/private/ml/time_buckets/parse_interval.ts diff --git a/x-pack/packages/ml/time_buckets/time_buckets.d.ts b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.d.ts rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.d.ts diff --git a/x-pack/packages/ml/time_buckets/time_buckets.js b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.js similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.js rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.js diff --git a/x-pack/packages/ml/time_buckets/time_buckets.test.js b/x-pack/platform/packages/private/ml/time_buckets/time_buckets.test.js similarity index 100% rename from x-pack/packages/ml/time_buckets/time_buckets.test.js rename to x-pack/platform/packages/private/ml/time_buckets/time_buckets.test.js diff --git a/x-pack/packages/ml/time_buckets/tsconfig.json b/x-pack/platform/packages/private/ml/time_buckets/tsconfig.json similarity index 85% rename from x-pack/packages/ml/time_buckets/tsconfig.json rename to x-pack/platform/packages/private/ml/time_buckets/tsconfig.json index 234950c8bbb52..472be1a7a547e 100644 --- a/x-pack/packages/ml/time_buckets/tsconfig.json +++ b/x-pack/platform/packages/private/ml/time_buckets/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/time_buckets/use_time_buckets.ts b/x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts similarity index 100% rename from x-pack/packages/ml/time_buckets/use_time_buckets.ts rename to x-pack/platform/packages/private/ml/time_buckets/use_time_buckets.ts diff --git a/x-pack/packages/ml/ui_actions/README.md b/x-pack/platform/packages/private/ml/ui_actions/README.md similarity index 100% rename from x-pack/packages/ml/ui_actions/README.md rename to x-pack/platform/packages/private/ml/ui_actions/README.md diff --git a/x-pack/packages/ml/ui_actions/index.ts b/x-pack/platform/packages/private/ml/ui_actions/index.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/index.ts rename to x-pack/platform/packages/private/ml/ui_actions/index.ts diff --git a/x-pack/packages/ml/agg_utils/jest.config.js b/x-pack/platform/packages/private/ml/ui_actions/jest.config.js similarity index 75% rename from x-pack/packages/ml/agg_utils/jest.config.js rename to x-pack/platform/packages/private/ml/ui_actions/jest.config.js index a22a76d5bf951..b6660b8915a6c 100644 --- a/x-pack/packages/ml/agg_utils/jest.config.js +++ b/x-pack/platform/packages/private/ml/ui_actions/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/agg_utils'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/ui_actions'], }; diff --git a/x-pack/packages/ml/ui_actions/kibana.jsonc b/x-pack/platform/packages/private/ml/ui_actions/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/ui_actions/kibana.jsonc rename to x-pack/platform/packages/private/ml/ui_actions/kibana.jsonc diff --git a/x-pack/packages/ml/ui_actions/package.json b/x-pack/platform/packages/private/ml/ui_actions/package.json similarity index 100% rename from x-pack/packages/ml/ui_actions/package.json rename to x-pack/platform/packages/private/ml/ui_actions/package.json diff --git a/x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts b/x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/src/aiops/ui_actions.ts rename to x-pack/platform/packages/private/ml/ui_actions/src/aiops/ui_actions.ts diff --git a/x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts b/x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts similarity index 100% rename from x-pack/packages/ml/ui_actions/src/ml/ui_actions.ts rename to x-pack/platform/packages/private/ml/ui_actions/src/ml/ui_actions.ts diff --git a/x-pack/packages/ml/ui_actions/tsconfig.json b/x-pack/platform/packages/private/ml/ui_actions/tsconfig.json similarity index 85% rename from x-pack/packages/ml/ui_actions/tsconfig.json rename to x-pack/platform/packages/private/ml/ui_actions/tsconfig.json index ca3f66082b5c9..05e1553704748 100644 --- a/x-pack/packages/ml/ui_actions/tsconfig.json +++ b/x-pack/platform/packages/private/ml/ui_actions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/url_state/README.md b/x-pack/platform/packages/private/ml/url_state/README.md similarity index 100% rename from x-pack/packages/ml/url_state/README.md rename to x-pack/platform/packages/private/ml/url_state/README.md diff --git a/x-pack/packages/ml/url_state/index.ts b/x-pack/platform/packages/private/ml/url_state/index.ts similarity index 100% rename from x-pack/packages/ml/url_state/index.ts rename to x-pack/platform/packages/private/ml/url_state/index.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js b/x-pack/platform/packages/private/ml/url_state/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js rename to x-pack/platform/packages/private/ml/url_state/jest.config.js index bce4baf78402d..afe5a25fa0a04 100644 --- a/x-pack/packages/ml/aiops_log_rate_analysis/jest.config.js +++ b/x-pack/platform/packages/private/ml/url_state/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_log_rate_analysis'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/url_state'], }; diff --git a/x-pack/packages/ml/url_state/kibana.jsonc b/x-pack/platform/packages/private/ml/url_state/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/url_state/kibana.jsonc rename to x-pack/platform/packages/private/ml/url_state/kibana.jsonc diff --git a/x-pack/packages/ml/url_state/package.json b/x-pack/platform/packages/private/ml/url_state/package.json similarity index 100% rename from x-pack/packages/ml/url_state/package.json rename to x-pack/platform/packages/private/ml/url_state/package.json diff --git a/x-pack/packages/ml/url_state/src/url_state.test.tsx b/x-pack/platform/packages/private/ml/url_state/src/url_state.test.tsx similarity index 100% rename from x-pack/packages/ml/url_state/src/url_state.test.tsx rename to x-pack/platform/packages/private/ml/url_state/src/url_state.test.tsx diff --git a/x-pack/packages/ml/url_state/src/url_state.tsx b/x-pack/platform/packages/private/ml/url_state/src/url_state.tsx similarity index 100% rename from x-pack/packages/ml/url_state/src/url_state.tsx rename to x-pack/platform/packages/private/ml/url_state/src/url_state.tsx diff --git a/x-pack/packages/ml/url_state/tsconfig.json b/x-pack/platform/packages/private/ml/url_state/tsconfig.json similarity index 85% rename from x-pack/packages/ml/url_state/tsconfig.json rename to x-pack/platform/packages/private/ml/url_state/tsconfig.json index a28af8027f17d..192c3142fce78 100644 --- a/x-pack/packages/ml/url_state/tsconfig.json +++ b/x-pack/platform/packages/private/ml/url_state/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/validators/README.md b/x-pack/platform/packages/private/ml/validators/README.md similarity index 100% rename from x-pack/packages/ml/validators/README.md rename to x-pack/platform/packages/private/ml/validators/README.md diff --git a/x-pack/packages/ml/validators/constants.ts b/x-pack/platform/packages/private/ml/validators/constants.ts similarity index 100% rename from x-pack/packages/ml/validators/constants.ts rename to x-pack/platform/packages/private/ml/validators/constants.ts diff --git a/x-pack/packages/ml/validators/index.ts b/x-pack/platform/packages/private/ml/validators/index.ts similarity index 100% rename from x-pack/packages/ml/validators/index.ts rename to x-pack/platform/packages/private/ml/validators/index.ts diff --git a/x-pack/packages/ml/aiops_common/jest.config.js b/x-pack/platform/packages/private/ml/validators/jest.config.js similarity index 75% rename from x-pack/packages/ml/aiops_common/jest.config.js rename to x-pack/platform/packages/private/ml/validators/jest.config.js index 1eca070fa62c0..f155382a34a71 100644 --- a/x-pack/packages/ml/aiops_common/jest.config.js +++ b/x-pack/platform/packages/private/ml/validators/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_common'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/ml/validators'], }; diff --git a/x-pack/packages/ml/validators/kibana.jsonc b/x-pack/platform/packages/private/ml/validators/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/validators/kibana.jsonc rename to x-pack/platform/packages/private/ml/validators/kibana.jsonc diff --git a/x-pack/packages/ml/validators/package.json b/x-pack/platform/packages/private/ml/validators/package.json similarity index 100% rename from x-pack/packages/ml/validators/package.json rename to x-pack/platform/packages/private/ml/validators/package.json diff --git a/x-pack/packages/ml/validators/tsconfig.json b/x-pack/platform/packages/private/ml/validators/tsconfig.json similarity index 81% rename from x-pack/packages/ml/validators/tsconfig.json rename to x-pack/platform/packages/private/ml/validators/tsconfig.json index ca25f09b5cd50..1ce538a580178 100644 --- a/x-pack/packages/ml/validators/tsconfig.json +++ b/x-pack/platform/packages/private/ml/validators/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/validators/validators.test.ts b/x-pack/platform/packages/private/ml/validators/validators.test.ts similarity index 100% rename from x-pack/packages/ml/validators/validators.test.ts rename to x-pack/platform/packages/private/ml/validators/validators.test.ts diff --git a/x-pack/packages/ml/validators/validators.ts b/x-pack/platform/packages/private/ml/validators/validators.ts similarity index 100% rename from x-pack/packages/ml/validators/validators.ts rename to x-pack/platform/packages/private/ml/validators/validators.ts diff --git a/x-pack/packages/ml/aiops_common/README.md b/x-pack/platform/packages/shared/ml/aiops_common/README.md similarity index 100% rename from x-pack/packages/ml/aiops_common/README.md rename to x-pack/platform/packages/shared/ml/aiops_common/README.md diff --git a/x-pack/packages/ml/aiops_common/constants.ts b/x-pack/platform/packages/shared/ml/aiops_common/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_common/constants.ts diff --git a/x-pack/packages/ml/aiops_common/create_default_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_common/create_default_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/create_default_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_common/create_default_query.test.ts diff --git a/x-pack/packages/ml/aiops_common/create_default_query.ts b/x-pack/platform/packages/shared/ml/aiops_common/create_default_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/create_default_query.ts rename to x-pack/platform/packages/shared/ml/aiops_common/create_default_query.ts diff --git a/x-pack/packages/ml/aiops_common/is_request_aborted_error.test.ts b/x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/is_request_aborted_error.test.ts rename to x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.test.ts diff --git a/x-pack/packages/ml/aiops_common/is_request_aborted_error.ts b/x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.ts similarity index 100% rename from x-pack/packages/ml/aiops_common/is_request_aborted_error.ts rename to x-pack/platform/packages/shared/ml/aiops_common/is_request_aborted_error.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_common/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_common/jest.config.js new file mode 100644 index 0000000000000..c1952478b1274 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_common/jest.config.js @@ -0,0 +1,12 @@ +/* + * 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/jest_node', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/aiops_common'], +}; diff --git a/x-pack/packages/ml/aiops_common/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_common/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_common/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_common/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_common/package.json b/x-pack/platform/packages/shared/ml/aiops_common/package.json similarity index 100% rename from x-pack/packages/ml/aiops_common/package.json rename to x-pack/platform/packages/shared/ml/aiops_common/package.json diff --git a/x-pack/packages/ml/aiops_common/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json similarity index 85% rename from x-pack/packages/ml/aiops_common/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json index ffd8c074a421d..e63b96b4623f4 100644 --- a/x-pack/packages/ml/aiops_common/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/README.md b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/README.md similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/README.md rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/README.md diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/constants.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/constants.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/create_category_request.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/create_category_request.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/create_category_request.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/create_category_request.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/embeddable.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/embeddable.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/embeddable.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/embeddable.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/get_category_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/get_category_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/get_category_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/get_category_query.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/index.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js new file mode 100644 index 0000000000000..4d2e1c2444130 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis'], +}; diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/package.json b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/package.json similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/package.json rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/package.json diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/process_category_results.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/process_category_results.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/process_category_results.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/process_category_results.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/schema.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/schema.ts diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json similarity index 89% rename from x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json index fe2542b34c5e9..8f12c49ce6d4e 100644 --- a/x-pack/packages/ml/aiops_log_pattern_analysis/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/aiops_log_pattern_analysis/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_pattern_analysis/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/README.md b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/README.md similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/README.md rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/README.md diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/__mocks__/date_histogram.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v2.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v2.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v2.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v2.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v3.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v3.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/schema_v3.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/schema_v3.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/api/stream_reducer.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/api/stream_reducer.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/constants.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/constants.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/constants.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/constants.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/ecs_fields.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/ecs_fields.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_baseline_and_deviation_rates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_extended_change_point.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_extended_change_point.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_parameters_from_alert.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_analysis_type_for_histogram.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_log_rate_change.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_log_rate_change.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_timestamps.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_snapped_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_swapped_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/get_window_parameters_for_trigger.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/index.ts diff --git a/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js new file mode 100644 index 0000000000000..c15f190870304 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis'], +}; diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/kibana.jsonc b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/kibana.jsonc rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/kibana.jsonc diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_analysis_type.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/log_rate_histogram_item.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/package.json b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/package.json similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/package.json rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/package.json diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_ecommerce.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_large_arrays.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/field_caps_pgbench.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_match_all.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/params_search_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/search_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_result.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_categories_search_response.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_result.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/__mocks__/top_terms_search_response.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/duplicate_identifier.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_category_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_field_candidates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_frequent_item_sets.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_log_rate_analysis_for_alert.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_groups.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_mini_histograms_for_significant_items.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_terms_2_categories_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_categories.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_field_value_pair_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_group_filter.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_group_filter.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_groups_with_readded_duplicates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_histogram_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_marked_duplicates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_missing_significant_items.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_normalized_score.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_query_with_params.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_range_query.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_range_query.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_request_base.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_request_base.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_request_base.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_request_base.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_simple_hierarchical_tree_leaves.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_total_doc_count_request.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_value_counts.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_value_counts.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/get_values_descending.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_values_descending.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/mini_histogram_utils.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/transform_significant_item_to_group.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/queue_field_candidates.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queue_field_candidates.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/queue_field_candidates.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queue_field_candidates.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/hooks.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/hooks.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/hooks.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/hooks.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/index.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/index.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/index.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/index.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_field_candidates_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.test.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/log_rate_analysis_table_slice.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/store.tsx b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/store.tsx similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/store.tsx rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/store.tsx diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_group.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/state/use_current_selected_significant_item.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json similarity index 92% rename from x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json index 66b978764464e..bcdea10e7609e 100644 --- a/x-pack/packages/ml/aiops_log_rate_analysis/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/types.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/types.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/types.ts diff --git a/x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts b/x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts similarity index 100% rename from x-pack/packages/ml/aiops_log_rate_analysis/window_parameters.ts rename to x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/window_parameters.ts diff --git a/x-pack/packages/ml/anomaly_utils/README.md b/x-pack/platform/packages/shared/ml/anomaly_utils/README.md similarity index 100% rename from x-pack/packages/ml/anomaly_utils/README.md rename to x-pack/platform/packages/shared/ml/anomaly_utils/README.md diff --git a/x-pack/packages/ml/anomaly_utils/aggregation_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/aggregation_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/aggregation_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_severity.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_severity.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_severity_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_severity_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_severity_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_threshold.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_threshold.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_threshold.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_threshold.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_utils.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_utils.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/anomaly_utils.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/anomaly_utils.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/anomaly_utils.ts diff --git a/x-pack/packages/ml/anomaly_utils/constants.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/constants.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/constants.ts diff --git a/x-pack/packages/ml/anomaly_utils/custom_urls.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/custom_urls.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/custom_urls.ts diff --git a/x-pack/packages/ml/anomaly_utils/detector_rule.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/detector_rule.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/detector_rule.ts diff --git a/x-pack/packages/ml/anomaly_utils/es_client.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/es_client.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/es_client.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/es_client.ts diff --git a/x-pack/packages/ml/anomaly_utils/field_types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/field_types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/field_types.ts diff --git a/x-pack/packages/ml/anomaly_utils/fields.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/fields.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/fields.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_formatted_severity_score.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_formatted_severity_score.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_color.test.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.test.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_color.test.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.test.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_color.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_color.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_color.ts diff --git a/x-pack/packages/ml/anomaly_utils/get_severity_type.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/get_severity_type.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/get_severity_type.ts diff --git a/x-pack/packages/ml/anomaly_utils/index.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/index.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/index.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js b/x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js new file mode 100644 index 0000000000000..6204a955cb060 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/anomaly_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/anomaly_utils'], +}; diff --git a/x-pack/packages/ml/anomaly_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/anomaly_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/anomaly_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/anomaly_utils/kibana.jsonc diff --git a/x-pack/packages/ml/anomaly_utils/package.json b/x-pack/platform/packages/shared/ml/anomaly_utils/package.json similarity index 100% rename from x-pack/packages/ml/anomaly_utils/package.json rename to x-pack/platform/packages/shared/ml/anomaly_utils/package.json diff --git a/x-pack/packages/ml/anomaly_utils/severity_colors.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/severity_colors.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/severity_colors.ts diff --git a/x-pack/packages/ml/anomaly_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json similarity index 85% rename from x-pack/packages/ml/anomaly_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json index f9061f738b271..4c41d973c4a59 100644 --- a/x-pack/packages/ml/anomaly_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/anomaly_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/anomaly_utils/types.ts b/x-pack/platform/packages/shared/ml/anomaly_utils/types.ts similarity index 100% rename from x-pack/packages/ml/anomaly_utils/types.ts rename to x-pack/platform/packages/shared/ml/anomaly_utils/types.ts diff --git a/x-pack/packages/ml/chi2test/README.md b/x-pack/platform/packages/shared/ml/chi2test/README.md similarity index 100% rename from x-pack/packages/ml/chi2test/README.md rename to x-pack/platform/packages/shared/ml/chi2test/README.md diff --git a/x-pack/packages/ml/chi2test/compute_chi_2_pvalue.test.ts b/x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.test.ts similarity index 100% rename from x-pack/packages/ml/chi2test/compute_chi_2_pvalue.test.ts rename to x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.test.ts diff --git a/x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts b/x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts similarity index 100% rename from x-pack/packages/ml/chi2test/compute_chi_2_pvalue.ts rename to x-pack/platform/packages/shared/ml/chi2test/compute_chi_2_pvalue.ts diff --git a/x-pack/packages/ml/chi2test/constants.ts b/x-pack/platform/packages/shared/ml/chi2test/constants.ts similarity index 100% rename from x-pack/packages/ml/chi2test/constants.ts rename to x-pack/platform/packages/shared/ml/chi2test/constants.ts diff --git a/x-pack/packages/ml/chi2test/critical_table_lookup.ts b/x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts similarity index 100% rename from x-pack/packages/ml/chi2test/critical_table_lookup.ts rename to x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts diff --git a/x-pack/packages/ml/chi2test/index.ts b/x-pack/platform/packages/shared/ml/chi2test/index.ts similarity index 100% rename from x-pack/packages/ml/chi2test/index.ts rename to x-pack/platform/packages/shared/ml/chi2test/index.ts diff --git a/x-pack/packages/ml/aiops_components/jest.config.js b/x-pack/platform/packages/shared/ml/chi2test/jest.config.js similarity index 74% rename from x-pack/packages/ml/aiops_components/jest.config.js rename to x-pack/platform/packages/shared/ml/chi2test/jest.config.js index cadc9733723e9..692eb59a37d92 100644 --- a/x-pack/packages/ml/aiops_components/jest.config.js +++ b/x-pack/platform/packages/shared/ml/chi2test/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/ml/aiops_components'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/chi2test'], }; diff --git a/x-pack/packages/ml/chi2test/kibana.jsonc b/x-pack/platform/packages/shared/ml/chi2test/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/chi2test/kibana.jsonc rename to x-pack/platform/packages/shared/ml/chi2test/kibana.jsonc diff --git a/x-pack/packages/ml/chi2test/package.json b/x-pack/platform/packages/shared/ml/chi2test/package.json similarity index 100% rename from x-pack/packages/ml/chi2test/package.json rename to x-pack/platform/packages/shared/ml/chi2test/package.json diff --git a/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json b/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json new file mode 100644 index 0000000000000..18d16ae2e8837 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/chi2test/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [] +} diff --git a/x-pack/packages/ml/chi2test/types.ts b/x-pack/platform/packages/shared/ml/chi2test/types.ts similarity index 100% rename from x-pack/packages/ml/chi2test/types.ts rename to x-pack/platform/packages/shared/ml/chi2test/types.ts diff --git a/x-pack/packages/ml/error_utils/README.md b/x-pack/platform/packages/shared/ml/error_utils/README.md similarity index 100% rename from x-pack/packages/ml/error_utils/README.md rename to x-pack/platform/packages/shared/ml/error_utils/README.md diff --git a/x-pack/packages/ml/error_utils/index.ts b/x-pack/platform/packages/shared/ml/error_utils/index.ts similarity index 100% rename from x-pack/packages/ml/error_utils/index.ts rename to x-pack/platform/packages/shared/ml/error_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/error_utils/jest.config.js b/x-pack/platform/packages/shared/ml/error_utils/jest.config.js new file mode 100644 index 0000000000000..be835d2f3d7a4 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/error_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/error_utils'], +}; diff --git a/x-pack/packages/ml/error_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/error_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/error_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/error_utils/kibana.jsonc diff --git a/x-pack/packages/ml/error_utils/package.json b/x-pack/platform/packages/shared/ml/error_utils/package.json similarity index 100% rename from x-pack/packages/ml/error_utils/package.json rename to x-pack/platform/packages/shared/ml/error_utils/package.json diff --git a/x-pack/packages/ml/error_utils/src/process_errors.test.ts b/x-pack/platform/packages/shared/ml/error_utils/src/process_errors.test.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/process_errors.test.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/process_errors.test.ts diff --git a/x-pack/packages/ml/error_utils/src/process_errors.ts b/x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/process_errors.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/process_errors.ts diff --git a/x-pack/packages/ml/error_utils/src/request_error.ts b/x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/request_error.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/request_error.ts diff --git a/x-pack/packages/ml/error_utils/src/types.ts b/x-pack/platform/packages/shared/ml/error_utils/src/types.ts similarity index 100% rename from x-pack/packages/ml/error_utils/src/types.ts rename to x-pack/platform/packages/shared/ml/error_utils/src/types.ts diff --git a/x-pack/packages/ml/error_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/error_utils/tsconfig.json similarity index 85% rename from x-pack/packages/ml/error_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/error_utils/tsconfig.json index de1c550b0e1ab..e05daa74fa6fb 100644 --- a/x-pack/packages/ml/error_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/error_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/random_sampler_utils/README.md b/x-pack/platform/packages/shared/ml/random_sampler_utils/README.md similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/README.md rename to x-pack/platform/packages/shared/ml/random_sampler_utils/README.md diff --git a/x-pack/packages/ml/random_sampler_utils/index.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/index.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/index.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js b/x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js new file mode 100644 index 0000000000000..55823df5b4b51 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/random_sampler_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/random_sampler_utils'], +}; diff --git a/x-pack/packages/ml/random_sampler_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/random_sampler_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/random_sampler_utils/kibana.jsonc diff --git a/x-pack/packages/ml/random_sampler_utils/package.json b/x-pack/platform/packages/shared/ml/random_sampler_utils/package.json similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/package.json rename to x-pack/platform/packages/shared/ml/random_sampler_utils/package.json diff --git a/x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.test.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.test.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.test.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.test.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/get_sample_probability.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/get_sample_probability.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_manager.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_manager.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.test.ts diff --git a/x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts b/x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts similarity index 100% rename from x-pack/packages/ml/random_sampler_utils/src/random_sampler_wrapper.ts rename to x-pack/platform/packages/shared/ml/random_sampler_utils/src/random_sampler_wrapper.ts diff --git a/x-pack/packages/ml/random_sampler_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json similarity index 83% rename from x-pack/packages/ml/random_sampler_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json index 1db807def57b8..a42476e85ebb2 100644 --- a/x-pack/packages/ml/random_sampler_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/random_sampler_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/response_stream/README.md b/x-pack/platform/packages/shared/ml/response_stream/README.md similarity index 100% rename from x-pack/packages/ml/response_stream/README.md rename to x-pack/platform/packages/shared/ml/response_stream/README.md diff --git a/x-pack/packages/ml/response_stream/client/constants.ts b/x-pack/platform/packages/shared/ml/response_stream/client/constants.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/constants.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/constants.ts diff --git a/x-pack/packages/ml/response_stream/client/fetch_stream.ts b/x-pack/platform/packages/shared/ml/response_stream/client/fetch_stream.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/fetch_stream.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/fetch_stream.ts diff --git a/x-pack/packages/ml/response_stream/client/index.ts b/x-pack/platform/packages/shared/ml/response_stream/client/index.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/index.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/index.ts diff --git a/x-pack/packages/ml/response_stream/client/stream_slice.ts b/x-pack/platform/packages/shared/ml/response_stream/client/stream_slice.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/stream_slice.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/stream_slice.ts diff --git a/x-pack/packages/ml/response_stream/client/string_reducer.ts b/x-pack/platform/packages/shared/ml/response_stream/client/string_reducer.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/string_reducer.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/string_reducer.ts diff --git a/x-pack/packages/ml/response_stream/client/use_fetch_stream.ts b/x-pack/platform/packages/shared/ml/response_stream/client/use_fetch_stream.ts similarity index 100% rename from x-pack/packages/ml/response_stream/client/use_fetch_stream.ts rename to x-pack/platform/packages/shared/ml/response_stream/client/use_fetch_stream.ts diff --git a/x-pack/platform/packages/shared/ml/response_stream/jest.config.js b/x-pack/platform/packages/shared/ml/response_stream/jest.config.js new file mode 100644 index 0000000000000..2b4f1b4210289 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/response_stream/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/response_stream'], +}; diff --git a/x-pack/packages/ml/response_stream/kibana.jsonc b/x-pack/platform/packages/shared/ml/response_stream/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/response_stream/kibana.jsonc rename to x-pack/platform/packages/shared/ml/response_stream/kibana.jsonc diff --git a/x-pack/packages/ml/response_stream/package.json b/x-pack/platform/packages/shared/ml/response_stream/package.json similarity index 100% rename from x-pack/packages/ml/response_stream/package.json rename to x-pack/platform/packages/shared/ml/response_stream/package.json diff --git a/x-pack/packages/ml/response_stream/server/accept_compression.test.ts b/x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.test.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/accept_compression.test.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.test.ts diff --git a/x-pack/packages/ml/response_stream/server/accept_compression.ts b/x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/accept_compression.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/accept_compression.ts diff --git a/x-pack/packages/ml/response_stream/server/index.ts b/x-pack/platform/packages/shared/ml/response_stream/server/index.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/index.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/index.ts diff --git a/x-pack/packages/ml/response_stream/server/stream_factory.test.ts b/x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.test.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/stream_factory.test.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.test.ts diff --git a/x-pack/packages/ml/response_stream/server/stream_factory.ts b/x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.ts similarity index 100% rename from x-pack/packages/ml/response_stream/server/stream_factory.ts rename to x-pack/platform/packages/shared/ml/response_stream/server/stream_factory.ts diff --git a/x-pack/packages/ml/response_stream/tsconfig.json b/x-pack/platform/packages/shared/ml/response_stream/tsconfig.json similarity index 86% rename from x-pack/packages/ml/response_stream/tsconfig.json rename to x-pack/platform/packages/shared/ml/response_stream/tsconfig.json index acbfc0bbe5455..160736fa6451e 100644 --- a/x-pack/packages/ml/response_stream/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/response_stream/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/runtime_field_utils/README.md b/x-pack/platform/packages/shared/ml/runtime_field_utils/README.md similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/README.md rename to x-pack/platform/packages/shared/ml/runtime_field_utils/README.md diff --git a/x-pack/packages/ml/runtime_field_utils/index.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/index.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/index.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js b/x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js new file mode 100644 index 0000000000000..924de5eabd357 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/runtime_field_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/runtime_field_utils'], +}; diff --git a/x-pack/packages/ml/runtime_field_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/runtime_field_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/runtime_field_utils/kibana.jsonc diff --git a/x-pack/packages/ml/runtime_field_utils/package.json b/x-pack/platform/packages/shared/ml/runtime_field_utils/package.json similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/package.json rename to x-pack/platform/packages/shared/ml/runtime_field_utils/package.json diff --git a/x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/get_combined_runtime_mappings.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.test.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.test.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.test.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.test.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_field.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_field.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.test.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.test.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.test.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.test.ts diff --git a/x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts b/x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts similarity index 100% rename from x-pack/packages/ml/runtime_field_utils/src/is_runtime_mappings.ts rename to x-pack/platform/packages/shared/ml/runtime_field_utils/src/is_runtime_mappings.ts diff --git a/x-pack/packages/ml/runtime_field_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json similarity index 86% rename from x-pack/packages/ml/runtime_field_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json index 0b7a8ffb474c7..3b3d08376caca 100644 --- a/x-pack/packages/ml/runtime_field_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/runtime_field_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/ml/trained_models_utils/README.md b/x-pack/platform/packages/shared/ml/trained_models_utils/README.md similarity index 100% rename from x-pack/packages/ml/trained_models_utils/README.md rename to x-pack/platform/packages/shared/ml/trained_models_utils/README.md diff --git a/x-pack/packages/ml/trained_models_utils/index.ts b/x-pack/platform/packages/shared/ml/trained_models_utils/index.ts similarity index 100% rename from x-pack/packages/ml/trained_models_utils/index.ts rename to x-pack/platform/packages/shared/ml/trained_models_utils/index.ts diff --git a/x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js b/x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js new file mode 100644 index 0000000000000..e2af99cc5e711 --- /dev/null +++ b/x-pack/platform/packages/shared/ml/trained_models_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/shared/ml/trained_models_utils'], +}; diff --git a/x-pack/packages/ml/trained_models_utils/kibana.jsonc b/x-pack/platform/packages/shared/ml/trained_models_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/ml/trained_models_utils/kibana.jsonc rename to x-pack/platform/packages/shared/ml/trained_models_utils/kibana.jsonc diff --git a/x-pack/packages/ml/trained_models_utils/package.json b/x-pack/platform/packages/shared/ml/trained_models_utils/package.json similarity index 100% rename from x-pack/packages/ml/trained_models_utils/package.json rename to x-pack/platform/packages/shared/ml/trained_models_utils/package.json diff --git a/x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts b/x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts similarity index 100% rename from x-pack/packages/ml/trained_models_utils/src/constants/trained_models.ts rename to x-pack/platform/packages/shared/ml/trained_models_utils/src/constants/trained_models.ts diff --git a/x-pack/packages/ml/creation_wizard_utils/tsconfig.json b/x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json similarity index 82% rename from x-pack/packages/ml/creation_wizard_utils/tsconfig.json rename to x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json index df10dcf5b4b50..b87274720351a 100644 --- a/x-pack/packages/ml/creation_wizard_utils/tsconfig.json +++ b/x-pack/platform/packages/shared/ml/trained_models_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/plugins/data_visualizer/README.md b/x-pack/platform/plugins/private/data_visualizer/README.md similarity index 100% rename from x-pack/plugins/data_visualizer/README.md rename to x-pack/platform/plugins/private/data_visualizer/README.md diff --git a/x-pack/plugins/data_visualizer/common/app.ts b/x-pack/platform/plugins/private/data_visualizer/common/app.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/app.ts rename to x-pack/platform/plugins/private/data_visualizer/common/app.ts diff --git a/x-pack/plugins/data_visualizer/common/constants.ts b/x-pack/platform/plugins/private/data_visualizer/common/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/common/constants.ts diff --git a/x-pack/plugins/data_visualizer/common/i18n_constants.ts b/x-pack/platform/plugins/private/data_visualizer/common/i18n_constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/i18n_constants.ts rename to x-pack/platform/plugins/private/data_visualizer/common/i18n_constants.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_request_config.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_request_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_request_config.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_request_config.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_stats.ts diff --git a/x-pack/plugins/data_visualizer/common/types/field_vis_config.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/field_vis_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/field_vis_config.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/field_vis_config.ts diff --git a/x-pack/plugins/data_visualizer/common/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/index.ts diff --git a/x-pack/plugins/data_visualizer/common/types/indices.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/indices.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/indices.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/indices.ts diff --git a/x-pack/plugins/data_visualizer/common/types/job_field_type.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/job_field_type.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/job_field_type.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/job_field_type.ts diff --git a/x-pack/plugins/data_visualizer/common/types/test_grok_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/test_grok_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/test_grok_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/test_grok_pattern.ts diff --git a/x-pack/plugins/data_visualizer/common/types/time_field_request.ts b/x-pack/platform/plugins/private/data_visualizer/common/types/time_field_request.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/types/time_field_request.ts rename to x-pack/platform/plugins/private/data_visualizer/common/types/time_field_request.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/build_query_filters.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/build_query_filters.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/build_query_filters.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/build_query_filters.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/datafeed_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/datafeed_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/datafeed_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/datafeed_utils.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/parse_interval.test.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.test.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/parse_interval.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/parse_interval.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/parse_interval.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/runtime_field_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/runtime_field_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/runtime_field_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/runtime_field_utils.ts diff --git a/x-pack/plugins/data_visualizer/common/utils/tika_utils.ts b/x-pack/platform/plugins/private/data_visualizer/common/utils/tika_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/common/utils/tika_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/common/utils/tika_utils.ts diff --git a/x-pack/platform/plugins/private/data_visualizer/jest.config.js b/x-pack/platform/plugins/private/data_visualizer/jest.config.js new file mode 100644 index 0000000000000..d60b36a4aa85c --- /dev/null +++ b/x-pack/platform/plugins/private/data_visualizer/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/data_visualizer'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/data_visualizer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/data_visualizer/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/data_visualizer/kibana.jsonc b/x-pack/platform/plugins/private/data_visualizer/kibana.jsonc similarity index 100% rename from x-pack/plugins/data_visualizer/kibana.jsonc rename to x-pack/platform/plugins/private/data_visualizer/kibana.jsonc diff --git a/x-pack/plugins/data_visualizer/public/api/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/api/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/api/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/api/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_field_label.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_form.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/combined_fields_read_only_form.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/geo_point.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/semantic_text.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/combined_fields/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/combined_fields/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/document_count_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/document_count_content.tsx diff --git a/x-pack/plugins/aiops/public/components/document_count_content/document_count_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/document_count_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/examples_list/examples_list.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/examples_list.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/examples_list/examples_list.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/examples_list.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/examples_list/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/examples_list/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/examples_list/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/file_based_expanded_row.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/geo_point_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/expanded_row/use_expanded_row_css.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/field_count_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_count_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_count_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_data_row/number_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/field_names_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_names_filter/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_names_filter/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_field_type_icon.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.test.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/field_type_icon.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_type_icon/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/field_types_help_popover.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/field_types_filter/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/field_types_filter/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/create_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/fields_stats_grid.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/filter_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/get_field_names.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/fields_stats_grid/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/fields_stats_grid/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/filebeat_config_flyout.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/filebeat_config_flyout/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/help_menu/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/help_menu/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/help_menu/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/link_card/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/link_card/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/link_card/link_card.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/link_card.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/link_card/link_card.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/link_card/link_card.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/loading_indicator/loading_indicator.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/multi_select_picker/multi_select_picker.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/probability_used.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampler_range_slider.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/random_sampling_menu/random_sampling_menu.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/results_links/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/results_links/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/results_links/results_links.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/results_links/results_links.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/expanded_row_field_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/expanded_row_field_header/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/metric_fields_count.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/styles.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_count_stats/total_fields_count.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/_number_content.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/boolean_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/choropleth_map.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/date_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/document_stats.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/error_message.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/expanded_row_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/ip_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/keyword_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/number_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/other_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_expanded_row/text_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/_index.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/boolean_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/column_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/distinct_values.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/document_stats.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/number_content_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/top_values_preview.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.test.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/field_data_row/use_column_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_data_builder.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/components/metric_distribution_chart/metric_distribution_chart_tooltip_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/color_range_legend.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_color_range.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/hooks/use_data_viz_chart_theme.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/types/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/use_table_settings.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/stats_table/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/_top_values.scss b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/_top_values.scss similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/_top_values.scss rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/_top_values.scss diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/top_values/top_values.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/format_value.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/format_value.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/format_value.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/format_value.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/kibana_field_format.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/kibana_field_format.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/kibana_field_format.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/kibana_field_format.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/number_as_ordinal.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/utils/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/components/utils/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/data_source_context.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/data_source_context.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/data_source_context.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/data_source_context.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_current_eui_theme.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_document_count_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_document_count_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_document_count_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_document_count_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/hooks/use_search.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_search.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/hooks/use_search.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/hooks/use_search.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/types/data_visualizer_plugin.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/types/data_visualizer_plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/types/data_visualizer_plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/types/data_visualizer_plugin.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/display_error.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/display_error.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/display_error.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/display_error.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/example_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/example_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/example_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/example_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/example_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/field_types_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/field_types_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_data_test_subject.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_data_test_subject.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_data_test_subject.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_data_test_subject.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_error_messages_from_es_shard_failures.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/get_max_bytes.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_max_bytes.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/get_max_bytes.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/get_max_bytes.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/grok_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/grok_pattern.ts diff --git a/x-pack/plugins/data_visualizer/public/application/common/util/promise_all_settled_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/common/util/promise_all_settled_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/util/promise_all_settled_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/common/util/promise_all_settled_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/data_drift_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/default_value_formatter.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/no_charts_data.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/overlap_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/charts/single_distribution_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_app_state.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_app_state.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_app_state.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_app_state.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_chart_tooltip_body.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_hint.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_hint.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_hint.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_hint.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_page.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_page.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_view.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/data_drift_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx similarity index 99% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx index 3a04783b41ebc..94de2d2f4390a 100644 --- a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/document_count_chart_singular.tsx @@ -38,7 +38,7 @@ import { } from './single_brush'; // TODO Consolidate with similar component `DocumentCountChartWithBrush` in -// x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx +// x-pack/packages/private/ml/aiops_components/src/document_count_chart/document_count_chart.tsx declare global { interface Window { diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx similarity index 99% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx index 4e0af369a8124..3f365ec74a32f 100644 --- a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_chart_single_brush/single_brush.tsx @@ -15,7 +15,7 @@ import * as d3Transition from 'd3-transition'; import { useEuiTheme } from '@elastic/eui'; // TODO Consolidate with similar component `DualBrush` in -// x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx +// x-pack/packages/private/ml/aiops_components/src/dual_brush/dual_brush.tsx const { brush, brushSelection, brushX } = d3Brush; const { scaleLinear } = d3Scale; diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/document_count_with_brush.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_with_brush.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/document_count_with_brush.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/document_count_with_brush.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/use_data_drift_result.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_data_drift_result.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/use_data_drift_result.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_data_drift_result.ts diff --git a/x-pack/plugins/data_visualizer/public/application/data_drift/use_state_manager.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_state_manager.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/data_drift/use_state_manager.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/use_state_manager.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/about_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/about_panel/welcome_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/analysis_summary.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/analysis_summary/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/axes.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/doc_count_search.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/event_rate_chart.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/doc_count_chart/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/edit_flyout.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/option_lists.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/options/options.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides.test.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/edit_flyout/overrides_validation.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/explanation_flyout.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/explanation_flyout/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/grok_highlighter.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/preview_pdf.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_contents/use_text_parser.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_data_visualizer_view.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_error_callouts.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/file_size_check.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/file_data_visualizer_view/tika_analyzer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/errors.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_errors/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/import_progress.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_progress/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/advanced.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/inputs.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/advanced/use_existing_indices.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/create_data_view_tooltip.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/import_settings.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/semantic_text_info.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_settings/simple.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/failures.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/import_summary.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_summary/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/import_view.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/index.js diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/json_editor/json_editor.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/file_data_visualizer/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/actions_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/data_view_management.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/data_view_management/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_esql.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/esql/limit_size.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_name_filter.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/field_type_filter.tsx diff --git a/x-pack/plugins/aiops/public/components/search_panel/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/search_panel/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_bar.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/esql_constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/field_stats_component_type.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/index_data_visualizer_viewer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/constants/random_sampler.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_esql_editor.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_factory.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/field_stats_initializer_view_type.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/initialize_field_stats_controls.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/resolve_field_stats_embeddable_input.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/field_stats/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_error_msg.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_esql_field_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_no_results.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_field_stats_table.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/embeddable_loading_fallback.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/field_stats_wrapper.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/embeddables/grid_embeddable/types.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_data_visualizer_esql_data.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_field_stats_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/esql/use_esql_overall_stats_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/index.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/locator/locator.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/locator/locator.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/progress_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/progress_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/progress_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/progress_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_boolean_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_count_and_cardinality.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_date_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_keyword_fields.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/get_numeric_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/esql_requests/handle_error.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/build_random_sampler_agg.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/constants.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/esql_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/fetch_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_boolean_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_data_view_by_index_pattern.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_date_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_document_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_field_examples.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_fields_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_numeric_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/get_string_field_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/search_strategy/requests/utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/combined_query.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/data_drift.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/esql_data_visualizer.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/index_data_visualizer_state.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/overall_stats.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/storage.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/storage.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/types/storage.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/types/storage.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_fields_with_subfields_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_reason_fieldstats_unavailable_for_esql_query.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/get_supported_aggs.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/process_distribution_data.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts diff --git a/x-pack/plugins/data_visualizer/public/application/kibana_context.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/kibana_context.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/kibana_context.ts rename to x-pack/platform/plugins/private/data_visualizer/public/application/kibana_context.ts diff --git a/x-pack/plugins/data_visualizer/public/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/index.ts diff --git a/x-pack/plugins/data_visualizer/public/kibana_services.ts b/x-pack/platform/plugins/private/data_visualizer/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/kibana_services.ts rename to x-pack/platform/plugins/private/data_visualizer/public/kibana_services.ts diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/component_wrapper.tsx diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/index.ts b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/index.ts rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/index.ts diff --git a/x-pack/plugins/data_visualizer/public/lazy_load_bundle/lazy/index.tsx b/x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/lazy/index.tsx similarity index 100% rename from x-pack/plugins/data_visualizer/public/lazy_load_bundle/lazy/index.tsx rename to x-pack/platform/plugins/private/data_visualizer/public/lazy_load_bundle/lazy/index.tsx diff --git a/x-pack/plugins/data_visualizer/public/plugin.ts b/x-pack/platform/plugins/private/data_visualizer/public/plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/public/plugin.ts diff --git a/x-pack/plugins/data_visualizer/public/register_home.ts b/x-pack/platform/plugins/private/data_visualizer/public/register_home.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/register_home.ts rename to x-pack/platform/plugins/private/data_visualizer/public/register_home.ts diff --git a/x-pack/plugins/data_visualizer/server/config_schema.ts b/x-pack/platform/plugins/private/data_visualizer/server/config_schema.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/config_schema.ts rename to x-pack/platform/plugins/private/data_visualizer/server/config_schema.ts diff --git a/x-pack/plugins/data_visualizer/server/index.ts b/x-pack/platform/plugins/private/data_visualizer/server/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/index.ts rename to x-pack/platform/plugins/private/data_visualizer/server/index.ts diff --git a/x-pack/plugins/data_visualizer/server/plugin.ts b/x-pack/platform/plugins/private/data_visualizer/server/plugin.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/plugin.ts rename to x-pack/platform/plugins/private/data_visualizer/server/plugin.ts diff --git a/x-pack/plugins/data_visualizer/server/register_custom_integration.ts b/x-pack/platform/plugins/private/data_visualizer/server/register_custom_integration.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/register_custom_integration.ts rename to x-pack/platform/plugins/private/data_visualizer/server/register_custom_integration.ts diff --git a/x-pack/plugins/data_visualizer/server/routes.ts b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/routes.ts rename to x-pack/platform/plugins/private/data_visualizer/server/routes.ts diff --git a/x-pack/plugins/data_visualizer/server/types/deps.ts b/x-pack/platform/plugins/private/data_visualizer/server/types/deps.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/types/deps.ts rename to x-pack/platform/plugins/private/data_visualizer/server/types/deps.ts diff --git a/x-pack/plugins/data_visualizer/server/types/index.ts b/x-pack/platform/plugins/private/data_visualizer/server/types/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/types/index.ts rename to x-pack/platform/plugins/private/data_visualizer/server/types/index.ts diff --git a/x-pack/plugins/data_visualizer/server/utils/error_wrapper.ts b/x-pack/platform/plugins/private/data_visualizer/server/utils/error_wrapper.ts similarity index 100% rename from x-pack/plugins/data_visualizer/server/utils/error_wrapper.ts rename to x-pack/platform/plugins/private/data_visualizer/server/utils/error_wrapper.ts diff --git a/x-pack/plugins/data_visualizer/tsconfig.json b/x-pack/platform/plugins/private/data_visualizer/tsconfig.json similarity index 96% rename from x-pack/plugins/data_visualizer/tsconfig.json rename to x-pack/platform/plugins/private/data_visualizer/tsconfig.json index 9e1c19c84067b..3253012c7299b 100644 --- a/x-pack/plugins/data_visualizer/tsconfig.json +++ b/x-pack/platform/plugins/private/data_visualizer/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "scripts/**/*", diff --git a/x-pack/plugins/transform/common/constants.test.ts b/x-pack/platform/plugins/private/transform/common/constants.test.ts similarity index 100% rename from x-pack/plugins/transform/common/constants.test.ts rename to x-pack/platform/plugins/private/transform/common/constants.test.ts diff --git a/x-pack/plugins/transform/common/constants.ts b/x-pack/platform/plugins/private/transform/common/constants.ts similarity index 100% rename from x-pack/plugins/transform/common/constants.ts rename to x-pack/platform/plugins/private/transform/common/constants.ts diff --git a/x-pack/plugins/transform/common/index.ts b/x-pack/platform/plugins/private/transform/common/index.ts similarity index 100% rename from x-pack/plugins/transform/common/index.ts rename to x-pack/platform/plugins/private/transform/common/index.ts diff --git a/x-pack/plugins/transform/common/types/aggregations.ts b/x-pack/platform/plugins/private/transform/common/types/aggregations.ts similarity index 100% rename from x-pack/plugins/transform/common/types/aggregations.ts rename to x-pack/platform/plugins/private/transform/common/types/aggregations.ts diff --git a/x-pack/plugins/transform/common/types/alerting.ts b/x-pack/platform/plugins/private/transform/common/types/alerting.ts similarity index 100% rename from x-pack/plugins/transform/common/types/alerting.ts rename to x-pack/platform/plugins/private/transform/common/types/alerting.ts diff --git a/x-pack/plugins/transform/common/types/capabilities.ts b/x-pack/platform/plugins/private/transform/common/types/capabilities.ts similarity index 100% rename from x-pack/plugins/transform/common/types/capabilities.ts rename to x-pack/platform/plugins/private/transform/common/types/capabilities.ts diff --git a/x-pack/plugins/transform/common/types/common.ts b/x-pack/platform/plugins/private/transform/common/types/common.ts similarity index 100% rename from x-pack/plugins/transform/common/types/common.ts rename to x-pack/platform/plugins/private/transform/common/types/common.ts diff --git a/x-pack/plugins/transform/common/types/data_view.test.ts b/x-pack/platform/plugins/private/transform/common/types/data_view.test.ts similarity index 100% rename from x-pack/plugins/transform/common/types/data_view.test.ts rename to x-pack/platform/plugins/private/transform/common/types/data_view.test.ts diff --git a/x-pack/plugins/transform/common/types/data_view.ts b/x-pack/platform/plugins/private/transform/common/types/data_view.ts similarity index 100% rename from x-pack/plugins/transform/common/types/data_view.ts rename to x-pack/platform/plugins/private/transform/common/types/data_view.ts diff --git a/x-pack/plugins/transform/common/types/es_index.ts b/x-pack/platform/plugins/private/transform/common/types/es_index.ts similarity index 100% rename from x-pack/plugins/transform/common/types/es_index.ts rename to x-pack/platform/plugins/private/transform/common/types/es_index.ts diff --git a/x-pack/plugins/transform/common/types/es_ingest_pipeline.ts b/x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/transform/common/types/es_ingest_pipeline.ts rename to x-pack/platform/plugins/private/transform/common/types/es_ingest_pipeline.ts diff --git a/x-pack/plugins/transform/common/types/fields.ts b/x-pack/platform/plugins/private/transform/common/types/fields.ts similarity index 100% rename from x-pack/plugins/transform/common/types/fields.ts rename to x-pack/platform/plugins/private/transform/common/types/fields.ts diff --git a/x-pack/plugins/transform/common/types/messages.ts b/x-pack/platform/plugins/private/transform/common/types/messages.ts similarity index 100% rename from x-pack/plugins/transform/common/types/messages.ts rename to x-pack/platform/plugins/private/transform/common/types/messages.ts diff --git a/x-pack/plugins/transform/common/types/pivot_aggs.ts b/x-pack/platform/plugins/private/transform/common/types/pivot_aggs.ts similarity index 100% rename from x-pack/plugins/transform/common/types/pivot_aggs.ts rename to x-pack/platform/plugins/private/transform/common/types/pivot_aggs.ts diff --git a/x-pack/plugins/transform/common/types/pivot_group_by.ts b/x-pack/platform/plugins/private/transform/common/types/pivot_group_by.ts similarity index 100% rename from x-pack/plugins/transform/common/types/pivot_group_by.ts rename to x-pack/platform/plugins/private/transform/common/types/pivot_group_by.ts diff --git a/x-pack/plugins/transform/common/types/storage.ts b/x-pack/platform/plugins/private/transform/common/types/storage.ts similarity index 100% rename from x-pack/plugins/transform/common/types/storage.ts rename to x-pack/platform/plugins/private/transform/common/types/storage.ts diff --git a/x-pack/plugins/transform/common/types/transform.ts b/x-pack/platform/plugins/private/transform/common/types/transform.ts similarity index 100% rename from x-pack/plugins/transform/common/types/transform.ts rename to x-pack/platform/plugins/private/transform/common/types/transform.ts diff --git a/x-pack/plugins/transform/common/types/transform_stats.ts b/x-pack/platform/plugins/private/transform/common/types/transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/common/types/transform_stats.ts rename to x-pack/platform/plugins/private/transform/common/types/transform_stats.ts diff --git a/x-pack/plugins/transform/common/utils/alerts.test.ts b/x-pack/platform/plugins/private/transform/common/utils/alerts.test.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/alerts.test.ts rename to x-pack/platform/plugins/private/transform/common/utils/alerts.test.ts diff --git a/x-pack/plugins/transform/common/utils/alerts.ts b/x-pack/platform/plugins/private/transform/common/utils/alerts.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/alerts.ts rename to x-pack/platform/plugins/private/transform/common/utils/alerts.ts diff --git a/x-pack/plugins/transform/common/utils/create_capability_failure_message.ts b/x-pack/platform/plugins/private/transform/common/utils/create_capability_failure_message.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/create_capability_failure_message.ts rename to x-pack/platform/plugins/private/transform/common/utils/create_capability_failure_message.ts diff --git a/x-pack/plugins/transform/common/utils/create_stats_unknown_message.ts b/x-pack/platform/plugins/private/transform/common/utils/create_stats_unknown_message.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/create_stats_unknown_message.ts rename to x-pack/platform/plugins/private/transform/common/utils/create_stats_unknown_message.ts diff --git a/x-pack/plugins/transform/common/utils/errors.ts b/x-pack/platform/plugins/private/transform/common/utils/errors.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/errors.ts rename to x-pack/platform/plugins/private/transform/common/utils/errors.ts diff --git a/x-pack/plugins/transform/common/utils/es_utils.ts b/x-pack/platform/plugins/private/transform/common/utils/es_utils.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/es_utils.ts rename to x-pack/platform/plugins/private/transform/common/utils/es_utils.ts diff --git a/x-pack/plugins/transform/common/utils/field_utils.test.ts b/x-pack/platform/plugins/private/transform/common/utils/field_utils.test.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/field_utils.test.ts rename to x-pack/platform/plugins/private/transform/common/utils/field_utils.test.ts diff --git a/x-pack/plugins/transform/common/utils/field_utils.ts b/x-pack/platform/plugins/private/transform/common/utils/field_utils.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/field_utils.ts rename to x-pack/platform/plugins/private/transform/common/utils/field_utils.ts diff --git a/x-pack/plugins/transform/common/utils/to_array.ts b/x-pack/platform/plugins/private/transform/common/utils/to_array.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/to_array.ts rename to x-pack/platform/plugins/private/transform/common/utils/to_array.ts diff --git a/x-pack/plugins/transform/common/utils/transform_api_key.ts b/x-pack/platform/plugins/private/transform/common/utils/transform_api_key.ts similarity index 100% rename from x-pack/plugins/transform/common/utils/transform_api_key.ts rename to x-pack/platform/plugins/private/transform/common/utils/transform_api_key.ts diff --git a/x-pack/plugins/ml/jest.config.js b/x-pack/platform/plugins/private/transform/jest.config.js similarity index 50% rename from x-pack/plugins/ml/jest.config.js rename to x-pack/platform/plugins/private/transform/jest.config.js index 463fb9fb856cb..5fb52ec556d30 100644 --- a/x-pack/plugins/ml/jest.config.js +++ b/x-pack/platform/plugins/private/transform/jest.config.js @@ -7,9 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/ml'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/ml', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/transform'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/transform', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/ml/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/transform/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/transform/kibana.jsonc b/x-pack/platform/plugins/private/transform/kibana.jsonc similarity index 100% rename from x-pack/plugins/transform/kibana.jsonc rename to x-pack/platform/plugins/private/transform/kibana.jsonc diff --git a/x-pack/plugins/transform/public/alerting/index.ts b/x-pack/platform/plugins/private/transform/public/alerting/index.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/index.ts rename to x-pack/platform/plugins/private/transform/public/alerting/index.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_alerting_flyout.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_alerting_flyout.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_alerting_flyout.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_alerting_flyout.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/index.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/index.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx b/x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx similarity index 100% rename from x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx rename to x-pack/platform/plugins/private/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx diff --git a/x-pack/plugins/transform/public/app/__mocks__/app_dependencies.tsx b/x-pack/platform/plugins/private/transform/public/app/__mocks__/app_dependencies.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/__mocks__/app_dependencies.tsx rename to x-pack/platform/plugins/private/transform/public/app/__mocks__/app_dependencies.tsx diff --git a/x-pack/plugins/transform/public/app/app.tsx b/x-pack/platform/plugins/private/transform/public/app/app.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/app.tsx rename to x-pack/platform/plugins/private/transform/public/app/app.tsx diff --git a/x-pack/plugins/transform/public/app/app_dependencies.tsx b/x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/app_dependencies.tsx rename to x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx diff --git a/x-pack/plugins/transform/public/app/common/__mocks__/transform_list_row.json b/x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_list_row.json similarity index 100% rename from x-pack/plugins/transform/public/app/common/__mocks__/transform_list_row.json rename to x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_list_row.json diff --git a/x-pack/plugins/transform/public/app/common/__mocks__/transform_stats.json b/x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_stats.json similarity index 100% rename from x-pack/plugins/transform/public/app/common/__mocks__/transform_stats.json rename to x-pack/platform/plugins/private/transform/public/app/common/__mocks__/transform_stats.json diff --git a/x-pack/plugins/transform/public/app/common/aggregations.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/aggregations.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/aggregations.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/aggregations.test.ts diff --git a/x-pack/plugins/transform/public/app/common/aggregations.ts b/x-pack/platform/plugins/private/transform/public/app/common/aggregations.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/aggregations.ts rename to x-pack/platform/plugins/private/transform/public/app/common/aggregations.ts diff --git a/x-pack/plugins/transform/public/app/common/constants/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/constants/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/constants/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/constants/index.ts diff --git a/x-pack/plugins/transform/public/app/common/data_grid.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/data_grid.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/data_grid.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/data_grid.test.ts diff --git a/x-pack/plugins/transform/public/app/common/data_grid.ts b/x-pack/platform/plugins/private/transform/public/app/common/data_grid.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/data_grid.ts rename to x-pack/platform/plugins/private/transform/public/app/common/data_grid.ts diff --git a/x-pack/plugins/transform/public/app/common/dropdown.ts b/x-pack/platform/plugins/private/transform/public/app/common/dropdown.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/dropdown.ts rename to x-pack/platform/plugins/private/transform/public/app/common/dropdown.ts diff --git a/x-pack/plugins/transform/public/app/common/fields.ts b/x-pack/platform/plugins/private/transform/public/app/common/fields.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/fields.ts rename to x-pack/platform/plugins/private/transform/public/app/common/fields.ts diff --git a/x-pack/plugins/transform/public/app/common/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/index.ts diff --git a/x-pack/plugins/transform/public/app/common/managed_transforms_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/managed_transforms_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/managed_transforms_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/managed_transforms_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/navigation.tsx b/x-pack/platform/plugins/private/transform/public/app/common/navigation.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/common/navigation.tsx rename to x-pack/platform/plugins/private/transform/public/app/common/navigation.tsx diff --git a/x-pack/plugins/transform/public/app/common/pivot_aggs.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_aggs.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.test.ts diff --git a/x-pack/plugins/transform/public/app/common/pivot_aggs.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_aggs.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_aggs.ts diff --git a/x-pack/plugins/transform/public/app/common/pivot_group_by.ts b/x-pack/platform/plugins/private/transform/public/app/common/pivot_group_by.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/pivot_group_by.ts rename to x-pack/platform/plugins/private/transform/public/app/common/pivot_group_by.ts diff --git a/x-pack/plugins/transform/public/app/common/reauthorization_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/reauthorization_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/reauthorization_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/reauthorization_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/request.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/request.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/request.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/request.test.ts diff --git a/x-pack/plugins/transform/public/app/common/request.ts b/x-pack/platform/plugins/private/transform/public/app/common/request.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/request.ts rename to x-pack/platform/plugins/private/transform/public/app/common/request.ts diff --git a/x-pack/plugins/transform/public/app/common/time_zone_utils.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/time_zone_utils.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.test.ts diff --git a/x-pack/plugins/transform/public/app/common/time_zone_utils.ts b/x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/time_zone_utils.ts rename to x-pack/platform/plugins/private/transform/public/app/common/time_zone_utils.ts diff --git a/x-pack/plugins/transform/public/app/common/transform.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform.test.ts diff --git a/x-pack/plugins/transform/public/app/common/transform.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_list.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_list.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_list.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_list.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_stats.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_stats.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_stats.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_stats.test.ts diff --git a/x-pack/plugins/transform/public/app/common/transform_stats.ts b/x-pack/platform/plugins/private/transform/public/app/common/transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/transform_stats.ts rename to x-pack/platform/plugins/private/transform/public/app/common/transform_stats.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/frequency_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/frequency_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/frequency_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/frequency_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/frequency_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/index.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/index.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/index.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_above_zero_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_above_zero_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/integer_range_minus_1_to_100_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_continuous_mode_delay.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_continuous_mode_delay.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_json_string.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_json_string.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_json_string.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_json_string.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_json_string.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_retention_policy_max_age.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_retention_policy_max_age.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_transform_wizard_frequency.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_transform_wizard_frequency.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/is_valid_frequency.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/is_valid_frequency.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/is_valid_frequency.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/is_valid_frequency.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/messages.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/messages.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/messages.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/parse_duration_above_zero.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/parse_duration_above_zero.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/retention_policy_max_age_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/retention_policy_max_age_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/string_validator.test.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/string_validator.test.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.test.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/string_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/string_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/string_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_number_of_retries_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/transform_settings_page_search_size_validator.ts diff --git a/x-pack/plugins/transform/public/app/common/validators/types.ts b/x-pack/platform/plugins/private/transform/public/app/common/validators/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/common/validators/types.ts rename to x-pack/platform/plugins/private/transform/public/app/common/validators/types.ts diff --git a/x-pack/plugins/transform/public/app/components/capabilities_wrapper.tsx b/x-pack/platform/plugins/private/transform/public/app/components/capabilities_wrapper.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/capabilities_wrapper.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/capabilities_wrapper.tsx diff --git a/x-pack/plugins/transform/public/app/components/index.ts b/x-pack/platform/plugins/private/transform/public/app/components/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/components/index.ts rename to x-pack/platform/plugins/private/transform/public/app/components/index.ts diff --git a/x-pack/plugins/transform/public/app/components/job_icon.tsx b/x-pack/platform/plugins/private/transform/public/app/components/job_icon.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/job_icon.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/job_icon.tsx diff --git a/x-pack/plugins/transform/public/app/components/toast_notification_text.test.tsx b/x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/toast_notification_text.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.test.tsx diff --git a/x-pack/plugins/transform/public/app/components/toast_notification_text.tsx b/x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/components/toast_notification_text.tsx rename to x-pack/platform/plugins/private/transform/public/app/components/toast_notification_text.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/index.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/index.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/index.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_create_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_create_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_create_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_create_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_data_search.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_data_search.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_data_search.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_data_search.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_data_view_exists.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_data_view_exists.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_delete_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_delete_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_delete_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_delete_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_documentation_links.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_documentation_links.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_documentation_links.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_documentation_links.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_data_view_titles.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_view_titles.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_data_view_titles.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_view_titles.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_data_views_title_id_map.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_views_title_id_map.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_data_views_title_id_map.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_data_views_title_id_map.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_es_indices.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_indices.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_es_indices.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_indices.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_es_ingest_pipelines.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_ingest_pipelines.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_es_ingest_pipelines.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_es_ingest_pipelines.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_histograms_for_fields.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_histograms_for_fields.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_histograms_for_fields.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_histograms_for_fields.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_audit_messages.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_audit_messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_audit_messages.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_audit_messages.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_nodes.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_nodes.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_nodes.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_nodes.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transform_stats.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_stats.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transform_stats.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transform_stats.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transforms.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transforms.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_get_transforms_preview.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms_preview.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_get_transforms_preview.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_get_transforms_preview.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_index_data.test.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_index_data.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.test.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_index_data.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_index_data.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_index_data.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_reauthorize_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_reauthorize_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_reauthorize_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_reauthorize_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_refresh_transform_list.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_refresh_transform_list.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_refresh_transform_list.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_refresh_transform_list.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_reset_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_reset_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_reset_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_reset_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_schedule_now_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_schedule_now_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_schedule_now_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_schedule_now_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/common.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/common.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/index.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/index.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/index.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/use_search_items.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_search_items/use_search_items.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_start_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_start_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_start_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_start_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_stop_transform.tsx b/x-pack/platform/plugins/private/transform/public/app/hooks/use_stop_transform.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_stop_transform.tsx rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_stop_transform.tsx diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_capabilities.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_capabilities.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_capabilities.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_capabilities.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_config_data.test.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_config_data.test.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.test.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_transform_config_data.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_transform_config_data.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_transform_config_data.ts diff --git a/x-pack/plugins/transform/public/app/hooks/use_update_transform.ts b/x-pack/platform/plugins/private/transform/public/app/hooks/use_update_transform.ts similarity index 100% rename from x-pack/plugins/transform/public/app/hooks/use_update_transform.ts rename to x-pack/platform/plugins/private/transform/public/app/hooks/use_update_transform.ts diff --git a/x-pack/plugins/transform/public/app/index.scss b/x-pack/platform/plugins/private/transform/public/app/index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/index.scss rename to x-pack/platform/plugins/private/transform/public/app/index.scss diff --git a/x-pack/plugins/transform/public/app/mount_management_section.ts b/x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts similarity index 100% rename from x-pack/plugins/transform/public/app/mount_management_section.ts rename to x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts diff --git a/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/clone_transform_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/clone_transform_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/clone_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/clone_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/clone_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/advanced_pivot_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/advanced_pivot_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_pivot_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/advanced_query_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_query_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor/advanced_runtime_mappings_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/advanced_runtime_mappings_editor_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_editor_switch/switch_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/advanced_runtime_mappings_settings.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_runtime_mappings_settings/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/advanced_source_editor.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/advanced_source_editor/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/dropdown.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_dropdown/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_aggregation_label_form.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/agg_label_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/list_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/popover_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/aggregation_list/sub_aggs_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/date_picker_apply_switch.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/date_picker_apply_switch/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_group_by_label_form.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/group_by_label_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/list_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/group_by_list/popover_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/pivot_configuration/pivot_configuration.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/source_search_bar/source_search_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_create/step_create_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/apply_transform_config_to_define_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_range_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_form_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_agg_name_conflict_toast_messages.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_aggregation_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_group_by_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_default_step_define_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/constants.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/percentiles_form_component.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/percentiles_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/terms_form_component.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/terms_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/components/top_metrics_agg_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/top_metrics_agg/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/types.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/types.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/types.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/types.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_pivot_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_runtime_mappings_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_advanced_source_editor.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_date_picker.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_latest_function_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_pivot_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/hooks/use_step_define_form.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/latest_function_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/pivot_function_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/step_define_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/transform_function_selector.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/common.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/common.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/common.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/common.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_details/step_details_summary.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/switch_modal/switch_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_wizard.scss b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_wizard.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/_wizard.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/_wizard.scss diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/storage.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/storage.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/storage.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/storage.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard/wizard.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/wizard_nav/wizard_nav.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/create_transform_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/create_transform_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/create_transform_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/create_transform_section.tsx diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/create_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/create_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/create_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_api_error_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_area.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_flyout_form_text_input.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_ingest_pipeline.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_retention_policy.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/components/edit_transform_update_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/__mocks__/transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/actions.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/actions.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/actions.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/actions.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/apply_form_state_to_transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/edit_transform_flyout_state.tsx diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_section.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_section.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/form_section.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/form_section.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_default_state.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_default_state.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_default_state.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_default_state.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_update_value.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_update_value.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/get_update_value.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/get_update_value.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/api_error_message.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/form_sections.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_touched.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/is_form_valid.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/retention_policy_field.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/selectors/updated_transform_config.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/validators.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/validators.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/validators.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/validators.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/state_management/value_parsers.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/value_parsers.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/state_management/value_parsers.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/state_management/value_parsers.ts diff --git a/x-pack/plugins/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts b/x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/edit_transform/utils/capitalize_first_letter.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/clone_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/create_alert_rule_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_create_alert/use_create_alert_rule_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/delete_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_delete/use_delete_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/discover_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/edit_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/reauthorize_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.test.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/sort_transforms_to_reauthorize.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reauthorize/use_reauthorize_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/reset_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_reset/use_reset_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/schedule_now_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_schedule_now/use_schedule_now_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/start_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_start/use_start_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_modal.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/stop_action_name.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/action_stop/use_stop_action.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/_transform_search_dialog.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/create_transform_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/create_transform_button/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/dangling_task_warning/dangling_task_warning.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/managed_transforms_callout/managed_transforms_callout.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/refresh_transform_list_button/refresh_transform_list_button.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/search_selection/search_selection.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_index.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_index.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_index.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_index.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stat.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/_stats_bar.scss diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stat.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/stats_bar/stats_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_column_view.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_details_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_health_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_json_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_messages_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_preview_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/expanded_row_stats_pane.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_health_colored_dot.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_list.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_search_bar_filters.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transform_task_state_badge.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_actions.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_columns.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/components/transform_list/use_table_settings.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/index.ts b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/index.ts rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/index.ts diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.test.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.test.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.test.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.test.tsx diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.tsx b/x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/sections/transform_management/transform_management_section.tsx rename to x-pack/platform/plugins/private/transform/public/app/sections/transform_management/transform_management_section.tsx diff --git a/x-pack/plugins/transform/public/app/serverless_context.tsx b/x-pack/platform/plugins/private/transform/public/app/serverless_context.tsx similarity index 100% rename from x-pack/plugins/transform/public/app/serverless_context.tsx rename to x-pack/platform/plugins/private/transform/public/app/serverless_context.tsx diff --git a/x-pack/plugins/transform/public/app/services/navigation/breadcrumb.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/breadcrumb.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/breadcrumb.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/breadcrumb.ts diff --git a/x-pack/plugins/transform/public/app/services/navigation/doc_title.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/doc_title.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/doc_title.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/doc_title.ts diff --git a/x-pack/plugins/transform/public/app/services/navigation/index.ts b/x-pack/platform/plugins/private/transform/public/app/services/navigation/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/navigation/index.ts rename to x-pack/platform/plugins/private/transform/public/app/services/navigation/index.ts diff --git a/x-pack/plugins/transform/public/app/services/text/index.ts b/x-pack/platform/plugins/private/transform/public/app/services/text/index.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/text/index.ts rename to x-pack/platform/plugins/private/transform/public/app/services/text/index.ts diff --git a/x-pack/plugins/transform/public/app/services/text/text.ts b/x-pack/platform/plugins/private/transform/public/app/services/text/text.ts similarity index 100% rename from x-pack/plugins/transform/public/app/services/text/text.ts rename to x-pack/platform/plugins/private/transform/public/app/services/text/text.ts diff --git a/x-pack/plugins/transform/public/index.ts b/x-pack/platform/plugins/private/transform/public/index.ts similarity index 100% rename from x-pack/plugins/transform/public/index.ts rename to x-pack/platform/plugins/private/transform/public/index.ts diff --git a/x-pack/plugins/transform/public/plugin.ts b/x-pack/platform/plugins/private/transform/public/plugin.ts similarity index 100% rename from x-pack/plugins/transform/public/plugin.ts rename to x-pack/platform/plugins/private/transform/public/plugin.ts diff --git a/x-pack/plugins/transform/public/register_feature.ts b/x-pack/platform/plugins/private/transform/public/register_feature.ts similarity index 100% rename from x-pack/plugins/transform/public/register_feature.ts rename to x-pack/platform/plugins/private/transform/public/register_feature.ts diff --git a/x-pack/plugins/transform/readme.md b/x-pack/platform/plugins/private/transform/readme.md similarity index 98% rename from x-pack/plugins/transform/readme.md rename to x-pack/platform/plugins/private/transform/readme.md index e86d92340bf0c..69464cd230ebd 100644 --- a/x-pack/plugins/transform/readme.md +++ b/x-pack/platform/plugins/private/transform/readme.md @@ -69,7 +69,7 @@ These data sets are now ready to be used for creating transforms in Kibana. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing -Run the test following jest tests from `kibana/x-pack/plugins/transform. +Run the test following jest tests from `kibana/x-pack/platform/plugins/private/transform. New snapshots, all plugins: diff --git a/x-pack/plugins/transform/server/README.md b/x-pack/platform/plugins/private/transform/server/README.md similarity index 100% rename from x-pack/plugins/transform/server/README.md rename to x-pack/platform/plugins/private/transform/server/README.md diff --git a/x-pack/plugins/transform/server/capabilities.test.ts b/x-pack/platform/plugins/private/transform/server/capabilities.test.ts similarity index 100% rename from x-pack/plugins/transform/server/capabilities.test.ts rename to x-pack/platform/plugins/private/transform/server/capabilities.test.ts diff --git a/x-pack/plugins/transform/server/capabilities.ts b/x-pack/platform/plugins/private/transform/server/capabilities.ts similarity index 100% rename from x-pack/plugins/transform/server/capabilities.ts rename to x-pack/platform/plugins/private/transform/server/capabilities.ts diff --git a/x-pack/plugins/transform/server/config.ts b/x-pack/platform/plugins/private/transform/server/config.ts similarity index 100% rename from x-pack/plugins/transform/server/config.ts rename to x-pack/platform/plugins/private/transform/server/config.ts diff --git a/x-pack/plugins/transform/server/index.ts b/x-pack/platform/plugins/private/transform/server/index.ts similarity index 100% rename from x-pack/plugins/transform/server/index.ts rename to x-pack/platform/plugins/private/transform/server/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/index.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/index.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/index.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/index.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/index.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/schema.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/schema.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.test.ts diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts b/x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts similarity index 100% rename from x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts rename to x-pack/platform/plugins/private/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts diff --git a/x-pack/plugins/transform/server/plugin.ts b/x-pack/platform/plugins/private/transform/server/plugin.ts similarity index 100% rename from x-pack/plugins/transform/server/plugin.ts rename to x-pack/platform/plugins/private/transform/server/plugin.ts diff --git a/x-pack/plugins/transform/server/routes/api/audit_messages/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/audit_messages/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/audit_messages/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/audit_messages/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/delete_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/delete_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/delete_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/delete_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/delete_transforms/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/delete_transforms/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/delete_transforms/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/field_histograms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/field_histograms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/field_histograms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/field_histograms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/reauthorize_and_start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/reset_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/reset_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/reset_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/reset_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/reset_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/reset_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/reset_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/schedule_now_transforms/schedule_now_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/start_transforms/start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/start_transforms/start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/start_transforms/start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/stop_transforms/stop_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/stop_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/stop_transforms/stop_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/stop_transforms/stop_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_all/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_all/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_all/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_all/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_all/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_create/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_create/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_create/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_create/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.test.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_nodes/route_handler_factory.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_nodes/route_handler_factory.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_preview/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_preview/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_preview/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_preview/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_preview/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_single/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_single/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_single/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_single/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_single/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_all/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_all/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_all/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_all/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_all/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_single/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_single/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_stats_single/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_stats_single/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_update/register_route.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_update/register_route.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/register_route.ts diff --git a/x-pack/plugins/transform/server/routes/api/transforms_update/route_handler.ts b/x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/route_handler.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api/transforms_update/route_handler.ts rename to x-pack/platform/plugins/private/transform/server/routes/api/transforms_update/route_handler.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/audit_messages.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/audit_messages.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/audit_messages.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/audit_messages.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/common.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/common.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/common.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/common.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/delete_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/delete_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/delete_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/delete_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/field_histograms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/field_histograms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/field_histograms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/field_histograms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/reauthorize_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/reauthorize_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/reauthorize_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/reauthorize_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/reset_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/reset_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/reset_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/reset_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/schedule_now_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/schedule_now_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/schedule_now_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/schedule_now_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/start_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/start_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/start_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/start_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/stop_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/stop_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/stop_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/stop_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/transforms_stats.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms_stats.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/transforms_stats.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/transforms_stats.ts diff --git a/x-pack/plugins/transform/server/routes/api_schemas/update_transforms.ts b/x-pack/platform/plugins/private/transform/server/routes/api_schemas/update_transforms.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/api_schemas/update_transforms.ts rename to x-pack/platform/plugins/private/transform/server/routes/api_schemas/update_transforms.ts diff --git a/x-pack/plugins/transform/server/routes/apidoc.json b/x-pack/platform/plugins/private/transform/server/routes/apidoc.json similarity index 100% rename from x-pack/plugins/transform/server/routes/apidoc.json rename to x-pack/platform/plugins/private/transform/server/routes/apidoc.json diff --git a/x-pack/plugins/transform/server/routes/index.ts b/x-pack/platform/plugins/private/transform/server/routes/index.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/index.ts rename to x-pack/platform/plugins/private/transform/server/routes/index.ts diff --git a/x-pack/plugins/transform/server/routes/utils/error_utils.ts b/x-pack/platform/plugins/private/transform/server/routes/utils/error_utils.ts similarity index 100% rename from x-pack/plugins/transform/server/routes/utils/error_utils.ts rename to x-pack/platform/plugins/private/transform/server/routes/utils/error_utils.ts diff --git a/x-pack/plugins/transform/server/services/index.ts b/x-pack/platform/plugins/private/transform/server/services/index.ts similarity index 100% rename from x-pack/plugins/transform/server/services/index.ts rename to x-pack/platform/plugins/private/transform/server/services/index.ts diff --git a/x-pack/plugins/transform/server/services/license.ts b/x-pack/platform/plugins/private/transform/server/services/license.ts similarity index 100% rename from x-pack/plugins/transform/server/services/license.ts rename to x-pack/platform/plugins/private/transform/server/services/license.ts diff --git a/x-pack/plugins/transform/server/types.ts b/x-pack/platform/plugins/private/transform/server/types.ts similarity index 100% rename from x-pack/plugins/transform/server/types.ts rename to x-pack/platform/plugins/private/transform/server/types.ts diff --git a/x-pack/plugins/transform/server/usage/collector.ts b/x-pack/platform/plugins/private/transform/server/usage/collector.ts similarity index 100% rename from x-pack/plugins/transform/server/usage/collector.ts rename to x-pack/platform/plugins/private/transform/server/usage/collector.ts diff --git a/x-pack/plugins/ml/server/usage/index.ts b/x-pack/platform/plugins/private/transform/server/usage/index.ts similarity index 100% rename from x-pack/plugins/ml/server/usage/index.ts rename to x-pack/platform/plugins/private/transform/server/usage/index.ts diff --git a/x-pack/plugins/transform/tsconfig.json b/x-pack/platform/plugins/private/transform/tsconfig.json similarity index 96% rename from x-pack/plugins/transform/tsconfig.json rename to x-pack/platform/plugins/private/transform/tsconfig.json index b1f43e3f096a0..da992737fba2a 100644 --- a/x-pack/plugins/transform/tsconfig.json +++ b/x-pack/platform/plugins/private/transform/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "public/**/*.json", ], diff --git a/x-pack/plugins/aiops/README.md b/x-pack/platform/plugins/shared/aiops/README.md similarity index 89% rename from x-pack/plugins/aiops/README.md rename to x-pack/platform/plugins/shared/aiops/README.md index 7be0e3b59aa68..099c65165aa54 100755 --- a/x-pack/plugins/aiops/README.md +++ b/x-pack/platform/plugins/shared/aiops/README.md @@ -6,7 +6,7 @@ The plugin provides APIs and components for AIOps features, including the “Log ## Log Rate Analysis -Here's some notes on the structure of the code for the API endpoint `/internal/aiops/log_rate_analysis`. The endpoint uses the `@kbn/ml-response-stream` package to return the request's response as a HTTP stream of JSON objects. The files are located in `x-pack/plugins/aiops/server/routes/log_rate_analysis/`. +Here's some notes on the structure of the code for the API endpoint `/internal/aiops/log_rate_analysis`. The endpoint uses the `@kbn/ml-response-stream` package to return the request's response as a HTTP stream of JSON objects. The files are located in `x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/`. `define_route.ts:defineRoute()` is the outer most wrapper that's used to define the route and its versions. It calls `route_handler_factory:routeHandlerFactory()` for each version. @@ -24,6 +24,6 @@ Here are some more details on the steps involved to do Log Rate Analysis: - **Statistically significant items**: - **General notes**: Both aggregatable fields and log pattern queries will be wrapped in `random_sampler` aggregations . The p-value threshold to define statistically significant items is `0.02`. - **Aggregatable fields**: For this we use the ES `significant_terms` aggregation with the p-value score option (https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html#p-value-score). The `baseline` time range is used as the `background_filter`, the `deviation` time range is used for the query part (=foreground). - - **Log patterns**: To identify statistically significant entries in text fields there is not an ES equivalent to `significant_terms`, so we cannot run a single query for a field to do this. Instead, we use the following approach: We use the `categorize_text` aggregation to identify top text patterns across the baseline and deviation timerange (not yet statistically significant!). Then, for each identified text pattern, we get the document counts for both baseline and deviation. We then use the retrieved counts to run them against the same Kibana code we use for the Data Drift View to detect if there's a statistically significant difference in the counts (`@kbn/ml-chi2test` package, `x-pack/packages/ml/chi2test/critical_table_lookup.ts`). Text field pattern support was added in 8.11, see [#167467](https://github.com/elastic/kibana/issues/167467) for more details. -- **Grouping**: The grouping tries to identify co-occurences of identified significant items. Again, we have to take different approaches for aggregatable fields and log patterns, but eventually we combine the results. The `frequent_item_sets` aggregation is used as a first step to get co-occurence stats of aggregatable fields. This can be a heavy aggregation so we limit how many values per field we pass on to the agg (`50` at the moment). For each possible aggregatable field to log pattern relation we query the doc count. The result of the `frequent_item_sets` aggregation and those doc counts get then passed on to custom code (derived but over time slighty improved from the original PoC Python Notebooks) to transform that raw data into groups (`x-pack/packages/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts`). + - **Log patterns**: To identify statistically significant entries in text fields there is not an ES equivalent to `significant_terms`, so we cannot run a single query for a field to do this. Instead, we use the following approach: We use the `categorize_text` aggregation to identify top text patterns across the baseline and deviation timerange (not yet statistically significant!). Then, for each identified text pattern, we get the document counts for both baseline and deviation. We then use the retrieved counts to run them against the same Kibana code we use for the Data Drift View to detect if there's a statistically significant difference in the counts (`@kbn/ml-chi2test` package, `x-pack/platform/packages/shared/ml/chi2test/critical_table_lookup.ts`). Text field pattern support was added in 8.11, see [#167467](https://github.com/elastic/kibana/issues/167467) for more details. +- **Grouping**: The grouping tries to identify co-occurences of identified significant items. Again, we have to take different approaches for aggregatable fields and log patterns, but eventually we combine the results. The `frequent_item_sets` aggregation is used as a first step to get co-occurence stats of aggregatable fields. This can be a heavy aggregation so we limit how many values per field we pass on to the agg (`50` at the moment). For each possible aggregatable field to log pattern relation we query the doc count. The result of the `frequent_item_sets` aggregation and those doc counts get then passed on to custom code (derived but over time slighty improved from the original PoC Python Notebooks) to transform that raw data into groups (`x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/get_significant_item_groups.ts`). - **Histogram data**: In addition to the analysis itself the endpoint returns histogram data for the result table sparklines. diff --git a/x-pack/plugins/aiops/jest.config.js b/x-pack/platform/plugins/shared/aiops/jest.config.js similarity index 62% rename from x-pack/plugins/aiops/jest.config.js rename to x-pack/platform/plugins/shared/aiops/jest.config.js index 31f2cfb012c80..27e835419d197 100644 --- a/x-pack/plugins/aiops/jest.config.js +++ b/x-pack/platform/plugins/shared/aiops/jest.config.js @@ -7,9 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/aiops'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/aiops', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/aiops'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/aiops', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/aiops/{public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/aiops/{public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/aiops/kibana.jsonc b/x-pack/platform/plugins/shared/aiops/kibana.jsonc similarity index 100% rename from x-pack/plugins/aiops/kibana.jsonc rename to x-pack/platform/plugins/shared/aiops/kibana.jsonc diff --git a/x-pack/plugins/aiops/public/application/url_state/common.test.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/common.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/common.test.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/common.test.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/common.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/common.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/common.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/common.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/log_pattern_analysis.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/log_pattern_analysis.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/log_pattern_analysis.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/log_pattern_analysis.ts diff --git a/x-pack/plugins/aiops/public/application/url_state/log_rate_analysis.ts b/x-pack/platform/plugins/shared/aiops/public/application/url_state/log_rate_analysis.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/url_state/log_rate_analysis.ts rename to x-pack/platform/plugins/shared/aiops/public/application/url_state/log_rate_analysis.ts diff --git a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.test.ts diff --git a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts similarity index 97% rename from x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts index 1c67031967ac7..c4b92ac028d0b 100644 --- a/x-pack/plugins/aiops/public/application/utils/build_extended_base_filter_criteria.ts +++ b/x-pack/platform/plugins/shared/aiops/public/application/utils/build_extended_base_filter_criteria.ts @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate query utils in -// `x-pack/plugins/data_visualizer/common/utils/query_utils.ts` +// `x-pack/platform/plugins/private/data_visualizer/common/utils/query_utils.ts` import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey'; diff --git a/x-pack/plugins/aiops/public/application/utils/search_utils.ts b/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts similarity index 97% rename from x-pack/plugins/aiops/public/application/utils/search_utils.ts rename to x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts index 442ce910dd828..718b63a0069d0 100644 --- a/x-pack/plugins/aiops/public/application/utils/search_utils.ts +++ b/x-pack/platform/plugins/shared/aiops/public/application/utils/search_utils.ts @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate saved search utils file in -// `x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts` +// `x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts` import { cloneDeep } from 'lodash'; import type { IUiSettingsClient } from '@kbn/core/public'; diff --git a/x-pack/plugins/aiops/public/application/utils/time_series_dataview_check.tsx b/x-pack/platform/plugins/shared/aiops/public/application/utils/time_series_dataview_check.tsx similarity index 100% rename from x-pack/plugins/aiops/public/application/utils/time_series_dataview_check.tsx rename to x-pack/platform/plugins/shared/aiops/public/application/utils/time_series_dataview_check.tsx diff --git a/x-pack/plugins/aiops/public/cases/change_point_charts_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/change_point_charts_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/change_point_charts_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/change_point_charts_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/log_pattern_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/log_pattern_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/log_pattern_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/log_pattern_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/log_rate_analysis_attachment.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/log_rate_analysis_attachment.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/log_rate_analysis_attachment.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/log_rate_analysis_attachment.tsx diff --git a/x-pack/plugins/aiops/public/cases/register_cases.tsx b/x-pack/platform/plugins/shared/aiops/public/cases/register_cases.tsx similarity index 100% rename from x-pack/plugins/aiops/public/cases/register_cases.tsx rename to x-pack/platform/plugins/shared/aiops/public/cases/register_cases.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_context.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_context.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_context.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_page.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_page.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_detection_root.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_detection_root.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_point_type_filter.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_type_filter.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_point_type_filter.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_point_type_filter.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_points_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/change_points_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/change_points_table.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/chart_component.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/chart_component.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/chart_component.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/chart_component.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/charts_grid.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/charts_grid.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/charts_grid.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/charts_grid.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/constants.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/constants.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/constants.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/constants.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/fields_config.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/fields_config.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/function_picker.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/function_picker.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/function_picker.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/function_picker.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/index.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/max_series_control.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/max_series_control.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/max_series_control.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/max_series_control.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/metric_field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/metric_field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/metric_field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/metric_field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/no_change_points_warning.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/no_change_points_warning.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/no_change_points_warning.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/no_change_points_warning.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/partitions_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/partitions_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/partitions_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/partitions_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/search_bar.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/search_bar.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/search_bar.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/search_bar.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/split_field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/split_field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/split_field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/split_field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_change_point_agg_request.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_change_point_agg_request.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_change_point_agg_request.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_change_point_agg_request.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_common_chart_props.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_common_chart_props.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_common_chart_props.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/use_split_field_cardinality.ts b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_split_field_cardinality.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/use_split_field_cardinality.ts rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/use_split_field_cardinality.ts diff --git a/x-pack/plugins/aiops/public/components/change_point_detection/view_type_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/view_type_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/change_point_detection/view_type_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/view_type_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/document_count_content.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/document_count_content/index.ts diff --git a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/document_count_content/total_count_header/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/index.ts diff --git a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx similarity index 94% rename from x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx index 8f7173c31b177..0de1e4504935d 100644 --- a/x-pack/plugins/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/document_count_content/total_count_header/total_count_header.tsx @@ -6,7 +6,7 @@ */ // TODO Consolidate with duplicate component `TotalCountHeader` in -// `x-pack/plugins/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx` +// `x-pack/plugins/private/data_visualizer/public/application/common/components/document_count_content/total_count_header.tsx` import { EuiFlexItem, EuiText } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n-react'; diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_content.tsx diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/field_stats_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/field_stats_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/field_stats_popover/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/field_stats_popover/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/field_stats_popover/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/attachments_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/categorize_field_actions.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/categorize_field_actions.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/categorize_field_actions.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/categorize_field_actions.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/category_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/category_table.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/expanded_row.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/expanded_row.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/expanded_row.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/expanded_row.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/labels.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/labels.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/labels.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/labels.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/table_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/table_header.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/table_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/table_header.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/use_actions.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_actions.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/use_actions.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_actions.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_table/use_open_in_discover.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/category_validation_callout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_validation_callout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/category_validation_callout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/category_validation_callout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/create_categorization_job.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/create_categorization_job.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/create_categorization_job.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/create_categorization_job.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/document_count_chart.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/document_count_chart.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/document_count_chart.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/document_count_chart.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/format_category.test.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/format_category.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.test.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/format_category.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/format_category.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/format_category.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/information_text.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/information_text.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/information_text.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/information_text.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/loading_categorization.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/loading_categorization.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/loading_categorization.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/loading_categorization.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_app_state.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_app_state.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_enabled.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_enabled.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_enabled.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_enabled.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/discover_tabs.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/embeddable_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/field_selector.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_discover_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/log_categorization_for_embeddable.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/minimum_time_range.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/selected_patterns.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_embeddable/use_minimum_time_range.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_for_flyout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/log_categorization_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/log_categorization_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/random_sampler_range_slider.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_panel.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/use_random_sampler_storage.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/show_flyout.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/show_flyout.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/show_flyout.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/show_flyout.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_categorize_request.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_categorize_request.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_categorize_request.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_categorize_request.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_discover_links.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_discover_links.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_discover_links.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_discover_links.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/use_validate_category_field.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_validate_category_field.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/use_validate_category_field.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/use_validate_category_field.ts diff --git a/x-pack/plugins/aiops/public/components/log_categorization/utils.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/utils.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_categorization/utils.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_categorization/utils.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_apply_button.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/item_filter_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/item_filter_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_app_state.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_content_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_document_count_chart_data.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_for_embeddable.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_info_popover.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_options.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx similarity index 98% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx index 862de229958f0..403434c51bb0f 100644 --- a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_page.tsx @@ -150,7 +150,7 @@ export const LogRateAnalysisPage: FC = ({ }, [documentStats, dispatch, earliest, intervalMs, latest]); useEffect( - // TODO: Consolidate this hook/function with the one in `x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx` + // TODO: Consolidate this hook/function with the one in `x-pack/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx` function clearFiltersOnLeave() { return () => { // We want to clear all filters that have not been pinned globally diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_results.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_failed_transactions_correlation_impact_label.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.test.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_group_table_items.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.test.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/get_table_item_as_kql.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/impact_bar.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/index.ts diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/log_rate_analysis_results_table_groups.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/table_action_button.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_columns.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.test.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_copy_to_clipboard_action.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_discover_action.tsx diff --git a/x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis_results_table/use_view_in_log_pattern_analysis_action.tsx diff --git a/x-pack/plugins/aiops/public/components/mini_histogram/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/mini_histogram/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/index.ts diff --git a/x-pack/plugins/aiops/public/components/mini_histogram/mini_histogram.tsx b/x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/mini_histogram.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/mini_histogram/mini_histogram.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/mini_histogram/mini_histogram.tsx diff --git a/x-pack/plugins/aiops/public/components/page_header/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/page_header/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/components/page_header/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/page_header/index.ts diff --git a/x-pack/plugins/aiops/public/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/page_header/page_header.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx diff --git a/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts b/x-pack/platform/plugins/shared/aiops/public/components/search_panel/index.ts similarity index 100% rename from x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/index.ts rename to x-pack/platform/plugins/shared/aiops/public/components/search_panel/index.ts diff --git a/x-pack/plugins/aiops/public/components/search_panel/search_panel.tsx b/x-pack/platform/plugins/shared/aiops/public/components/search_panel/search_panel.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/search_panel/search_panel.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/search_panel/search_panel.tsx diff --git a/x-pack/plugins/aiops/public/components/time_field_warning.tsx b/x-pack/platform/plugins/shared/aiops/public/components/time_field_warning.tsx similarity index 100% rename from x-pack/plugins/aiops/public/components/time_field_warning.tsx rename to x-pack/platform/plugins/shared/aiops/public/components/time_field_warning.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/change_point_chart_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/const.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/const.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/const.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/const.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_change_point_chart_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/embeddable_chart_component_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/initialize_change_point_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/resolve_change_point_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/change_point_chart/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/change_point_chart/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/change_point_chart/types.ts diff --git a/x-pack/plugins/aiops/public/embeddables/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/embeddable_log_rate_analysis_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/initialize_log_rate_analysis_analysis_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/log_rate_analysis_embeddable_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/resolve_log_rate_analysis_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/log_rate_analysis/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/log_rate_analysis/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/log_rate_analysis/types.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/embeddable_pattern_analysis_factory.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/index.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/index.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/index.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/initialize_pattern_analysis_controls.ts diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_component_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/pattern_analysis_initializer.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/resolve_pattern_analysis_config_input.tsx diff --git a/x-pack/plugins/aiops/public/embeddables/pattern_analysis/types.ts b/x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/types.ts similarity index 100% rename from x-pack/plugins/aiops/public/embeddables/pattern_analysis/types.ts rename to x-pack/platform/plugins/shared/aiops/public/embeddables/pattern_analysis/types.ts diff --git a/x-pack/plugins/aiops/public/get_document_stats.ts b/x-pack/platform/plugins/shared/aiops/public/get_document_stats.ts similarity index 100% rename from x-pack/plugins/aiops/public/get_document_stats.ts rename to x-pack/platform/plugins/shared/aiops/public/get_document_stats.ts diff --git a/x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_aiops_app_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/__mocks__/use_aiops_app_context.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_aiops_app_context.ts diff --git a/x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_reload.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/__mocks__/use_reload.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/__mocks__/use_reload.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_aiops_app_context.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_cancellable_search.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_cancellable_search.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_cancellable_search.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_cases_modal.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_cases_modal.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_cases_modal.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_cases_modal.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_data.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_data.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_data.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_data.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_data_source.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_data_source.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_data_source.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_data_source.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_document_count_stats.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_document_count_stats.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_document_count_stats.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_document_count_stats.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_eui_theme.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_eui_theme.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_eui_theme.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_eui_theme.ts diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.test.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.test.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_filters_query.test.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.test.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_filters_query.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_filters_query.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_filters_query.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_reload.tsx b/x-pack/platform/plugins/shared/aiops/public/hooks/use_reload.tsx similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_reload.tsx rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_reload.tsx diff --git a/x-pack/plugins/aiops/public/hooks/use_search.ts b/x-pack/platform/plugins/shared/aiops/public/hooks/use_search.ts similarity index 100% rename from x-pack/plugins/aiops/public/hooks/use_search.ts rename to x-pack/platform/plugins/shared/aiops/public/hooks/use_search.ts diff --git a/x-pack/plugins/aiops/public/index.ts b/x-pack/platform/plugins/shared/aiops/public/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/index.ts rename to x-pack/platform/plugins/shared/aiops/public/index.ts diff --git a/x-pack/plugins/aiops/public/plugin.tsx b/x-pack/platform/plugins/shared/aiops/public/plugin.tsx similarity index 100% rename from x-pack/plugins/aiops/public/plugin.tsx rename to x-pack/platform/plugins/shared/aiops/public/plugin.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/change_point_detection.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/change_point_detection.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/change_point_detection.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/index.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/index.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/index.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/index.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/log_rate_analysis_embeddable_wrapper.tsx diff --git a/x-pack/plugins/aiops/public/shared_components/pattern_analysis.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_components/pattern_analysis.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_components/pattern_analysis.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_components/pattern_analysis.tsx diff --git a/x-pack/plugins/aiops/public/shared_lazy_components.tsx b/x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx similarity index 100% rename from x-pack/plugins/aiops/public/shared_lazy_components.tsx rename to x-pack/platform/plugins/shared/aiops/public/shared_lazy_components.tsx diff --git a/x-pack/plugins/aiops/public/types/index.ts b/x-pack/platform/plugins/shared/aiops/public/types/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/types/index.ts rename to x-pack/platform/plugins/shared/aiops/public/types/index.ts diff --git a/x-pack/plugins/aiops/public/types/storage.ts b/x-pack/platform/plugins/shared/aiops/public/types/storage.ts similarity index 100% rename from x-pack/plugins/aiops/public/types/storage.ts rename to x-pack/platform/plugins/shared/aiops/public/types/storage.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/change_point_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/change_point_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/change_point_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/change_point_action_context.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/create_change_point_chart.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_change_point_chart.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_change_point_chart.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_change_point_chart.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_log_rate_analysis_actions.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/create_pattern_analysis_action.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/create_pattern_analysis_action.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/create_pattern_analysis_action.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/create_pattern_analysis_action.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/index.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/index.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/index.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/index.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/log_rate_analysis_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/log_rate_analysis_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/log_rate_analysis_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/log_rate_analysis_action_context.ts diff --git a/x-pack/plugins/aiops/public/ui_actions/open_change_point_ml.tsx b/x-pack/platform/plugins/shared/aiops/public/ui_actions/open_change_point_ml.tsx similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/open_change_point_ml.tsx rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/open_change_point_ml.tsx diff --git a/x-pack/plugins/aiops/public/ui_actions/pattern_analysis_action_context.ts b/x-pack/platform/plugins/shared/aiops/public/ui_actions/pattern_analysis_action_context.ts similarity index 100% rename from x-pack/plugins/aiops/public/ui_actions/pattern_analysis_action_context.ts rename to x-pack/platform/plugins/shared/aiops/public/ui_actions/pattern_analysis_action_context.ts diff --git a/x-pack/plugins/aiops/server/index.ts b/x-pack/platform/plugins/shared/aiops/server/index.ts similarity index 100% rename from x-pack/plugins/aiops/server/index.ts rename to x-pack/platform/plugins/shared/aiops/server/index.ts diff --git a/x-pack/plugins/aiops/server/lib/license.ts b/x-pack/platform/plugins/shared/aiops/server/lib/license.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/license.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/license.ts diff --git a/x-pack/plugins/aiops/server/lib/track_route_usage.test.ts b/x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.test.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/track_route_usage.test.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.test.ts diff --git a/x-pack/plugins/aiops/server/lib/track_route_usage.ts b/x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.ts similarity index 100% rename from x-pack/plugins/aiops/server/lib/track_route_usage.ts rename to x-pack/platform/plugins/shared/aiops/server/lib/track_route_usage.ts diff --git a/x-pack/plugins/aiops/server/plugin.ts b/x-pack/platform/plugins/shared/aiops/server/plugin.ts similarity index 100% rename from x-pack/plugins/aiops/server/plugin.ts rename to x-pack/platform/plugins/shared/aiops/server/plugin.ts diff --git a/x-pack/plugins/aiops/server/register_cases.ts b/x-pack/platform/plugins/shared/aiops/server/register_cases.ts similarity index 100% rename from x-pack/plugins/aiops/server/register_cases.ts rename to x-pack/platform/plugins/shared/aiops/server/register_cases.ts diff --git a/x-pack/plugins/aiops/server/routes/categorization_field_validation/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/categorization_field_validation/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/categorization_field_validation/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/categorization_field_validation/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/categorization_field_validation/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/error_wrapper.ts b/x-pack/platform/plugins/shared/aiops/server/routes/error_wrapper.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/error_wrapper.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/error_wrapper.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/grouping_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/histogram_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/index_info_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overall_histogram_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/overrides_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/significant_items_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/analysis_handlers/top_items_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/constants.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/log_debug_message.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/state_handler.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_end_with_updated_loading_state.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_error.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/response_stream_utils/stream_push_ping_with_timeout.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/define_route.ts diff --git a/x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts b/x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts similarity index 100% rename from x-pack/plugins/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts rename to x-pack/platform/plugins/shared/aiops/server/routes/log_rate_analysis_field_candidates/route_handler_factory.ts diff --git a/x-pack/plugins/aiops/server/types.ts b/x-pack/platform/plugins/shared/aiops/server/types.ts similarity index 100% rename from x-pack/plugins/aiops/server/types.ts rename to x-pack/platform/plugins/shared/aiops/server/types.ts diff --git a/x-pack/plugins/aiops/tsconfig.json b/x-pack/platform/plugins/shared/aiops/tsconfig.json similarity index 96% rename from x-pack/plugins/aiops/tsconfig.json rename to x-pack/platform/plugins/shared/aiops/tsconfig.json index 7b4b8493e1ab8..afee86051b7a0 100644 --- a/x-pack/plugins/aiops/tsconfig.json +++ b/x-pack/platform/plugins/shared/aiops/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "public/**/*", "scripts/**/*", "server/**/*", diff --git a/x-pack/plugins/ml/.gitignore b/x-pack/platform/plugins/shared/ml/.gitignore similarity index 100% rename from x-pack/plugins/ml/.gitignore rename to x-pack/platform/plugins/shared/ml/.gitignore diff --git a/x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data.json b/x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data.json similarity index 100% rename from x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data.json rename to x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data.json diff --git a/x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json b/x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json similarity index 100% rename from x-pack/plugins/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json rename to x-pack/platform/plugins/shared/ml/common/__mocks__/mock_anomalies_table_data_multiple_detectors.json diff --git a/x-pack/plugins/ml/common/api_schemas/json_schema_schema.ts b/x-pack/platform/plugins/shared/ml/common/api_schemas/json_schema_schema.ts similarity index 100% rename from x-pack/plugins/ml/common/api_schemas/json_schema_schema.ts rename to x-pack/platform/plugins/shared/ml/common/api_schemas/json_schema_schema.ts diff --git a/x-pack/plugins/ml/common/constants/alerts.ts b/x-pack/platform/plugins/shared/ml/common/constants/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/constants/alerts.ts diff --git a/x-pack/plugins/ml/common/constants/annotations.ts b/x-pack/platform/plugins/shared/ml/common/constants/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/annotations.ts rename to x-pack/platform/plugins/shared/ml/common/constants/annotations.ts diff --git a/x-pack/plugins/ml/common/constants/app.ts b/x-pack/platform/plugins/shared/ml/common/constants/app.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/app.ts rename to x-pack/platform/plugins/shared/ml/common/constants/app.ts diff --git a/x-pack/plugins/ml/common/constants/calendars.ts b/x-pack/platform/plugins/shared/ml/common/constants/calendars.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/calendars.ts rename to x-pack/platform/plugins/shared/ml/common/constants/calendars.ts diff --git a/x-pack/plugins/ml/common/constants/cases.ts b/x-pack/platform/plugins/shared/ml/common/constants/cases.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/cases.ts rename to x-pack/platform/plugins/shared/ml/common/constants/cases.ts diff --git a/x-pack/plugins/ml/common/constants/charts.ts b/x-pack/platform/plugins/shared/ml/common/constants/charts.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/charts.ts rename to x-pack/platform/plugins/shared/ml/common/constants/charts.ts diff --git a/x-pack/plugins/ml/common/constants/cloud.ts b/x-pack/platform/plugins/shared/ml/common/constants/cloud.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/cloud.ts rename to x-pack/platform/plugins/shared/ml/common/constants/cloud.ts diff --git a/x-pack/plugins/ml/common/constants/index_patterns.ts b/x-pack/platform/plugins/shared/ml/common/constants/index_patterns.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/index_patterns.ts rename to x-pack/platform/plugins/shared/ml/common/constants/index_patterns.ts diff --git a/x-pack/plugins/ml/common/constants/job_actions.ts b/x-pack/platform/plugins/shared/ml/common/constants/job_actions.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/job_actions.ts rename to x-pack/platform/plugins/shared/ml/common/constants/job_actions.ts diff --git a/x-pack/plugins/ml/common/constants/jobs_list.ts b/x-pack/platform/plugins/shared/ml/common/constants/jobs_list.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/jobs_list.ts rename to x-pack/platform/plugins/shared/ml/common/constants/jobs_list.ts diff --git a/x-pack/plugins/ml/common/constants/license.ts b/x-pack/platform/plugins/shared/ml/common/constants/license.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/license.ts rename to x-pack/platform/plugins/shared/ml/common/constants/license.ts diff --git a/x-pack/plugins/ml/common/constants/locator.ts b/x-pack/platform/plugins/shared/ml/common/constants/locator.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/locator.ts rename to x-pack/platform/plugins/shared/ml/common/constants/locator.ts diff --git a/x-pack/plugins/ml/common/constants/message_levels.ts b/x-pack/platform/plugins/shared/ml/common/constants/message_levels.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/message_levels.ts rename to x-pack/platform/plugins/shared/ml/common/constants/message_levels.ts diff --git a/x-pack/plugins/ml/common/constants/messages.test.mock.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.test.mock.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.test.mock.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.test.mock.ts diff --git a/x-pack/plugins/ml/common/constants/messages.test.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.test.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.test.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.test.ts diff --git a/x-pack/plugins/ml/common/constants/messages.ts b/x-pack/platform/plugins/shared/ml/common/constants/messages.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/messages.ts rename to x-pack/platform/plugins/shared/ml/common/constants/messages.ts diff --git a/x-pack/plugins/ml/common/constants/new_job.ts b/x-pack/platform/plugins/shared/ml/common/constants/new_job.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/new_job.ts rename to x-pack/platform/plugins/shared/ml/common/constants/new_job.ts diff --git a/x-pack/plugins/ml/common/constants/notifications.ts b/x-pack/platform/plugins/shared/ml/common/constants/notifications.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/notifications.ts rename to x-pack/platform/plugins/shared/ml/common/constants/notifications.ts diff --git a/x-pack/plugins/ml/common/constants/search.ts b/x-pack/platform/plugins/shared/ml/common/constants/search.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/search.ts rename to x-pack/platform/plugins/shared/ml/common/constants/search.ts diff --git a/x-pack/plugins/ml/common/constants/settings.ts b/x-pack/platform/plugins/shared/ml/common/constants/settings.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/settings.ts rename to x-pack/platform/plugins/shared/ml/common/constants/settings.ts diff --git a/x-pack/plugins/ml/common/constants/states.ts b/x-pack/platform/plugins/shared/ml/common/constants/states.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/states.ts rename to x-pack/platform/plugins/shared/ml/common/constants/states.ts diff --git a/x-pack/plugins/ml/common/constants/trained_models.ts b/x-pack/platform/plugins/shared/ml/common/constants/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/trained_models.ts rename to x-pack/platform/plugins/shared/ml/common/constants/trained_models.ts diff --git a/x-pack/plugins/ml/common/constants/usage_collection.ts b/x-pack/platform/plugins/shared/ml/common/constants/usage_collection.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/usage_collection.ts rename to x-pack/platform/plugins/shared/ml/common/constants/usage_collection.ts diff --git a/x-pack/plugins/ml/common/index.ts b/x-pack/platform/plugins/shared/ml/common/index.ts similarity index 100% rename from x-pack/plugins/ml/common/index.ts rename to x-pack/platform/plugins/shared/ml/common/index.ts diff --git a/x-pack/plugins/ml/common/license/index.ts b/x-pack/platform/plugins/shared/ml/common/license/index.ts similarity index 100% rename from x-pack/plugins/ml/common/license/index.ts rename to x-pack/platform/plugins/shared/ml/common/license/index.ts diff --git a/x-pack/plugins/ml/common/license/ml_license.ts b/x-pack/platform/plugins/shared/ml/common/license/ml_license.ts similarity index 100% rename from x-pack/plugins/ml/common/license/ml_license.ts rename to x-pack/platform/plugins/shared/ml/common/license/ml_license.ts diff --git a/x-pack/plugins/ml/common/openapi/README.md b/x-pack/platform/plugins/shared/ml/common/openapi/README.md similarity index 100% rename from x-pack/plugins/ml/common/openapi/README.md rename to x-pack/platform/plugins/shared/ml/common/openapi/README.md diff --git a/x-pack/plugins/ml/common/openapi/ml_apis.yaml b/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml similarity index 100% rename from x-pack/plugins/ml/common/openapi/ml_apis.yaml rename to x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml diff --git a/x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml b/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml similarity index 100% rename from x-pack/plugins/ml/common/openapi/ml_apis_serverless.yaml rename to x-pack/platform/plugins/shared/ml/common/openapi/ml_apis_serverless.yaml diff --git a/x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json b/x-pack/platform/plugins/shared/ml/common/types/__mocks__/job_config_farequote.json similarity index 100% rename from x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json rename to x-pack/platform/plugins/shared/ml/common/types/__mocks__/job_config_farequote.json diff --git a/x-pack/plugins/ml/common/types/alerts.ts b/x-pack/platform/plugins/shared/ml/common/types/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/types/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/types/alerts.ts diff --git a/x-pack/plugins/ml/common/types/annotations.test.ts b/x-pack/platform/plugins/shared/ml/common/types/annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/annotations.test.ts diff --git a/x-pack/plugins/ml/common/types/annotations.ts b/x-pack/platform/plugins/shared/ml/common/types/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.ts rename to x-pack/platform/plugins/shared/ml/common/types/annotations.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.test.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.test.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/combined_job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/combined_job.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/datafeed_stats.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/index.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/index.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/index.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job_stats.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job_stats.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/job_stats.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/job_stats.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/model_snapshot.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/model_snapshot.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/model_snapshot.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/model_snapshot.ts diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts b/x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts similarity index 100% rename from x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts rename to x-pack/platform/plugins/shared/ml/common/types/anomaly_detection_jobs/summary_job.ts diff --git a/x-pack/plugins/ml/common/types/audit_message.ts b/x-pack/platform/plugins/shared/ml/common/types/audit_message.ts similarity index 100% rename from x-pack/plugins/ml/common/types/audit_message.ts rename to x-pack/platform/plugins/shared/ml/common/types/audit_message.ts diff --git a/x-pack/plugins/ml/common/types/calendars.ts b/x-pack/platform/plugins/shared/ml/common/types/calendars.ts similarity index 100% rename from x-pack/plugins/ml/common/types/calendars.ts rename to x-pack/platform/plugins/shared/ml/common/types/calendars.ts diff --git a/x-pack/plugins/ml/common/types/capabilities.ts b/x-pack/platform/plugins/shared/ml/common/types/capabilities.ts similarity index 100% rename from x-pack/plugins/ml/common/types/capabilities.ts rename to x-pack/platform/plugins/shared/ml/common/types/capabilities.ts diff --git a/x-pack/plugins/ml/common/types/categories.ts b/x-pack/platform/plugins/shared/ml/common/types/categories.ts similarity index 100% rename from x-pack/plugins/ml/common/types/categories.ts rename to x-pack/platform/plugins/shared/ml/common/types/categories.ts diff --git a/x-pack/plugins/ml/common/types/common.test.ts b/x-pack/platform/plugins/shared/ml/common/types/common.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.test.ts rename to x-pack/platform/plugins/shared/ml/common/types/common.test.ts diff --git a/x-pack/plugins/ml/common/types/common.ts b/x-pack/platform/plugins/shared/ml/common/types/common.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.ts rename to x-pack/platform/plugins/shared/ml/common/types/common.ts diff --git a/x-pack/plugins/ml/common/types/data_recognizer.ts b/x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts similarity index 100% rename from x-pack/plugins/ml/common/types/data_recognizer.ts rename to x-pack/platform/plugins/shared/ml/common/types/data_recognizer.ts diff --git a/x-pack/plugins/ml/common/types/detector_rules.ts b/x-pack/platform/plugins/shared/ml/common/types/detector_rules.ts similarity index 100% rename from x-pack/plugins/ml/common/types/detector_rules.ts rename to x-pack/platform/plugins/shared/ml/common/types/detector_rules.ts diff --git a/x-pack/plugins/ml/common/types/filters.ts b/x-pack/platform/plugins/shared/ml/common/types/filters.ts similarity index 100% rename from x-pack/plugins/ml/common/types/filters.ts rename to x-pack/platform/plugins/shared/ml/common/types/filters.ts diff --git a/x-pack/plugins/ml/common/types/groups.ts b/x-pack/platform/plugins/shared/ml/common/types/groups.ts similarity index 100% rename from x-pack/plugins/ml/common/types/groups.ts rename to x-pack/platform/plugins/shared/ml/common/types/groups.ts diff --git a/x-pack/plugins/ml/common/types/job_service.ts b/x-pack/platform/plugins/shared/ml/common/types/job_service.ts similarity index 100% rename from x-pack/plugins/ml/common/types/job_service.ts rename to x-pack/platform/plugins/shared/ml/common/types/job_service.ts diff --git a/x-pack/plugins/ml/common/types/job_validation.ts b/x-pack/platform/plugins/shared/ml/common/types/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/common/types/job_validation.ts rename to x-pack/platform/plugins/shared/ml/common/types/job_validation.ts diff --git a/x-pack/plugins/ml/common/types/kibana.ts b/x-pack/platform/plugins/shared/ml/common/types/kibana.ts similarity index 100% rename from x-pack/plugins/ml/common/types/kibana.ts rename to x-pack/platform/plugins/shared/ml/common/types/kibana.ts diff --git a/x-pack/plugins/ml/common/types/locator.ts b/x-pack/platform/plugins/shared/ml/common/types/locator.ts similarity index 100% rename from x-pack/plugins/ml/common/types/locator.ts rename to x-pack/platform/plugins/shared/ml/common/types/locator.ts diff --git a/x-pack/plugins/ml/common/types/management.ts b/x-pack/platform/plugins/shared/ml/common/types/management.ts similarity index 100% rename from x-pack/plugins/ml/common/types/management.ts rename to x-pack/platform/plugins/shared/ml/common/types/management.ts diff --git a/x-pack/plugins/ml/common/types/ml_server_info.ts b/x-pack/platform/plugins/shared/ml/common/types/ml_server_info.ts similarity index 100% rename from x-pack/plugins/ml/common/types/ml_server_info.ts rename to x-pack/platform/plugins/shared/ml/common/types/ml_server_info.ts diff --git a/x-pack/plugins/ml/common/types/modules.ts b/x-pack/platform/plugins/shared/ml/common/types/modules.ts similarity index 100% rename from x-pack/plugins/ml/common/types/modules.ts rename to x-pack/platform/plugins/shared/ml/common/types/modules.ts diff --git a/x-pack/plugins/ml/common/types/notifications.ts b/x-pack/platform/plugins/shared/ml/common/types/notifications.ts similarity index 100% rename from x-pack/plugins/ml/common/types/notifications.ts rename to x-pack/platform/plugins/shared/ml/common/types/notifications.ts diff --git a/x-pack/plugins/ml/common/types/results.ts b/x-pack/platform/plugins/shared/ml/common/types/results.ts similarity index 100% rename from x-pack/plugins/ml/common/types/results.ts rename to x-pack/platform/plugins/shared/ml/common/types/results.ts diff --git a/x-pack/plugins/ml/common/types/saved_objects.ts b/x-pack/platform/plugins/shared/ml/common/types/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/common/types/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/common/types/saved_objects.ts diff --git a/x-pack/plugins/ml/common/types/storage.test.tsx b/x-pack/platform/plugins/shared/ml/common/types/storage.test.tsx similarity index 100% rename from x-pack/plugins/ml/common/types/storage.test.tsx rename to x-pack/platform/plugins/shared/ml/common/types/storage.test.tsx diff --git a/x-pack/plugins/ml/common/types/storage.ts b/x-pack/platform/plugins/shared/ml/common/types/storage.ts similarity index 100% rename from x-pack/plugins/ml/common/types/storage.ts rename to x-pack/platform/plugins/shared/ml/common/types/storage.ts diff --git a/x-pack/plugins/ml/common/types/trained_models.ts b/x-pack/platform/plugins/shared/ml/common/types/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/common/types/trained_models.ts rename to x-pack/platform/plugins/shared/ml/common/types/trained_models.ts diff --git a/x-pack/plugins/ml/common/util/alerts.test.ts b/x-pack/platform/plugins/shared/ml/common/util/alerts.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/alerts.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/alerts.test.ts diff --git a/x-pack/plugins/ml/common/util/alerts.ts b/x-pack/platform/plugins/shared/ml/common/util/alerts.ts similarity index 100% rename from x-pack/plugins/ml/common/util/alerts.ts rename to x-pack/platform/plugins/shared/ml/common/util/alerts.ts diff --git a/x-pack/plugins/ml/common/util/anomalies_table_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomalies_table_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/anomalies_table_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomalies_table_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomalies_table_utils.ts diff --git a/x-pack/plugins/ml/common/util/anomaly_description.ts b/x-pack/platform/plugins/shared/ml/common/util/anomaly_description.ts similarity index 100% rename from x-pack/plugins/ml/common/util/anomaly_description.ts rename to x-pack/platform/plugins/shared/ml/common/util/anomaly_description.ts diff --git a/x-pack/plugins/ml/common/util/chart_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/chart_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/chart_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/chart_utils.ts diff --git a/x-pack/plugins/ml/common/util/datafeed_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/datafeed_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/datafeed_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/datafeed_utils.ts diff --git a/x-pack/plugins/ml/common/util/es_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/es_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/es_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/es_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/es_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/es_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/es_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/es_utils.ts diff --git a/x-pack/plugins/ml/common/util/fields_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/fields_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/fields_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/fields_utils.ts diff --git a/x-pack/plugins/ml/common/util/group_color_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/group_color_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/group_color_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/group_color_utils.ts diff --git a/x-pack/plugins/ml/common/util/job_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/job_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/job_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/job_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/job_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/job_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/job_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/job_utils.ts diff --git a/x-pack/plugins/ml/common/util/metric_change_description.test.ts b/x-pack/platform/plugins/shared/ml/common/util/metric_change_description.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/metric_change_description.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/metric_change_description.test.ts diff --git a/x-pack/plugins/ml/common/util/metric_change_description.ts b/x-pack/platform/plugins/shared/ml/common/util/metric_change_description.ts similarity index 100% rename from x-pack/plugins/ml/common/util/metric_change_description.ts rename to x-pack/platform/plugins/shared/ml/common/util/metric_change_description.ts diff --git a/x-pack/plugins/ml/common/util/object_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/object_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/object_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/object_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/object_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/object_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/object_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/object_utils.ts diff --git a/x-pack/plugins/ml/common/util/string_utils.test.ts b/x-pack/platform/plugins/shared/ml/common/util/string_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/common/util/string_utils.test.ts rename to x-pack/platform/plugins/shared/ml/common/util/string_utils.test.ts diff --git a/x-pack/plugins/ml/common/util/string_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/string_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/string_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/string_utils.ts diff --git a/x-pack/plugins/ml/common/util/validation_utils.ts b/x-pack/platform/plugins/shared/ml/common/util/validation_utils.ts similarity index 100% rename from x-pack/plugins/ml/common/util/validation_utils.ts rename to x-pack/platform/plugins/shared/ml/common/util/validation_utils.ts diff --git a/x-pack/plugins/data_visualizer/jest.config.js b/x-pack/platform/plugins/shared/ml/jest.config.js similarity index 67% rename from x-pack/plugins/data_visualizer/jest.config.js rename to x-pack/platform/plugins/shared/ml/jest.config.js index 46de590b709bb..e8b18e7ea256c 100644 --- a/x-pack/plugins/data_visualizer/jest.config.js +++ b/x-pack/platform/plugins/shared/ml/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/data_visualizer'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_visualizer', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/ml'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/ml', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/data_visualizer/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/ml/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/ml/kibana.jsonc b/x-pack/platform/plugins/shared/ml/kibana.jsonc similarity index 100% rename from x-pack/plugins/ml/kibana.jsonc rename to x-pack/platform/plugins/shared/ml/kibana.jsonc diff --git a/x-pack/plugins/ml/public/__mocks__/core_start.ts b/x-pack/platform/plugins/shared/ml/public/__mocks__/core_start.ts similarity index 100% rename from x-pack/plugins/ml/public/__mocks__/core_start.ts rename to x-pack/platform/plugins/shared/ml/public/__mocks__/core_start.ts diff --git a/x-pack/plugins/ml/public/__mocks__/ml_start_deps.ts b/x-pack/platform/plugins/shared/ml/public/__mocks__/ml_start_deps.ts similarity index 100% rename from x-pack/plugins/ml/public/__mocks__/ml_start_deps.ts rename to x-pack/platform/plugins/shared/ml/public/__mocks__/ml_start_deps.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/alert_actions.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/index.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/register_alerts_table_configuration.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.test.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/render_cell_value.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_alerts_table/use_alerts_flyout.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/advanced_settings.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/config_validator.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/config_validator.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/config_validator.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/config_validator.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/index.ts diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/interim_results_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/ml_anomaly_alert_trigger.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/preview_alert_condition.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/register_anomaly_detection_rule.tsx diff --git a/x-pack/plugins/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/anomaly_detection_rule/result_type_selector.tsx diff --git a/x-pack/plugins/ml/public/alerting/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/index.ts diff --git a/x-pack/plugins/ml/public/alerting/job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/job_selector.tsx diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/anomaly_detection_jobs_health_rule_trigger.tsx diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/index.ts b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/index.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/index.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/index.ts diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/register_jobs_health_alerting_rule.ts diff --git a/x-pack/plugins/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/jobs_health_rule/tests_selection_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/ml_alerting_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/ml_alerting_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/ml_alerting_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/ml_alerting_flyout.tsx diff --git a/x-pack/plugins/ml/public/alerting/register_ml_alerts.ts b/x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/register_ml_alerts.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/register_ml_alerts.ts diff --git a/x-pack/plugins/ml/public/alerting/time_interval_control.tsx b/x-pack/platform/plugins/shared/ml/public/alerting/time_interval_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/alerting/time_interval_control.tsx rename to x-pack/platform/plugins/shared/ml/public/alerting/time_interval_control.tsx diff --git a/x-pack/plugins/ml/public/alerting/validators.ts b/x-pack/platform/plugins/shared/ml/public/alerting/validators.ts similarity index 100% rename from x-pack/plugins/ml/public/alerting/validators.ts rename to x-pack/platform/plugins/shared/ml/public/alerting/validators.ts diff --git a/x-pack/plugins/ml/public/application/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/_index.scss diff --git a/x-pack/plugins/ml/public/application/_variables.scss b/x-pack/platform/plugins/shared/ml/public/application/_variables.scss similarity index 100% rename from x-pack/plugins/ml/public/application/_variables.scss rename to x-pack/platform/plugins/shared/ml/public/application/_variables.scss diff --git a/x-pack/plugins/ml/public/application/access_denied/access_denied.tsx b/x-pack/platform/plugins/shared/ml/public/application/access_denied/access_denied.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/access_denied/access_denied.tsx rename to x-pack/platform/plugins/shared/ml/public/application/access_denied/access_denied.tsx diff --git a/x-pack/plugins/ml/public/application/access_denied/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/access_denied/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/access_denied/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/access_denied/index.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/change_point_detection.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/change_point_detection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/change_point_detection.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/application/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/aiops/index.ts diff --git a/x-pack/plugins/ml/public/application/aiops/log_categorization.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/log_categorization.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/log_categorization.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/log_categorization.tsx diff --git a/x-pack/plugins/ml/public/application/aiops/log_rate_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/aiops/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/aiops/log_rate_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/aiops/log_rate_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/app.tsx b/x-pack/platform/plugins/shared/ml/public/application/app.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/app.tsx rename to x-pack/platform/plugins/shared/ml/public/application/app.tsx diff --git a/x-pack/plugins/ml/public/application/capabilities/__mocks__/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/__mocks__/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/__mocks__/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/__mocks__/check_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/capabilities/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/check_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/capabilities/get_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/capabilities/get_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/capabilities/get_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/capabilities/get_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_description_list/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_description_list/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotation_flyout/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotation_flyout/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__mocks__/mock_annotations.json diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/annotations_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/annotations_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/annotations_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/annotations_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/annotations_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/annotations/delete_annotation_modal/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/annotations/delete_annotation_modal/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/annotations/delete_annotation_modal/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/annotations/delete_annotation_modal/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/_anomalies_table.scss b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_anomalies_table.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/_anomalies_table.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_anomalies_table.scss diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_columns.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_columns.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_columns.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomalies_table_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomalies_table_constants.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.test.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/description_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/description_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/description_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/description_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/detector_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/detector_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/detector_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/detector_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.test.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/get_query_string_for_influencers.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/influencers_cell.js b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/influencers_cell.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/influencers_cell.js rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/influencers_cell.js diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/links_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/links_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/links_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/links_menu.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/index.ts diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomalies_table/severity_cell/severity_cell.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/anomaly_results_view_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/anomaly_results_view_selector/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/anomaly_results_view_selector/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/callout/callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/callout/callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/callout/callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/callout/callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/callout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip.tsx diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.test.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_service.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/chart_tooltip_styles.ts diff --git a/x-pack/plugins/ml/public/application/components/chart_tooltip/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/chart_tooltip/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/chart_tooltip/index.ts diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/collapsible_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/collapsible_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/collapsible_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/collapsible_panel.tsx diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/components/collapsible_panel/panel_header_items.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/panel_header_items.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/collapsible_panel/panel_header_items.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/collapsible_panel/panel_header_items.tsx diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/color_range_legend.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/color_range_legend.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/color_range_legend.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/color_range_legend.tsx diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/index.ts diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.test.ts diff --git a/x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.ts b/x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/color_range_legend/use_color_range.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/color_range_legend/use_color_range.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/checkbox_showcharts.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/checkbox_showcharts/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/checkbox_showcharts/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_interval/select_interval.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_interval/select_interval.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/index.ts diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/controls/select_severity/select_severity.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/controls/select_severity/select_severity.tsx diff --git a/x-pack/plugins/ml/public/application/components/create_data_view_button/create_data_view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/create_data_view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/create_data_view_button/create_data_view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/create_data_view_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/create_data_view_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/create_data_view_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/create_data_view_button/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/use_create_ad_links.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_create_ad_links.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/use_create_ad_links.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_create_ad_links.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_hooks/use_partial_state.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_partial_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_hooks/use_partial_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_hooks/use_partial_state.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_selection_table/custom_selection_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_selection_table/custom_selection_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/custom_selection_table.js diff --git a/x-pack/plugins/ml/public/application/components/custom_selection_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_selection_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_selection_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/__snapshots__/list.test.tsx.snap diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/constants.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/custom_time_range_picker.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/editor.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/get_dropdown_options.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/interval_time_range_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/list.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_url_editor/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_url_editor/utils.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_urls.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_urls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/custom_urls_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/index.ts diff --git a/x-pack/plugins/ml/public/application/components/custom_urls/is_valid_custom_urls.ts b/x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/is_valid_custom_urls.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/custom_urls/is_valid_custom_urls.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/custom_urls/is_valid_custom_urls.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.d.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.js b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.js rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/data_recognizer.js diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/index.ts diff --git a/x-pack/plugins/ml/public/application/components/data_recognizer/recognized_result.js b/x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/data_recognizer/recognized_result.js rename to x-pack/platform/plugins/shared/ml/public/application/components/data_recognizer/recognized_result.js diff --git a/x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/delete_space_aware_item_check_modal.tsx diff --git a/x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/delete_space_aware_item_check_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/delete_space_aware_item_check_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/components/display_value/display_value.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/display_value/display_value.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/display_value/display_value.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/display_value/display_value.tsx diff --git a/x-pack/plugins/ml/public/application/components/display_value/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/display_value/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/display_value/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/display_value/index.ts diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.scss b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.scss diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/entity_cell.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/entity_cell.tsx diff --git a/x-pack/plugins/ml/public/application/components/entity_cell/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/entity_cell/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/entity_cell/index.ts diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/feature_feedback_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feature_feedback_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/feature_feedback_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feature_feedback_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/feedback_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feedback_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/feedback_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/feedback_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/feedback_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/feedback_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/feedback_button/index.ts diff --git a/x-pack/plugins/ml/public/application/components/header_menu_portal/header_menu_portal.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/header_menu_portal/header_menu_portal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/header_menu_portal.tsx diff --git a/x-pack/plugins/ml/public/application/components/header_menu_portal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/header_menu_portal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/header_menu_portal/index.ts diff --git a/x-pack/plugins/ml/public/application/components/help_icon/help_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_icon/help_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_icon/help_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_icon/help_icon.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_icon/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_icon/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_icon/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_icon/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_menu/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_menu/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_menu/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_menu/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_popover/help_popover.scss b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/help_popover.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.scss diff --git a/x-pack/plugins/ml/public/application/components/help_popover/help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/components/help_popover/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/help_popover/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/help_popover/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/help_popover/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_job_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/export_jobs_flyout_content.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/export_jobs_flyout/jobs_export_service.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_import_jobs_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/cannot_read_file_callout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/jobs_import_service.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/import_jobs_flyout/validate.ts diff --git a/x-pack/plugins/ml/public/application/components/import_export_jobs/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/import_export_jobs/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/import_export_jobs/index.ts diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/index.ts diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/influencers_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/influencers_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/influencers_list/influencers_list_styles.ts b/x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list_styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/influencers_list/influencers_list_styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/influencers_list/influencers_list_styles.ts diff --git a/x-pack/plugins/ml/public/application/components/items_grid/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/index.js diff --git a/x-pack/plugins/ml/public/application/components/items_grid/items_grid.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/items_grid.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid.js diff --git a/x-pack/plugins/ml/public/application/components/items_grid/items_grid_pagination.js b/x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid_pagination.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/items_grid/items_grid_pagination.js rename to x-pack/platform/plugins/shared/ml/public/application/components/items_grid/items_grid_pagination.js diff --git a/x-pack/plugins/ml/public/application/components/job_message_icon/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_message_icon/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_message_icon/job_message_icon.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_messages/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_messages/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_messages/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_messages/job_messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_messages/job_messages.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/job_selector/_job_selector.scss b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_job_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/_job_selector.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/_job_selector.scss diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/id_badges.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/id_badges.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/id_badges/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/id_badges/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/id_badges/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_select_service_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_select_service_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_select_service_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_select_service_utils.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_badge/job_selector_badge.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/job_selector_table/job_selector_table.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/new_selection_id_badges/new_selection_id_badges.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/index.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/timerange_bar/timerange_bar.test.js diff --git a/x-pack/plugins/ml/public/application/components/job_selector/use_job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_selector/use_job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_selector/use_job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_selector/use_job_selection.ts diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/index.ts diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/job_spaces_sync_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/sync_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/job_spaces_sync/sync_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/job_spaces_sync/sync_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx diff --git a/x-pack/plugins/ml/public/application/components/link_card/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/link_card/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/link_card/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/link_card/index.ts diff --git a/x-pack/plugins/ml/public/application/components/link_card/link_card.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/link_card/link_card.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/link_card/link_card.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/link_card/link_card.tsx diff --git a/x-pack/plugins/ml/public/application/components/loading_indicator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/loading_indicator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/index.ts diff --git a/x-pack/plugins/ml/public/application/components/loading_indicator/loading_indicator.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/loading_indicator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/loading_indicator/loading_indicator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/loading_indicator/loading_indicator.tsx diff --git a/x-pack/plugins/ml/public/application/components/message_call_out/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/message_call_out/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/index.js diff --git a/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js b/x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/message_call_out.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js rename to x-pack/platform/plugins/shared/ml/public/application/components/message_call_out/message_call_out.js diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_entity_selector/ml_entity_selector.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/add_inference_pipeline_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/additional_advanced_settings.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/pipeline_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/pipeline_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/pipeline_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/pipeline_details.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/processor_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/processor_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/processor_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/processor_configuration.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/reindex_with_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/save_changes_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/save_changes_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/save_changes_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/save_changes_button.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/components/test_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/test_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/components/test_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/components/test_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/constants.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/get_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/get_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/get_steps.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_steps.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/get_steps.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/get_steps.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/hooks/use_fetch_pipelines.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/retry_create_data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/retry_create_data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/retry_create_data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/retry_create_data_view.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/state.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/state.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/types.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/types.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/types.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/types.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_inference/validation.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/validation.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_inference/validation.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_inference/validation.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_page/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_page/ml_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/ml_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/ml_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/ml_page.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_page/notifications_indicator.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/notifications_indicator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/notifications_indicator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/notifications_indicator.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_page/side_nav.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_page/side_nav.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_page/side_nav.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_page/side_nav.tsx diff --git a/x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/index.ts diff --git a/x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/ml_saved_objects_spaces_list/ml_saved_objects_spaces_list.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/close_job_confirm.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/close_job_confirm/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/close_job_confirm/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/edit_model_snapshot_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/edit_model_snapshot_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/model_snapshots_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/model_snapshots_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/model_snapshots_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/model_snapshots_table.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/chart_loader.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/create_calendar.tsx diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/components/multi_select_picker/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/multi_select_picker/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/index.ts diff --git a/x-pack/plugins/ml/public/application/components/multi_select_picker/multi_select_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/multi_select_picker/multi_select_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/multi_select_picker/multi_select_picker.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/hooks.ts b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/hooks.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/hooks.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/hooks.ts diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/node_available_warning_shared.tsx diff --git a/x-pack/plugins/ml/public/application/components/node_available_warning/warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/node_available_warning/warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/node_available_warning/warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/page_header/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/page_header/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_header/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/page_header/index.ts diff --git a/x-pack/plugins/ml/public/application/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/page_header/page_header.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_header/page_header.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/page_header/page_header.tsx diff --git a/x-pack/plugins/ml/public/application/components/page_title/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/page_title/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_title/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/page_title/index.ts diff --git a/x-pack/plugins/ml/public/application/components/page_title/page_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/page_title/page_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/page_title/page_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/page_title/page_title.tsx diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/actions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/condition_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/conditions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/__snapshots__/scope_section.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/_rule_editor.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_rule_editor.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/_rule_editor.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/_rule_editor.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/actions_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/actions_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/actions_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/actions_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/actions_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_detector_description_list.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/detector_description_list.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/components/detector_description_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/components/detector_description_list/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/condition_expression.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/condition_expression.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/conditions_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/conditions_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/rule_editor_flyout.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/rule_editor_flyout.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_expression.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_expression.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_section.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_section.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/scope_section.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/scope_section.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/scope_section.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/delete_rule_modal.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/edit_condition_link.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/index.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/index.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/index.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/rule_action_panel.test.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/select_rule_action/select_rule_action.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/utils.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.js diff --git a/x-pack/plugins/ml/public/application/components/rule_editor/utils.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/rule_editor/utils.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/rule_editor/utils.test.js diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/index.ts diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/index.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.test.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/scatterplot_matrix_vega_lite_spec.ts diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts b/x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts diff --git a/x-pack/plugins/ml/public/application/components/severity_control/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/severity_control/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/severity_control/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/severity_control/index.ts diff --git a/x-pack/plugins/ml/public/application/components/severity_control/severity_control.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/severity_control/severity_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/severity_control/severity_control.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/severity_control/severity_control.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_footer.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_footer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_footer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_footer.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/add_inference_pipeline_horizontal_steps.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/shared/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/index.ts diff --git a/x-pack/plugins/ml/public/application/components/shared/on_failure_configuration.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/on_failure_configuration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/on_failure_configuration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/on_failure_configuration.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/pipeline_details_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_details_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/pipeline_details_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_details_title.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/pipeline_name_and_description.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_name_and_description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/pipeline_name_and_description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/pipeline_name_and_description.tsx diff --git a/x-pack/plugins/ml/public/application/components/shared/review_and_create_pipeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/shared/review_and_create_pipeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/shared/review_and_create_pipeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/shared/review_and_create_pipeline.tsx diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stat.tsx diff --git a/x-pack/plugins/ml/public/application/components/stats_bar/stats_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stats_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/stats_bar/stats_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/stats_bar/stats_bar.tsx diff --git a/x-pack/plugins/ml/public/application/components/technical_preview_badge/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/technical_preview_badge/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/index.ts diff --git a/x-pack/plugins/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/technical_preview_badge/technical_preview_badge.tsx diff --git a/x-pack/plugins/ml/public/application/components/upgrade/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/upgrade/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/upgrade/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/upgrade/index.ts diff --git a/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/upgrade/upgrade_warning.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/upgrade/upgrade_warning.tsx diff --git a/x-pack/plugins/ml/public/application/components/validate_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/index.ts diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.d.ts b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.d.ts diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.js b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.js rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.js diff --git a/x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.test.js b/x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.test.js rename to x-pack/platform/plugins/shared/ml/public/application/components/validate_job/validate_job_view.test.js diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/common.ts b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/common.ts diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart.tsx diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_loading.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_loading.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_loading.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_loading.tsx diff --git a/x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/components/vega_chart/vega_chart_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/components/vega_chart/vega_chart_view.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/kibana_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_field_formatter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_api_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_ml_license.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/__mocks__/use_timefilter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/kibana_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/kibana_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/kibana_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_cases_modal.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_cases_modal.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_create_url.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_create_url.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_create_url.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_create_url.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_current_theme.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_current_theme.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_current_theme.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_current_theme.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_field_formatter.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_field_formatter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_field_formatter.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_field_formatter.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ml_api_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_api_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ml_api_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_api_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ml_license.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_license.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ml_license.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ml_license.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_navigate_to_path.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_navigate_to_path.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_navigate_to_path.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_navigate_to_path.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_notifications_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_notifications_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_notifications_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_notifications_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/kibana/use_ui_settings_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ui_settings_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/kibana/use_ui_settings_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_ui_settings_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/data_view_contract.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/kibana_config.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/kibana_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/kibana_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/kibana_config.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/ml_notifications_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/__mocks__/saved_search.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/saved_search.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/__mocks__/saved_search.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/__mocks__/saved_search.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/data_source_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/data_source_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/data_source_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/data_source_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/index.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/index.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_annotation_updates_context.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_annotation_updates_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_annotation_updates_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_annotation_updates_context.ts diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.test.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_notifications_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_notifications_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/ml_server_info_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_server_info_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/ml_server_info_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/ml_server_info_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/serverless_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/serverless_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/serverless_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/serverless_context.tsx diff --git a/x-pack/plugins/ml/public/application/contexts/ml/use_job_selection_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/contexts/ml/use_job_selection_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/contexts/ml/use_job_selection_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/contexts/ml/use_job_selection_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_destination_index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_destination_index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_destination_index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_destination_index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_index_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_index_fields.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/get_scatterplot_matrix_legend_type.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/render_cell_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/search_bar_filters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/use_results_view_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/common/use_results_view_config.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/hyper_parameters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/back_to_list_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/back_to_list_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/analysis_fields_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/form_options_validation.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/job_type.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/supported_fields_message.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/use_saved_search.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/continue_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/create_analytics_advanced_editor.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/editor_component.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_analytics_advanced_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/create_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/create_step_footer.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/additional_section.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/description.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/details_step_form.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/details_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/index_permissions_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/runtime_mappings_editor.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/runtime_mappings/switch_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/fetch_explain_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/components/view_results_panel/view_results_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_can_create_data_view.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_data_view_time_fields.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_has_index_permission.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_creation/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/classification_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/column_data.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/confusion_matrix_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluate_stat.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/evaluation_quality_metrics_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/get_roc_curve_chart_vega_lite_spec.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/is_training_filter.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/roc_curve_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_confusion_matrix.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/classification_exploration/use_roc_curve.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/data_view_prompt.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/data_view_prompt/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/error_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/error_callout/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_analytics.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_splom.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/exploration_page_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_page_wrapper/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_data_grid.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_chart.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_classification.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_json_viewer.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_popover.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/missing_decision_path_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/use_classification_path_data.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/job_config_error_callout/job_config_error_callout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/loading_panel/loading_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/common.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/outlier_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_panel.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/evaluate_stat.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/regression_exploration/regression_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/total_feature_importance_summary/feature_importance_summary.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/hooks/use_exploration_url_state.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_exploration/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/use_clone_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/delete_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/edit_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_edit/use_edit_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/map_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_map/use_map_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/start_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_start/use_start_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_modal.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/stop_action_name.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_stop/use_stop_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/get_view_link_status.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/use_view_action.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_view/view_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_list_item.json diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/__mocks__/analytics_stats.json diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/common.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_details_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_json_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/expanded_row_messages_pane.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/progress_bar.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_actions.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_columns.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_refresh_interval.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/use_table_settings.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/create_analytics_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/create_analytics_button/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/data_frame_analytics_kibana.png diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/empty_prompt.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/empty_prompt/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/refresh_analytics_list_button/refresh_analytics_list_button.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/components/source_selection/source_selection.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/actions.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/reducer.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/state.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.test.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/hooks/use_create_analytics_form/use_create_analytics_form.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/delete_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.test.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/get_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/start_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/analytics_management/services/analytics_service/stop_analytics.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/analytics_id_selector_controls.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/components/analytics_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/controls.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/cytoscape_options.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_classification_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_outlier_detection_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/icons/ml_regression_job.svg diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/legend.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/components/use_ref_dimensions.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/job_map.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/page.tsx diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/job_map/use_fetch_analytics_map_data.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/index.ts b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/index.ts diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/data_frame_analytics/pages/source_selection/page.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_index_patterns_editor.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_drift_page.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/data_view_editor.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/data_drift/index_patterns_picker.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/datavisualizer_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/datavisualizer_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/datavisualizer_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/datavisualizer_selector.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/file_based/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/file_based/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/file_based/index.tsx diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/common/request.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/common/request.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/common/request.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/common/request.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/data_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/index.ts b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index.ts diff --git a/x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_overall_swimlane.json diff --git a/x-pack/plugins/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/__mocks__/mock_viewby_swimlane.json diff --git a/x-pack/plugins/ml/public/application/explorer/_explorer.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/_explorer.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/_explorer.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/_explorer.scss diff --git a/x-pack/plugins/ml/public/application/explorer/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/actions/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/actions/job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/job_selection.ts diff --git a/x-pack/plugins/ml/public/application/explorer/actions/load_explorer_data.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/actions/load_explorer_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/actions/load_explorer_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/actions/load_explorer_data.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/alerts_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/alerts_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_panel.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/alerts_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/alerts_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/alerts_summary.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/anomaly_detection_alerts_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/chart.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/const.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/const.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/const.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/const.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/get_alerts_summary.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/get_alerts_summary.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/alerts/swim_lane_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/annotation_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/annotation_timeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/annotation_timeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/annotation_timeline.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomalies_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomalies_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomalies_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomalies_map.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_charts_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_charts_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_charts_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_charts_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_context_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_context_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_common_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_explorer_common_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_common_state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_explorer_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_explorer_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_explorer_context.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/anomaly_timeline_state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline_state_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/calculate_row_options.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/calculate_row_options.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/calculate_row_options.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/calculate_row_options.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/calculate_row_options.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_influencers_found/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_jobs_selected/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/explorer_no_results_found.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_no_results_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_no_results_found/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/explorer_query_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/components/no_overall_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/components/no_overall_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/components/no_overall_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/components/no_overall_data.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_anomaly_record.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_job_config.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_config_rare.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__mocks__/mock_series_promises_response.json diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_explorer_chart_tooltip.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/_index.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/_entity_filter.scss diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/entity_filter.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/entity_filter/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/components/explorer_chart_label/index.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_anomalies_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_distribution.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_embedded_map.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_info_tooltip.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_chart_single_metric.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_error_callouts.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/index.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/index.js rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/index.js diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/map_config.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/map_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/map_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/map_config.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/utils/draw_anomaly_explorer_charts_cursor.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_constants.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_dashboard_service.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_dashboard_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_dashboard_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_dashboard_service.ts diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/explorer_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_utils.ts diff --git a/x-pack/plugins/ml/public/application/explorer/has_matching_points.test.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/has_matching_points.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.test.ts diff --git a/x-pack/plugins/ml/public/application/explorer/has_matching_points.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/has_matching_points.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/has_matching_points.ts diff --git a/x-pack/plugins/ml/public/application/explorer/hooks/use_explorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_explorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/hooks/use_explorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_explorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/hooks/use_selected_cells.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_selected_cells.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/hooks/use_selected_cells.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/hooks/use_selected_cells.ts diff --git a/x-pack/plugins/ml/public/application/explorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/clear_influencer_filter_settings.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/get_index_pattern.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/job_selection_change.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/reducer.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/set_kql_query_bar_placeholder.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/state.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/explorer_reducer/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/explorer_reducer/state.ts diff --git a/x-pack/plugins/ml/public/application/explorer/reducers/index.ts b/x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/reducers/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/explorer/reducers/index.ts diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_annotation_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_annotation_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_annotation_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_annotation_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_container.tsx diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_pagination.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_pagination.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/explorer/swimlane_pagination.tsx rename to x-pack/platform/plugins/shared/ml/public/application/explorer/swimlane_pagination.tsx diff --git a/x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/abbreviate_whole_number.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/abbreviate_whole_number.ts diff --git a/x-pack/plugins/ml/public/application/formatters/format_value.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/format_value.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/format_value.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/format_value.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/format_value.ts diff --git a/x-pack/plugins/ml/public/application/formatters/kibana_field_format.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/kibana_field_format.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/kibana_field_format.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/kibana_field_format.ts diff --git a/x-pack/plugins/ml/public/application/formatters/number_as_ordinal.test.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/number_as_ordinal.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.test.ts diff --git a/x-pack/plugins/ml/public/application/formatters/number_as_ordinal.ts b/x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.ts similarity index 100% rename from x-pack/plugins/ml/public/application/formatters/number_as_ordinal.ts rename to x-pack/platform/plugins/shared/ml/public/application/formatters/number_as_ordinal.ts diff --git a/x-pack/plugins/ml/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/index.ts diff --git a/x-pack/plugins/ml/public/application/hooks/use_as_observable.test.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/use_as_observable.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.test.ts diff --git a/x-pack/plugins/ml/public/application/hooks/use_as_observable.ts b/x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.ts similarity index 100% rename from x-pack/plugins/ml/public/application/hooks/use_as_observable.ts rename to x-pack/platform/plugins/shared/ml/public/application/hooks/use_as_observable.ts diff --git a/x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/components/jobs_action_menu/jobs_action_menu.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_empty_state.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/anomaly_detection_kibana.png diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/anomaly_detection_empty_state/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/close_jobs_confirm_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/managed_jobs_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/confirm_modals/stop_datafeeds_confirm_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/constants.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/datafeed_chart_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/edit_query_delay.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/fill_missing_chart_data.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/datafeed_chart_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/delete_job_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/delete_job_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/management.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/management.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/management.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/management.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/results.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/results.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_actions/results.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_actions/results.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/extract_job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/forecasts_table/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/format_values.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/format_values.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/format_values.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/format_values.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_details_pane.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/job_messages_pane.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_details/json_tab.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_filter_bar/job_filter_bar.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/job_group/job_group.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_description.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/job_id_link.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list/jobs_list.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/ml_job_editor/ml_job_editor.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/actions_menu.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/new_job_button/new_job_button.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/open_jobs_warning_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/reset_job_modal/reset_job_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.d.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.d.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/utils.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/validate_job.js b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/validate_job.js similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/components/validate_job.js rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/components/validate_job.js diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/jobs.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/jobs.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_list/jobs.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_list/jobs.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/jobs_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/jobs_utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/searches.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/searches.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/searches.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/chart_loader/searches.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/job_groups_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/components/time_range_picker.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index_pattern_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/index_pattern_context.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/geo_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/type_guards.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/default_configs.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/filter_runtime_mappings.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/general.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/general.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/general.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/general.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/util/model_memory_estimator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_runner/job_runner.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/job_validator.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/util.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/util.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/util.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/util.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/validators.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/validators.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/job_validator/validators.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_validator/validators.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/map_loader/map_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/results_loader.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/searches.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/searches.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/searches.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/results_loader/searches.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_dashboard/quick_create_job_base.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_lens/visualization_extractor.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_map/visualization_extractor.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/quick_create_job.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/route_resolver.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/job_from_pattern_analysis/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/anomaly_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/line.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/model_bounds.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/anomaly_chart/scatter.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/anomalies.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/axes.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/settings.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/common/utils.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/event_rate_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/event_rate_chart/overlay_range.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/charts/loading_wrapper/loading_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/datafeed_preview_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/datafeed_preview_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/edit_categorization_analyzer_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/edit_categorization_analyzer_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/json_editor_flyout/json_editor_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/common/model_memory_limit/model_memory_limit_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/change_data_view_button.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/data_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/frequency_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/frequency/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/hooks.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query/query_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/query_delay/query_delay_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/index.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/reset_query/reset_query.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/scroll_size/scroll_size_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/components/time_field/time_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/datafeed.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/datafeed_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_creator_context.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/additional_section.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/calendars_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/description_dst.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/calendars/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/custom_urls_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/components/custom_urls/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/additional_section/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/advanced_section.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/annotations_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/annotations/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/dedicated_index_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/dedicated_index/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/ignore_unavailable_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/ignore_unavailable/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/mml_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/components/model_plot/model_plot_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/advanced_section/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/groups_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/groups/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_description/job_description_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/components/job_id/job_id_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/job_details_step/job_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/advanced_detector_modal.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/descriptions.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/function_help.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/index.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_detector_modal/modal_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/advanced_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/detector_list.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/extra.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/metric_selector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/advanced_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/agg_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/agg_select/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/bucket_span_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/bucket_span_estimator.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/estimate_bucket_span.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/bucket_span_estimator/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/by_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/by_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/categorization_detector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/detector_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_detector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/categorization_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_dropdown.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_input.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_per_partition_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/categorization_stop_on_warn_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_partition_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/categorization_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/category_stopped_partitions.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/examples_valid_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/field_examples.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/invalid_ccs_version_valid_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/categorization_view/top_categories.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/detector_title.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/detector_title/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/geo_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_map_examples.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/geo_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/geo_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/influencers/influencers_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/metric_selector/metric_selector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/chart_grid.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/multi_metric_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/multi_metric_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_field/population_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/chart_grid.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/population_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/population_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/detector_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_detector/rare_detector.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_field/rare_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/detector_description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/rare_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/rare_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/metric_selection_summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/settings.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/single_metric_view/single_metric_view.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/sparse_data/sparse_data_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/animate_split_hook.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_cards/split_cards.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field/split_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/split_field_select/split_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/description.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/components/summary_count_field/summary_count_field_select.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/pick_fields_step/pick_fields.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/step_types.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/step_types.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/step_types.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/step_types.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/common.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/datafeed_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/datafeed_details/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/detector_chart.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/detector_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_details/job_details.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/job_progress/job_progress.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/post_save_options/post_save_options.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/components/start_datafeed_switch/start_datafeed_switch.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/summary_step/summary.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/time_range_step/time_range.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/skip_validatoin.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/validation_step/validation.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/components/wizard_nav/wizard_nav.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/categorization_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/geo_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/job_type/rare_job_icon.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_horizontal_steps.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/pages/new_job/wizard_steps.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/create_result_callout.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/edit_job.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_item.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_item.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/job_settings_form.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/kibana_objects.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/components/module_jobs.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/index.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/index.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/recognize/page.tsx diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/utils/new_job_utils.ts diff --git a/x-pack/plugins/ml/public/application/license/check_license.tsx b/x-pack/platform/plugins/shared/ml/public/application/license/check_license.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/license/check_license.tsx rename to x-pack/platform/plugins/shared/ml/public/application/license/check_license.tsx diff --git a/x-pack/plugins/ml/public/application/license/index.ts b/x-pack/platform/plugins/shared/ml/public/application/license/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/license/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/license/index.ts diff --git a/x-pack/plugins/ml/public/application/management/breadcrumbs.ts b/x-pack/platform/plugins/shared/ml/public/application/management/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/breadcrumbs.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/breadcrumbs.ts diff --git a/x-pack/plugins/ml/public/application/management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/access_denied_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/access_denied_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/access_denied_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/access_denied_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/insufficient_license_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/docs_link.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/jobs_list_page.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/columns.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/filters.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/index.ts diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/components/jobs_list_page/space_management/space_management.tsx diff --git a/x-pack/plugins/ml/public/application/management/jobs_list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/jobs_list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/jobs_list/index.ts diff --git a/x-pack/plugins/ml/public/application/management/management_urls.ts b/x-pack/platform/plugins/shared/ml/public/application/management/management_urls.ts similarity index 100% rename from x-pack/plugins/ml/public/application/management/management_urls.ts rename to x-pack/platform/plugins/shared/ml/public/application/management/management_urls.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_item_colors.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_item_colors.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_item_colors.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_item_colors.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/memory_page.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_tree_map/tree_map.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/memory_usage_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_usage_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/memory_usage_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/memory_usage_page.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/allocated_models.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/index.ts b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/index.ts diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/memory_preview_chart.tsx diff --git a/x-pack/plugins/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/memory_usage/nodes_overview/nodes_list.tsx diff --git a/x-pack/plugins/ml/public/application/ml.svg b/x-pack/platform/plugins/shared/ml/public/application/ml.svg similarity index 100% rename from x-pack/plugins/ml/public/application/ml.svg rename to x-pack/platform/plugins/shared/ml/public/application/ml.svg diff --git a/x-pack/plugins/ml/public/application/ml_nodes_check/check_ml_nodes.ts b/x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/check_ml_nodes.ts similarity index 100% rename from x-pack/plugins/ml/public/application/ml_nodes_check/check_ml_nodes.ts rename to x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/check_ml_nodes.ts diff --git a/x-pack/plugins/ml/public/application/ml_nodes_check/index.ts b/x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/ml_nodes_check/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/ml_nodes_check/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/add_model_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/add_model_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/add_model_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/config_mapping.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/config_mapping.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/config_mapping.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/config_mapping.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/create_pipeline_for_model_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_inference_properties_from_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/get_pipeline_config.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/pipeline_details.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/state.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/state.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/state.ts diff --git a/x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/create_pipeline_for_model/test_trained_model.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/delete_models_modal.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/delete_models_modal.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/delete_models_modal.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/delete_models_modal.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.test.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.test.ts diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_params_mapper.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_params_mapper.ts diff --git a/x-pack/plugins/ml/public/application/model_management/deployment_setup.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_setup.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/deployment_setup.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/deployment_setup.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/force_stop_dialog.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/force_stop_dialog.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/force_stop_dialog.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/force_stop_dialog.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/get_model_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/get_model_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/get_model_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/get_model_state.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/inference_api_tab.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/inference_api_tab.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/inference_api_tab.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/inference_api_tab.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/model_actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/model_actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/model_actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/model_actions.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/model_link.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/model_link.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/model_link.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/model_link.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/models_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/models_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/models_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/models_list.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/expanded_row.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/expanded_row.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/pipelines/pipelines.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/pipelines.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/pipelines/pipelines.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/pipelines/pipelines.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_dfa_models_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_dfa_models_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_dfa_models_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_dfa_models_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/inference_error.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/inference_error.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/inference_error.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/inference_error.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/index_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/index_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/index_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_base.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_base.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_base.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_base.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_info.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_info.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_info.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_info.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/index_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/inference_input_form.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/input_form_controls.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/inference_input_form/text_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/ner/ner_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/ner/ner_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/question_answering/question_answering_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/raw_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/raw_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/raw_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/raw_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/common.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/common.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/common.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/common.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/fill_mask_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_codes.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/lang_ident_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/text_classification_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_classification/zero_shot_classification_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_embedding/text_embedding_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/index.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/index.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_inference.ts diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_expansion/text_expansion_output.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/models/text_input.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_input.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/models/text_input.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/models/text_input.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/output_loading.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/output_loading.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/output_loading.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/output_loading.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/selected_model.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/selected_model.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/selected_model.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/selected_model.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_model_and_pipeline_creation_flyout.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_trained_model_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_model_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_trained_model_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_model_content.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/test_trained_models_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_models_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/test_trained_models_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/test_trained_models_context.tsx diff --git a/x-pack/plugins/ml/public/application/model_management/test_models/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/model_management/test_models/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/model_management/test_models/utils.ts diff --git a/x-pack/plugins/ml/public/application/notifications/components/entity_filter.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/entity_filter.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/entity_filter.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/entity_filter.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/notifications_list.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.test.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/components/notifications_list.tsx diff --git a/x-pack/plugins/ml/public/application/notifications/page.tsx b/x-pack/platform/plugins/shared/ml/public/application/notifications/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/notifications/page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/notifications/page.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/actions.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/table.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/analytics_panel/table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/analytics_panel/table.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/actions.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/index.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/index.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/table.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/table.tsx diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/anomaly_detection_panel/utils.ts diff --git a/x-pack/plugins/ml/public/application/overview/components/content.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/components/content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/components/content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/components/content.tsx diff --git a/x-pack/plugins/ml/public/application/overview/overview_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/overview/overview_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/overview/overview_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/overview/overview_page.tsx diff --git a/x-pack/plugins/ml/public/application/routing/breadcrumbs.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/breadcrumbs.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/breadcrumbs.ts diff --git a/x-pack/plugins/ml/public/application/routing/components/navigate_to_page_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/components/navigate_to_page_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/components/navigate_to_page_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/components/navigate_to_page_button.tsx diff --git a/x-pack/plugins/ml/public/application/routing/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/ml_page_wrapper.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/ml_page_wrapper.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/ml_page_wrapper.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/ml_page_wrapper.tsx diff --git a/x-pack/plugins/ml/public/application/routing/resolvers.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/resolvers.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/resolvers.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/resolvers.ts diff --git a/x-pack/plugins/ml/public/application/routing/router.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/router.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/router.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/router.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/change_point_detection.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/change_point_detection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/change_point_detection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/change_point_detection.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/log_categorization.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_categorization.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/log_categorization.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_categorization.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/aiops/log_rate_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_creation.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_job_exploration.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_jobs_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_map.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/analytics_source_selection.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/data_frame_analytics/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/data_frame_analytics/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_comparison.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_drift.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_drift.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/data_drift.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/data_drift.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/datavisualizer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/file_based.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/file_based.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/file_based.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/file_based.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index_based.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index_based.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/datavisualizer/index_based.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/datavisualizer/index_based.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/explorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/explorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/explorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/explorer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/explorer/state_manager.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/state_manager.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/explorer/state_manager.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/explorer/state_manager.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/jobs_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/jobs_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/jobs_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/jobs_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/memory_usage.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/memory_usage.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/memory_usage.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/memory_usage.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_lens.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_lens.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_lens.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_lens.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_map.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_map.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_map.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_map.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/from_pattern_analysis.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/index_or_search.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index_or_search.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/index_or_search.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/index_or_search.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/job_type.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/job_type.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/job_type.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/job_type.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/new_job.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/new_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/new_job.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/new_job.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/recognize.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/recognize.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/recognize.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/recognize.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/new_job/wizard.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/new_job/wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/new_job/wizard.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/notifications.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/notifications.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/notifications.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/notifications.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/overview.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/overview.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/overview.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/overview.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/calendar_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/calendar_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/calendar_new_edit.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_new_edit.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/calendar_new_edit.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/calendar_new_edit.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/filter_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/filter_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/filter_list_new_edit.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/settings/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/settings/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/settings/settings.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/supplied_configurations/supplied_configurations_view.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/state_manager.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.test.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/timeseriesexplorer/timeseriesexplorer.tsx diff --git a/x-pack/plugins/ml/public/application/routing/routes/trained_models/index.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/trained_models/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/index.ts diff --git a/x-pack/plugins/ml/public/application/routing/routes/trained_models/models_list.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/models_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/routes/trained_models/models_list.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/routes/trained_models/models_list.tsx diff --git a/x-pack/plugins/ml/public/application/routing/use_active_route.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/use_active_route.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_active_route.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_active_route.tsx diff --git a/x-pack/plugins/ml/public/application/routing/use_doc_title.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_doc_title.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_doc_title.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_doc_title.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_refresh.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_refresh.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_refresh.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_refresh.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_resolver.test.ts b/x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_resolver.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.test.ts diff --git a/x-pack/plugins/ml/public/application/routing/use_resolver.tsx b/x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/routing/use_resolver.tsx rename to x-pack/platform/plugins/shared/ml/public/application/routing/use_resolver.tsx diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/anomaly_detector_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_detector_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/anomaly_detector_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_detector_service.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/anomaly_explorer_charts_service.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/cloudwatch_job_caps_response.json diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/ml_api_services.ts b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_api_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/ml_api_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_api_services.ts diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/ml_info_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_info_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/ml_info_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/ml_info_response.json diff --git a/x-pack/plugins/ml/public/application/services/__mocks__/nested_field_index_response.json b/x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/nested_field_index_response.json similarity index 100% rename from x-pack/plugins/ml/public/application/services/__mocks__/nested_field_index_response.json rename to x-pack/platform/plugins/shared/ml/public/application/services/__mocks__/nested_field_index_response.json diff --git a/x-pack/plugins/ml/public/application/services/annotations_service.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/services/annotations_service.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.test.tsx diff --git a/x-pack/plugins/ml/public/application/services/annotations_service.tsx b/x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/services/annotations_service.tsx rename to x-pack/platform/plugins/shared/ml/public/application/services/annotations_service.tsx diff --git a/x-pack/plugins/ml/public/application/services/anomaly_detector_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_detector_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_detector_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_detector_service.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_explorer_charts_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_explorer_charts_service.ts diff --git a/x-pack/plugins/ml/public/application/services/anomaly_timeline_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/anomaly_timeline_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/anomaly_timeline_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/anomaly_timeline_service.ts diff --git a/x-pack/plugins/ml/public/application/services/calendar_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/calendar_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/calendar_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/calendar_service.ts diff --git a/x-pack/plugins/ml/public/application/services/dashboard_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/dashboard_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/dashboard_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/dashboard_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/dashboard_service.ts diff --git a/x-pack/plugins/ml/public/application/services/elastic_models_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/elastic_models_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/elastic_models_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/elastic_models_service.ts diff --git a/x-pack/plugins/ml/public/application/services/field_format_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/field_format_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts diff --git a/x-pack/plugins/ml/public/application/services/field_format_service_factory.ts b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/field_format_service_factory.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/field_format_service_factory.ts diff --git a/x-pack/plugins/ml/public/application/services/forecast_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/forecast_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/forecast_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/forecast_service.ts diff --git a/x-pack/plugins/ml/public/application/services/get_shared_ml_services.ts b/x-pack/platform/plugins/shared/ml/public/application/services/get_shared_ml_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/get_shared_ml_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/get_shared_ml_services.ts diff --git a/x-pack/plugins/ml/public/application/services/http_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/http_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/http_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/http_service.ts diff --git a/x-pack/plugins/ml/public/application/services/job_cloning_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/job_cloning_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_cloning_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/job_cloning_service.ts diff --git a/x-pack/plugins/ml/public/application/services/job_service.d.ts b/x-pack/platform/plugins/shared/ml/public/application/services/job_service.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_service.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/job_service.d.ts diff --git a/x-pack/plugins/ml/public/application/services/job_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/job_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/job_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/job_service.js diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/alerting.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/alerting.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/alerting.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/alerting.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/annotations.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/annotations.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/annotations.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/annotations.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/filters.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/filters.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/filters.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/filters.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/inference_models.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/inference_models.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/inference_models.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/inference_models.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/jobs.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/jobs.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/jobs.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/jobs.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/json_schema.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/json_schema.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/json_schema.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/json_schema.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/management.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/management.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/management.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/management.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/notifications.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/notifications.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/notifications.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/notifications.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/results.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/results.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/results.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/results.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/saved_objects.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/trained_models.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_api_service/trained_models.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_results_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_results_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_results_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_results_service.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_server_info.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_server_info.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.test.ts diff --git a/x-pack/plugins/ml/public/application/services/ml_server_info.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/ml_server_info.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/ml_server_info.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/index.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.test.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts diff --git a/x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/result_service_rx.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/result_service_rx.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/result_service_rx.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/result_service_rx.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/results_service.d.ts b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/results_service.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.d.ts diff --git a/x-pack/plugins/ml/public/application/services/results_service/results_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/results_service/results_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/results_service/results_service.js diff --git a/x-pack/plugins/ml/public/application/services/state_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/state_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/state_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/state_service.ts diff --git a/x-pack/plugins/ml/public/application/services/table_service.js b/x-pack/platform/plugins/shared/ml/public/application/services/table_service.js similarity index 100% rename from x-pack/plugins/ml/public/application/services/table_service.js rename to x-pack/platform/plugins/shared/ml/public/application/services/table_service.js diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/__mocks__/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/__mocks__/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/__mocks__/index.ts diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/index.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/index.ts diff --git a/x-pack/plugins/ml/public/application/services/toast_notification_service/toast_notification_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/toast_notification_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/toast_notification_service/toast_notification_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/toast_notification_service/toast_notification_service.ts diff --git a/x-pack/plugins/ml/public/application/services/usage_collection.test.ts b/x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/usage_collection.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.test.ts diff --git a/x-pack/plugins/ml/public/application/services/usage_collection.ts b/x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/services/usage_collection.ts rename to x-pack/platform/plugins/shared/ml/public/application/services/usage_collection.ts diff --git a/x-pack/plugins/ml/public/application/settings/anomaly_detection_settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/anomaly_detection_settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings.tsx diff --git a/x-pack/plugins/ml/public/application/settings/anomaly_detection_settings_context.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings_context.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/anomaly_detection_settings_context.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/anomaly_detection_settings_context.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/dst_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/dst_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/dst_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/dst_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/dst_utils.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/dst_event_generator.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/calendar_form/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/events_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/events_table.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/events_table/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/events_table/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/import_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/utils.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/import_modal/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/import_modal/utils.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/imported_events.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/imported_events/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/imported_events/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_calendar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_calendar.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/new_event_modal/new_event_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/edit/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/edit/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/edit/utils.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/calendars_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/calendars_list.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/delete_calendars.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/delete_calendars.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/delete_calendars.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/delete_calendars.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/header.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/header.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/header.tsx diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/index.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/table.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/table.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.js diff --git a/x-pack/plugins/ml/public/application/settings/calendars/list/table/table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/calendars/list/table/table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/calendars/list/table/table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/add_item_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/add_item_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/add_item_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/delete_filter_list_modal/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/edit_description_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/components/filter_list_usage_popover/index.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/edit_filter_list.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/toolbar.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/toolbar.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/edit/utils.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/edit/utils.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/edit/utils.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.d.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.d.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/filter_lists.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/filter_lists.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/header.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/header.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/header.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/header.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/header.test.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/table.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/table.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.js diff --git a/x-pack/plugins/ml/public/application/settings/filter_lists/list/table.test.js b/x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/settings/filter_lists/list/table.test.js rename to x-pack/platform/plugins/shared/ml/public/application/settings/filter_lists/list/table.test.js diff --git a/x-pack/plugins/ml/public/application/settings/index.ts b/x-pack/platform/plugins/shared/ml/public/application/settings/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/settings/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/settings/index.ts diff --git a/x-pack/plugins/ml/public/application/settings/settings.test.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/settings.test.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/settings.test.tsx diff --git a/x-pack/plugins/ml/public/application/settings/settings.tsx b/x-pack/platform/plugins/shared/ml/public/application/settings/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/settings/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/application/settings/settings.tsx diff --git a/x-pack/plugins/ml/public/application/styles.ts b/x-pack/platform/plugins/shared/ml/public/application/styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/styles.ts diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/data_views_table.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/index.ts diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/jobs_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/kibana_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/supplied_configurations_flyout/overview_tab_content.tsx diff --git a/x-pack/plugins/ml/public/application/supplied_configurations/utils.ts b/x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/supplied_configurations/utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/supplied_configurations/utils.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/context_chart_mask/index.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_config.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/entity_control.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/entity_control/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/entity_control/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_progress.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecasts_list.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/index.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/modal.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_icon.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/progress_states.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/plot_function_controls/plot_function_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/series_controls/series_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_controls/timeseriesexplorer_controls.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_chart_data/timeseriesexplorer_no_chart_data.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_controls_for_detector.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_criteria_fields.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_criteria_fields.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_criteria_fields.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_criteria_fields.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/get_function_description.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_function_description.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/get_function_description.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/get_function_description.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/__mocks__/use_timeseriesexplorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/hooks/use_timeseriesexplorer_url_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/styles.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/styles.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/styles.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/styles.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.d.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_constants.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_checkbox.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_embeddable_chart.js diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_embeddable_chart/timeseriesexplorer_title.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_help_popover.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_page.tsx diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_timeseriesexplorer_default_state.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/get_viewable_detectors.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/index.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/time_series_search_service.ts diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts similarity index 100% rename from x-pack/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts rename to x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/timeseriesexplorer_utils/validate_job_selection.ts diff --git a/x-pack/plugins/ml/public/application/util/__mocks__/time_buckets.ts b/x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/time_buckets.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/__mocks__/time_buckets.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/time_buckets.ts diff --git a/x-pack/plugins/ml/public/application/util/__mocks__/url_state.tsx b/x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/url_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/application/util/__mocks__/url_state.tsx rename to x-pack/platform/plugins/shared/ml/public/application/util/__mocks__/url_state.tsx diff --git a/x-pack/plugins/ml/public/application/util/chart_config_builder.ts b/x-pack/platform/plugins/shared/ml/public/application/util/chart_config_builder.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_config_builder.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_config_builder.ts diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.d.ts b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.d.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.d.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.d.ts diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.js b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.js rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.test.js b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/application/util/chart_utils.test.js rename to x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.test.js diff --git a/x-pack/plugins/ml/public/application/util/component_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/component_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/component_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/component_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/custom_url_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/custom_url_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/custom_url_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/custom_url_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/custom_url_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/field_types_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/field_types_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/field_types_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/field_types_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/get_services.ts b/x-pack/platform/plugins/shared/ml/public/application/util/get_services.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/get_services.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/get_services.ts diff --git a/x-pack/plugins/ml/public/application/util/get_time_buckets_from_cache.ts b/x-pack/platform/plugins/shared/ml/public/application/util/get_time_buckets_from_cache.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/get_time_buckets_from_cache.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/get_time_buckets_from_cache.ts diff --git a/x-pack/plugins/ml/public/application/util/index_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/index_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/index_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/index_service.ts diff --git a/x-pack/plugins/ml/public/application/util/index_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/index_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/index_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/index_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/recently_accessed.ts b/x-pack/platform/plugins/shared/ml/public/application/util/recently_accessed.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/recently_accessed.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/recently_accessed.ts diff --git a/x-pack/plugins/ml/public/application/util/results_url.ts b/x-pack/platform/plugins/shared/ml/public/application/util/results_url.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/results_url.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/results_url.ts diff --git a/x-pack/plugins/ml/public/application/util/string_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/string_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/string_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/string_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/string_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/string_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/string_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/string_utils.ts diff --git a/x-pack/plugins/ml/public/application/util/time_buckets_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/time_buckets_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/time_buckets_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/time_buckets_service.ts diff --git a/x-pack/plugins/ml/public/application/util/time_series_explorer_service.ts b/x-pack/platform/plugins/shared/ml/public/application/util/time_series_explorer_service.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/time_series_explorer_service.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/time_series_explorer_service.ts diff --git a/x-pack/plugins/ml/public/application/util/url_utils.test.ts b/x-pack/platform/plugins/shared/ml/public/application/util/url_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/url_utils.test.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/url_utils.test.ts diff --git a/x-pack/plugins/ml/public/application/util/url_utils.ts b/x-pack/platform/plugins/shared/ml/public/application/util/url_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/application/util/url_utils.ts rename to x-pack/platform/plugins/shared/ml/public/application/util/url_utils.ts diff --git a/x-pack/plugins/ml/public/cases/anomaly_charts_attachments.tsx b/x-pack/platform/plugins/shared/ml/public/cases/anomaly_charts_attachments.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/anomaly_charts_attachments.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/anomaly_charts_attachments.tsx diff --git a/x-pack/plugins/ml/public/cases/anomaly_swim_lane_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/anomaly_swim_lane_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/anomaly_swim_lane_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/anomaly_swim_lane_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/index.tsx b/x-pack/platform/plugins/shared/ml/public/cases/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/index.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/index.tsx diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_charts_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_anomaly_charts_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_charts_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_swim_lane_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_anomaly_swim_lane_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_anomaly_swim_lane_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/register_cases_attachments.ts b/x-pack/platform/plugins/shared/ml/public/cases/register_cases_attachments.ts similarity index 100% rename from x-pack/plugins/ml/public/cases/register_cases_attachments.ts rename to x-pack/platform/plugins/shared/ml/public/cases/register_cases_attachments.ts diff --git a/x-pack/plugins/ml/public/cases/register_single_metric_viewer_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/register_single_metric_viewer_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/register_single_metric_viewer_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/register_single_metric_viewer_attachment.tsx diff --git a/x-pack/plugins/ml/public/cases/single_metric_viewer_attachment.tsx b/x-pack/platform/plugins/shared/ml/public/cases/single_metric_viewer_attachment.tsx similarity index 100% rename from x-pack/plugins/ml/public/cases/single_metric_viewer_attachment.tsx rename to x-pack/platform/plugins/shared/ml/public/cases/single_metric_viewer_attachment.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.test.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_react_container.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/anomaly_charts_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/get_anomaly_charts_services_dependencies.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/initialize_anomaly_charts_controls.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/lazy_anomaly_charts_container.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/use_anomaly_charts_data.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/utils.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_charts/utils.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_charts/utils.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.test.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/anomaly_swimlane_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_controls.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/initialize_swim_lane_data_fetcher.ts diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/anomaly_swimlane/types.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/anomaly_swimlane/types.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/anomaly_detection_embeddable.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/anomaly_detection_embeddable.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/anomaly_detection_embeddable.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/anomaly_detection_embeddable.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/components/embeddable_loading_fallback.tsx diff --git a/x-pack/plugins/ml/public/embeddables/common/components/job_selector_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/common/components/job_selector_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/components/job_selector_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/components/job_selector_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/common/get_jobs_observable.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/get_jobs_observable.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/get_jobs_observable.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/get_jobs_observable.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/process_filters.test.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.test.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/process_filters.test.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.test.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/process_filters.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/process_filters.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/process_filters.ts diff --git a/x-pack/plugins/ml/public/embeddables/common/use_embeddable_execution_context.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/common/use_embeddable_execution_context.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/common/use_embeddable_execution_context.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/common/use_embeddable_execution_context.ts diff --git a/x-pack/plugins/ml/public/embeddables/constants.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/constants.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/constants.ts diff --git a/x-pack/plugins/ml/public/embeddables/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/create_job.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/flyout/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/aiops/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/aiops/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/aiops/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/context.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/context.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/context.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/context.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/create_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/create_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/create_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/create_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/common/job_details.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/common/job_details.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/common/job_details.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/compatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/lens/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/lens/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/compatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/layer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/show_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/show_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/job_creation/map/show_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/job_creation/map/show_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_default_panel_title.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_services.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_services.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/get_services.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/get_services.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/index.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/index.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/index.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/index.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_controls_initializer.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_data_fetcher.ts diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_embeddable_factory.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_initializer.tsx diff --git a/x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx b/x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx similarity index 100% rename from x-pack/plugins/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx rename to x-pack/platform/plugins/shared/ml/public/embeddables/single_metric_viewer/single_metric_viewer_setup_flyout.tsx diff --git a/x-pack/plugins/ml/public/embeddables/types.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/types.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/types.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/types.ts diff --git a/x-pack/plugins/ml/public/embeddables/utils.ts b/x-pack/platform/plugins/shared/ml/public/embeddables/utils.ts similarity index 100% rename from x-pack/plugins/ml/public/embeddables/utils.ts rename to x-pack/platform/plugins/shared/ml/public/embeddables/utils.ts diff --git a/x-pack/plugins/ml/public/index.ts b/x-pack/platform/plugins/shared/ml/public/index.ts similarity index 100% rename from x-pack/plugins/ml/public/index.ts rename to x-pack/platform/plugins/shared/ml/public/index.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/aiops.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/aiops.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/aiops.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/aiops.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/anomaly_detection.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/anomaly_detection.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/anomaly_detection.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/anomaly_detection.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/common.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/common.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/common.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/common.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/index.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/index.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/index.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/index.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/notifications.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/notifications.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/notifications.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/notifications.ts diff --git a/x-pack/plugins/ml/public/locator/formatters/settings.tsx b/x-pack/platform/plugins/shared/ml/public/locator/formatters/settings.tsx similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/settings.tsx rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/settings.tsx diff --git a/x-pack/plugins/ml/public/locator/formatters/trained_models.ts b/x-pack/platform/plugins/shared/ml/public/locator/formatters/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/formatters/trained_models.ts rename to x-pack/platform/plugins/shared/ml/public/locator/formatters/trained_models.ts diff --git a/x-pack/plugins/ml/public/locator/index.ts b/x-pack/platform/plugins/shared/ml/public/locator/index.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/index.ts rename to x-pack/platform/plugins/shared/ml/public/locator/index.ts diff --git a/x-pack/plugins/ml/public/locator/ml_locator.test.ts b/x-pack/platform/plugins/shared/ml/public/locator/ml_locator.test.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/ml_locator.test.ts rename to x-pack/platform/plugins/shared/ml/public/locator/ml_locator.test.ts diff --git a/x-pack/plugins/ml/public/locator/ml_locator.ts b/x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/ml_locator.ts rename to x-pack/platform/plugins/shared/ml/public/locator/ml_locator.ts diff --git a/x-pack/plugins/ml/public/locator/use_ml_href.ts b/x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts similarity index 100% rename from x-pack/plugins/ml/public/locator/use_ml_href.ts rename to x-pack/platform/plugins/shared/ml/public/locator/use_ml_href.ts diff --git a/x-pack/plugins/ml/public/maps/anomaly_job_selector.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_job_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_job_selector_empty_state.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector_empty_state.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_job_selector_empty_state.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_job_selector_empty_state.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_layer_wizard.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_layer_wizard.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_layer_wizard_factory.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard_factory.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_layer_wizard_factory.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_layer_wizard_factory.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_source.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source.tsx diff --git a/x-pack/plugins/ml/public/maps/anomaly_source_factory.ts b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_factory.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source_factory.ts rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_factory.ts diff --git a/x-pack/plugins/ml/public/maps/anomaly_source_field.tsx b/x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_field.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/anomaly_source_field.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/anomaly_source_field.tsx diff --git a/x-pack/plugins/ml/public/maps/create_anomaly_source_editor.tsx b/x-pack/platform/plugins/shared/ml/public/maps/create_anomaly_source_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/create_anomaly_source_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/create_anomaly_source_editor.tsx diff --git a/x-pack/plugins/ml/public/maps/layer_selector.tsx b/x-pack/platform/plugins/shared/ml/public/maps/layer_selector.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/layer_selector.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/layer_selector.tsx diff --git a/x-pack/plugins/ml/public/maps/maps_util.test.js b/x-pack/platform/plugins/shared/ml/public/maps/maps_util.test.js similarity index 100% rename from x-pack/plugins/ml/public/maps/maps_util.test.js rename to x-pack/platform/plugins/shared/ml/public/maps/maps_util.test.js diff --git a/x-pack/plugins/ml/public/maps/register_map_extension.ts b/x-pack/platform/plugins/shared/ml/public/maps/register_map_extension.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/register_map_extension.ts rename to x-pack/platform/plugins/shared/ml/public/maps/register_map_extension.ts diff --git a/x-pack/plugins/ml/public/maps/results.test.mock.ts b/x-pack/platform/plugins/shared/ml/public/maps/results.test.mock.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/results.test.mock.ts rename to x-pack/platform/plugins/shared/ml/public/maps/results.test.mock.ts diff --git a/x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx b/x-pack/platform/plugins/shared/ml/public/maps/update_anomaly_source_editor.tsx similarity index 100% rename from x-pack/plugins/ml/public/maps/update_anomaly_source_editor.tsx rename to x-pack/platform/plugins/shared/ml/public/maps/update_anomaly_source_editor.tsx diff --git a/x-pack/plugins/ml/public/maps/util.ts b/x-pack/platform/plugins/shared/ml/public/maps/util.ts similarity index 100% rename from x-pack/plugins/ml/public/maps/util.ts rename to x-pack/platform/plugins/shared/ml/public/maps/util.ts diff --git a/x-pack/plugins/ml/public/mocks.ts b/x-pack/platform/plugins/shared/ml/public/mocks.ts similarity index 100% rename from x-pack/plugins/ml/public/mocks.ts rename to x-pack/platform/plugins/shared/ml/public/mocks.ts diff --git a/x-pack/plugins/ml/public/plugin.ts b/x-pack/platform/plugins/shared/ml/public/plugin.ts similarity index 100% rename from x-pack/plugins/ml/public/plugin.ts rename to x-pack/platform/plugins/shared/ml/public/plugin.ts diff --git a/x-pack/plugins/ml/public/register_helper/index.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/index.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/index.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/index.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/index.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/index.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/index.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/index.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/register_search_links.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/register_search_links.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/register_search_links.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/register_search_links.ts diff --git a/x-pack/plugins/ml/public/register_helper/register_search_links/search_deep_links.ts b/x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/search_deep_links.ts similarity index 100% rename from x-pack/plugins/ml/public/register_helper/register_search_links/search_deep_links.ts rename to x-pack/platform/plugins/shared/ml/public/register_helper/register_search_links/search_deep_links.ts diff --git a/x-pack/plugins/ml/public/register_home_feature.ts b/x-pack/platform/plugins/shared/ml/public/register_home_feature.ts similarity index 100% rename from x-pack/plugins/ml/public/register_home_feature.ts rename to x-pack/platform/plugins/shared/ml/public/register_home_feature.ts diff --git a/x-pack/plugins/ml/public/shared_components/anomaly_swim_lane.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/anomaly_swim_lane.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/anomaly_swim_lane.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/anomaly_swim_lane.tsx diff --git a/x-pack/plugins/ml/public/shared_components/index.ts b/x-pack/platform/plugins/shared/ml/public/shared_components/index.ts similarity index 100% rename from x-pack/plugins/ml/public/shared_components/index.ts rename to x-pack/platform/plugins/shared/ml/public/shared_components/index.ts diff --git a/x-pack/plugins/ml/public/shared_components/single_metric_viewer/index.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/single_metric_viewer/index.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/index.tsx diff --git a/x-pack/plugins/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/shared_components/single_metric_viewer/single_metric_viewer.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_entity_filters_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_entity_filters_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_influencer_filters_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_influencer_filters_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/apply_time_range_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/apply_time_range_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/apply_time_range_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/apply_time_range_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/clear_selection_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/clear_selection_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/clear_selection_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/clear_selection_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/constants.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/constants.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/constants.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/constants.ts diff --git a/x-pack/plugins/ml/public/ui_actions/create_anomaly_chart.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_anomaly_chart.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_anomaly_chart.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_anomaly_chart.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/create_single_metric_viewer.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_single_metric_viewer.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_single_metric_viewer.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_single_metric_viewer.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/create_swim_lane.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/create_swim_lane.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/create_swim_lane.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/create_swim_lane.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/get_embeddable_time_range.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/get_embeddable_time_range.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/get_embeddable_time_range.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/get_embeddable_time_range.ts diff --git a/x-pack/plugins/ml/public/ui_actions/index.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/index.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/index.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/index.ts diff --git a/x-pack/plugins/ml/public/ui_actions/open_create_categorization_job_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_create_categorization_job_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_create_categorization_job_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_create_categorization_job_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_anomaly_explorer_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_in_single_metric_viewer_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/open_vis_in_ml_action.tsx b/x-pack/platform/plugins/shared/ml/public/ui_actions/open_vis_in_ml_action.tsx similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/open_vis_in_ml_action.tsx rename to x-pack/platform/plugins/shared/ml/public/ui_actions/open_vis_in_ml_action.tsx diff --git a/x-pack/plugins/ml/public/ui_actions/triggers.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/triggers.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/triggers.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/triggers.ts diff --git a/x-pack/plugins/ml/public/ui_actions/types.ts b/x-pack/platform/plugins/shared/ml/public/ui_actions/types.ts similarity index 100% rename from x-pack/plugins/ml/public/ui_actions/types.ts rename to x-pack/platform/plugins/shared/ml/public/ui_actions/types.ts diff --git a/x-pack/plugins/ml/readme.md b/x-pack/platform/plugins/shared/ml/readme.md similarity index 94% rename from x-pack/plugins/ml/readme.md rename to x-pack/platform/plugins/shared/ml/readme.md index 235cc4e0458bf..2c99bd37ff4c7 100644 --- a/x-pack/plugins/ml/readme.md +++ b/x-pack/platform/plugins/shared/ml/readme.md @@ -69,7 +69,7 @@ These data sets are now ready be analyzed in ML jobs in Kibana. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing -Run the test following jest tests from `kibana/x-pack/plugins/ml`. +Run the test following jest tests from `kibana/x-pack/platform/plugins/shared/ml`. New snapshots, all plugins: @@ -173,23 +173,23 @@ Note: We are in the process of moving shared code to packages, for example `@kbn You can find the ML shared functions in the following files in GitHub: ``` -https://github.com/elastic/kibana/blob/main/x-pack/plugins/ml/public/shared.ts +https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ml/public/shared.ts ``` ``` -https://github.com/elastic/kibana/blob/main/x-pack/plugins/ml/server/shared.ts +https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/ml/server/shared.ts ``` These functions are shared from the root of the ML plugin, you can import them with an import statement. For example: ``` -import { MlPluginSetup } from '../../../../ml/server'; +import { MlPluginSetup } from '../../../../../../ml/server'; ``` or ``` -import { ML_ANOMALY_SEVERITY } from '../../ml/common'; +import { ML_ANOMALY_SEVERITY } from '../../../../ml/common'; ``` Functions are shared from the following directories: diff --git a/x-pack/plugins/ml/server/client/error_wrapper.ts b/x-pack/platform/plugins/shared/ml/server/client/error_wrapper.ts similarity index 100% rename from x-pack/plugins/ml/server/client/error_wrapper.ts rename to x-pack/platform/plugins/shared/ml/server/client/error_wrapper.ts diff --git a/x-pack/plugins/ml/server/client/errors.js b/x-pack/platform/plugins/shared/ml/server/client/errors.js similarity index 100% rename from x-pack/plugins/ml/server/client/errors.js rename to x-pack/platform/plugins/shared/ml/server/client/errors.js diff --git a/x-pack/plugins/ml/server/config_schema.ts b/x-pack/platform/plugins/shared/ml/server/config_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/config_schema.ts rename to x-pack/platform/plugins/shared/ml/server/config_schema.ts diff --git a/x-pack/plugins/ml/server/index.ts b/x-pack/platform/plugins/shared/ml/server/index.ts similarity index 100% rename from x-pack/plugins/ml/server/index.ts rename to x-pack/platform/plugins/shared/ml/server/index.ts diff --git a/x-pack/plugins/ml/server/lib/__mocks__/log.ts b/x-pack/platform/plugins/shared/ml/server/lib/__mocks__/log.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/__mocks__/log.ts rename to x-pack/platform/plugins/shared/ml/server/lib/__mocks__/log.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/alerting_service.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/jobs_health_service.test.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.test.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/jobs_health_service.test.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.test.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/jobs_health_service.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/jobs_health_service.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/jobs_health_service.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_anomaly_detection_alert_type.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_jobs_monitoring_rule_type.ts diff --git a/x-pack/plugins/ml/server/lib/alerts/register_ml_alerts.ts b/x-pack/platform/plugins/shared/ml/server/lib/alerts/register_ml_alerts.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/alerts/register_ml_alerts.ts rename to x-pack/platform/plugins/shared/ml/server/lib/alerts/register_ml_alerts.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/__mocks__/ml_capabilities.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/capabilities_switcher.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/capabilities_switcher.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/capabilities_switcher.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/capabilities_switcher.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/check_capabilities.test.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.test.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/check_capabilities.test.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.test.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/check_capabilities.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/check_capabilities.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/check_capabilities.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/errors.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/errors.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/errors.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/index.ts diff --git a/x-pack/plugins/ml/server/lib/capabilities/upgrade.ts b/x-pack/platform/plugins/shared/ml/server/lib/capabilities/upgrade.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/capabilities/upgrade.ts rename to x-pack/platform/plugins/shared/ml/server/lib/capabilities/upgrade.ts diff --git a/x-pack/plugins/ml/server/lib/check_annotations/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/check_annotations/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/check_annotations/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/check_annotations/index.ts diff --git a/x-pack/plugins/ml/server/lib/data_views_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/data_views_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/data_views_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/data_views_utils.ts diff --git a/x-pack/plugins/ml/server/lib/log.ts b/x-pack/platform/plugins/shared/ml/server/lib/log.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/log.ts rename to x-pack/platform/plugins/shared/ml/server/lib/log.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/errors.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/errors.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/errors.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/index.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/index.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/index.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/ml_audit_logger.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_audit_logger.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/ml_audit_logger.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_audit_logger.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/ml_client.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_client.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/ml_client.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/ml_client.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/search.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/search.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/search.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/search.ts diff --git a/x-pack/plugins/ml/server/lib/ml_client/types.ts b/x-pack/platform/plugins/shared/ml/server/lib/ml_client/types.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_client/types.ts rename to x-pack/platform/plugins/shared/ml/server/lib/ml_client/types.ts diff --git a/x-pack/plugins/ml/server/lib/node_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/node_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/node_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/node_utils.ts diff --git a/x-pack/plugins/ml/server/lib/register_cases.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_cases.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_cases.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_cases.ts diff --git a/x-pack/plugins/ml/server/lib/register_sample_data_set_links.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_sample_data_set_links.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_sample_data_set_links.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_sample_data_set_links.ts diff --git a/x-pack/plugins/ml/server/lib/register_settings.ts b/x-pack/platform/plugins/shared/ml/server/lib/register_settings.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/register_settings.ts rename to x-pack/platform/plugins/shared/ml/server/lib/register_settings.ts diff --git a/x-pack/plugins/ml/server/lib/request_authorization.ts b/x-pack/platform/plugins/shared/ml/server/lib/request_authorization.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/request_authorization.ts rename to x-pack/platform/plugins/shared/ml/server/lib/request_authorization.ts diff --git a/x-pack/plugins/ml/server/lib/route_guard.ts b/x-pack/platform/plugins/shared/ml/server/lib/route_guard.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/route_guard.ts rename to x-pack/platform/plugins/shared/ml/server/lib/route_guard.ts diff --git a/x-pack/plugins/ml/server/lib/spaces_utils.ts b/x-pack/platform/plugins/shared/ml/server/lib/spaces_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/spaces_utils.ts rename to x-pack/platform/plugins/shared/ml/server/lib/spaces_utils.ts diff --git a/x-pack/plugins/ml/server/mocks.ts b/x-pack/platform/plugins/shared/ml/server/mocks.ts similarity index 100% rename from x-pack/plugins/ml/server/mocks.ts rename to x-pack/platform/plugins/shared/ml/server/mocks.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_request.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_request.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/__mocks__/get_annotations_response.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.test.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/annotation.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/annotation_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/annotation_service/index.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.d.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/index.ts b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/index.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/intervals.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/intervals.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/polled_data_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/polled_data_checker.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js b/x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/single_series_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js rename to x-pack/platform/plugins/shared/ml/server/models/bucket_span_estimator/single_series_checker.js diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts b/x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts rename to x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.ts diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.ts b/x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/calculate_model_memory_limit/index.ts diff --git a/x-pack/plugins/ml/server/models/calendar/calendar_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/calendar_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/calendar_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/calendar_manager.ts diff --git a/x-pack/plugins/ml/server/models/calendar/event_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/event_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/event_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/event_manager.ts diff --git a/x-pack/plugins/ml/server/models/calendar/index.ts b/x-pack/platform/plugins/shared/ml/server/models/calendar/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/calendar/index.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/analytics_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/analytics_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_audit_messages.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/analytics_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/analytics_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/analytics_manager.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/index.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/types.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/types.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/types.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/types.ts diff --git a/x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts b/x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/validation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_frame_analytics/validation.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_frame_analytics/validation.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.test.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.test.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/data_recognizer.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/index.ts diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/apm_tx_metrics.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_apm_tx_metrics.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/datafeed_log_entry_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_analysis/ml/log_entry_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/datafeed_log_entry_categories_count.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/logs_ui_categories/ml/log_entry_categories_count.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/datafeed_hosts_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_hosts/ml/hosts_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/datafeed_k8s_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_memory_usage.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_in.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/metrics_ui_k8s/ml/k8s_network_out.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_events_for_a_source_ip.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_high_count_logon_fails.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_hour_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_source_ip_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/auth_rare_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_events_for_a_source_ip.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_high_count_logon_fails.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_hour_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_source_ip_for_a_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_auth_rare_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/datafeed_suspicious_login_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_auth/ml/suspicious_login_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_high_distinct_count_error_message.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_error_code.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_city.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/datafeed_rare_method_for_a_username.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/high_distinct_count_error_message.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_error_code.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_city.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_cloudtrail/ml/rare_method_for_a_username.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_high_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/datafeed_low_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/high_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_host/ml/low_count_events_for_a_host_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_network_port_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_configuration_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_network_connection_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_sudo_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_rare_user_compiler.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_information_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_process_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_linux_system_user_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/datafeed_v3_rare_process_by_host_linux.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_network_port_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_configuration_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_network_connection_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_sudo_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_rare_user_compiler.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_information_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_process_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_linux_system_user_discovery.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_linux/ml/v3_rare_process_by_host_linux.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_by_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_denies.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_high_count_network_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/datafeed_rare_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_by_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_denies.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/high_count_network_events.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_network/ml/rare_destination_country.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_dns_tunneling.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_dns_question.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_server_domain.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_urls.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/datafeed_packetbeat_rare_user_agent.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_dns_tunneling.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_dns_question.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_server_domain.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_urls.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_packetbeat/ml/packetbeat_rare_user_agent.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_rare_process_by_host_windows.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_path_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_process_creation.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_script.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_service.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_runas_event.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/datafeed_v3_windows_rare_user_type10_remote_login.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_rare_process_by_host_windows.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_network_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_path_activity.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_all_hosts.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_process_creation.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_script.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_service.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_anomalous_user_name.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_process.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_metadata_user.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_runas_event.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/ml/v3_windows_rare_user_type10_remote_login.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/datafeed_high_latency_by_geo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json b/x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json rename to x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/uptime_heartbeat/ml/high_latency_by_geo.json diff --git a/x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.ts b/x-pack/platform/plugins/shared/ml/server/models/data_visualizer/data_visualizer.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_visualizer/data_visualizer.ts diff --git a/x-pack/plugins/ml/server/models/data_visualizer/index.ts b/x-pack/platform/plugins/shared/ml/server/models/data_visualizer/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/data_visualizer/index.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/fields_aggs_cache.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_aggs_cache.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/fields_aggs_cache.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_aggs_cache.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/fields_service.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/fields_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/fields_service.ts diff --git a/x-pack/plugins/ml/server/models/fields_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/fields_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/fields_service/index.ts diff --git a/x-pack/plugins/ml/server/models/filter/filter_manager.ts b/x-pack/platform/plugins/shared/ml/server/models/filter/filter_manager.ts similarity index 100% rename from x-pack/plugins/ml/server/models/filter/filter_manager.ts rename to x-pack/platform/plugins/shared/ml/server/models/filter/filter_manager.ts diff --git a/x-pack/plugins/ml/server/models/filter/index.ts b/x-pack/platform/plugins/shared/ml/server/models/filter/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/filter/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/filter/index.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/index.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/is_clearable.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/is_clearable.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/is_clearable.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/is_clearable.test.ts diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/job_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_audit_messages/job_audit_messages.ts diff --git a/x-pack/plugins/ml/server/models/job_service/datafeeds.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/datafeeds.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/datafeeds.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/datafeeds.ts diff --git a/x-pack/plugins/ml/server/models/job_service/error_utils.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/error_utils.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/error_utils.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/error_utils.ts diff --git a/x-pack/plugins/ml/server/models/job_service/groups.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/groups.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/groups.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/groups.ts diff --git a/x-pack/plugins/ml/server/models/job_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/jobs.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/jobs.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/jobs.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/jobs.ts diff --git a/x-pack/plugins/ml/server/models/job_service/model_snapshots.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/model_snapshots.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/model_snapshots.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/model_snapshots.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/categorization/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/categorization/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/categorization/top_categories.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/top_categories.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/categorization/top_categories.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/categorization/top_categories.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/charts.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/charts.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/charts.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/charts.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/line_chart.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/line_chart.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/line_chart.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/line_chart.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job/population_chart.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/population_chart.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job/population_chart.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job/population_chart.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/cloudwatch_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/data_view_rollup_cloudwatch.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/farequote_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/responses/rollup_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/cloudwatch_rollup_job_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/__mocks__/results/farequote_job_caps_empty.json diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/field_service.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/field_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/field_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/field_service.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/index.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.test.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/new_job_caps.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/new_job_caps.ts diff --git a/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts b/x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_service/new_job_caps/rollup.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_cardinality.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_farequote_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_field_caps.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_field_caps.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_it_search_response.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_it_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_it_search_response.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_it_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_field_nested.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_range.json b/x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_range.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__mocks__/mock_time_range.json rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/__mocks__/mock_time_range.json diff --git a/x-pack/plugins/ml/server/models/job_validation/index.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/index.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/job_validation.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/job_validation.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/job_validation.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/job_validation.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/job_validation.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_bucket_span.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_cardinality.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_cardinality.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_cardinality.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_cardinality.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_cardinality.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_datafeed_preview.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_datafeed_preview.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_datafeed_preview.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_datafeed_preview.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_influencers.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_influencers.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_influencers.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_influencers.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_influencers.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_job_object.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_job_object.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_job_object.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_job_object.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_model_memory_limit.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_time_range.test.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_time_range.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.test.ts diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_time_range.ts b/x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.ts similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_time_range.ts rename to x-pack/platform/plugins/shared/ml/server/models/job_validation/validate_time_range.ts diff --git a/x-pack/plugins/ml/server/models/model_management/__mocks__/mock_deployment_response.json b/x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_deployment_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/__mocks__/mock_deployment_response.json rename to x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_deployment_response.json diff --git a/x-pack/plugins/ml/server/models/model_management/__mocks__/mock_download_tasks.json b/x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_download_tasks.json similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/__mocks__/mock_download_tasks.json rename to x-pack/platform/plugins/shared/ml/server/models/model_management/__mocks__/mock_download_tasks.json diff --git a/x-pack/plugins/ml/server/models/model_management/get_model_state.test.tsx b/x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.test.tsx similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/get_model_state.test.tsx rename to x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.test.tsx diff --git a/x-pack/plugins/ml/server/models/model_management/get_model_state.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/get_model_state.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/get_model_state.ts diff --git a/x-pack/plugins/ml/server/models/model_management/index.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/index.ts diff --git a/x-pack/plugins/ml/server/models/model_management/memory_usage.test.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/memory_usage.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.test.ts diff --git a/x-pack/plugins/ml/server/models/model_management/memory_usage.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/memory_usage.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/memory_usage.ts diff --git a/x-pack/plugins/ml/server/models/model_management/model_provider.test.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/model_provider.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/model_provider.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/model_provider.test.ts diff --git a/x-pack/plugins/ml/server/models/model_management/models_provider.ts b/x-pack/platform/plugins/shared/ml/server/models/model_management/models_provider.ts similarity index 100% rename from x-pack/plugins/ml/server/models/model_management/models_provider.ts rename to x-pack/platform/plugins/shared/ml/server/models/model_management/models_provider.ts diff --git a/x-pack/plugins/ml/server/models/notifications_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/notifications_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/notifications_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/notifications_service/index.ts diff --git a/x-pack/plugins/ml/server/models/notifications_service/notifications_service_provider.ts b/x-pack/platform/plugins/shared/ml/server/models/notifications_service/notifications_service_provider.ts similarity index 100% rename from x-pack/plugins/ml/server/models/notifications_service/notifications_service_provider.ts rename to x-pack/platform/plugins/shared/ml/server/models/notifications_service/notifications_service_provider.ts diff --git a/x-pack/plugins/ml/server/models/results_service/anomaly_charts.test.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/anomaly_charts.test.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.test.ts diff --git a/x-pack/plugins/ml/server/models/results_service/anomaly_charts.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/anomaly_charts.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/anomaly_charts.ts diff --git a/x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.d.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.d.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.d.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.d.ts diff --git a/x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js b/x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.js similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js rename to x-pack/platform/plugins/shared/ml/server/models/results_service/build_anomaly_table_items.js diff --git a/x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/get_partition_fields_values.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/get_partition_fields_values.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/get_partition_fields_values.ts diff --git a/x-pack/plugins/ml/server/models/results_service/index.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/index.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/index.ts diff --git a/x-pack/plugins/ml/server/models/results_service/results_service.ts b/x-pack/platform/plugins/shared/ml/server/models/results_service/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/models/results_service/results_service.ts diff --git a/x-pack/plugins/ml/server/plugin.ts b/x-pack/platform/plugins/shared/ml/server/plugin.ts similarity index 100% rename from x-pack/plugins/ml/server/plugin.ts rename to x-pack/platform/plugins/shared/ml/server/plugin.ts diff --git a/x-pack/plugins/ml/server/routes/README.md b/x-pack/platform/plugins/shared/ml/server/routes/README.md similarity index 100% rename from x-pack/plugins/ml/server/routes/README.md rename to x-pack/platform/plugins/shared/ml/server/routes/README.md diff --git a/x-pack/plugins/ml/server/routes/alerting.ts b/x-pack/platform/plugins/shared/ml/server/routes/alerting.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/alerting.ts rename to x-pack/platform/plugins/shared/ml/server/routes/alerting.ts diff --git a/x-pack/plugins/ml/server/routes/annotations.ts b/x-pack/platform/plugins/shared/ml/server/routes/annotations.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/annotations.ts rename to x-pack/platform/plugins/shared/ml/server/routes/annotations.ts diff --git a/x-pack/plugins/ml/server/routes/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/routes/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/routes/calendars.ts b/x-pack/platform/plugins/shared/ml/server/routes/calendars.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/calendars.ts rename to x-pack/platform/plugins/shared/ml/server/routes/calendars.ts diff --git a/x-pack/plugins/ml/server/routes/data_frame_analytics.ts b/x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/data_frame_analytics.ts rename to x-pack/platform/plugins/shared/ml/server/routes/data_frame_analytics.ts diff --git a/x-pack/plugins/ml/server/routes/data_visualizer.ts b/x-pack/platform/plugins/shared/ml/server/routes/data_visualizer.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/data_visualizer.ts rename to x-pack/platform/plugins/shared/ml/server/routes/data_visualizer.ts diff --git a/x-pack/plugins/ml/server/routes/datafeeds.ts b/x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/datafeeds.ts rename to x-pack/platform/plugins/shared/ml/server/routes/datafeeds.ts diff --git a/x-pack/plugins/ml/server/routes/fields_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/fields_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/fields_service.ts diff --git a/x-pack/plugins/ml/server/routes/filters.ts b/x-pack/platform/plugins/shared/ml/server/routes/filters.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/filters.ts rename to x-pack/platform/plugins/shared/ml/server/routes/filters.ts diff --git a/x-pack/plugins/ml/server/routes/inference_models.ts b/x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/inference_models.ts rename to x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts diff --git a/x-pack/plugins/ml/server/routes/job_audit_messages.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_audit_messages.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_audit_messages.ts diff --git a/x-pack/plugins/ml/server/routes/job_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_service.ts diff --git a/x-pack/plugins/ml/server/routes/job_validation.ts b/x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/job_validation.ts rename to x-pack/platform/plugins/shared/ml/server/routes/job_validation.ts diff --git a/x-pack/plugins/ml/server/routes/management.ts b/x-pack/platform/plugins/shared/ml/server/routes/management.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/management.ts rename to x-pack/platform/plugins/shared/ml/server/routes/management.ts diff --git a/x-pack/plugins/ml/server/routes/model_management.ts b/x-pack/platform/plugins/shared/ml/server/routes/model_management.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/model_management.ts rename to x-pack/platform/plugins/shared/ml/server/routes/model_management.ts diff --git a/x-pack/plugins/ml/server/routes/modules.ts b/x-pack/platform/plugins/shared/ml/server/routes/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/modules.ts rename to x-pack/platform/plugins/shared/ml/server/routes/modules.ts diff --git a/x-pack/plugins/ml/server/routes/notifications.ts b/x-pack/platform/plugins/shared/ml/server/routes/notifications.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/notifications.ts rename to x-pack/platform/plugins/shared/ml/server/routes/notifications.ts diff --git a/x-pack/plugins/ml/server/routes/results_service.ts b/x-pack/platform/plugins/shared/ml/server/routes/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/routes/results_service.ts diff --git a/x-pack/plugins/ml/server/routes/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/routes/saved_objects.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/alerting_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/alerting_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/alerting_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/alerting_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/annotations_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/annotations_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/annotations_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/annotations_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/anomaly_detectors_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/anomaly_detectors_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/calendars_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/calendars_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/data_frame_analytics_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/data_frame_analytics_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/data_frame_analytics_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/data_frame_analytics_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/data_visualizer_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/data_visualizer_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/data_visualizer_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/data_visualizer_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/datafeeds_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/datafeeds_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/datafeeds_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/datafeeds_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/fields_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/fields_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/fields_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/fields_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/filters_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/filters_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/filters_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/filters_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/indices_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/indices_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/indices_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/indices_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/inference_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/inference_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/inference_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/inference_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_audit_messages_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_audit_messages_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_audit_messages_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_audit_messages_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/job_validation_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/job_validation_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/job_validation_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/job_validation_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/management_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/management_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/management_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/management_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/modules.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/modules.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/modules.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/notifications_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/notifications_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/notifications_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/notifications_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/results_service_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/results_service_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/results_service_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/results_service_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/runtime_mappings_schema.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/runtime_mappings_schema.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/runtime_mappings_schema.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/runtime_mappings_schema.ts diff --git a/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/routes/schemas/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/schemas/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/routes/schemas/saved_objects.ts diff --git a/x-pack/plugins/ml/server/routes/system.ts b/x-pack/platform/plugins/shared/ml/server/routes/system.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/system.ts rename to x-pack/platform/plugins/shared/ml/server/routes/system.ts diff --git a/x-pack/plugins/ml/server/routes/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/routes/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/routes/trained_models.ts diff --git a/x-pack/plugins/ml/server/saved_objects/authorization.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/authorization.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/authorization.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/authorization.ts diff --git a/x-pack/plugins/ml/server/saved_objects/checks.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/checks.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/checks.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/checks.ts diff --git a/x-pack/plugins/ml/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/initialization.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/index.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/index.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/index.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/index.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/logs.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/logs.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/logs.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/logs.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/metrics.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/metrics.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/metrics.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/metrics.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.test.ts diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/initialization/space_overrides/space_overrides.ts diff --git a/x-pack/plugins/ml/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/ml/server/saved_objects/migrations.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/migrations.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/migrations.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/migrations.ts diff --git a/x-pack/plugins/ml/server/saved_objects/saved_objects.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/saved_objects.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts diff --git a/x-pack/plugins/ml/server/saved_objects/service.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/service.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/service.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/service.ts diff --git a/x-pack/plugins/ml/server/saved_objects/sync.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/sync.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/sync.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/sync.ts diff --git a/x-pack/plugins/ml/server/saved_objects/sync_task.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/sync_task.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/sync_task.ts diff --git a/x-pack/plugins/ml/server/saved_objects/util.ts b/x-pack/platform/plugins/shared/ml/server/saved_objects/util.ts similarity index 100% rename from x-pack/plugins/ml/server/saved_objects/util.ts rename to x-pack/platform/plugins/shared/ml/server/saved_objects/util.ts diff --git a/x-pack/plugins/ml/server/shared.ts b/x-pack/platform/plugins/shared/ml/server/shared.ts similarity index 100% rename from x-pack/plugins/ml/server/shared.ts rename to x-pack/platform/plugins/shared/ml/server/shared.ts diff --git a/x-pack/plugins/ml/server/shared_services/errors.test.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/errors.test.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/errors.test.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/errors.test.ts diff --git a/x-pack/plugins/ml/server/shared_services/errors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/errors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/errors.ts diff --git a/x-pack/plugins/ml/server/shared_services/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/errors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/errors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/errors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/errors.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/license_checks/license_checks.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/license_checks.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/license_checks/license_checks.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/license_checks/license_checks.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/alerting_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/jobs_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/jobs_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/jobs_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/jobs_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/modules.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/modules.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/modules.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/results_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/results_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/system.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/system.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/system.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/system.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/__mocks__/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/__mocks__/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/__mocks__/trained_models.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/alerting_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/alerting_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/alerting_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/alerting_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/anomaly_detectors.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/anomaly_detectors.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/anomaly_detectors.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/anomaly_detectors.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/index.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/index.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/index.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/index.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/job_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/job_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/job_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/job_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/modules.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/modules.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/modules.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/modules.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/results_service.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/results_service.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/results_service.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/results_service.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/system.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/system.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/system.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/system.ts diff --git a/x-pack/plugins/ml/server/shared_services/providers/trained_models.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/providers/trained_models.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/providers/trained_models.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/providers/trained_models.ts diff --git a/x-pack/plugins/ml/server/shared_services/shared_services.ts b/x-pack/platform/plugins/shared/ml/server/shared_services/shared_services.ts similarity index 100% rename from x-pack/plugins/ml/server/shared_services/shared_services.ts rename to x-pack/platform/plugins/shared/ml/server/shared_services/shared_services.ts diff --git a/x-pack/plugins/ml/server/types.ts b/x-pack/platform/plugins/shared/ml/server/types.ts similarity index 100% rename from x-pack/plugins/ml/server/types.ts rename to x-pack/platform/plugins/shared/ml/server/types.ts diff --git a/x-pack/plugins/ml/server/usage/collector.ts b/x-pack/platform/plugins/shared/ml/server/usage/collector.ts similarity index 100% rename from x-pack/plugins/ml/server/usage/collector.ts rename to x-pack/platform/plugins/shared/ml/server/usage/collector.ts diff --git a/x-pack/plugins/transform/server/usage/index.ts b/x-pack/platform/plugins/shared/ml/server/usage/index.ts similarity index 100% rename from x-pack/plugins/transform/server/usage/index.ts rename to x-pack/platform/plugins/shared/ml/server/usage/index.ts diff --git a/x-pack/plugins/ml/tsconfig.json b/x-pack/platform/plugins/shared/ml/tsconfig.json similarity index 96% rename from x-pack/plugins/ml/tsconfig.json rename to x-pack/platform/plugins/shared/ml/tsconfig.json index e11358f258a3a..b65618569ec71 100644 --- a/x-pack/plugins/ml/tsconfig.json +++ b/x-pack/platform/plugins/shared/ml/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -9,7 +9,7 @@ "server/**/*", "scripts/**/*", "__mocks__/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", // have to declare *.json explicitly due to https://github.com/microsoft/TypeScript/issues/25636 "common/**/*.json", "public/**/*.json", @@ -21,7 +21,7 @@ "kbn_references": [ "@kbn/core", { - "path": "../../../src/setup_node_env/tsconfig.json" + "path": "../../../../../src/setup_node_env/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on "@kbn/actions-plugin", diff --git a/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts b/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts index eef5595d688ee..1bd1bd43bfe08 100644 --- a/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts +++ b/x-pack/plugins/security_solution/common/machine_learning/affected_job_ids.ts @@ -11,7 +11,7 @@ // There are four modules of jobs that are affected. However, because the API // that returns installed jobs does not include those jobs' modules, hardcoding // the IDs from those modules (as found in e.g. -// x-pack/plugins/ml/server/models/data_recognizer/modules/security_windows/manifest.json) +// x-pack/platform/plugins/shared/ml/server/models/data_recognizer/modules/security_windows/manifest.json) // allows us to make this determination from a single API call. // // Note: In 8.3 the V3 ML modules were released (#131166) and a large portion of the V1/V2 diff --git a/x-pack/plugins/security_solution/common/machine_learning/helpers.ts b/x-pack/plugins/security_solution/common/machine_learning/helpers.ts index e073d023e8904..125dd59f0980b 100644 --- a/x-pack/plugins/security_solution/common/machine_learning/helpers.ts +++ b/x-pack/plugins/security_solution/common/machine_learning/helpers.ts @@ -7,7 +7,7 @@ import type { Type } from '@kbn/securitysolution-io-ts-alerting-types'; -// Based on ML Job/Datafeed States from x-pack/legacy/plugins/ml/common/constants/states.js +// Based on ML Job/Datafeed States from x-pack/legacy/platform/plugins/shared/ml/common/constants/states.js const enabledStates = ['started', 'opened']; const loadingStates = ['starting', 'stopping', 'opening', 'closing']; const failureStates = ['deleted', 'failed']; diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index d5b0514b64918..06c19e82e6532 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,3 +1,104 @@ { - "properties": {} + "properties": { + "ml": { + "properties": { + "alertRules": { + "properties": { + "xpack.ml.anomaly_detection_alert": { + "properties": { + "count_by_result_type": { + "properties": { + "record": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using record result type" + } + }, + "influencer": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using influencer result type" + } + }, + "bucket": { + "type": "long", + "_meta": { + "description": "total number of alerting rules using bucket result type" + } + } + } + } + } + }, + "xpack.ml.anomaly_detection_jobs_health": { + "properties": { + "count_by_check_type": { + "properties": { + "datafeed": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the not started datafeed health check" + } + }, + "mml": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the model memory limit health check" + } + }, + "delayedData": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the delayed data health check" + } + }, + "errorMessages": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the error messages health check" + } + } + } + } + } + } + } + } + } + }, + "transform": { + "properties": { + "alertRules": { + "properties": { + "transform_health": { + "properties": { + "count_by_check_type": { + "properties": { + "notStarted": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the not started health check" + } + }, + "errorMessages": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the error message health check" + } + }, + "healthCheck": { + "type": "long", + "_meta": { + "description": "total number of alerting rules performing the health check with the stats API" + } + } + } + } + } + } + } + } + } + } + } } diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index b086844792217..eb9150f8482e2 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -14875,72 +14875,6 @@ } } }, - "ml": { - "properties": { - "alertRules": { - "properties": { - "xpack.ml.anomaly_detection_alert": { - "properties": { - "count_by_result_type": { - "properties": { - "record": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using record result type" - } - }, - "influencer": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using influencer result type" - } - }, - "bucket": { - "type": "long", - "_meta": { - "description": "total number of alerting rules using bucket result type" - } - } - } - } - } - }, - "xpack.ml.anomaly_detection_jobs_health": { - "properties": { - "count_by_check_type": { - "properties": { - "datafeed": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the not started datafeed health check" - } - }, - "mml": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the model memory limit health check" - } - }, - "delayedData": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the delayed data health check" - } - }, - "errorMessages": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the error messages health check" - } - } - } - } - } - } - } - } - } - }, "monitoring": { "properties": { "hasMonitoringData": { @@ -20145,40 +20079,6 @@ } } }, - "transform": { - "properties": { - "alertRules": { - "properties": { - "transform_health": { - "properties": { - "count_by_check_type": { - "properties": { - "notStarted": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the not started health check" - } - }, - "errorMessages": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the error message health check" - } - }, - "healthCheck": { - "type": "long", - "_meta": { - "description": "total number of alerting rules performing the health check with the stats API" - } - } - } - } - } - } - } - } - } - }, "upgrade-assistant-telemetry": { "properties": { "features": { diff --git a/x-pack/plugins/transform/jest.config.js b/x-pack/plugins/transform/jest.config.js deleted file mode 100644 index 2732cd66e2c94..0000000000000 --- a/x-pack/plugins/transform/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/transform'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/transform', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/transform/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/yarn.lock b/yarn.lock index df4c2f65299f2..99f0c72dc1105 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3856,31 +3856,31 @@ version "0.0.0" uid "" -"@kbn/aiops-change-point-detection@link:x-pack/packages/ml/aiops_change_point_detection": +"@kbn/aiops-change-point-detection@link:x-pack/platform/packages/private/ml/aiops_change_point_detection": version "0.0.0" uid "" -"@kbn/aiops-common@link:x-pack/packages/ml/aiops_common": +"@kbn/aiops-common@link:x-pack/platform/packages/shared/ml/aiops_common": version "0.0.0" uid "" -"@kbn/aiops-components@link:x-pack/packages/ml/aiops_components": +"@kbn/aiops-components@link:x-pack/platform/packages/private/ml/aiops_components": version "0.0.0" uid "" -"@kbn/aiops-log-pattern-analysis@link:x-pack/packages/ml/aiops_log_pattern_analysis": +"@kbn/aiops-log-pattern-analysis@link:x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis": version "0.0.0" uid "" -"@kbn/aiops-log-rate-analysis@link:x-pack/packages/ml/aiops_log_rate_analysis": +"@kbn/aiops-log-rate-analysis@link:x-pack/platform/packages/shared/ml/aiops_log_rate_analysis": version "0.0.0" uid "" -"@kbn/aiops-plugin@link:x-pack/plugins/aiops": +"@kbn/aiops-plugin@link:x-pack/platform/plugins/shared/aiops": version "0.0.0" uid "" -"@kbn/aiops-test-utils@link:x-pack/packages/ml/aiops_test_utils": +"@kbn/aiops-test-utils@link:x-pack/platform/packages/private/ml/aiops_test_utils": version "0.0.0" uid "" @@ -5268,7 +5268,7 @@ version "0.0.0" uid "" -"@kbn/data-visualizer-plugin@link:x-pack/plugins/data_visualizer": +"@kbn/data-visualizer-plugin@link:x-pack/platform/plugins/private/data_visualizer": version "0.0.0" uid "" @@ -5296,7 +5296,7 @@ version "0.0.0" uid "" -"@kbn/deeplinks-ml@link:packages/deeplinks/ml": +"@kbn/deeplinks-ml@link:src/platform/packages/shared/deeplinks/ml": version "0.0.0" uid "" @@ -5328,7 +5328,7 @@ version "0.0.0" uid "" -"@kbn/default-nav-ml@link:packages/default-nav/ml": +"@kbn/default-nav-ml@link:src/platform/packages/private/default-nav/ml": version "0.0.0" uid "" @@ -5944,7 +5944,7 @@ version "0.0.0" uid "" -"@kbn/inference_integration_flyout@link:x-pack/packages/ml/inference_integration_flyout": +"@kbn/inference_integration_flyout@link:x-pack/platform/packages/private/ml/inference_integration_flyout": version "0.0.0" uid "" @@ -6028,7 +6028,7 @@ version "0.0.0" uid "" -"@kbn/json-schemas@link:x-pack/packages/ml/json_schemas": +"@kbn/json-schemas@link:x-pack/platform/packages/private/ml/json_schemas": version "0.0.0" uid "" @@ -6268,135 +6268,135 @@ version "0.0.0" uid "" -"@kbn/ml-agg-utils@link:x-pack/packages/ml/agg_utils": +"@kbn/ml-agg-utils@link:x-pack/platform/packages/private/ml/agg_utils": version "0.0.0" uid "" -"@kbn/ml-anomaly-utils@link:x-pack/packages/ml/anomaly_utils": +"@kbn/ml-anomaly-utils@link:x-pack/platform/packages/shared/ml/anomaly_utils": version "0.0.0" uid "" -"@kbn/ml-cancellable-search@link:x-pack/packages/ml/cancellable_search": +"@kbn/ml-cancellable-search@link:x-pack/platform/packages/private/ml/cancellable_search": version "0.0.0" uid "" -"@kbn/ml-category-validator@link:x-pack/packages/ml/category_validator": +"@kbn/ml-category-validator@link:x-pack/platform/packages/private/ml/category_validator": version "0.0.0" uid "" -"@kbn/ml-chi2test@link:x-pack/packages/ml/chi2test": +"@kbn/ml-chi2test@link:x-pack/platform/packages/shared/ml/chi2test": version "0.0.0" uid "" -"@kbn/ml-creation-wizard-utils@link:x-pack/packages/ml/creation_wizard_utils": +"@kbn/ml-creation-wizard-utils@link:x-pack/platform/packages/private/ml/creation_wizard_utils": version "0.0.0" uid "" -"@kbn/ml-data-frame-analytics-utils@link:x-pack/packages/ml/data_frame_analytics_utils": +"@kbn/ml-data-frame-analytics-utils@link:x-pack/platform/packages/private/ml/data_frame_analytics_utils": version "0.0.0" uid "" -"@kbn/ml-data-grid@link:x-pack/packages/ml/data_grid": +"@kbn/ml-data-grid@link:x-pack/platform/packages/private/ml/data_grid": version "0.0.0" uid "" -"@kbn/ml-data-view-utils@link:x-pack/packages/ml/data_view_utils": +"@kbn/ml-data-view-utils@link:x-pack/platform/packages/private/ml/data_view_utils": version "0.0.0" uid "" -"@kbn/ml-date-picker@link:x-pack/packages/ml/date_picker": +"@kbn/ml-date-picker@link:x-pack/platform/packages/private/ml/date_picker": version "0.0.0" uid "" -"@kbn/ml-date-utils@link:x-pack/packages/ml/date_utils": +"@kbn/ml-date-utils@link:x-pack/platform/packages/private/ml/date_utils": version "0.0.0" uid "" -"@kbn/ml-error-utils@link:x-pack/packages/ml/error_utils": +"@kbn/ml-error-utils@link:x-pack/platform/packages/shared/ml/error_utils": version "0.0.0" uid "" -"@kbn/ml-field-stats-flyout@link:x-pack/packages/ml/field_stats_flyout": +"@kbn/ml-field-stats-flyout@link:x-pack/platform/packages/private/ml/field_stats_flyout": version "0.0.0" uid "" -"@kbn/ml-in-memory-table@link:x-pack/packages/ml/in_memory_table": +"@kbn/ml-in-memory-table@link:x-pack/platform/packages/private/ml/in_memory_table": version "0.0.0" uid "" -"@kbn/ml-is-defined@link:x-pack/packages/ml/is_defined": +"@kbn/ml-is-defined@link:x-pack/platform/packages/private/ml/is_defined": version "0.0.0" uid "" -"@kbn/ml-is-populated-object@link:x-pack/packages/ml/is_populated_object": +"@kbn/ml-is-populated-object@link:x-pack/platform/packages/private/ml/is_populated_object": version "0.0.0" uid "" -"@kbn/ml-kibana-theme@link:x-pack/packages/ml/kibana_theme": +"@kbn/ml-kibana-theme@link:x-pack/platform/packages/private/ml/kibana_theme": version "0.0.0" uid "" -"@kbn/ml-local-storage@link:x-pack/packages/ml/local_storage": +"@kbn/ml-local-storage@link:x-pack/platform/packages/private/ml/local_storage": version "0.0.0" uid "" -"@kbn/ml-nested-property@link:x-pack/packages/ml/nested_property": +"@kbn/ml-nested-property@link:x-pack/platform/packages/private/ml/nested_property": version "0.0.0" uid "" -"@kbn/ml-number-utils@link:x-pack/packages/ml/number_utils": +"@kbn/ml-number-utils@link:x-pack/platform/packages/private/ml/number_utils": version "0.0.0" uid "" -"@kbn/ml-parse-interval@link:x-pack/packages/ml/parse_interval": +"@kbn/ml-parse-interval@link:x-pack/platform/packages/private/ml/parse_interval": version "0.0.0" uid "" -"@kbn/ml-plugin@link:x-pack/plugins/ml": +"@kbn/ml-plugin@link:x-pack/platform/plugins/shared/ml": version "0.0.0" uid "" -"@kbn/ml-query-utils@link:x-pack/packages/ml/query_utils": +"@kbn/ml-query-utils@link:x-pack/platform/packages/private/ml/query_utils": version "0.0.0" uid "" -"@kbn/ml-random-sampler-utils@link:x-pack/packages/ml/random_sampler_utils": +"@kbn/ml-random-sampler-utils@link:x-pack/platform/packages/shared/ml/random_sampler_utils": version "0.0.0" uid "" -"@kbn/ml-response-stream@link:x-pack/packages/ml/response_stream": +"@kbn/ml-response-stream@link:x-pack/platform/packages/shared/ml/response_stream": version "0.0.0" uid "" -"@kbn/ml-route-utils@link:x-pack/packages/ml/route_utils": +"@kbn/ml-route-utils@link:x-pack/platform/packages/private/ml/route_utils": version "0.0.0" uid "" -"@kbn/ml-runtime-field-utils@link:x-pack/packages/ml/runtime_field_utils": +"@kbn/ml-runtime-field-utils@link:x-pack/platform/packages/shared/ml/runtime_field_utils": version "0.0.0" uid "" -"@kbn/ml-string-hash@link:x-pack/packages/ml/string_hash": +"@kbn/ml-string-hash@link:x-pack/platform/packages/private/ml/string_hash": version "0.0.0" uid "" -"@kbn/ml-time-buckets@link:x-pack/packages/ml/time_buckets": +"@kbn/ml-time-buckets@link:x-pack/platform/packages/private/ml/time_buckets": version "0.0.0" uid "" -"@kbn/ml-trained-models-utils@link:x-pack/packages/ml/trained_models_utils": +"@kbn/ml-trained-models-utils@link:x-pack/platform/packages/shared/ml/trained_models_utils": version "0.0.0" uid "" -"@kbn/ml-ui-actions@link:x-pack/packages/ml/ui_actions": +"@kbn/ml-ui-actions@link:x-pack/platform/packages/private/ml/ui_actions": version "0.0.0" uid "" -"@kbn/ml-url-state@link:x-pack/packages/ml/url_state": +"@kbn/ml-url-state@link:x-pack/platform/packages/private/ml/url_state": version "0.0.0" uid "" -"@kbn/ml-validators@link:x-pack/packages/ml/validators": +"@kbn/ml-validators@link:x-pack/platform/packages/private/ml/validators": version "0.0.0" uid "" @@ -7676,7 +7676,7 @@ version "0.0.0" uid "" -"@kbn/transform-plugin@link:x-pack/plugins/transform": +"@kbn/transform-plugin@link:x-pack/platform/plugins/private/transform": version "0.0.0" uid "" From fdedae07b854280b37f142b652892f1b5ee44018 Mon Sep 17 00:00:00 2001 From: Pablo Machado Date: Mon, 9 Dec 2024 18:12:51 +0100 Subject: [PATCH 4/5] [SecuritySolution] Service Entity Store (#202344) ## Summary ### Service Definition: https://github.com/elastic/kibana/pull/202344/files#diff-42c7dd345e0500c97f85824904a70a11162827ea8f8df6982082a9047ca04ff1 ### Acceptance Criteria - [x] Upon installation of the entity store, the Service entity definition should be created by default - [x] The Service definition will be installed in the exact same way as the User and Host definitions - [x] The unique identifier for service entities will be `service.name` - [x] The fields captured for service entities should match the field mapping spreadsheet (see Implementation Notes below) ### Stored Entity ```json { "@timestamp": "2024-12-02T10:43:13.856Z", "event": { "ingested": "2024-12-02T10:51:28.987428Z" }, "entity": { "name": "test123 name", "id": "test123 name", "source": "logs-blito", "type": "service" }, "service": { "node": { "roles": [ "test123 node roles" ], "name": [ "test123 node name" ] }, "environment": [ "test123 environment" ], "address": [ "test123 address" ], "name": "test123 name", "id": [ "test123 id" ], "state": [ "test123 state" ], "ephemeral_id": [ "test123 ephemeral_id" ], "type": [ "test123 type" ], "version": [ "test123 version" ] } } ``` ### How to test it? * Start Kibana
Create mappings ``` PUT /logs-test { "mappings": { "properties": { "service.name": { "type": "keyword" }, "service.address": { "type": "keyword" }, "service.environment": { "type": "keyword" }, "service.ephemeral_id": { "type": "keyword" }, "service.id": { "type": "keyword" }, "service.node.name": { "type": "keyword" }, "service.node.roles": { "type": "keyword" }, "service.state": { "type": "keyword" }, "service.type": { "type": "keyword" }, "service.version": { "type": "keyword" }, "@timestamp": { "type": "date" } } } } ````
Create document ``` PUT /logs-test POST logs-test/_doc { "service": { "name": "test123 name", "address": "test123 address", "environment": "test123 environment", "ephemeral_id": "test123 ephemeral_id", "id": "test123 id", "node.roles": "test123 node roles", "node.name": "test123 node name", "state": "test123 state", "type": "test123 type", "version": "test123 version" }, "@timestamp": "2024-12-02T10:43:13.856Z" } ````
* Init the entity store * Wait... * Query the service index `GET .entities.v1.latest.security_service_default/_search` ### Open Questions * Can we merge this PR without first updating all other features that will use service entities? * If we merge it, the service engine will be installed together with other entities, but it won't provide any functionality * Do we need an experimental flag? --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- oas_docs/output/kibana.serverless.yaml | 1 + oas_docs/output/kibana.yaml | 1 + .../entity_store/common.gen.ts | 2 +- .../entity_store/common.schema.yaml | 1 + .../common/experimental_features.ts | 5 + ...alytics_api_2023_10_31.bundled.schema.yaml | 1 + ...alytics_api_2023_10_31.bundled.schema.yaml | 1 + .../entity_store/hooks/use_entity_store.ts | 29 +- .../pages/entity_store_management_page.tsx | 11 +- .../entity_store_data_client.test.ts | 2 + .../entity_store/entity_store_data_client.ts | 16 +- .../entity_types/index.ts | 1 + .../entity_types/service.ts | 29 ++ .../get_united_definition.test.ts | 311 ++++++++++++++++++ .../get_united_definition.ts | 10 +- .../entity_store/utils/entity_utils.ts | 15 +- .../server/request_context_factory.ts | 1 + 17 files changed, 417 insertions(+), 20 deletions(-) create mode 100644 x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts diff --git a/oas_docs/output/kibana.serverless.yaml b/oas_docs/output/kibana.serverless.yaml index bf3c74d906cef..0c89dc73bcd38 100644 --- a/oas_docs/output/kibana.serverless.yaml +++ b/oas_docs/output/kibana.serverless.yaml @@ -47102,6 +47102,7 @@ components: enum: - user - host + - service type: string Security_Entity_Analytics_API_HostEntity: type: object diff --git a/oas_docs/output/kibana.yaml b/oas_docs/output/kibana.yaml index aea9bacebd061..b83907699ec76 100644 --- a/oas_docs/output/kibana.yaml +++ b/oas_docs/output/kibana.yaml @@ -54783,6 +54783,7 @@ components: enum: - user - host + - service type: string Security_Entity_Analytics_API_HostEntity: type: object diff --git a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts index 25c47e838d85c..3511e1d166ede 100644 --- a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts +++ b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.gen.ts @@ -17,7 +17,7 @@ import { z } from '@kbn/zod'; export type EntityType = z.infer; -export const EntityType = z.enum(['user', 'host']); +export const EntityType = z.enum(['user', 'host', 'service']); export type EntityTypeEnum = typeof EntityType.enum; export const EntityTypeEnum = EntityType.enum; diff --git a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml index 5adb6fe038dc9..0ddbf1c9b3fd0 100644 --- a/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml +++ b/x-pack/plugins/security_solution/common/api/entity_analytics/entity_store/common.schema.yaml @@ -11,6 +11,7 @@ components: enum: - user - host + - service EngineDescriptor: type: object diff --git a/x-pack/plugins/security_solution/common/experimental_features.ts b/x-pack/plugins/security_solution/common/experimental_features.ts index 095324840fc5c..def958c07bd2d 100644 --- a/x-pack/plugins/security_solution/common/experimental_features.ts +++ b/x-pack/plugins/security_solution/common/experimental_features.ts @@ -243,6 +243,11 @@ export const allowedExperimentalValues = Object.freeze({ */ entityStoreDisabled: false, + /** + * Enables the Service Entity Store. The Entity Store feature will install the service engine by default. + */ + serviceEntityStoreEnabled: true, + /** * Enables the siem migrations feature */ diff --git a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml index b1b85b8222786..9a0c456e5efe3 100644 --- a/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml +++ b/x-pack/plugins/security_solution/docs/openapi/ess/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml @@ -987,6 +987,7 @@ components: enum: - user - host + - service type: string HostEntity: type: object diff --git a/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml b/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml index 4a3b3495467e9..356a63567c401 100644 --- a/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml +++ b/x-pack/plugins/security_solution/docs/openapi/serverless/security_solution_entity_analytics_api_2023_10_31.bundled.schema.yaml @@ -987,6 +987,7 @@ components: enum: - user - host + - service type: string HostEntity: type: object diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts index ceb93d164af62..953bd811f8ab3 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/entity_store/hooks/use_entity_store.ts @@ -12,10 +12,11 @@ import type { IHttpFetchError } from '@kbn/core-http-browser'; import type { GetEntityStoreStatusResponse } from '../../../../../common/api/entity_analytics/entity_store/status.gen'; import type { InitEntityStoreResponse } from '../../../../../common/api/entity_analytics/entity_store/enable.gen'; import { useKibana } from '../../../../common/lib/kibana/kibana_react'; -import type { - DeleteEntityEngineResponse, - InitEntityEngineResponse, - StopEntityEngineResponse, +import type { EntityType } from '../../../../../common/api/entity_analytics'; +import { + type DeleteEntityEngineResponse, + type InitEntityEngineResponse, + type StopEntityEngineResponse, } from '../../../../../common/api/entity_analytics'; import { useEntityStoreRoutes } from '../../../api/entity_store'; import { EntityEventTypes } from '../../../../common/lib/telemetry'; @@ -68,13 +69,16 @@ export const useEnableEntityStoreMutation = (options?: UseMutationOptions<{}>) = }; export const INIT_ENTITY_ENGINE_STATUS_KEY = ['POST', 'INIT_ENTITY_ENGINE']; +/** + * @deprecated + * It will be deleted on a follow-up PR + */ export const useInitEntityEngineMutation = (options?: UseMutationOptions<{}>) => { const queryClient = useQueryClient(); const { initEntityEngine } = useEntityStoreRoutes(); return useMutation( () => Promise.all([initEntityEngine('user'), initEntityEngine('host')]), - { mutationKey: INIT_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => queryClient.refetchQueries({ queryKey: ENTITY_STORE_STATUS }), @@ -84,7 +88,7 @@ export const useInitEntityEngineMutation = (options?: UseMutationOptions<{}>) => }; export const STOP_ENTITY_ENGINE_STATUS_KEY = ['POST', 'STOP_ENTITY_ENGINE']; -export const useStopEntityEngineMutation = (options?: UseMutationOptions<{}>) => { +export const useStopEntityEngineMutation = (entityTypes: EntityType[]) => { const { telemetry } = useKibana().services; const queryClient = useQueryClient(); @@ -95,23 +99,28 @@ export const useStopEntityEngineMutation = (options?: UseMutationOptions<{}>) => timestamp: new Date().toISOString(), action: 'stop', }); - return Promise.all([stopEntityEngine('user'), stopEntityEngine('host')]); + return Promise.all(entityTypes.map((entityType) => stopEntityEngine(entityType))); }, { mutationKey: STOP_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => queryClient.refetchQueries({ queryKey: ENTITY_STORE_STATUS }), - ...options, } ); }; export const DELETE_ENTITY_ENGINE_STATUS_KEY = ['POST', 'STOP_ENTITY_ENGINE']; -export const useDeleteEntityEngineMutation = ({ onSuccess }: { onSuccess?: () => void }) => { +export const useDeleteEntityEngineMutation = ({ + onSuccess, + entityTypes, +}: { + onSuccess?: () => void; + entityTypes: EntityType[]; +}) => { const queryClient = useQueryClient(); const { deleteEntityEngine } = useEntityStoreRoutes(); return useMutation( - () => Promise.all([deleteEntityEngine('user', true), deleteEntityEngine('host', true)]), + () => Promise.all(entityTypes.map((entityType) => deleteEntityEngine(entityType, true))), { mutationKey: DELETE_ENTITY_ENGINE_STATUS_KEY, onSuccess: () => { diff --git a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx index 3cf3eb58355c6..67c75d5ff88b5 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/pages/entity_store_management_page.tsx @@ -33,7 +33,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import { FormattedMessage } from '@kbn/i18n-react'; import type { SecurityAppError } from '@kbn/securitysolution-t-grid'; -import type { StoreStatus } from '../../../common/api/entity_analytics'; +import { EntityType, EntityTypeEnum, type StoreStatus } from '../../../common/api/entity_analytics'; import { useIsExperimentalFeatureEnabled } from '../../common/hooks/use_experimental_features'; import { ASSET_CRITICALITY_INDEX_PATTERN } from '../../../common/entity_analytics/asset_criticality'; import { useKibana } from '../../common/lib/kibana'; @@ -73,13 +73,20 @@ export const EntityStoreManagementPage = () => { const hasAssetCriticalityWritePermissions = assetCriticalityPrivileges?.has_write_permissions; const [selectedTabId, setSelectedTabId] = useState(TabId.Import); const entityStoreStatus = useEntityStoreStatus({}); + const isServiceEntityStoreEnabled = useIsExperimentalFeatureEnabled('serviceEntityStoreEnabled'); + const allEntityTypes = Object.values(EntityType.Values); + + const entityTypes = isServiceEntityStoreEnabled + ? allEntityTypes + : allEntityTypes.filter((value) => value !== EntityTypeEnum.service); const enableStoreMutation = useEnableEntityStoreMutation(); - const stopEntityEngineMutation = useStopEntityEngineMutation(); + const stopEntityEngineMutation = useStopEntityEngineMutation(entityTypes); const deleteEntityEngineMutation = useDeleteEntityEngineMutation({ onSuccess: () => { closeClearModal(); }, + entityTypes, }); const [isClearModalVisible, setIsClearModalVisible] = useState(false); diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts index 733e85fd6ed55..86ac7d136d221 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.test.ts @@ -16,6 +16,7 @@ import type { EntityType } from '../../../../common/api/entity_analytics/entity_ import type { DataViewsService } from '@kbn/data-views-plugin/common'; import type { AppClient } from '../../..'; import type { EntityStoreConfig } from './types'; +import { mockGlobalState } from '../../../../public/common/mock'; describe('EntityStoreDataClient', () => { const mockSavedObjectClient = savedObjectsClientMock.create(); @@ -31,6 +32,7 @@ describe('EntityStoreDataClient', () => { dataViewsService: {} as DataViewsService, appClient: {} as AppClient, config: {} as EntityStoreConfig, + experimentalFeatures: mockGlobalState.app.enableExperimental, }); const defaultSearchParams = { diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts index dc4e9d7af2ff6..c18dc1863a8d1 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/entity_store_data_client.ts @@ -23,6 +23,7 @@ import moment from 'moment'; import type { EntityDefinitionWithState } from '@kbn/entityManager-plugin/server/lib/entities/types'; import type { EntityDefinition } from '@kbn/entities-schema'; import type { estypes } from '@elastic/elasticsearch'; +import type { ExperimentalFeatures } from '../../../../common'; import type { GetEntityStoreStatusRequestQuery, GetEntityStoreStatusResponse, @@ -32,7 +33,10 @@ import type { InitEntityStoreResponse, } from '../../../../common/api/entity_analytics/entity_store/enable.gen'; import type { AppClient } from '../../..'; -import { EngineComponentResourceEnum, EntityType } from '../../../../common/api/entity_analytics'; +import { + EngineComponentResourceEnum, + EntityTypeEnum, +} from '../../../../common/api/entity_analytics'; import type { Entity, EngineDataviewUpdateResult, @@ -42,6 +46,7 @@ import type { ListEntityEnginesResponse, EngineComponentStatus, EngineComponentResource, + EntityType, } from '../../../../common/api/entity_analytics'; import { EngineDescriptorClient } from './saved_object/engine_descriptor'; import { ENGINE_STATUS, ENTITY_STORE_STATUS, MAX_SEARCH_RESPONSE_SIZE } from './constants'; @@ -108,6 +113,7 @@ interface EntityStoreClientOpts { dataViewsService: DataViewsService; appClient: AppClient; config: EntityStoreConfig; + experimentalFeatures: ExperimentalFeatures; telemetry?: AnalyticsServiceSetup; } @@ -204,7 +210,13 @@ export class EntityStoreDataClient { // Immediately defer the initialization to the next tick. This way we don't block on the init preflight checks const run = (fn: () => Promise) => new Promise((resolve) => setTimeout(() => fn().then(resolve), 0)); - const promises = Object.values(EntityType.Values).map((entity) => + + const { experimentalFeatures } = this.options; + const enginesTypes = experimentalFeatures.serviceEntityStoreEnabled + ? [EntityTypeEnum.host, EntityTypeEnum.user, EntityTypeEnum.service] + : [EntityTypeEnum.host, EntityTypeEnum.user]; + + const promises = enginesTypes.map((entity) => run(() => this.init(entity, { indexPattern, filter, fieldHistoryLength }, { pipelineDebugMode }) ) diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts index 4193c07f308fb..cf78a4b0e363b 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/index.ts @@ -7,4 +7,5 @@ export * from './host'; export * from './user'; +export * from './service'; export { getCommonUnitedFieldDefinitions } from './common'; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts new file mode 100644 index 0000000000000..26d10046b26ae --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/entity_types/service.ts @@ -0,0 +1,29 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { collectValuesWithLength, newestValue } from '../definition_utils'; +import type { UnitedDefinitionBuilder } from '../types'; + +export const SERVICE_DEFINITION_VERSION = '1.0.0'; +export const getServiceUnitedDefinition: UnitedDefinitionBuilder = (fieldHistoryLength: number) => { + const collect = collectValuesWithLength(fieldHistoryLength); + return { + entityType: 'service', + version: SERVICE_DEFINITION_VERSION, + fields: [ + collect({ field: 'service.address' }), + collect({ field: 'service.environment' }), + collect({ field: 'service.ephemeral_id' }), + collect({ field: 'service.id' }), + collect({ field: 'service.node.name' }), + collect({ field: 'service.node.roles' }), + newestValue({ field: 'service.state' }), + collect({ field: 'service.type' }), + newestValue({ field: 'service.version' }), + ], + }; +}; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts index 07c011b4791e6..16e5e06aea8f2 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.test.ts @@ -587,4 +587,315 @@ describe('getUnitedEntityDefinition', () => { `); }); }); + + describe('service', () => { + const unitedDefinition = getUnitedEntityDefinition({ + entityType: 'service', + namespace: 'test', + fieldHistoryLength: 10, + indexPatterns, + syncDelay: '1m', + frequency: '1m', + }); + + it('mapping', () => { + expect(unitedDefinition.indexMappings).toMatchInlineSnapshot(` + Object { + "properties": Object { + "@timestamp": Object { + "type": "date", + }, + "asset.criticality": Object { + "type": "keyword", + }, + "entity.name": Object { + "fields": Object { + "text": Object { + "type": "match_only_text", + }, + }, + "type": "keyword", + }, + "entity.source": Object { + "type": "keyword", + }, + "service.address": Object { + "type": "keyword", + }, + "service.environment": Object { + "type": "keyword", + }, + "service.ephemeral_id": Object { + "type": "keyword", + }, + "service.id": Object { + "type": "keyword", + }, + "service.name": Object { + "fields": Object { + "text": Object { + "type": "match_only_text", + }, + }, + "type": "keyword", + }, + "service.node.name": Object { + "type": "keyword", + }, + "service.node.roles": Object { + "type": "keyword", + }, + "service.risk.calculated_level": Object { + "type": "keyword", + }, + "service.risk.calculated_score": Object { + "type": "float", + }, + "service.risk.calculated_score_norm": Object { + "type": "float", + }, + "service.state": Object { + "type": "keyword", + }, + "service.type": Object { + "type": "keyword", + }, + "service.version": Object { + "type": "keyword", + }, + }, + } + `); + }); + it('fieldRetentionDefinition', () => { + expect(unitedDefinition.fieldRetentionDefinition).toMatchInlineSnapshot(` + Object { + "entityType": "service", + "fields": Array [ + Object { + "field": "service.address", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.environment", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.ephemeral_id", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.id", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.node.name", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.node.roles", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.state", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.type", + "maxLength": 10, + "operation": "collect_values", + }, + Object { + "field": "service.version", + "operation": "prefer_newest_value", + }, + Object { + "field": "entity.source", + "operation": "prefer_oldest_value", + }, + Object { + "field": "asset.criticality", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_level", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_score", + "operation": "prefer_newest_value", + }, + Object { + "field": "service.risk.calculated_score_norm", + "operation": "prefer_newest_value", + }, + ], + "matchField": "service.name", + } + `); + }); + it('entityManagerDefinition', () => { + expect(unitedDefinition.entityManagerDefinition).toMatchInlineSnapshot(` + Object { + "displayNameTemplate": "{{service.name}}", + "id": "security_service_test", + "identityFields": Array [ + Object { + "field": "service.name", + "optional": false, + }, + ], + "indexPatterns": Array [ + "test*", + ], + "latest": Object { + "lookbackPeriod": "24h", + "settings": Object { + "frequency": "1m", + "syncDelay": "1m", + }, + "timestampField": "@timestamp", + }, + "managed": true, + "metadata": Array [ + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.address", + "source": "service.address", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.environment", + "source": "service.environment", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.ephemeral_id", + "source": "service.ephemeral_id", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.id", + "source": "service.id", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.node.name", + "source": "service.node.name", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.node.roles", + "source": "service.node.roles", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.state", + "source": "service.state", + }, + Object { + "aggregation": Object { + "limit": 10, + "type": "terms", + }, + "destination": "service.type", + "source": "service.type", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.version", + "source": "service.version", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "asc", + }, + "type": "top_value", + }, + "destination": "entity.source", + "source": "_index", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "asset.criticality", + "source": "asset.criticality", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_level", + "source": "service.risk.calculated_level", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_score", + "source": "service.risk.calculated_score", + }, + Object { + "aggregation": Object { + "sort": Object { + "@timestamp": "desc", + }, + "type": "top_value", + }, + "destination": "service.risk.calculated_score_norm", + "source": "service.risk.calculated_score_norm", + }, + ], + "name": "Security 'service' Entity Store Definition", + "type": "service", + "version": "1.0.0", + } + `); + }); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts index ba4963d5fea0a..ae54e802574cf 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/united_entity_definitions/get_united_definition.ts @@ -12,12 +12,14 @@ import { getCommonUnitedFieldDefinitions, USER_DEFINITION_VERSION, HOST_DEFINITION_VERSION, + getServiceUnitedDefinition, } from './entity_types'; import type { UnitedDefinitionBuilder } from './types'; import { UnitedEntityDefinition } from './united_entity_definition'; const unitedDefinitionBuilders: Record = { host: getHostUnitedDefinition, user: getUserUnitedDefinition, + service: getServiceUnitedDefinition, }; interface Options { @@ -57,8 +59,14 @@ export const getUnitedEntityDefinition = memoize( } ); +const versionByEntityType: Record = { + host: HOST_DEFINITION_VERSION, + user: USER_DEFINITION_VERSION, + service: USER_DEFINITION_VERSION, +}; + export const getUnitedEntityDefinitionVersion = (entityType: EntityType): string => - entityType === 'host' ? HOST_DEFINITION_VERSION : USER_DEFINITION_VERSION; + versionByEntityType[entityType]; export const getAvailableEntityTypes = (): EntityType[] => Object.keys(unitedDefinitionBuilders) as EntityType[]; diff --git a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts index 8fe21317f4ad8..1a10bddb428fa 100644 --- a/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts +++ b/x-pack/plugins/security_solution/server/lib/entity_analytics/entity_store/utils/entity_utils.ts @@ -14,13 +14,20 @@ import type { DataViewsService, DataView } from '@kbn/data-views-plugin/common'; import type { AppClient } from '../../../../types'; import { getRiskScoreLatestIndex } from '../../../../../common/entity_analytics/risk_engine'; import { getAssetCriticalityIndex } from '../../../../../common/entity_analytics/asset_criticality'; -import type { EntityType } from '../../../../../common/api/entity_analytics/entity_store/common.gen'; +import { + EntityTypeEnum, + type EntityType, +} from '../../../../../common/api/entity_analytics/entity_store/common.gen'; import { entityEngineDescriptorTypeName } from '../saved_object'; -export const getIdentityFieldForEntityType = (entityType: EntityType) => { - if (entityType === 'host') return 'host.name'; +const identityFieldMap: Record = { + [EntityTypeEnum.host]: 'host.name', + [EntityTypeEnum.user]: 'user.name', + [EntityTypeEnum.service]: 'service.name', +}; - return 'user.name'; +export const getIdentityFieldForEntityType = (entityType: EntityType) => { + return identityFieldMap[entityType]; }; export const buildIndexPatterns = async ( diff --git a/x-pack/plugins/security_solution/server/request_context_factory.ts b/x-pack/plugins/security_solution/server/request_context_factory.ts index c2b3782d405d0..a6b5e1b3e650a 100644 --- a/x-pack/plugins/security_solution/server/request_context_factory.ts +++ b/x-pack/plugins/security_solution/server/request_context_factory.ts @@ -237,6 +237,7 @@ export class RequestContextFactory implements IRequestContextFactory { auditLogger: getAuditLogger(), kibanaVersion: options.kibanaVersion, config: config.entityAnalytics.entityStore, + experimentalFeatures: config.experimentalFeatures, telemetry: core.analytics, }); }), From 7eb005242cd5b02a10023d204e3448719650808f Mon Sep 17 00:00:00 2001 From: Viduni Wickramarachchi Date: Mon, 9 Dec 2024 12:20:47 -0500 Subject: [PATCH 5/5] [Obs AI Assistant] Use cookie auth for internal APIs in serverless tests (#203275) ## Summary ### Problem Cookie authentication was introduced in Kibana for serverless internal API tests via https://github.com/elastic/kibana/pull/192727. The serverless tests for Obs AI Assistant still uses API key based auth. ### Solution Change authentication to cookie based auth for internal APIs in serverless tests. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [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 - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --- .../observability_ai_assistant_api_client.ts | 65 +++++++--- .../ai_assistant/tests/chat/chat.spec.ts | 21 +++- .../tests/complete/complete.spec.ts | 47 ++++---- .../complete/functions/elasticsearch.spec.ts | 2 - .../tests/complete/functions/helpers.ts | 9 +- .../complete/functions/summarize.spec.ts | 6 +- .../tests/connectors/connectors.spec.ts | 13 +- .../tests/conversations/conversations.spec.ts | 62 +++------- .../tests/conversations/helpers.ts | 13 +- .../knowledge_base/knowledge_base.spec.ts | 73 ++++------- .../knowledge_base_setup.spec.ts | 20 +--- .../knowledge_base_status.spec.ts | 20 +--- .../knowledge_base_user_instructions.spec.ts | 113 +++++++----------- .../public_complete/public_complete.spec.ts | 4 +- 14 files changed, 185 insertions(+), 283 deletions(-) diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts index bd54243ab93f6..3ac941501ae7c 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/common/observability_ai_assistant_api_client.ts @@ -15,37 +15,47 @@ import supertest from 'supertest'; import { Subtract } from 'utility-types'; import { format } from 'url'; import { Config } from '@kbn/test'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { InheritedFtrProviderContext } from '../../../../services'; import type { InternalRequestHeader, RoleCredentials } from '../../../../../shared/services'; export function getObservabilityAIAssistantApiClient({ svlSharedConfig, + supertestUserWithCookieCredentials, }: { svlSharedConfig: Config; + supertestUserWithCookieCredentials?: SupertestWithRoleScope; }) { - const kibanaServer = svlSharedConfig.get('servers.kibana'); - const cAuthorities = svlSharedConfig.get('servers.kibana.certificateAuthorities'); - - const url = format({ - ...kibanaServer, - auth: false, // don't use auth in serverless - }); - - return createObservabilityAIAssistantApiClient(supertest.agent(url, { ca: cAuthorities })); + if (supertestUserWithCookieCredentials) { + return createObservabilityAIAssistantApiClient(supertestUserWithCookieCredentials); + } else { + const kibanaServer = svlSharedConfig.get('servers.kibana'); + const cAuthorities = svlSharedConfig.get('servers.kibana.certificateAuthorities'); + + const url = format({ + ...kibanaServer, + auth: false, // don't use auth in serverless + }); + return createObservabilityAIAssistantApiClient(supertest.agent(url, { ca: cAuthorities })); + } } -type ObservabilityAIAssistantApiClientKey = 'slsUser'; +type ObservabilityAIAssistantApiClientKey = 'slsAdmin' | 'slsEditor' | 'slsUser'; + export type ObservabilityAIAssistantApiClient = Record< ObservabilityAIAssistantApiClientKey, Awaited> >; -export function createObservabilityAIAssistantApiClient(st: supertest.Agent) { + +export function createObservabilityAIAssistantApiClient( + st: SupertestWithRoleScope | supertest.Agent +) { return ( options: { type?: 'form-data'; endpoint: TEndpoint; - roleAuthc: RoleCredentials; - internalReqHeader: InternalRequestHeader; + roleAuthc?: RoleCredentials; + internalReqHeader?: InternalRequestHeader; } & ObservabilityAIAssistantAPIClientRequestParamsOf & { params?: { query?: { _inspect?: boolean } }; } @@ -57,7 +67,8 @@ export function createObservabilityAIAssistantApiClient(st: supertest.Agent) { const { method, pathname, version } = formatRequest(endpoint, params.path); const url = format({ pathname, query: params?.query }); - const headers: Record = { ...internalReqHeader, ...roleAuthc.apiKeyHeader }; + const headers: Record = + roleAuthc && internalReqHeader ? { ...internalReqHeader, ...roleAuthc.apiKeyHeader } : {}; if (version) { headers['Elastic-Api-Version'] = version; @@ -182,10 +193,34 @@ export async function getObservabilityAIAssistantApiClientService({ getService, }: InheritedFtrProviderContext): Promise { const svlSharedConfig = getService('config'); - // defaults to elastic_admin user when used without auth + const roleScopedSupertest = getService('roleScopedSupertest'); + + const supertestAdminWithCookieCredentials: SupertestWithRoleScope = + await roleScopedSupertest.getSupertestWithRoleScope('admin', { + useCookieHeader: true, + withInternalHeaders: true, + }); + + const supertestEditorWithCookieCredentials: SupertestWithRoleScope = + await roleScopedSupertest.getSupertestWithRoleScope('editor', { + useCookieHeader: true, + withInternalHeaders: true, + }); + return { + // defaults to elastic_admin user when used without auth slsUser: await getObservabilityAIAssistantApiClient({ svlSharedConfig, }), + // cookie auth for internal apis + slsAdmin: await getObservabilityAIAssistantApiClient({ + svlSharedConfig, + supertestUserWithCookieCredentials: supertestAdminWithCookieCredentials, + }), + // cookie auth for internal apis + slsEditor: await getObservabilityAIAssistantApiClient({ + svlSharedConfig, + supertestUserWithCookieCredentials: supertestEditorWithCookieCredentials, + }), }; } diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts index 424df01b3c999..2a25a309e8174 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/chat/chat.spec.ts @@ -12,6 +12,7 @@ import { LlmProxy, createLlmProxy, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_llm_proxy'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { createProxyActionConnector, deleteActionConnector } from '../../common/action_connectors'; import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; @@ -21,6 +22,9 @@ export default function ApiTest({ getService }: FtrProviderContext) { const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); const log = getService('log'); + const roleScopedSupertest = getService('roleScopedSupertest'); + + let supertestEditorWithCookieCredentials: SupertestWithRoleScope; const CHAT_API_URL = `/internal/observability_ai_assistant/chat`; @@ -52,6 +56,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); + + supertestEditorWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope( + 'editor', + { + useCookieHeader: true, + withInternalHeaders: true, + } + ); + proxy = await createLlmProxy(log); connectorId = await createProxyActionConnector({ supertest: supertestWithoutAuth, @@ -75,10 +88,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it("returns a 4xx if the connector doesn't exist", async () => { - await supertestWithoutAuth + await supertestEditorWithCookieCredentials .post(CHAT_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ name: 'my_api_call', messages, @@ -104,10 +115,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { const receivedChunks: Array> = []; const passThrough = new PassThrough(); - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(CHAT_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .on('error', reject) .send({ name: 'my_api_call', diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts index 80548c0369a83..d411d097a0d7f 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/complete.spec.ts @@ -25,6 +25,7 @@ import { LlmResponseSimulator, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_llm_proxy'; import { createOpenAiChunk } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/common/create_openai_chunk'; +import { SupertestWithRoleScope } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services/role_scoped_supertest'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { decodeEvents, @@ -39,6 +40,9 @@ export default function ApiTest({ getService }: FtrProviderContext) { const log = getService('log'); const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); + const roleScopedSupertest = getService('roleScopedSupertest'); + + let supertestEditorWithCookieCredentials: SupertestWithRoleScope; const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); @@ -82,10 +86,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { (body) => !isFunctionTitleRequest(body) ); const responsePromise = new Promise((resolve, reject) => { - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(COMPLETE_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ messages, connectorId, @@ -134,6 +136,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { roleAuthc, internalReqHeader, }); + + supertestEditorWithCookieCredentials = await roleScopedSupertest.getSupertestWithRoleScope( + 'editor', + { + useCookieHeader: true, + withInternalHeaders: true, + } + ); }); after(async () => { @@ -155,10 +165,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { const passThrough = new PassThrough(); - supertestWithoutAuth + supertestEditorWithCookieCredentials .post(COMPLETE_API_URL) - .set(roleAuthc.apiKeyHeader) - .set(internalReqHeader) .send({ messages, connectorId, @@ -254,6 +262,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }); }); + describe('when creating a new conversation', () => { let events: StreamingChatResponseEvent[]; @@ -273,12 +282,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { content: 'Hello', }, }); + expect(omit(events[1], 'id')).to.eql({ type: StreamingChatResponseEventType.ChatCompletionChunk, message: { content: ' again', }, }); + expect(omit(events[2], 'id', 'message.@timestamp')).to.eql({ type: StreamingChatResponseEventType.ChatCompletionMessage, message: { @@ -329,10 +340,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { )[0]?.conversation.id; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: createdConversationId, @@ -417,10 +426,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { ).to.eql(0); const conversations = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - roleAuthc, - internalReqHeader, }) .expect(200); @@ -449,10 +456,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .completeAfterIntercept(); const createResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - roleAuthc, - internalReqHeader, params: { body: { messages, @@ -470,10 +475,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { conversationCreatedEvent = getConversationCreatedEvent(createResponse.body); const conversationId = conversationCreatedEvent.conversation.id; - const fullConversation = await observabilityAIAssistantAPIClient.slsUser({ + const fullConversation = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId, @@ -486,10 +489,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .completeAfterIntercept(); const updatedResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - internalReqHeader, - roleAuthc, params: { body: { messages: [ @@ -519,10 +520,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: conversationCreatedEvent.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts index 4ba276333cc55..c0eca93351b49 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/elasticsearch.spec.ts @@ -63,8 +63,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { const responseBody = await invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, functionCall: { name: ELASTICSEARCH_FUNCTION_NAME, trigger: MessageRole.User, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts index 758046de72f2b..4203a2312ce5d 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/helpers.ts @@ -13,7 +13,6 @@ import { } from '@kbn/observability-ai-assistant-plugin/common'; import type { AssistantScope } from '@kbn/ai-assistant-common'; import { Readable } from 'stream'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../../shared/services'; import { ObservabilityAIAssistantApiClient } from '../../../common/observability_ai_assistant_api_client'; function decodeEvents(body: Readable | string) { @@ -34,22 +33,16 @@ export async function invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, functionCall, - roleAuthc, - internalReqHeader, scopes, }: { connectorId: string; observabilityAIAssistantAPIClient: ObservabilityAIAssistantApiClient; functionCall: Message['message']['function_call']; scopes?: AssistantScope[]; - roleAuthc: RoleCredentials; - internalReqHeader: InternalRequestHeader; }) { const { body } = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - internalReqHeader, - roleAuthc, params: { body: { messages: [ diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts index 6be39a36c62a5..f949268aa730a 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/complete/functions/summarize.spec.ts @@ -53,8 +53,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { await invokeChatCompleteWithFunctionRequest({ connectorId, observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, functionCall: { name: 'summarize', trigger: MessageRole.User, @@ -77,10 +75,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('persists entry in knowledge base', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', - internalReqHeader, - roleAuthc, params: { query: { query: '', diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts index 9305c0d1e14e9..2096abe74e2e8 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/connectors/connectors.spec.ts @@ -24,6 +24,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { describe('List connectors', () => { let roleAuthc: RoleCredentials; let internalReqHeader: InternalRequestHeader; + before(async () => { roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); @@ -45,19 +46,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('Returns a 2xx for enterprise license', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - roleAuthc, - internalReqHeader, }) .expect(200); }); it('returns an empty list of connectors', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - roleAuthc, - internalReqHeader, }); expect(res.body.length).to.be(0); @@ -72,10 +69,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { roleAuthc, }); - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/connectors', - internalReqHeader, - roleAuthc, }); expect(res.body.length).to.be(1); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts index b4426744e4082..7033e0660f5c6 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/conversations.spec.ts @@ -14,12 +14,9 @@ import { } from '@kbn/observability-ai-assistant-plugin/common/types'; import type { FtrProviderContext } from '../../common/ftr_provider_context'; import type { SupertestReturnType } from '../../common/observability_ai_assistant_api_client'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const conversationCreate: ConversationCreateRequest = { '@timestamp': new Date().toISOString(), @@ -48,22 +45,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); describe('Conversations', () => { - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; - before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); - }); - after(async () => { - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); - }); describe('without conversations', () => { it('returns no conversations when listing', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - internalReqHeader, - roleAuthc, }) .expect(200); @@ -72,10 +58,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for updating conversations', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: 'non-existing-conversation-id', @@ -90,10 +74,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for retrieving a conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: 'my-conversation-id', @@ -108,12 +90,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { let createResponse: Awaited< SupertestReturnType<'POST /internal/observability_ai_assistant/conversation'> >; + before(async () => { createResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversation', - roleAuthc, - internalReqHeader, params: { body: { conversation: conversationCreate, @@ -125,10 +106,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -138,10 +117,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { .expect(200); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -150,6 +127,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }) .expect(404); }); + it('returns the conversation', function () { // delete user from response to avoid comparing it as it will be different in MKI delete createResponse.body.user; @@ -170,10 +148,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for updating a non-existing conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: 'non-existing-conversation-id', @@ -188,10 +164,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns a 404 for retrieving a non-existing conversation', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - roleAuthc, - internalReqHeader, params: { path: { conversationId: 'non-existing-conversation-id', @@ -203,10 +177,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the conversation that was created', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -222,10 +194,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the created conversation when listing', async () => { const response = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - roleAuthc, - internalReqHeader, }) .expect(200); // delete user from response to avoid comparing it as it will be different in MKI @@ -243,10 +213,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { before(async () => { updateResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, @@ -269,10 +237,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns the updated conversation after get', async () => { const updateAfterCreateResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: createResponse.body.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts index 7e72b4ed57bf9..cc35bb1a71298 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/conversations/helpers.ts @@ -14,7 +14,6 @@ import { StreamingChatResponseEventType, } from '@kbn/observability-ai-assistant-plugin/common/conversation_complete'; import { ObservabilityAIAssistantApiClient } from '../../common/observability_ai_assistant_api_client'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export function decodeEvents(body: Readable | string) { return String(body) @@ -56,20 +55,14 @@ export function getConversationUpdatedEvent(body: Readable | string) { export async function deleteAllConversations({ observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, log, }: { observabilityAIAssistantAPIClient: ObservabilityAIAssistantApiClient; - internalReqHeader: InternalRequestHeader; - roleAuthc: RoleCredentials; log: ToolingLog; }) { const findConversationsResponse = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/conversations', - internalReqHeader, - roleAuthc, params: { body: { query: '', @@ -87,10 +80,8 @@ export async function deleteAllConversations({ conversations.map(async (conversation) => { try { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/conversation/{conversationId}', - internalReqHeader, - roleAuthc, params: { path: { conversationId: conversation.conversation.id, diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts index 8f3569c9fc959..9dc0fba6a5685 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base.spec.ts @@ -13,59 +13,51 @@ import { deleteKnowledgeBaseModel, } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); // TODO: https://github.com/elastic/kibana/issues/192886 describe.skip('Knowledge base', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; + before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); }); after(async () => { await deleteKnowledgeBaseModel(ml); await deleteInferenceEndpoint({ es }); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns 200 on knowledge base setup', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body).to.eql({}); }); + describe('when managing a single entry', () => { const knowledgeBaseEntry = { id: 'my-doc-id-1', title: 'My title', text: 'My content', }; + it('returns 200 on create', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/save', params: { body: knowledgeBaseEntry }, - roleAuthc, - internalReqHeader, }) .expect(200); - const res = await observabilityAIAssistantAPIClient.slsUser({ + + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -74,8 +66,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }); const entry = res.body.entries[0]; expect(entry.id).to.equal(knowledgeBaseEntry.id); @@ -84,7 +74,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 200 on get entries and entry exists', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -93,8 +83,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); const entry = res.body.entries[0]; @@ -105,18 +93,16 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 200 on delete', async () => { const entryId = 'my-doc-id-1'; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/kb/entries/{entryId}', params: { path: { entryId }, }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -125,8 +111,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body.entries.filter((entry) => entry.id.startsWith('my-doc-id')).length).to.eql( @@ -137,24 +121,25 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns 500 on delete not found', async () => { const entryId = 'my-doc-id-1'; await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'DELETE /internal/observability_ai_assistant/kb/entries/{entryId}', params: { path: { entryId }, }, - roleAuthc, - internalReqHeader, }) .expect(500); }); }); + describe('when managing multiple entries', () => { before(async () => { await clearKnowledgeBase(es); }); + afterEach(async () => { await clearKnowledgeBase(es); }); + const knowledgeBaseEntries = [ { id: 'my_doc_a', @@ -172,18 +157,17 @@ export default function ApiTest({ getService }: FtrProviderContext) { text: 'My content c', }, ]; + it('returns 200 on create', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -192,8 +176,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); expect(res.body.entries.filter((entry) => entry.id.startsWith('my_doc')).length).to.eql(3); @@ -201,16 +183,14 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('allows sorting', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -219,8 +199,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'desc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -231,7 +209,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { // asc const resAsc = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -240,8 +218,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -250,18 +226,17 @@ export default function ApiTest({ getService }: FtrProviderContext) { expect(entriesAsc[1].id).to.eql('my_doc_b'); expect(entriesAsc[2].id).to.eql('my_doc_c'); }); + it('allows searching', async () => { await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/entries/import', params: { body: { entries: knowledgeBaseEntries } }, - roleAuthc, - internalReqHeader, }) .expect(200); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/entries', params: { query: { @@ -270,8 +245,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { sortDirection: 'asc', }, }, - roleAuthc, - internalReqHeader, }) .expect(200); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts index eeef06464c9d6..88edb533ecb36 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_setup.spec.ts @@ -14,44 +14,30 @@ import { } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); describe('/internal/observability_ai_assistant/kb/setup', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; before(async () => { await deleteKnowledgeBaseModel(ml).catch(() => {}); await deleteInferenceEndpoint({ es }).catch(() => {}); - - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); - }); - - after(async () => { - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns empty object when successful', async () => { await createKnowledgeBaseModel(ml); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(200); @@ -64,15 +50,13 @@ export default function ApiTest({ getService }: FtrProviderContext) { it('returns bad request if model cannot be installed', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(500); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts index a7a7b55cf4e02..207badc1b855a 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_status.spec.ts @@ -14,34 +14,25 @@ import { } from '@kbn/test-suites-xpack/observability_ai_assistant_api_integration/tests/knowledge_base/helpers'; import { AI_ASSISTANT_KB_INFERENCE_ID } from '@kbn/observability-ai-assistant-plugin/server/service/inference_endpoint'; import { FtrProviderContext } from '../../common/ftr_provider_context'; -import type { InternalRequestHeader, RoleCredentials } from '../../../../../../shared/services'; export default function ApiTest({ getService }: FtrProviderContext) { const ml = getService('ml'); const es = getService('es'); - const svlUserManager = getService('svlUserManager'); - const svlCommonApi = getService('svlCommonApi'); const observabilityAIAssistantAPIClient = getService('observabilityAIAssistantAPIClient'); describe('/internal/observability_ai_assistant/kb/status', function () { this.tags(['skipMKI']); - let roleAuthc: RoleCredentials; - let internalReqHeader: InternalRequestHeader; before(async () => { - roleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); - internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); await observabilityAIAssistantAPIClient - .slsUser({ + .slsAdmin({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', params: { query: { model_id: TINY_ELSER.id, }, }, - roleAuthc, - internalReqHeader, }) .expect(200); }); @@ -49,15 +40,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await deleteKnowledgeBaseModel(ml); await deleteInferenceEndpoint({ es, name: AI_ASSISTANT_KB_INFERENCE_ID }).catch((err) => {}); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(roleAuthc); }); it('returns correct status after knowledge base is setup', async () => { const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/status', - roleAuthc, - internalReqHeader, }) .expect(200); @@ -70,10 +58,8 @@ export default function ApiTest({ getService }: FtrProviderContext) { await deleteInferenceEndpoint({ es, name: AI_ASSISTANT_KB_INFERENCE_ID }); const res = await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/status', - roleAuthc, - internalReqHeader, }) .expect(200); diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts index fc9864ac8768c..0557d43830bc0 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/knowledge_base/knowledge_base_user_instructions.spec.ts @@ -34,26 +34,19 @@ export default function ApiTest({ getService }: FtrProviderContext) { const svlUserManager = getService('svlUserManager'); const svlCommonApi = getService('svlCommonApi'); - // TODO: https://github.com/elastic/kibana/issues/192711 cannot create custom users in serverless - // trying using built in users by using cookie auth - // TODO: https://github.com/elastic/kibana/issues/192757 describe.skip('Knowledge base user instructions', function () { this.tags(['skipMKI']); let editorRoleAuthc: RoleCredentials; - let johnRoleAuthc: RoleCredentials; let internalReqHeader: InternalRequestHeader; + before(async () => { - // Create API keys for 'editor' role, simulating different users - johnRoleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('admin'); editorRoleAuthc = await svlUserManager.createM2mApiKeyWithRoleScope('editor'); internalReqHeader = svlCommonApi.getInternalRequestHeader(); await createKnowledgeBaseModel(ml); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'POST /internal/observability_ai_assistant/kb/setup', - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); }); @@ -63,7 +56,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { await deleteInferenceEndpoint({ es }); await clearKnowledgeBase(es); await clearConversations(es); - await svlUserManager.invalidateM2mApiKeyWithRoleScope(johnRoleAuthc); await svlUserManager.invalidateM2mApiKeyWithRoleScope(editorRoleAuthc); }); @@ -72,37 +64,34 @@ export default function ApiTest({ getService }: FtrProviderContext) { await clearKnowledgeBase(es); const promises = [ - { roleAuthc: editorRoleAuthc, username: 'editor', isPublic: true }, - { roleAuthc: editorRoleAuthc, username: 'editor', isPublic: false }, - { roleAuthc: johnRoleAuthc, username: 'john', isPublic: true }, - { roleAuthc: johnRoleAuthc, username: 'john', isPublic: false }, - ].map(async ({ roleAuthc, username, isPublic }) => { + { username: 'editor', isPublic: true }, + { username: 'editor', isPublic: false }, + { username: 'john', isPublic: true }, + { username: 'john', isPublic: false }, + ].map(async ({ username, isPublic }) => { const visibility = isPublic ? 'Public' : 'Private'; - await observabilityAIAssistantAPIClient - .slsUser({ - endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', - params: { - body: { - id: `${visibility.toLowerCase()}-doc-from-${username}`, - text: `${visibility} user instruction from "${username}"`, - public: isPublic, - }, + const user = username === 'editor' ? 'slsEditor' : 'slsAdmin'; + + await observabilityAIAssistantAPIClient[user]({ + endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', + params: { + body: { + id: `${visibility.toLowerCase()}-doc-from-${username}`, + text: `${visibility} user instruction from "${username}"`, + public: isPublic, }, - roleAuthc, - internalReqHeader, - }) - .expect(200); + }, + }).expect(200); }); await Promise.all(promises); }); it('"editor" can retrieve their own private instructions and the public instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: editorRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; const sortByDocId = (data: any) => sortBy(data, 'doc_id'); @@ -128,11 +117,10 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('"john" can retrieve their own private instructions and the public instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsAdmin({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: johnRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; const sortByDocId = (data: any) => sortBy(data, 'doc_id'); @@ -163,7 +151,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await clearKnowledgeBase(es); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -172,13 +160,11 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: true, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -187,18 +173,15 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: false, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); }); it('updates the user instruction', async () => { - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient.slsEditor({ endpoint: 'GET /internal/observability_ai_assistant/kb/user_instructions', - roleAuthc: editorRoleAuthc, - internalReqHeader, }); + const instructions = res.body.userInstructions; expect(instructions).to.eql([ @@ -218,10 +201,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { const userInstructionText = 'Be polite and use language that is easy to understand. Never disagree with the user.'; - async function getConversationForUser(roleAuthc: RoleCredentials) { + async function getConversationForUser(username: string) { + const user = username === 'editor' ? 'slsEditor' : 'slsAdmin'; + // the user instruction is always created by "editor" user await observabilityAIAssistantAPIClient - .slsUser({ + .slsEditor({ endpoint: 'PUT /internal/observability_ai_assistant/kb/user_instructions', params: { body: { @@ -230,8 +215,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { public: false, }, }, - roleAuthc: editorRoleAuthc, - internalReqHeader, }) .expect(200); @@ -259,36 +242,30 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, ]; - const createResponse = await observabilityAIAssistantAPIClient - .slsUser({ - endpoint: 'POST /internal/observability_ai_assistant/chat/complete', - params: { - body: { - messages, - connectorId, - persist: true, - screenContexts: [], - scopes: ['observability'], - }, + const createResponse = await observabilityAIAssistantAPIClient[user]({ + endpoint: 'POST /internal/observability_ai_assistant/chat/complete', + params: { + body: { + messages, + connectorId, + persist: true, + screenContexts: [], + scopes: ['observability'], }, - roleAuthc, - internalReqHeader, - }) - .expect(200); + }, + }).expect(200); await proxy.waitForAllInterceptorsSettled(); const conversationCreatedEvent = getConversationCreatedEvent(createResponse.body); const conversationId = conversationCreatedEvent.conversation.id; - const res = await observabilityAIAssistantAPIClient.slsUser({ + const res = await observabilityAIAssistantAPIClient[user]({ endpoint: 'GET /internal/observability_ai_assistant/conversation/{conversationId}', params: { path: { conversationId, }, }, - roleAuthc, - internalReqHeader, }); // wait for all interceptors to be settled @@ -321,7 +298,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('adds the instruction to the system prompt', async () => { - const conversation = await getConversationForUser(editorRoleAuthc); + const conversation = await getConversationForUser('editor'); const systemMessage = conversation.messages.find( (message) => message.message.role === MessageRole.System )!; @@ -329,7 +306,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('does not add the instruction to the context', async () => { - const conversation = await getConversationForUser(editorRoleAuthc); + const conversation = await getConversationForUser('editor'); const contextMessage = conversation.messages.find( (message) => message.message.name === CONTEXT_FUNCTION_NAME ); @@ -343,7 +320,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }); it('does not add the instruction conversation for other users', async () => { - const conversation = await getConversationForUser(johnRoleAuthc); + const conversation = await getConversationForUser('john'); const systemMessage = conversation.messages.find( (message) => message.message.role === MessageRole.System )!; diff --git a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts index 72e46e179443e..a3134ab2e3014 100644 --- a/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts +++ b/x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/tests/public_complete/public_complete.spec.ts @@ -48,6 +48,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { }, }, ]; + describe('/api/observability_ai_assistant/chat/complete', function () { // TODO: https://github.com/elastic/kibana/issues/192751 this.tags(['skipMKI']); @@ -108,6 +109,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { await titleSimulator.complete(); await conversationSimulator.status(200); + if (conversationSimulatorCallback) { await conversationSimulatorCallback(conversationSimulator); } @@ -158,8 +160,6 @@ export default function ApiTest({ getService }: FtrProviderContext) { after(async () => { await deleteAllConversations({ observabilityAIAssistantAPIClient, - internalReqHeader, - roleAuthc, log, }); await deleteActionConnector({ supertest, connectorId, log, roleAuthc, internalReqHeader });