diff --git a/.buildkite/scripts/steps/console_definitions_sync.sh b/.buildkite/scripts/steps/console_definitions_sync.sh
index 7dc565e0b9642..71d70138f8a1b 100755
--- a/.buildkite/scripts/steps/console_definitions_sync.sh
+++ b/.buildkite/scripts/steps/console_definitions_sync.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
-GIT_SCOPE="src/plugins/console/server/lib/spec_definitions"
+GIT_SCOPE="src/platform/plugins/shared/console/server/lib/spec_definitions"
report_main_step () {
echo "--- $1"
diff --git a/.eslintrc.js b/.eslintrc.js
index f7c9d36fdc41a..3803a6d17c1d9 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -302,7 +302,7 @@ module.exports = {
},
},
{
- files: ['x-pack/plugins/cross_cluster_replication/**/*.{js,mjs,ts,tsx}'],
+ files: ['x-pack/platform/plugins/private/cross_cluster_replication/**/*.{js,mjs,ts,tsx}'],
rules: {
'jsx-a11y/click-events-have-key-events': 'off',
},
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 65d0e08c18da4..57d3b7d86f18f 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -262,15 +262,11 @@ packages/core/user-settings/core-user-settings-server @elastic/kibana-security
packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security
packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security
packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations
-packages/deeplinks/devtools @elastic/kibana-management
packages/deeplinks/fleet @elastic/fleet
-packages/deeplinks/management @elastic/kibana-management
packages/deeplinks/search @elastic/search-kibana
packages/deeplinks/security @elastic/security-solution
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/home/sample_data_card @elastic/appex-sharedux
packages/home/sample_data_tab @elastic/appex-sharedux
packages/home/sample_data_types @elastic/appex-sharedux
@@ -390,17 +386,8 @@ packages/kbn-logging-mocks @elastic/kibana-core
packages/kbn-managed-content-badge @elastic/kibana-visualizations
packages/kbn-managed-vscode-config @elastic/kibana-operations
packages/kbn-managed-vscode-config-cli @elastic/kibana-operations
-packages/kbn-management/cards_navigation @elastic/kibana-management
-packages/kbn-management/settings/application @elastic/kibana-management
-packages/kbn-management/settings/components/field_category @elastic/kibana-management
-packages/kbn-management/settings/components/field_input @elastic/kibana-management
-packages/kbn-management/settings/components/field_row @elastic/kibana-management
-packages/kbn-management/settings/components/form @elastic/kibana-management
-packages/kbn-management/settings/field_definition @elastic/kibana-management
packages/kbn-management/settings/section_registry @elastic/appex-sharedux @elastic/kibana-management
packages/kbn-management/settings/setting_ids @elastic/appex-sharedux @elastic/kibana-management
-packages/kbn-management/settings/types @elastic/kibana-management
-packages/kbn-management/settings/utilities @elastic/kibana-management
packages/kbn-management/storybook/config @elastic/kibana-management
packages/kbn-manifest @elastic/kibana-core
packages/kbn-mapbox-gl @elastic/kibana-presentation
@@ -520,7 +507,6 @@ packages/kbn-unified-data-table @elastic/kibana-data-discovery @elastic/security
packages/kbn-unified-doc-viewer @elastic/kibana-data-discovery
packages/kbn-unified-field-list @elastic/kibana-data-discovery
packages/kbn-unsaved-changes-badge @elastic/kibana-data-discovery
-packages/kbn-unsaved-changes-prompt @elastic/kibana-management
packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team
packages/kbn-user-profile-components @elastic/kibana-security
packages/kbn-utility-types @elastic/kibana-core
@@ -605,9 +591,16 @@ 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/devtools @elastic/kibana-management
+src/platform/packages/private/default-nav/management @elastic/kibana-management
src/platform/packages/private/default-nav/ml @elastic/ml-ui
src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql
src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql
+src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management
+src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management
+src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management
+src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management
+src/platform/packages/shared/deeplinks/management @elastic/kibana-management
src/platform/packages/shared/deeplinks/ml @elastic/ml-ui
src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team
src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows
@@ -616,6 +609,12 @@ src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql
src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql
src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql
src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team
+src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management
+src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management
+src/platform/packages/shared/kbn-management/settings/components/field_row @elastic/kibana-management
+src/platform/packages/shared/kbn-management/settings/field_definition @elastic/kibana-management
+src/platform/packages/shared/kbn-management/settings/types @elastic/kibana-management
+src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-management
src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management
src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team
@@ -624,9 +623,14 @@ src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team
src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team
+src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management
src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant
+src/platform/plugins/shared/console @elastic/kibana-management
+src/platform/plugins/shared/dev_tools @elastic/kibana-management
+src/platform/plugins/shared/es_ui_shared @elastic/kibana-management
src/platform/plugins/shared/esql @elastic/kibana-esql
src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql
+src/platform/plugins/shared/management @elastic/kibana-management
src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management
src/plugins/bfetch @elastic/appex-sharedux
src/plugins/chart_expressions/common @elastic/kibana-visualizations
@@ -638,7 +642,6 @@ src/plugins/chart_expressions/expression_partition_vis @elastic/kibana-visualiza
src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations
src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations
src/plugins/charts @elastic/kibana-visualizations
-src/plugins/console @elastic/kibana-management
src/plugins/content_management @elastic/appex-sharedux
src/plugins/controls @elastic/kibana-presentation
src/plugins/custom_integrations @elastic/fleet
@@ -648,11 +651,9 @@ src/plugins/data_view_editor @elastic/kibana-data-discovery
src/plugins/data_view_field_editor @elastic/kibana-data-discovery
src/plugins/data_view_management @elastic/kibana-data-discovery
src/plugins/data_views @elastic/kibana-data-discovery
-src/plugins/dev_tools @elastic/kibana-management
src/plugins/discover @elastic/kibana-data-discovery
src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team
src/plugins/embeddable @elastic/kibana-presentation
-src/plugins/es_ui_shared @elastic/kibana-management
src/plugins/event_annotation @elastic/kibana-visualizations
src/plugins/event_annotation_listing @elastic/kibana-visualizations
src/plugins/expression_error @elastic/kibana-presentation
@@ -677,7 +678,6 @@ src/plugins/kibana_react @elastic/appex-sharedux
src/plugins/kibana_usage_collection @elastic/kibana-core
src/plugins/kibana_utils @elastic/appex-sharedux
src/plugins/links @elastic/kibana-presentation
-src/plugins/management @elastic/kibana-management
src/plugins/maps_ems @elastic/kibana-presentation
src/plugins/navigation @elastic/appex-sharedux
src/plugins/newsfeed @elastic/kibana-core
@@ -775,8 +775,6 @@ x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations
x-pack/examples/triggers_actions_ui_example @elastic/response-ops
x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux
x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra
-x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
-x-pack/packages/index-management/index_management_shared_types @elastic/kibana-management
x-pack/packages/kbn-ai-assistant @elastic/search-kibana
x-pack/packages/kbn-ai-assistant-common @elastic/search-kibana
x-pack/packages/kbn-alerting-comparators @elastic/response-ops
@@ -791,7 +789,6 @@ x-pack/packages/observability/logs_overview @elastic/obs-ux-logs-team
x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui
x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui
-x-pack/packages/rollup @elastic/kibana-management
x-pack/packages/search/shared_ui @elastic/search-kibana
x-pack/packages/security/api_key_management @elastic/kibana-security
x-pack/packages/security/authorization_core @elastic/kibana-security
@@ -834,8 +831,11 @@ 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/private/rollup @elastic/kibana-management
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
+x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
+x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management
x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team
x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai
x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai
@@ -853,19 +853,32 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui
x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
+x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management
+x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management
x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution
x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui
+x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management
+x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management
+x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management
+x-pack/platform/plugins/private/painless_lab @elastic/kibana-management
+x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management
+x-pack/platform/plugins/private/rollup @elastic/kibana-management
+x-pack/platform/plugins/private/runtime_fields @elastic/kibana-management
+x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management
x-pack/platform/plugins/private/transform @elastic/ml-ui
x-pack/platform/plugins/private/translations @elastic/kibana-localization
+x-pack/platform/plugins/private/watcher @elastic/kibana-management
x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/plugins/shared/aiops @elastic/ml-ui
x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities
x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra
x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability
+x-pack/platform/plugins/shared/license_management @elastic/kibana-management
x-pack/platform/plugins/shared/ml @elastic/ml-ui
x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant
x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows
+x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management
x-pack/plugins/actions @elastic/response-ops
x-pack/plugins/alerting @elastic/response-ops
x-pack/plugins/asset_inventory @elastic/kibana-cloud-security-posture
@@ -875,12 +888,10 @@ x-pack/plugins/cases @elastic/response-ops
x-pack/plugins/cloud @elastic/kibana-core
x-pack/plugins/cloud_defend @elastic/kibana-cloud-security-posture
x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core
-x-pack/plugins/cloud_integrations/cloud_data_migration @elastic/kibana-management
x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core
x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core
x-pack/plugins/cloud_security_posture @elastic/kibana-cloud-security-posture
-x-pack/plugins/cross_cluster_replication @elastic/kibana-management
x-pack/plugins/custom_branding @elastic/appex-sharedux
x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation
x-pack/plugins/data_quality @elastic/obs-ux-logs-team
@@ -899,14 +910,10 @@ x-pack/plugins/global_search @elastic/appex-sharedux
x-pack/plugins/global_search_bar @elastic/appex-sharedux
x-pack/plugins/global_search_providers @elastic/appex-sharedux
x-pack/plugins/graph @elastic/kibana-visualizations
-x-pack/plugins/grokdebugger @elastic/kibana-management
-x-pack/plugins/index_lifecycle_management @elastic/kibana-management
x-pack/plugins/index_management @elastic/kibana-management
x-pack/plugins/ingest_pipelines @elastic/kibana-management
x-pack/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
x-pack/plugins/lens @elastic/kibana-visualizations
-x-pack/plugins/license_api_guard @elastic/kibana-management
-x-pack/plugins/license_management @elastic/kibana-management
x-pack/plugins/licensing @elastic/kibana-core
x-pack/plugins/lists @elastic/security-detection-engine
x-pack/plugins/logstash @elastic/logstash
@@ -932,12 +939,8 @@ x-pack/plugins/observability_solution/observability_shared @elastic/observabilit
x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/slo @elastic/obs-ux-management-team
-x-pack/plugins/painless_lab @elastic/kibana-management
-x-pack/plugins/remote_clusters @elastic/kibana-management
x-pack/plugins/reporting @elastic/appex-sharedux
-x-pack/plugins/rollup @elastic/kibana-management
x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team
-x-pack/plugins/runtime_fields @elastic/kibana-management
x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux
x-pack/plugins/screenshotting @elastic/kibana-reporting-services
x-pack/plugins/search_assistant @elastic/search-kibana
@@ -948,7 +951,6 @@ x-pack/plugins/search_inference_endpoints @elastic/search-kibana
x-pack/plugins/search_notebooks @elastic/search-kibana
x-pack/plugins/search_playground @elastic/search-kibana
x-pack/plugins/search_solution/search_navigation @elastic/search-kibana
-x-pack/plugins/searchprofiler @elastic/kibana-management
x-pack/plugins/security @elastic/kibana-security
x-pack/plugins/security_solution @elastic/security-solution
x-pack/plugins/security_solution_ess @elastic/security-solution
@@ -956,7 +958,6 @@ x-pack/plugins/security_solution_serverless @elastic/security-solution
x-pack/plugins/serverless @elastic/appex-sharedux
x-pack/plugins/serverless_search @elastic/search-kibana
x-pack/plugins/session_view @elastic/kibana-cloud-security-posture
-x-pack/plugins/snapshot_restore @elastic/kibana-management
x-pack/plugins/spaces @elastic/kibana-security
x-pack/plugins/stack_alerts @elastic/response-ops
x-pack/plugins/stack_connectors @elastic/response-ops
@@ -964,7 +965,6 @@ x-pack/plugins/task_manager @elastic/response-ops
x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core
x-pack/plugins/triggers_actions_ui @elastic/response-ops
x-pack/plugins/upgrade_assistant @elastic/kibana-management
-x-pack/plugins/watcher @elastic/kibana-management
x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team
diff --git a/.i18nrc.json b/.i18nrc.json
index 9c2b5f580d299..7b69e234bbe62 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -13,7 +13,7 @@
"cases": ["packages/kbn-cases-components"],
"cellActions": "packages/kbn-cell-actions",
"charts": "src/plugins/charts",
- "console": "src/plugins/console",
+ "console": "src/platform/plugins/shared/console",
"contentManagement": "packages/content-management",
"core": ["src/core", "packages/core"],
"customIntegrations": "src/plugins/custom_integrations",
@@ -29,7 +29,7 @@
"packages/default-nav",
"src/platform/packages/private/default-nav"
],
- "devTools": "src/plugins/dev_tools",
+ "devTools": "src/platform/plugins/shared/dev_tools",
"discover": ["src/plugins/discover", "packages/kbn-discover-utils", "packages/kbn-discover-contextual-components"],
"savedSearch": "src/plugins/saved_search",
"embeddableApi": "src/plugins/embeddable",
@@ -37,7 +37,8 @@
"embeddableExamples": "examples/embeddable_examples",
"esQuery": "packages/kbn-es-query/src",
"kbnGridLayout": "packages/kbn-grid-layout",
- "esUi": "src/plugins/es_ui_shared",
+ "esUi": "src/platform/plugins/shared/es_ui_shared",
+ "expandableFlyout": "packages/kbn-expandable-flyout",
"expressionError": "src/plugins/expression_error",
"expressionGauge": "src/plugins/chart_expressions/expression_gauge",
"expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap",
@@ -89,8 +90,9 @@
"lists": "packages/kbn-securitysolution-list-utils/src",
"exceptionList-components": "packages/kbn-securitysolution-exception-list-components/src",
"management": [
- "src/legacy/core_plugins/management",
- "src/plugins/management",
+ "src/platform/plugins/shared/management",
+ "src/platform/packages/private/kbn-management",
+ "src/platform/packages/shared/kbn-management",
"packages/kbn-management"
],
"monaco": "packages/kbn-monaco/src",
@@ -155,7 +157,7 @@
"unifiedHistogram": "src/plugins/unified_histogram",
"unifiedDataTable": "packages/kbn-unified-data-table",
"unsavedChangesBadge": "packages/kbn-unsaved-changes-badge",
- "unsavedChangesPrompt": "packages/kbn-unsaved-changes-prompt",
+ "unsavedChangesPrompt": "src/platform/packages/shared/kbn-unsaved-changes-prompt",
"managedContentBadge": "packages/kbn-managed-content-badge",
"responseOpsRuleForm": "packages/response-ops/rule_form"
},
diff --git a/docs/developer/contributing/development-tests.asciidoc b/docs/developer/contributing/development-tests.asciidoc
index 81ca46669a828..d4a478040b4f8 100644
--- a/docs/developer/contributing/development-tests.asciidoc
+++ b/docs/developer/contributing/development-tests.asciidoc
@@ -60,7 +60,7 @@ You can generate code coverage report for a single plugin.
[source,bash]
----
-yarn jest --coverage --config src/plugins/console/jest.config.js
+yarn jest --coverage --config src/platform/plugins/shared/console/jest.config.js
----
Html report is available in target/kibana-coverage/jest/path/to/plugin
diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc
index f57f1030adc10..9d4f5f9753c5d 100644
--- a/docs/developer/plugin-list.asciidoc
+++ b/docs/developer/plugin-list.asciidoc
@@ -40,7 +40,7 @@ as uiSettings within the code.
|The Charts plugin is a way to create easier integration of shared colors, themes, types and other utilities across all Kibana charts and visualizations.
-|{kib-repo}blob/{branch}/src/plugins/console/README.md[console]
+|{kib-repo}blob/{branch}/src/platform/plugins/shared/console/README.md[console]
|Console provides the user with tools for storing and executing requests against Elasticsearch.
@@ -83,7 +83,7 @@ and field lists across the various Kibana apps. It's typically used in conjuncti
for composing queries.
-|{kib-repo}blob/{branch}/src/plugins/dev_tools/README.md[devTools]
+|{kib-repo}blob/{branch}/src/platform/plugins/shared/dev_tools/README.md[devTools]
|The ui/registry/dev_tools is removed in favor of the devTools plugin which exposes a register method in the setup contract.
Registering app works mostly the same as registering apps in core.application.register.
Routing will be handled by the id of the dev tool - your dev tool will be mounted when the URL matches /app/dev_tools#/.
@@ -110,7 +110,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a
|Contains a Discover-like table specifically for ES|QL queries:
-|{kib-repo}blob/{branch}/src/plugins/es_ui_shared/README.md[esUiShared]
+|{kib-repo}blob/{branch}/src/platform/plugins/shared/es_ui_shared/README.md[esUiShared]
|This plugin contains reusable code in the form of self-contained modules (or libraries). Each of these modules exports a set of functionality relevant to the domain of the module.
@@ -258,7 +258,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel.
|This plugin adds the Links panel which allows authors to create hard links to navigate on click and bring all context from the source dashboard to the destination dashboard.
-|{kib-repo}blob/{branch}/src/plugins/management/README.md[management]
+|{kib-repo}blob/{branch}/src/platform/plugins/shared/management/README.md[management]
|This plugins contains the "Stack Management" page framework. It offers navigation and an API
to link individual management section into it. This plugin does not contain any individual
management section itself.
@@ -495,7 +495,7 @@ The plugin exposes the static DefaultEditorController class to consume.
It was removed, but the plugin was left behind to register no longer used config keys.
-|{kib-repo}blob/{branch}/x-pack/plugins/cloud_integrations/cloud_data_migration/README.md[cloudDataMigration]
+|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/README.md[cloudDataMigration]
|Static migration page where self-managed users can see text/copy about migrating to Elastic Cloud
@@ -520,7 +520,7 @@ This plugin no-longer exposes any evaluation APIs. Refer to --emptyDest`
- This command will use the folder `` as the source and the constant [`AUTOCOMPLETE_DEFINITIONS_FOLDER`](https://github.com/elastic/kibana/blob/main/src/plugins/console/common/constants/autocomplete_definitions.ts) as the destination. Based on the value of the constant, the autocomplete definitions will be generated in the folder `/src/plugins/server/lib/spec_definitions/json/generated`. The flag `--emptyDest` indicates that all existing files in the destination folder will be removed.
-3. It's possible to generate the definitions into a different folder. For that pass an option to the command `--dest ` and also update the constant [`AUTOCOMPLETE_DEFINITIONS_FOLDER`](https://github.com/elastic/kibana/blob/main/src/plugins/console/common/constants/autocomplete_definitions.ts) so that the Console server will load the definitions from this folder.
+ This command will use the folder `` as the source and the constant [`AUTOCOMPLETE_DEFINITIONS_FOLDER`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/common/constants/autocomplete_definitions.ts) as the destination. Based on the value of the constant, the autocomplete definitions will be generated in the folder `/src/plugins/server/lib/spec_definitions/json/generated`. The flag `--emptyDest` indicates that all existing files in the destination folder will be removed.
+3. It's possible to generate the definitions into a different folder. For that pass an option to the command `--dest ` and also update the constant [`AUTOCOMPLETE_DEFINITIONS_FOLDER`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/common/constants/autocomplete_definitions.ts) so that the Console server will load the definitions from this folder.
## Functionality
This script generates definitions for all endpoints defined in the ES specification at once.
-The script generates fully functional autocomplete definition files with properties as described in the [Console README.md file](https://github.com/elastic/kibana/blob/main/src/plugins/console/README.md) except `data_autocomplete_rules`. Currently, this property needs to be written manually to add autocomplete suggestions for request body parameters.
+The script generates fully functional autocomplete definition files with properties as described in the [Console README.md file](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/README.md) except `data_autocomplete_rules`. Currently, this property needs to be written manually to add autocomplete suggestions for request body parameters.
diff --git a/packages/kbn-management/cards_navigation/jest.config.js b/packages/kbn-management/cards_navigation/jest.config.js
deleted file mode 100644
index 6d918533dacec..0000000000000
--- a/packages/kbn-management/cards_navigation/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/packages/kbn-management/cards_navigation'],
-};
diff --git a/packages/kbn-search-connectors/components/cron_editor/readme.md b/packages/kbn-search-connectors/components/cron_editor/readme.md
index 1b2f8e39e9e58..f1288c56917cd 100644
--- a/packages/kbn-search-connectors/components/cron_editor/readme.md
+++ b/packages/kbn-search-connectors/components/cron_editor/readme.md
@@ -1,4 +1,4 @@
-`CronEditor` found `./cron_editor.tsx` is based on the `Cron Editor` component from `src/plugins/es_ui_shared/public/components/cron_editor`
+`CronEditor` found `./cron_editor.tsx` is based on the `Cron Editor` component from `src/platform/plugins/shared/es_ui_shared/public/components/cron_editor`
Includes a `disabled` prop that can be passed down to the child form components.
diff --git a/packages/kbn-unsaved-changes-prompt/jest.config.js b/packages/kbn-unsaved-changes-prompt/jest.config.js
deleted file mode 100644
index 06d30fc1271e0..0000000000000
--- a/packages/kbn-unsaved-changes-prompt/jest.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the "Elastic License
- * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
- * Public License v 1"; you may not use this file except in compliance with, at
- * your election, the "Elastic License 2.0", the "GNU Affero General Public
- * License v3.0 only", or the "Server Side Public License, v 1".
- */
-
-module.exports = {
- preset: '@kbn/test',
- rootDir: '../..',
- roots: ['/packages/kbn-unsaved-changes-prompt'],
-};
diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js
index 3572781c4b262..313c2bd357dc4 100644
--- a/src/dev/precommit_hook/casing_check_config.js
+++ b/src/dev/precommit_hook/casing_check_config.js
@@ -165,7 +165,7 @@ export const TEMPORARILY_IGNORED_PATHS = [
'src/core/server/core_app/assets/favicons/safari-pinned-tab.svg',
'test/functional/apps/management/exports/_import_objects-conflicts.json',
'x-pack/legacy/plugins/index_management/public/lib/editSettings.js',
- 'x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js',
+ 'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js',
'x-pack/plugins/monitoring/public/icons/health-gray.svg',
'x-pack/plugins/monitoring/public/icons/health-green.svg',
'x-pack/plugins/monitoring/public/icons/health-red.svg',
diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts
index 9e2919616bc78..a44a9df48ef65 100644
--- a/src/dev/storybook/aliases.ts
+++ b/src/dev/storybook/aliases.ts
@@ -30,7 +30,7 @@ export const storybookAliases = {
data: 'src/plugins/data/.storybook',
discover: 'src/plugins/discover/.storybook',
esql_ast_inspector: 'examples/esql_ast_inspector/.storybook',
- es_ui_shared: 'src/plugins/es_ui_shared/.storybook',
+ es_ui_shared: 'src/platform/plugins/shared/es_ui_shared/.storybook',
expandable_flyout: 'x-pack/solutions/security/packages/kbn-expandable-flyout/.storybook',
expression_error: 'src/plugins/expression_error/.storybook',
expression_image: 'src/plugins/expression_image/.storybook',
diff --git a/packages/default-nav/devtools/README.md b/src/platform/packages/private/default-nav/devtools/README.md
similarity index 100%
rename from packages/default-nav/devtools/README.md
rename to src/platform/packages/private/default-nav/devtools/README.md
diff --git a/packages/default-nav/devtools/default_navigation.ts b/src/platform/packages/private/default-nav/devtools/default_navigation.ts
similarity index 100%
rename from packages/default-nav/devtools/default_navigation.ts
rename to src/platform/packages/private/default-nav/devtools/default_navigation.ts
diff --git a/packages/default-nav/devtools/index.ts b/src/platform/packages/private/default-nav/devtools/index.ts
similarity index 100%
rename from packages/default-nav/devtools/index.ts
rename to src/platform/packages/private/default-nav/devtools/index.ts
diff --git a/packages/default-nav/management/jest.config.js b/src/platform/packages/private/default-nav/devtools/jest.config.js
similarity index 82%
rename from packages/default-nav/management/jest.config.js
rename to src/platform/packages/private/default-nav/devtools/jest.config.js
index a42f1603492ec..c02758afa2bf8 100644
--- a/packages/default-nav/management/jest.config.js
+++ b/src/platform/packages/private/default-nav/devtools/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/packages/default-nav/management'],
+ rootDir: '../../../../../..',
+ roots: ['/src/platform/packages/private/default-nav/devtools'],
};
diff --git a/packages/default-nav/devtools/kibana.jsonc b/src/platform/packages/private/default-nav/devtools/kibana.jsonc
similarity index 100%
rename from packages/default-nav/devtools/kibana.jsonc
rename to src/platform/packages/private/default-nav/devtools/kibana.jsonc
diff --git a/packages/default-nav/devtools/package.json b/src/platform/packages/private/default-nav/devtools/package.json
similarity index 100%
rename from packages/default-nav/devtools/package.json
rename to src/platform/packages/private/default-nav/devtools/package.json
diff --git a/packages/default-nav/devtools/tsconfig.json b/src/platform/packages/private/default-nav/devtools/tsconfig.json
similarity index 85%
rename from packages/default-nav/devtools/tsconfig.json
rename to src/platform/packages/private/default-nav/devtools/tsconfig.json
index 7adfc75ce745d..6e216eb62dd4e 100644
--- a/packages/default-nav/devtools/tsconfig.json
+++ b/src/platform/packages/private/default-nav/devtools/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/default-nav/management/README.md b/src/platform/packages/private/default-nav/management/README.md
similarity index 100%
rename from packages/default-nav/management/README.md
rename to src/platform/packages/private/default-nav/management/README.md
diff --git a/packages/default-nav/management/default_navigation.ts b/src/platform/packages/private/default-nav/management/default_navigation.ts
similarity index 100%
rename from packages/default-nav/management/default_navigation.ts
rename to src/platform/packages/private/default-nav/management/default_navigation.ts
diff --git a/packages/default-nav/management/index.ts b/src/platform/packages/private/default-nav/management/index.ts
similarity index 100%
rename from packages/default-nav/management/index.ts
rename to src/platform/packages/private/default-nav/management/index.ts
diff --git a/src/platform/packages/private/default-nav/management/jest.config.js b/src/platform/packages/private/default-nav/management/jest.config.js
new file mode 100644
index 0000000000000..4977ed105d381
--- /dev/null
+++ b/src/platform/packages/private/default-nav/management/jest.config.js
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../../..',
+ roots: ['/src/platform/packages/private/default-nav/management'],
+};
diff --git a/packages/default-nav/management/kibana.jsonc b/src/platform/packages/private/default-nav/management/kibana.jsonc
similarity index 100%
rename from packages/default-nav/management/kibana.jsonc
rename to src/platform/packages/private/default-nav/management/kibana.jsonc
diff --git a/packages/default-nav/management/package.json b/src/platform/packages/private/default-nav/management/package.json
similarity index 100%
rename from packages/default-nav/management/package.json
rename to src/platform/packages/private/default-nav/management/package.json
diff --git a/packages/default-nav/management/tsconfig.json b/src/platform/packages/private/default-nav/management/tsconfig.json
similarity index 85%
rename from packages/default-nav/management/tsconfig.json
rename to src/platform/packages/private/default-nav/management/tsconfig.json
index 2e7b8415084c9..86aef204f06cf 100644
--- a/packages/default-nav/management/tsconfig.json
+++ b/src/platform/packages/private/default-nav/management/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/field_category/jest.config.js b/src/platform/packages/private/kbn-management/jest.config.js
similarity index 86%
rename from packages/kbn-management/settings/components/field_category/jest.config.js
rename to src/platform/packages/private/kbn-management/jest.config.js
index 73d47db7b38a8..b249a47d2bf86 100644
--- a/packages/kbn-management/settings/components/field_category/jest.config.js
+++ b/src/platform/packages/private/kbn-management/jest.config.js
@@ -10,5 +10,5 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
- roots: ['/packages/kbn-management/settings/components/field_category'],
+ roots: ['/src/platform/packages/private/kbn-management'],
};
diff --git a/packages/kbn-management/settings/application/README.md b/src/platform/packages/private/kbn-management/settings/application/README.md
similarity index 100%
rename from packages/kbn-management/settings/application/README.md
rename to src/platform/packages/private/kbn-management/settings/application/README.md
diff --git a/packages/kbn-management/settings/application/__snapshots__/query_input.test.tsx.snap b/src/platform/packages/private/kbn-management/settings/application/__snapshots__/query_input.test.tsx.snap
similarity index 100%
rename from packages/kbn-management/settings/application/__snapshots__/query_input.test.tsx.snap
rename to src/platform/packages/private/kbn-management/settings/application/__snapshots__/query_input.test.tsx.snap
diff --git a/packages/kbn-management/settings/application/__stories__/application.stories.tsx b/src/platform/packages/private/kbn-management/settings/application/__stories__/application.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/__stories__/application.stories.tsx
rename to src/platform/packages/private/kbn-management/settings/application/__stories__/application.stories.tsx
diff --git a/packages/kbn-management/settings/application/__stories__/use_application_story.tsx b/src/platform/packages/private/kbn-management/settings/application/__stories__/use_application_story.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/__stories__/use_application_story.tsx
rename to src/platform/packages/private/kbn-management/settings/application/__stories__/use_application_story.tsx
diff --git a/packages/kbn-management/settings/application/application.test.tsx b/src/platform/packages/private/kbn-management/settings/application/application.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/application.test.tsx
rename to src/platform/packages/private/kbn-management/settings/application/application.test.tsx
diff --git a/packages/kbn-management/settings/application/application.tsx b/src/platform/packages/private/kbn-management/settings/application/application.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/application.tsx
rename to src/platform/packages/private/kbn-management/settings/application/application.tsx
diff --git a/packages/kbn-management/settings/application/empty_state.tsx b/src/platform/packages/private/kbn-management/settings/application/empty_state.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/empty_state.tsx
rename to src/platform/packages/private/kbn-management/settings/application/empty_state.tsx
diff --git a/packages/kbn-management/settings/application/hooks/index.ts b/src/platform/packages/private/kbn-management/settings/application/hooks/index.ts
similarity index 100%
rename from packages/kbn-management/settings/application/hooks/index.ts
rename to src/platform/packages/private/kbn-management/settings/application/hooks/index.ts
diff --git a/packages/kbn-management/settings/application/hooks/use_fields.ts b/src/platform/packages/private/kbn-management/settings/application/hooks/use_fields.ts
similarity index 100%
rename from packages/kbn-management/settings/application/hooks/use_fields.ts
rename to src/platform/packages/private/kbn-management/settings/application/hooks/use_fields.ts
diff --git a/packages/kbn-management/settings/application/hooks/use_scope_fields.ts b/src/platform/packages/private/kbn-management/settings/application/hooks/use_scope_fields.ts
similarity index 100%
rename from packages/kbn-management/settings/application/hooks/use_scope_fields.ts
rename to src/platform/packages/private/kbn-management/settings/application/hooks/use_scope_fields.ts
diff --git a/packages/kbn-management/settings/application/hooks/use_settings.ts b/src/platform/packages/private/kbn-management/settings/application/hooks/use_settings.ts
similarity index 100%
rename from packages/kbn-management/settings/application/hooks/use_settings.ts
rename to src/platform/packages/private/kbn-management/settings/application/hooks/use_settings.ts
diff --git a/packages/kbn-management/settings/application/i18n_texts.ts b/src/platform/packages/private/kbn-management/settings/application/i18n_texts.ts
similarity index 100%
rename from packages/kbn-management/settings/application/i18n_texts.ts
rename to src/platform/packages/private/kbn-management/settings/application/i18n_texts.ts
diff --git a/packages/kbn-management/settings/application/index.tsx b/src/platform/packages/private/kbn-management/settings/application/index.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/index.tsx
rename to src/platform/packages/private/kbn-management/settings/application/index.tsx
diff --git a/packages/kbn-management/settings/application/kibana.jsonc b/src/platform/packages/private/kbn-management/settings/application/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/application/kibana.jsonc
rename to src/platform/packages/private/kbn-management/settings/application/kibana.jsonc
diff --git a/packages/kbn-management/settings/application/mocks/context.tsx b/src/platform/packages/private/kbn-management/settings/application/mocks/context.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/mocks/context.tsx
rename to src/platform/packages/private/kbn-management/settings/application/mocks/context.tsx
diff --git a/packages/kbn-management/settings/application/mocks/index.ts b/src/platform/packages/private/kbn-management/settings/application/mocks/index.ts
similarity index 100%
rename from packages/kbn-management/settings/application/mocks/index.ts
rename to src/platform/packages/private/kbn-management/settings/application/mocks/index.ts
diff --git a/packages/kbn-management/settings/application/package.json b/src/platform/packages/private/kbn-management/settings/application/package.json
similarity index 100%
rename from packages/kbn-management/settings/application/package.json
rename to src/platform/packages/private/kbn-management/settings/application/package.json
diff --git a/packages/kbn-management/settings/application/query_input.test.tsx b/src/platform/packages/private/kbn-management/settings/application/query_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/query_input.test.tsx
rename to src/platform/packages/private/kbn-management/settings/application/query_input.test.tsx
diff --git a/packages/kbn-management/settings/application/query_input.tsx b/src/platform/packages/private/kbn-management/settings/application/query_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/query_input.tsx
rename to src/platform/packages/private/kbn-management/settings/application/query_input.tsx
diff --git a/packages/kbn-management/settings/application/read_only_badge.ts b/src/platform/packages/private/kbn-management/settings/application/read_only_badge.ts
similarity index 100%
rename from packages/kbn-management/settings/application/read_only_badge.ts
rename to src/platform/packages/private/kbn-management/settings/application/read_only_badge.ts
diff --git a/packages/kbn-management/settings/application/services.tsx b/src/platform/packages/private/kbn-management/settings/application/services.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/services.tsx
rename to src/platform/packages/private/kbn-management/settings/application/services.tsx
diff --git a/packages/kbn-management/settings/application/tab.tsx b/src/platform/packages/private/kbn-management/settings/application/tab.tsx
similarity index 100%
rename from packages/kbn-management/settings/application/tab.tsx
rename to src/platform/packages/private/kbn-management/settings/application/tab.tsx
diff --git a/packages/kbn-management/settings/application/tsconfig.json b/src/platform/packages/private/kbn-management/settings/application/tsconfig.json
similarity index 94%
rename from packages/kbn-management/settings/application/tsconfig.json
rename to src/platform/packages/private/kbn-management/settings/application/tsconfig.json
index 3ebad4ae3d214..de36999e41644 100644
--- a/packages/kbn-management/settings/application/tsconfig.json
+++ b/src/platform/packages/private/kbn-management/settings/application/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/field_category/README.mdx b/src/platform/packages/private/kbn-management/settings/components/field_category/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/README.mdx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/README.mdx
diff --git a/packages/kbn-management/settings/components/field_category/__stories__/categories.stories.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/categories.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/__stories__/categories.stories.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/categories.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_category/__stories__/category.stories.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/category.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/__stories__/category.stories.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/category.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_category/__stories__/use_category_story.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/use_category_story.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/__stories__/use_category_story.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/__stories__/use_category_story.tsx
diff --git a/packages/kbn-management/settings/components/field_category/categories.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/categories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/categories.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/categories.tsx
diff --git a/packages/kbn-management/settings/components/field_category/category.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/category.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/category.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/category.tsx
diff --git a/packages/kbn-management/settings/components/field_category/clear_query_link.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/clear_query_link.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/clear_query_link.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/clear_query_link.tsx
diff --git a/packages/kbn-management/settings/components/field_category/index.ts b/src/platform/packages/private/kbn-management/settings/components/field_category/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/index.ts
rename to src/platform/packages/private/kbn-management/settings/components/field_category/index.ts
diff --git a/src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js b/src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js
new file mode 100644
index 0000000000000..0d2ae1922729b
--- /dev/null
+++ b/src/platform/packages/private/kbn-management/settings/components/field_category/jest.config.js
@@ -0,0 +1,16 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../../../../..',
+ roots: [
+ '/src/platform/packages/private/kbn-management/settings/components/field_category',
+ ],
+};
diff --git a/packages/kbn-management/settings/components/field_category/kibana.jsonc b/src/platform/packages/private/kbn-management/settings/components/field_category/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/kibana.jsonc
rename to src/platform/packages/private/kbn-management/settings/components/field_category/kibana.jsonc
diff --git a/packages/kbn-management/settings/components/field_category/package.json b/src/platform/packages/private/kbn-management/settings/components/field_category/package.json
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/package.json
rename to src/platform/packages/private/kbn-management/settings/components/field_category/package.json
diff --git a/packages/kbn-management/settings/components/field_category/services.tsx b/src/platform/packages/private/kbn-management/settings/components/field_category/services.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/services.tsx
rename to src/platform/packages/private/kbn-management/settings/components/field_category/services.tsx
diff --git a/packages/kbn-management/settings/components/field_category/tsconfig.json b/src/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json
similarity index 88%
rename from packages/kbn-management/settings/components/field_category/tsconfig.json
rename to src/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json
index 8b4e9b1566b31..5fd04965d3f30 100644
--- a/packages/kbn-management/settings/components/field_category/tsconfig.json
+++ b/src/platform/packages/private/kbn-management/settings/components/field_category/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../../tsconfig.base.json",
+ "extends": "../../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/field_category/types.ts b/src/platform/packages/private/kbn-management/settings/components/field_category/types.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_category/types.ts
rename to src/platform/packages/private/kbn-management/settings/components/field_category/types.ts
diff --git a/packages/kbn-management/settings/components/form/README.mdx b/src/platform/packages/private/kbn-management/settings/components/form/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/components/form/README.mdx
rename to src/platform/packages/private/kbn-management/settings/components/form/README.mdx
diff --git a/packages/kbn-management/settings/components/form/bottom_bar/bottom_bar.test.tsx b/src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/bottom_bar.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/bottom_bar/bottom_bar.test.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/bottom_bar.test.tsx
diff --git a/packages/kbn-management/settings/components/form/bottom_bar/bottom_bar.tsx b/src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/bottom_bar.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/bottom_bar/bottom_bar.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/bottom_bar.tsx
diff --git a/packages/kbn-management/settings/components/form/bottom_bar/index.tsx b/src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/index.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/bottom_bar/index.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/index.tsx
diff --git a/packages/kbn-management/settings/components/form/bottom_bar/unsaved_count.tsx b/src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/unsaved_count.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/bottom_bar/unsaved_count.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/bottom_bar/unsaved_count.tsx
diff --git a/packages/kbn-management/settings/components/form/form.styles.ts b/src/platform/packages/private/kbn-management/settings/components/form/form.styles.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/form.styles.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/form.styles.ts
diff --git a/packages/kbn-management/settings/components/form/form.test.tsx b/src/platform/packages/private/kbn-management/settings/components/form/form.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/form.test.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/form.test.tsx
diff --git a/packages/kbn-management/settings/components/form/form.tsx b/src/platform/packages/private/kbn-management/settings/components/form/form.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/form.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/form.tsx
diff --git a/packages/kbn-management/settings/components/form/index.ts b/src/platform/packages/private/kbn-management/settings/components/form/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/index.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/index.ts
diff --git a/packages/kbn-management/settings/components/form/kibana.jsonc b/src/platform/packages/private/kbn-management/settings/components/form/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/components/form/kibana.jsonc
rename to src/platform/packages/private/kbn-management/settings/components/form/kibana.jsonc
diff --git a/packages/kbn-management/settings/components/form/mocks/context.tsx b/src/platform/packages/private/kbn-management/settings/components/form/mocks/context.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/mocks/context.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/mocks/context.tsx
diff --git a/packages/kbn-management/settings/components/form/mocks/index.ts b/src/platform/packages/private/kbn-management/settings/components/form/mocks/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/mocks/index.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/mocks/index.ts
diff --git a/packages/kbn-management/settings/components/form/mocks/settings_client.ts b/src/platform/packages/private/kbn-management/settings/components/form/mocks/settings_client.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/mocks/settings_client.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/mocks/settings_client.ts
diff --git a/packages/kbn-management/settings/components/form/package.json b/src/platform/packages/private/kbn-management/settings/components/form/package.json
similarity index 100%
rename from packages/kbn-management/settings/components/form/package.json
rename to src/platform/packages/private/kbn-management/settings/components/form/package.json
diff --git a/packages/kbn-management/settings/components/form/reload_page_toast.tsx b/src/platform/packages/private/kbn-management/settings/components/form/reload_page_toast.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/reload_page_toast.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/reload_page_toast.tsx
diff --git a/packages/kbn-management/settings/components/form/services.tsx b/src/platform/packages/private/kbn-management/settings/components/form/services.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/services.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/services.tsx
diff --git a/packages/kbn-management/settings/components/form/storybook/form.stories.tsx b/src/platform/packages/private/kbn-management/settings/components/form/storybook/form.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/form/storybook/form.stories.tsx
rename to src/platform/packages/private/kbn-management/settings/components/form/storybook/form.stories.tsx
diff --git a/packages/kbn-management/settings/components/form/tsconfig.json b/src/platform/packages/private/kbn-management/settings/components/form/tsconfig.json
similarity index 94%
rename from packages/kbn-management/settings/components/form/tsconfig.json
rename to src/platform/packages/private/kbn-management/settings/components/form/tsconfig.json
index 073882ccf4b48..56f49203120dc 100644
--- a/packages/kbn-management/settings/components/form/tsconfig.json
+++ b/src/platform/packages/private/kbn-management/settings/components/form/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../../tsconfig.base.json",
+ "extends": "../../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/form/types.ts b/src/platform/packages/private/kbn-management/settings/components/form/types.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/types.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/types.ts
diff --git a/packages/kbn-management/settings/components/form/use_save.ts b/src/platform/packages/private/kbn-management/settings/components/form/use_save.ts
similarity index 100%
rename from packages/kbn-management/settings/components/form/use_save.ts
rename to src/platform/packages/private/kbn-management/settings/components/form/use_save.ts
diff --git a/packages/deeplinks/devtools/README.md b/src/platform/packages/shared/deeplinks/devtools/README.md
similarity index 100%
rename from packages/deeplinks/devtools/README.md
rename to src/platform/packages/shared/deeplinks/devtools/README.md
diff --git a/packages/deeplinks/devtools/constants.ts b/src/platform/packages/shared/deeplinks/devtools/constants.ts
similarity index 100%
rename from packages/deeplinks/devtools/constants.ts
rename to src/platform/packages/shared/deeplinks/devtools/constants.ts
diff --git a/packages/deeplinks/devtools/deep_links.ts b/src/platform/packages/shared/deeplinks/devtools/deep_links.ts
similarity index 100%
rename from packages/deeplinks/devtools/deep_links.ts
rename to src/platform/packages/shared/deeplinks/devtools/deep_links.ts
diff --git a/packages/deeplinks/devtools/index.ts b/src/platform/packages/shared/deeplinks/devtools/index.ts
similarity index 100%
rename from packages/deeplinks/devtools/index.ts
rename to src/platform/packages/shared/deeplinks/devtools/index.ts
diff --git a/packages/deeplinks/devtools/jest.config.js b/src/platform/packages/shared/deeplinks/devtools/jest.config.js
similarity index 83%
rename from packages/deeplinks/devtools/jest.config.js
rename to src/platform/packages/shared/deeplinks/devtools/jest.config.js
index 2d3a8261a75d1..f5eccf53d143c 100644
--- a/packages/deeplinks/devtools/jest.config.js
+++ b/src/platform/packages/shared/deeplinks/devtools/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/packages/deeplinks/devtools'],
+ rootDir: '../../../../../..',
+ roots: ['/src/platform/packages/shared/deeplinks/devtools'],
};
diff --git a/packages/deeplinks/devtools/kibana.jsonc b/src/platform/packages/shared/deeplinks/devtools/kibana.jsonc
similarity index 100%
rename from packages/deeplinks/devtools/kibana.jsonc
rename to src/platform/packages/shared/deeplinks/devtools/kibana.jsonc
diff --git a/packages/deeplinks/devtools/package.json b/src/platform/packages/shared/deeplinks/devtools/package.json
similarity index 100%
rename from packages/deeplinks/devtools/package.json
rename to src/platform/packages/shared/deeplinks/devtools/package.json
diff --git a/packages/deeplinks/devtools/tsconfig.json b/src/platform/packages/shared/deeplinks/devtools/tsconfig.json
similarity index 81%
rename from packages/deeplinks/devtools/tsconfig.json
rename to src/platform/packages/shared/deeplinks/devtools/tsconfig.json
index 94b099694eaf4..af23c916b5d13 100644
--- a/packages/deeplinks/devtools/tsconfig.json
+++ b/src/platform/packages/shared/deeplinks/devtools/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/deeplinks/management/README.md b/src/platform/packages/shared/deeplinks/management/README.md
similarity index 100%
rename from packages/deeplinks/management/README.md
rename to src/platform/packages/shared/deeplinks/management/README.md
diff --git a/packages/deeplinks/management/constants.ts b/src/platform/packages/shared/deeplinks/management/constants.ts
similarity index 100%
rename from packages/deeplinks/management/constants.ts
rename to src/platform/packages/shared/deeplinks/management/constants.ts
diff --git a/packages/deeplinks/management/deep_links.ts b/src/platform/packages/shared/deeplinks/management/deep_links.ts
similarity index 100%
rename from packages/deeplinks/management/deep_links.ts
rename to src/platform/packages/shared/deeplinks/management/deep_links.ts
diff --git a/packages/deeplinks/management/index.ts b/src/platform/packages/shared/deeplinks/management/index.ts
similarity index 100%
rename from packages/deeplinks/management/index.ts
rename to src/platform/packages/shared/deeplinks/management/index.ts
diff --git a/packages/deeplinks/management/jest.config.js b/src/platform/packages/shared/deeplinks/management/jest.config.js
similarity index 82%
rename from packages/deeplinks/management/jest.config.js
rename to src/platform/packages/shared/deeplinks/management/jest.config.js
index d308c49ffafae..8a4039d61f2bc 100644
--- a/packages/deeplinks/management/jest.config.js
+++ b/src/platform/packages/shared/deeplinks/management/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/packages/deeplinks/management'],
+ rootDir: '../../../../../..',
+ roots: ['/src/platform/packages/shared/deeplinks/management'],
};
diff --git a/packages/deeplinks/management/kibana.jsonc b/src/platform/packages/shared/deeplinks/management/kibana.jsonc
similarity index 100%
rename from packages/deeplinks/management/kibana.jsonc
rename to src/platform/packages/shared/deeplinks/management/kibana.jsonc
diff --git a/packages/deeplinks/management/package.json b/src/platform/packages/shared/deeplinks/management/package.json
similarity index 100%
rename from packages/deeplinks/management/package.json
rename to src/platform/packages/shared/deeplinks/management/package.json
diff --git a/packages/deeplinks/management/tsconfig.json b/src/platform/packages/shared/deeplinks/management/tsconfig.json
similarity index 81%
rename from packages/deeplinks/management/tsconfig.json
rename to src/platform/packages/shared/deeplinks/management/tsconfig.json
index d1414086f2187..18d16ae2e8837 100644
--- a/packages/deeplinks/management/tsconfig.json
+++ b/src/platform/packages/shared/deeplinks/management/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/cards_navigation/README.mdx b/src/platform/packages/shared/kbn-management/cards_navigation/README.mdx
similarity index 100%
rename from packages/kbn-management/cards_navigation/README.mdx
rename to src/platform/packages/shared/kbn-management/cards_navigation/README.mdx
diff --git a/packages/kbn-management/cards_navigation/index.ts b/src/platform/packages/shared/kbn-management/cards_navigation/index.ts
similarity index 100%
rename from packages/kbn-management/cards_navigation/index.ts
rename to src/platform/packages/shared/kbn-management/cards_navigation/index.ts
diff --git a/packages/kbn-management/cards_navigation/kibana.jsonc b/src/platform/packages/shared/kbn-management/cards_navigation/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/cards_navigation/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/cards_navigation/kibana.jsonc
diff --git a/packages/kbn-management/cards_navigation/mocks/mocks.ts b/src/platform/packages/shared/kbn-management/cards_navigation/mocks/mocks.ts
similarity index 100%
rename from packages/kbn-management/cards_navigation/mocks/mocks.ts
rename to src/platform/packages/shared/kbn-management/cards_navigation/mocks/mocks.ts
diff --git a/packages/kbn-management/cards_navigation/mocks/storybook.mock.ts b/src/platform/packages/shared/kbn-management/cards_navigation/mocks/storybook.mock.ts
similarity index 100%
rename from packages/kbn-management/cards_navigation/mocks/storybook.mock.ts
rename to src/platform/packages/shared/kbn-management/cards_navigation/mocks/storybook.mock.ts
diff --git a/packages/kbn-management/cards_navigation/package.json b/src/platform/packages/shared/kbn-management/cards_navigation/package.json
similarity index 100%
rename from packages/kbn-management/cards_navigation/package.json
rename to src/platform/packages/shared/kbn-management/cards_navigation/package.json
diff --git a/packages/kbn-management/cards_navigation/src/cards_navigation.stories.tsx b/src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.stories.tsx
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/cards_navigation.stories.tsx
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.stories.tsx
diff --git a/packages/kbn-management/cards_navigation/src/cards_navigation.test.tsx b/src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.test.tsx
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/cards_navigation.test.tsx
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.test.tsx
diff --git a/packages/kbn-management/cards_navigation/src/cards_navigation.tsx b/src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.tsx
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/cards_navigation.tsx
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/cards_navigation.tsx
diff --git a/packages/kbn-management/cards_navigation/src/consts.tsx b/src/platform/packages/shared/kbn-management/cards_navigation/src/consts.tsx
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/consts.tsx
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/consts.tsx
diff --git a/packages/kbn-management/cards_navigation/src/index.ts b/src/platform/packages/shared/kbn-management/cards_navigation/src/index.ts
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/index.ts
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/index.ts
diff --git a/packages/kbn-management/cards_navigation/src/types.ts b/src/platform/packages/shared/kbn-management/cards_navigation/src/types.ts
similarity index 100%
rename from packages/kbn-management/cards_navigation/src/types.ts
rename to src/platform/packages/shared/kbn-management/cards_navigation/src/types.ts
diff --git a/packages/kbn-management/cards_navigation/tsconfig.json b/src/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json
similarity index 84%
rename from packages/kbn-management/cards_navigation/tsconfig.json
rename to src/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json
index d73041d8c35a9..0005162e325f0 100644
--- a/packages/kbn-management/cards_navigation/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/cards_navigation/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/default-nav/devtools/jest.config.js b/src/platform/packages/shared/kbn-management/jest.config.js
similarity index 84%
rename from packages/default-nav/devtools/jest.config.js
rename to src/platform/packages/shared/kbn-management/jest.config.js
index c7be7cf80bb03..e5fdb49ff9b97 100644
--- a/packages/default-nav/devtools/jest.config.js
+++ b/src/platform/packages/shared/kbn-management/jest.config.js
@@ -9,6 +9,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/packages/default-nav/devtools'],
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-management'],
};
diff --git a/packages/kbn-management/settings/components/field_input/README.mdx b/src/platform/packages/shared/kbn-management/settings/components/field_input/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/README.mdx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/README.mdx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/array_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/array_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/array_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/array_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/boolean_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/boolean_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/boolean_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/boolean_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/color_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/color_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/color_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/color_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/common.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/common.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/common.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/common.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/image_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/image_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/image_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/image_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/json_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/json_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/json_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/json_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/markdown_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/markdown_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/markdown_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/markdown_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/number_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/number_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/number_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/number_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/select_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/select_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/select_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/select_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/__stories__/text_input.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/text_input.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/__stories__/text_input.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/__stories__/text_input.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_input/code_editor.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/code_editor.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/code_editor.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/code_editor.tsx
diff --git a/packages/kbn-management/settings/components/field_input/field_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/field_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/field_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/field_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/field_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/field_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/field_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/field_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_input/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/index.ts
diff --git a/packages/kbn-management/settings/components/field_input/input/array_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/array_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/array_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/array_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/array_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/array_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/array_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/array_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/boolean_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/boolean_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/boolean_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/boolean_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/boolean_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/boolean_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/boolean_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/boolean_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/code_editor_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/code_editor_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/code_editor_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/code_editor_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/color_picker_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/color_picker_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/color_picker_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/color_picker_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/color_picker_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/color_picker_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/color_picker_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/color_picker_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/image_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/image_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/image_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/image_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/image_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/image_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/image_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/image_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/index.ts
diff --git a/packages/kbn-management/settings/components/field_input/input/json_editor_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/json_editor_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/json_editor_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/json_editor_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/markdown_editor_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/markdown_editor_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/markdown_editor_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/markdown_editor_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/number_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/number_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/number_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/number_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/number_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/number_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/number_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/number_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/select_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/select_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/select_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/select_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/select_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/select_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/select_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/select_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/text_input.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/text_input.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/text_input.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/text_input.test.tsx
diff --git a/packages/kbn-management/settings/components/field_input/input/text_input.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/input/text_input.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/input/text_input.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/input/text_input.tsx
diff --git a/packages/kbn-management/settings/components/field_input/kibana.jsonc b/src/platform/packages/shared/kbn-management/settings/components/field_input/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/kibana.jsonc
diff --git a/packages/kbn-management/settings/components/field_input/mocks/context.mock.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/mocks/context.mock.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/mocks/context.mock.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/mocks/context.mock.tsx
diff --git a/packages/kbn-management/settings/components/field_input/mocks/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_input/mocks/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/mocks/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/mocks/index.ts
diff --git a/packages/kbn-management/settings/components/field_input/package.json b/src/platform/packages/shared/kbn-management/settings/components/field_input/package.json
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/package.json
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/package.json
diff --git a/packages/kbn-management/settings/components/field_input/services.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_input/services.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/services.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/services.tsx
diff --git a/packages/kbn-management/settings/components/field_input/setup_tests.ts b/src/platform/packages/shared/kbn-management/settings/components/field_input/setup_tests.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/setup_tests.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/setup_tests.ts
diff --git a/packages/kbn-management/settings/components/field_input/tsconfig.json b/src/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json
similarity index 92%
rename from packages/kbn-management/settings/components/field_input/tsconfig.json
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json
index d3fc7c27da7a9..ce22fa8df8c1a 100644
--- a/packages/kbn-management/settings/components/field_input/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/settings/components/field_input/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../../tsconfig.base.json",
+ "extends": "../../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/field_input/types.ts b/src/platform/packages/shared/kbn-management/settings/components/field_input/types.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_input/types.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_input/types.ts
diff --git a/packages/kbn-management/settings/components/field_row/README.mdx b/src/platform/packages/shared/kbn-management/settings/components/field_row/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/README.mdx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/README.mdx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/array_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/array_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/array_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/array_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/boolean_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/boolean_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/boolean_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/boolean_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/color_picker_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/color_picker_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/color_picker_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/color_picker_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/common.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/common.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/common.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/common.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/image_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/image_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/image_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/image_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/json_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/json_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/json_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/json_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/markdown_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/markdown_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/markdown_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/markdown_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/number_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/number_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/number_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/number_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/select_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/select_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/select_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/select_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/__stories__/text_field.stories.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/text_field.stories.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/__stories__/text_field.stories.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/__stories__/text_field.stories.tsx
diff --git a/packages/kbn-management/settings/components/field_row/assets/form_row.png b/src/platform/packages/shared/kbn-management/settings/components/field_row/assets/form_row.png
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/assets/form_row.png
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/assets/form_row.png
diff --git a/packages/kbn-management/settings/components/field_row/assets/page.png b/src/platform/packages/shared/kbn-management/settings/components/field_row/assets/page.png
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/assets/page.png
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/assets/page.png
diff --git a/packages/kbn-management/settings/components/field_row/description/default_value.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/default_value.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/default_value.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/default_value.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/default_value.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/default_value.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/default_value.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/default_value.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/deprecation.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/deprecation.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/deprecation.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/deprecation.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/deprecation.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/deprecation.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/deprecation.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/deprecation.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/description.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/description.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/description.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/description.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/description.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/description.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/description.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/description.tsx
diff --git a/packages/kbn-management/settings/components/field_row/description/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/description/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/description/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/description/index.ts
diff --git a/packages/kbn-management/settings/components/field_row/field_row.styles.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.styles.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/field_row.styles.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.styles.ts
diff --git a/packages/kbn-management/settings/components/field_row/field_row.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/field_row.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/field_row.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/field_row.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/field_row.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/change_image_link.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/change_image_link.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/change_image_link.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/change_image_link.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/change_image_link.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/change_image_link.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/change_image_link.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/change_image_link.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/index.ts
diff --git a/packages/kbn-management/settings/components/field_row/footer/input_footer.styles.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/input_footer.styles.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/input_footer.styles.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/input_footer.styles.ts
diff --git a/packages/kbn-management/settings/components/field_row/footer/input_footer.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/input_footer.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/input_footer.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/input_footer.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/overridden_message.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/overridden_message.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/overridden_message.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/overridden_message.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/overridden_message.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/overridden_message.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/overridden_message.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/overridden_message.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/reset_link.test.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/reset_link.test.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/reset_link.test.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/reset_link.test.tsx
diff --git a/packages/kbn-management/settings/components/field_row/footer/reset_link.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/footer/reset_link.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/footer/reset_link.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/footer/reset_link.tsx
diff --git a/packages/kbn-management/settings/components/field_row/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/index.ts
diff --git a/packages/kbn-management/settings/components/field_row/kibana.jsonc b/src/platform/packages/shared/kbn-management/settings/components/field_row/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/kibana.jsonc
diff --git a/packages/kbn-management/settings/components/field_row/mocks/context.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/mocks/context.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/mocks/context.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/mocks/context.tsx
diff --git a/packages/kbn-management/settings/components/field_row/mocks/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/mocks/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/mocks/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/mocks/index.ts
diff --git a/packages/kbn-management/settings/components/field_row/package.json b/src/platform/packages/shared/kbn-management/settings/components/field_row/package.json
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/package.json
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/package.json
diff --git a/packages/kbn-management/settings/components/field_row/services.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/services.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/services.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/services.tsx
diff --git a/packages/kbn-management/settings/components/field_row/setup_tests.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/setup_tests.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/setup_tests.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/setup_tests.ts
diff --git a/packages/kbn-management/settings/components/field_row/title/icon_custom.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/title/icon_custom.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/title/icon_custom.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/title/icon_custom.tsx
diff --git a/packages/kbn-management/settings/components/field_row/title/icon_unsaved.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/title/icon_unsaved.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/title/icon_unsaved.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/title/icon_unsaved.tsx
diff --git a/packages/kbn-management/settings/components/field_row/title/index.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/title/index.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/title/index.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/title/index.ts
diff --git a/packages/kbn-management/settings/components/field_row/title/title.tsx b/src/platform/packages/shared/kbn-management/settings/components/field_row/title/title.tsx
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/title/title.tsx
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/title/title.tsx
diff --git a/packages/kbn-management/settings/components/field_row/tsconfig.json b/src/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json
similarity index 93%
rename from packages/kbn-management/settings/components/field_row/tsconfig.json
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json
index 0c1f8e31e4a59..d0b13e6c13926 100644
--- a/packages/kbn-management/settings/components/field_row/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/settings/components/field_row/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../../tsconfig.base.json",
+ "extends": "../../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/components/field_row/types.ts b/src/platform/packages/shared/kbn-management/settings/components/field_row/types.ts
similarity index 100%
rename from packages/kbn-management/settings/components/field_row/types.ts
rename to src/platform/packages/shared/kbn-management/settings/components/field_row/types.ts
diff --git a/packages/kbn-management/settings/field_definition/README.mdx b/src/platform/packages/shared/kbn-management/settings/field_definition/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/field_definition/README.mdx
rename to src/platform/packages/shared/kbn-management/settings/field_definition/README.mdx
diff --git a/packages/kbn-management/settings/field_definition/get_definition.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/get_definition.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts
diff --git a/packages/kbn-management/settings/field_definition/get_definitions.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/get_definitions.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/get_definitions.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/get_definitions.ts
diff --git a/packages/kbn-management/settings/field_definition/index.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/index.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/index.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/index.ts
diff --git a/packages/kbn-management/settings/field_definition/is/field_definition.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/is/field_definition.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/is/field_definition.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/is/field_definition.ts
diff --git a/packages/kbn-management/settings/field_definition/is/index.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/is/index.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/is/index.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/is/index.ts
diff --git a/packages/kbn-management/settings/field_definition/is/unsaved_change.ts b/src/platform/packages/shared/kbn-management/settings/field_definition/is/unsaved_change.ts
similarity index 100%
rename from packages/kbn-management/settings/field_definition/is/unsaved_change.ts
rename to src/platform/packages/shared/kbn-management/settings/field_definition/is/unsaved_change.ts
diff --git a/packages/kbn-management/settings/field_definition/kibana.jsonc b/src/platform/packages/shared/kbn-management/settings/field_definition/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/field_definition/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/settings/field_definition/kibana.jsonc
diff --git a/packages/kbn-management/settings/field_definition/package.json b/src/platform/packages/shared/kbn-management/settings/field_definition/package.json
similarity index 100%
rename from packages/kbn-management/settings/field_definition/package.json
rename to src/platform/packages/shared/kbn-management/settings/field_definition/package.json
diff --git a/packages/kbn-management/settings/field_definition/tsconfig.json b/src/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json
similarity index 85%
rename from packages/kbn-management/settings/field_definition/tsconfig.json
rename to src/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json
index 26d2dc3afb883..f9236003cbbfb 100644
--- a/packages/kbn-management/settings/field_definition/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/settings/field_definition/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-management/settings/types/README.mdx b/src/platform/packages/shared/kbn-management/settings/types/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/types/README.mdx
rename to src/platform/packages/shared/kbn-management/settings/types/README.mdx
diff --git a/packages/kbn-management/settings/types/capabilities.ts b/src/platform/packages/shared/kbn-management/settings/types/capabilities.ts
similarity index 100%
rename from packages/kbn-management/settings/types/capabilities.ts
rename to src/platform/packages/shared/kbn-management/settings/types/capabilities.ts
diff --git a/packages/kbn-management/settings/types/category.ts b/src/platform/packages/shared/kbn-management/settings/types/category.ts
similarity index 100%
rename from packages/kbn-management/settings/types/category.ts
rename to src/platform/packages/shared/kbn-management/settings/types/category.ts
diff --git a/packages/kbn-management/settings/types/field_definition.ts b/src/platform/packages/shared/kbn-management/settings/types/field_definition.ts
similarity index 100%
rename from packages/kbn-management/settings/types/field_definition.ts
rename to src/platform/packages/shared/kbn-management/settings/types/field_definition.ts
diff --git a/packages/kbn-management/settings/types/index.ts b/src/platform/packages/shared/kbn-management/settings/types/index.ts
similarity index 100%
rename from packages/kbn-management/settings/types/index.ts
rename to src/platform/packages/shared/kbn-management/settings/types/index.ts
diff --git a/packages/kbn-management/settings/types/kibana.jsonc b/src/platform/packages/shared/kbn-management/settings/types/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/types/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/settings/types/kibana.jsonc
diff --git a/packages/kbn-management/settings/types/metadata.ts b/src/platform/packages/shared/kbn-management/settings/types/metadata.ts
similarity index 100%
rename from packages/kbn-management/settings/types/metadata.ts
rename to src/platform/packages/shared/kbn-management/settings/types/metadata.ts
diff --git a/packages/kbn-management/settings/types/package.json b/src/platform/packages/shared/kbn-management/settings/types/package.json
similarity index 100%
rename from packages/kbn-management/settings/types/package.json
rename to src/platform/packages/shared/kbn-management/settings/types/package.json
diff --git a/packages/kbn-management/settings/types/setting_type.ts b/src/platform/packages/shared/kbn-management/settings/types/setting_type.ts
similarity index 100%
rename from packages/kbn-management/settings/types/setting_type.ts
rename to src/platform/packages/shared/kbn-management/settings/types/setting_type.ts
diff --git a/packages/kbn-management/settings/types/tab.ts b/src/platform/packages/shared/kbn-management/settings/types/tab.ts
similarity index 100%
rename from packages/kbn-management/settings/types/tab.ts
rename to src/platform/packages/shared/kbn-management/settings/types/tab.ts
diff --git a/packages/kbn-management/settings/types/tsconfig.json b/src/platform/packages/shared/kbn-management/settings/types/tsconfig.json
similarity index 84%
rename from packages/kbn-management/settings/types/tsconfig.json
rename to src/platform/packages/shared/kbn-management/settings/types/tsconfig.json
index 2753fb935acaa..31d88a1be797b 100644
--- a/packages/kbn-management/settings/types/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/settings/types/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": []
diff --git a/packages/kbn-management/settings/types/unsaved_change.ts b/src/platform/packages/shared/kbn-management/settings/types/unsaved_change.ts
similarity index 100%
rename from packages/kbn-management/settings/types/unsaved_change.ts
rename to src/platform/packages/shared/kbn-management/settings/types/unsaved_change.ts
diff --git a/packages/kbn-management/settings/utilities/README.mdx b/src/platform/packages/shared/kbn-management/settings/utilities/README.mdx
similarity index 100%
rename from packages/kbn-management/settings/utilities/README.mdx
rename to src/platform/packages/shared/kbn-management/settings/utilities/README.mdx
diff --git a/packages/kbn-management/settings/utilities/category/categorize_fields.ts b/src/platform/packages/shared/kbn-management/settings/utilities/category/categorize_fields.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/category/categorize_fields.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/category/categorize_fields.ts
diff --git a/packages/kbn-management/settings/utilities/category/const.ts b/src/platform/packages/shared/kbn-management/settings/utilities/category/const.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/category/const.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/category/const.ts
diff --git a/packages/kbn-management/settings/utilities/category/get_category_counts.ts b/src/platform/packages/shared/kbn-management/settings/utilities/category/get_category_counts.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/category/get_category_counts.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/category/get_category_counts.ts
diff --git a/packages/kbn-management/settings/utilities/category/get_category_name.ts b/src/platform/packages/shared/kbn-management/settings/utilities/category/get_category_name.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/category/get_category_name.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/category/get_category_name.ts
diff --git a/packages/kbn-management/settings/utilities/category/index.ts b/src/platform/packages/shared/kbn-management/settings/utilities/category/index.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/category/index.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/category/index.ts
diff --git a/packages/kbn-management/settings/utilities/field/get_input_value.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/get_input_value.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/get_input_value.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/get_input_value.ts
diff --git a/packages/kbn-management/settings/utilities/field/has_unsaved_change.test.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/has_unsaved_change.test.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/has_unsaved_change.test.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/has_unsaved_change.test.ts
diff --git a/packages/kbn-management/settings/utilities/field/has_unsaved_change.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/has_unsaved_change.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/has_unsaved_change.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/has_unsaved_change.ts
diff --git a/packages/kbn-management/settings/utilities/field/index.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/index.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/index.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/index.ts
diff --git a/packages/kbn-management/settings/utilities/field/is_default_value.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/is_default_value.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/is_default_value.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/is_default_value.ts
diff --git a/packages/kbn-management/settings/utilities/field/use_update.ts b/src/platform/packages/shared/kbn-management/settings/utilities/field/use_update.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/field/use_update.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/field/use_update.ts
diff --git a/packages/kbn-management/settings/utilities/index.ts b/src/platform/packages/shared/kbn-management/settings/utilities/index.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/index.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/index.ts
diff --git a/packages/kbn-management/settings/utilities/kibana.jsonc b/src/platform/packages/shared/kbn-management/settings/utilities/kibana.jsonc
similarity index 100%
rename from packages/kbn-management/settings/utilities/kibana.jsonc
rename to src/platform/packages/shared/kbn-management/settings/utilities/kibana.jsonc
diff --git a/packages/kbn-management/settings/utilities/mocks/capabilities.mock.ts b/src/platform/packages/shared/kbn-management/settings/utilities/mocks/capabilities.mock.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/mocks/capabilities.mock.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/mocks/capabilities.mock.ts
diff --git a/packages/kbn-management/settings/utilities/mocks/settings.mock.ts b/src/platform/packages/shared/kbn-management/settings/utilities/mocks/settings.mock.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/mocks/settings.mock.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/mocks/settings.mock.ts
diff --git a/packages/kbn-management/settings/utilities/package.json b/src/platform/packages/shared/kbn-management/settings/utilities/package.json
similarity index 100%
rename from packages/kbn-management/settings/utilities/package.json
rename to src/platform/packages/shared/kbn-management/settings/utilities/package.json
diff --git a/packages/kbn-management/settings/utilities/setting/index.ts b/src/platform/packages/shared/kbn-management/settings/utilities/setting/index.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/setting/index.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/setting/index.ts
diff --git a/packages/kbn-management/settings/utilities/setting/is_default_value.ts b/src/platform/packages/shared/kbn-management/settings/utilities/setting/is_default_value.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/setting/is_default_value.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/setting/is_default_value.ts
diff --git a/packages/kbn-management/settings/utilities/setting/normalize_settings.test.ts b/src/platform/packages/shared/kbn-management/settings/utilities/setting/normalize_settings.test.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/setting/normalize_settings.test.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/setting/normalize_settings.test.ts
diff --git a/packages/kbn-management/settings/utilities/setting/normalize_settings.ts b/src/platform/packages/shared/kbn-management/settings/utilities/setting/normalize_settings.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/setting/normalize_settings.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/setting/normalize_settings.ts
diff --git a/packages/kbn-management/settings/utilities/storybook/index.ts b/src/platform/packages/shared/kbn-management/settings/utilities/storybook/index.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/storybook/index.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/storybook/index.ts
diff --git a/packages/kbn-management/settings/utilities/storybook/values.ts b/src/platform/packages/shared/kbn-management/settings/utilities/storybook/values.ts
similarity index 100%
rename from packages/kbn-management/settings/utilities/storybook/values.ts
rename to src/platform/packages/shared/kbn-management/settings/utilities/storybook/values.ts
diff --git a/packages/kbn-management/settings/utilities/tsconfig.json b/src/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json
similarity index 85%
rename from packages/kbn-management/settings/utilities/tsconfig.json
rename to src/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json
index 553ed61f4fd90..70445908b2d24 100644
--- a/packages/kbn-management/settings/utilities/tsconfig.json
+++ b/src/platform/packages/shared/kbn-management/settings/utilities/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../../tsconfig.base.json",
+ "extends": "../../../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [
diff --git a/packages/kbn-unsaved-changes-prompt/README.md b/src/platform/packages/shared/kbn-unsaved-changes-prompt/README.md
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/README.md
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/README.md
diff --git a/packages/kbn-unsaved-changes-prompt/index.ts b/src/platform/packages/shared/kbn-unsaved-changes-prompt/index.ts
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/index.ts
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/index.ts
diff --git a/src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js b/src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js
new file mode 100644
index 0000000000000..4c92eb4efbc5d
--- /dev/null
+++ b/src/platform/packages/shared/kbn-unsaved-changes-prompt/jest.config.js
@@ -0,0 +1,14 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the "Elastic License
+ * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
+ * Public License v 1"; you may not use this file except in compliance with, at
+ * your election, the "Elastic License 2.0", the "GNU Affero General Public
+ * License v3.0 only", or the "Server Side Public License, v 1".
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/packages/shared/kbn-unsaved-changes-prompt'],
+};
diff --git a/packages/kbn-unsaved-changes-prompt/kibana.jsonc b/src/platform/packages/shared/kbn-unsaved-changes-prompt/kibana.jsonc
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/kibana.jsonc
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/kibana.jsonc
diff --git a/packages/kbn-unsaved-changes-prompt/package.json b/src/platform/packages/shared/kbn-unsaved-changes-prompt/package.json
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/package.json
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/package.json
diff --git a/packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/index.ts b/src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/index.ts
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/index.ts
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/index.ts
diff --git a/packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx b/src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.test.tsx
diff --git a/packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.tsx b/src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.tsx
similarity index 100%
rename from packages/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.tsx
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/src/unsaved_changes_prompt/unsaved_changes_prompt.tsx
diff --git a/packages/kbn-unsaved-changes-prompt/tsconfig.json b/src/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json
similarity index 79%
rename from packages/kbn-unsaved-changes-prompt/tsconfig.json
rename to src/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json
index a8d349af93f84..f36642a9adb25 100644
--- a/packages/kbn-unsaved-changes-prompt/tsconfig.json
+++ b/src/platform/packages/shared/kbn-unsaved-changes-prompt/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types"
},
diff --git a/src/plugins/console/README.md b/src/platform/plugins/shared/console/README.md
similarity index 85%
rename from src/plugins/console/README.md
rename to src/platform/plugins/shared/console/README.md
index 35921de334380..3b3bc1a5a5ade 100644
--- a/src/plugins/console/README.md
+++ b/src/platform/plugins/shared/console/README.md
@@ -45,23 +45,23 @@ POST /_some_endpoint
## Architecture
Console uses Monaco editor that is wrapped with [`kbn-monaco`](https://github.com/elastic/kibana/blob/main/packages/kbn-monaco/index.ts), so that if needed it can easily be replaced with another editor.
-The autocomplete logic is located in [`autocomplete`](https://github.com/elastic/kibana/blob/main/src/plugins/console/public/lib/autocomplete) folder. Autocomplete rules are computed by classes in `components` sub-folder.
+The autocomplete logic is located in [`autocomplete`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/public/lib/autocomplete) folder. Autocomplete rules are computed by classes in `components` sub-folder.
## Autocomplete definitions
Kibana users benefit greatly from autocomplete suggestions since not all Elasticsearch APIs can be provided with a corresponding UI. Autocomplete suggestions improve usability of Console for any Elasticsearch API endpoint.
Autocomplete definitions are all created in the form of javascript objects loaded from `json` and `js` files.
### Creating definitions
-The [`generated`](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/lib/spec_definitions/json/generated) folder contains definitions created automatically from Elasticsearch specifications. See this [README](https://github.com/elastic/kibana/blob/main/packages/kbn-generate-console-definitions/README.md) file for more information on the `generate-console-definitions` script. The AppEx/Management team (@elastic/kibana-management) regularly runs the script to update the definitions and is planning to automate this process.
+The [`generated`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated) folder contains definitions created automatically from Elasticsearch specifications. See this [README](https://github.com/elastic/kibana/blob/main/packages/kbn-generate-console-definitions/README.md) file for more information on the `generate-console-definitions` script. The AppEx/Management team (@elastic/kibana-management) regularly runs the script to update the definitions and is planning to automate this process.
-Manually created override files in the [`overrides`](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/lib/spec_definitions/json/overrides) folder contain additions for request body parameters since those
+Manually created override files in the [`overrides`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides) folder contain additions for request body parameters since those
are not created by the script. Any other fixes such as documentation links, request methods and patterns and url parameters
should be addressed at the source. That means this should be fixed in Elasticsearch specifications and then
autocomplete definitions can be re-generated with the script.
If there are any endpoints missing completely from the `generated` folder, this should also be addressed at the source, i.e.
Elasticsearch specifications. If for some reason, that is not possible, then additional definitions files
-can be placed in the folder [`manual`]((https://github.com/elastic/kibana/blob/main/src/plugins/console/server/lib/spec_definitions/json/manual)).
+can be placed in the folder [`manual`]((https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/lib/spec_definitions/json/manual)).
### Top level keys
Use following top level keys in the definitions objects.
@@ -270,7 +270,7 @@ Use this type to copy a configuration object specified in a different endpoint d
}
```
#### Global scope (`GLOBAL`)
-Use `GLOBAL` keyword with `__scope_link` to refer to a reusable set of definitions created in the [`globals`](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/lib/spec_definitions/js/globals.ts) file.
+Use `GLOBAL` keyword with `__scope_link` to refer to a reusable set of definitions created in the [`globals`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/lib/spec_definitions/js/globals.ts) file.
For example:
```json
{
@@ -282,12 +282,12 @@ For example:
}
```
#### Conditional definition (`__condition: { lines_regex: ... }`)
-To provide a different set of autocomplete suggestions based on the value configured in the request. For example, when creating a snapshot repository of different types (`fs`, `url` etc) different properties are displayed in the suggestions list based on the type. See [snapshot.create_repository.json](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json) for an example.
+To provide a different set of autocomplete suggestions based on the value configured in the request. For example, when creating a snapshot repository of different types (`fs`, `url` etc) different properties are displayed in the suggestions list based on the type. See [snapshot.create_repository.json](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json) for an example.
### Dynamic parameters
Some autocomplete definitions need to be configured with dynamic values that can't be hard coded into a json or js file, for example a list of indices in the cluster.
-A list of dynamic parameters is defined in the `parametrizedComponentFactories` function in [`kb.js`](https://github.com/elastic/kibana/blob/main/src/plugins/console/public/lib/kb/kb.js) file. The values of these parameters are assigned dynamically for every cluster.
+A list of dynamic parameters is defined in the `parametrizedComponentFactories` function in [`kb.js`](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/public/lib/kb/kb.js) file. The values of these parameters are assigned dynamically for every cluster.
Use these dynamic parameters with curly braces, for example `{index}`, `{fields}`, `{template}` etc.
Dynamic parameters can be used in url patterns, for example `{index}/_search`. Url patterns can also contain unknown parameters just to indicate that any value can be used in the url, for example in the url `/_ilm/policy/{policy}` the value for `{policy}` can be any accepted policy name and the dynamic parameter `{policy}` is not defined in the autocomplete engine.
@@ -305,14 +305,14 @@ For request body parameters, only known dynamic properties are allowed. For exam
If an unknown dynamic parameter (for example, `{my_param}`) is used in request body parameters, a warning will be logged in the browser: `[Console] no factory found for 'my_param'`.
### Architecture changes in 8.3 release (timeline: 07-04-2022 - 19-06-2022)
-One of the main changes in architecture is refactoring the retrieval of autocomplete suggestions. Console used to send a separate request to ES for each autocomplete entity (mappings, aliases, templates, data-streams etc) to retrieve the autocomplete suggestions via the original [hand-rolled ES proxy](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/routes/api/console/proxy/create_handler.ts). This had a few drawbacks:
+One of the main changes in architecture is refactoring the retrieval of autocomplete suggestions. Console used to send a separate request to ES for each autocomplete entity (mappings, aliases, templates, data-streams etc) to retrieve the autocomplete suggestions via the original [hand-rolled ES proxy](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/routes/api/console/proxy/create_handler.ts). This had a few drawbacks:
- The number of requests was dependent on the number of autocomplete entities, which was not scalable and could cause performance issues
- It added unnecessary dependencies on the ES proxy
- We risked fetching an enormous response payload for users who have a large number of mappings.
-To address these issues, we created a specific [route](https://github.com/elastic/kibana/blob/main/src/plugins/console/server/routes/api/console/autocomplete_entities/index.ts) in the Kibana server to retrieve all autocomplete entities in one request and send it to the client. The response for mappings capped to 10MB to avoid sending a huge payload. The client-side code was refactored to use the new response format. For more details, see [#130633](https://github.com/elastic/kibana/pull/130633).
+To address these issues, we created a specific [route](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/server/routes/api/console/autocomplete_entities/index.ts) in the Kibana server to retrieve all autocomplete entities in one request and send it to the client. The response for mappings capped to 10MB to avoid sending a huge payload. The client-side code was refactored to use the new response format. For more details, see [#130633](https://github.com/elastic/kibana/pull/130633).
-Another change is replacing jQuery with the core http client to communicate with the Kibana server. Console used a custom jQuery ajax [function](https://github.com/elastic/kibana/blob/8.0/src/plugins/console/public/lib/es/es.ts) to send requests to the Kibana server to have lower-level control over the requests, specifically controls like `crossDomain: true`. This is no longer needed since we are using the core http client. For more details, see [#127867](https://github.com/elastic/kibana/pull/127867).
+Another change is replacing jQuery with the core http client to communicate with the Kibana server. Console used a custom jQuery ajax [function](https://github.com/elastic/kibana/blob/8.0/src/platform/plugins/shared/console/public/lib/es/es.ts) to send requests to the Kibana server to have lower-level control over the requests, specifically controls like `crossDomain: true`. This is no longer needed since we are using the core http client. For more details, see [#127867](https://github.com/elastic/kibana/pull/127867).
### Outstanding issues
#### Autocomplete suggestions for Kibana API endpoints
diff --git a/src/plugins/console/common/constants/api.ts b/src/platform/plugins/shared/console/common/constants/api.ts
similarity index 100%
rename from src/plugins/console/common/constants/api.ts
rename to src/platform/plugins/shared/console/common/constants/api.ts
diff --git a/src/plugins/console/common/constants/autocomplete_definitions.ts b/src/platform/plugins/shared/console/common/constants/autocomplete_definitions.ts
similarity index 100%
rename from src/plugins/console/common/constants/autocomplete_definitions.ts
rename to src/platform/plugins/shared/console/common/constants/autocomplete_definitions.ts
diff --git a/src/plugins/console/common/constants/copy_as.ts b/src/platform/plugins/shared/console/common/constants/copy_as.ts
similarity index 100%
rename from src/plugins/console/common/constants/copy_as.ts
rename to src/platform/plugins/shared/console/common/constants/copy_as.ts
diff --git a/src/plugins/console/common/constants/editor_input.ts b/src/platform/plugins/shared/console/common/constants/editor_input.ts
similarity index 100%
rename from src/plugins/console/common/constants/editor_input.ts
rename to src/platform/plugins/shared/console/common/constants/editor_input.ts
diff --git a/src/plugins/console/common/constants/index.ts b/src/platform/plugins/shared/console/common/constants/index.ts
similarity index 100%
rename from src/plugins/console/common/constants/index.ts
rename to src/platform/plugins/shared/console/common/constants/index.ts
diff --git a/src/plugins/console/common/constants/plugin.ts b/src/platform/plugins/shared/console/common/constants/plugin.ts
similarity index 100%
rename from src/plugins/console/common/constants/plugin.ts
rename to src/platform/plugins/shared/console/common/constants/plugin.ts
diff --git a/src/plugins/console/common/constants/variables.ts b/src/platform/plugins/shared/console/common/constants/variables.ts
similarity index 100%
rename from src/plugins/console/common/constants/variables.ts
rename to src/platform/plugins/shared/console/common/constants/variables.ts
diff --git a/src/plugins/console/common/constants/welcome_panel.ts b/src/platform/plugins/shared/console/common/constants/welcome_panel.ts
similarity index 100%
rename from src/plugins/console/common/constants/welcome_panel.ts
rename to src/platform/plugins/shared/console/common/constants/welcome_panel.ts
diff --git a/src/plugins/console/common/text_object.ts b/src/platform/plugins/shared/console/common/text_object.ts
similarity index 100%
rename from src/plugins/console/common/text_object.ts
rename to src/platform/plugins/shared/console/common/text_object.ts
diff --git a/src/plugins/console/common/types/api_responses.ts b/src/platform/plugins/shared/console/common/types/api_responses.ts
similarity index 100%
rename from src/plugins/console/common/types/api_responses.ts
rename to src/platform/plugins/shared/console/common/types/api_responses.ts
diff --git a/src/plugins/console/common/types/autocomplete_definitions.ts b/src/platform/plugins/shared/console/common/types/autocomplete_definitions.ts
similarity index 100%
rename from src/plugins/console/common/types/autocomplete_definitions.ts
rename to src/platform/plugins/shared/console/common/types/autocomplete_definitions.ts
diff --git a/src/plugins/console/common/types/index.ts b/src/platform/plugins/shared/console/common/types/index.ts
similarity index 100%
rename from src/plugins/console/common/types/index.ts
rename to src/platform/plugins/shared/console/common/types/index.ts
diff --git a/src/plugins/console/common/types/models.ts b/src/platform/plugins/shared/console/common/types/models.ts
similarity index 100%
rename from src/plugins/console/common/types/models.ts
rename to src/platform/plugins/shared/console/common/types/models.ts
diff --git a/src/plugins/console/common/types/plugin_config.ts b/src/platform/plugins/shared/console/common/types/plugin_config.ts
similarity index 100%
rename from src/plugins/console/common/types/plugin_config.ts
rename to src/platform/plugins/shared/console/common/types/plugin_config.ts
diff --git a/src/plugins/es_ui_shared/jest.config.js b/src/platform/plugins/shared/console/jest.config.js
similarity index 74%
rename from src/plugins/es_ui_shared/jest.config.js
rename to src/platform/plugins/shared/console/jest.config.js
index e120ae9b0ef8c..12edf4d1f4cf6 100644
--- a/src/plugins/es_ui_shared/jest.config.js
+++ b/src/platform/plugins/shared/console/jest.config.js
@@ -9,11 +9,11 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/src/plugins/es_ui_shared'],
- coverageDirectory: '/target/kibana-coverage/jest/src/plugins/es_ui_shared',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/plugins/shared/console'],
+ coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/console',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/src/plugins/es_ui_shared/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}',
+ '/src/platform/plugins/shared/console/{common,public,server}/**/*.{js,ts,tsx}',
],
};
diff --git a/src/plugins/console/kibana.jsonc b/src/platform/plugins/shared/console/kibana.jsonc
similarity index 100%
rename from src/plugins/console/kibana.jsonc
rename to src/platform/plugins/shared/console/kibana.jsonc
diff --git a/src/plugins/console/public/application/components/console_menu.tsx b/src/platform/plugins/shared/console/public/application/components/console_menu.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/console_menu.tsx
rename to src/platform/plugins/shared/console/public/application/components/console_menu.tsx
diff --git a/src/plugins/console/public/application/components/console_tour_step.tsx b/src/platform/plugins/shared/console/public/application/components/console_tour_step.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/console_tour_step.tsx
rename to src/platform/plugins/shared/console/public/application/components/console_tour_step.tsx
diff --git a/src/plugins/console/public/application/components/editor_content_spinner.tsx b/src/platform/plugins/shared/console/public/application/components/editor_content_spinner.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/editor_content_spinner.tsx
rename to src/platform/plugins/shared/console/public/application/components/editor_content_spinner.tsx
diff --git a/src/plugins/console/public/application/components/help_popover.tsx b/src/platform/plugins/shared/console/public/application/components/help_popover.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/help_popover.tsx
rename to src/platform/plugins/shared/console/public/application/components/help_popover.tsx
diff --git a/src/plugins/console/public/application/components/index.ts b/src/platform/plugins/shared/console/public/application/components/index.ts
similarity index 100%
rename from src/plugins/console/public/application/components/index.ts
rename to src/platform/plugins/shared/console/public/application/components/index.ts
diff --git a/src/plugins/console/public/application/components/network_request_status_bar/index.ts b/src/platform/plugins/shared/console/public/application/components/network_request_status_bar/index.ts
similarity index 100%
rename from src/plugins/console/public/application/components/network_request_status_bar/index.ts
rename to src/platform/plugins/shared/console/public/application/components/network_request_status_bar/index.ts
diff --git a/src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx b/src/platform/plugins/shared/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx
rename to src/platform/plugins/shared/console/public/application/components/network_request_status_bar/network_request_status_bar.tsx
diff --git a/src/plugins/console/public/application/components/output_panel_empty_state.tsx b/src/platform/plugins/shared/console/public/application/components/output_panel_empty_state.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/output_panel_empty_state.tsx
rename to src/platform/plugins/shared/console/public/application/components/output_panel_empty_state.tsx
diff --git a/src/plugins/console/public/application/components/settings/index.ts b/src/platform/plugins/shared/console/public/application/components/settings/index.ts
similarity index 100%
rename from src/plugins/console/public/application/components/settings/index.ts
rename to src/platform/plugins/shared/console/public/application/components/settings/index.ts
diff --git a/src/plugins/console/public/application/components/settings/settings_editor.tsx b/src/platform/plugins/shared/console/public/application/components/settings/settings_editor.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/settings/settings_editor.tsx
rename to src/platform/plugins/shared/console/public/application/components/settings/settings_editor.tsx
diff --git a/src/plugins/console/public/application/components/settings/settings_form_row.tsx b/src/platform/plugins/shared/console/public/application/components/settings/settings_form_row.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/settings/settings_form_row.tsx
rename to src/platform/plugins/shared/console/public/application/components/settings/settings_form_row.tsx
diff --git a/src/plugins/console/public/application/components/settings/settings_group.tsx b/src/platform/plugins/shared/console/public/application/components/settings/settings_group.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/settings/settings_group.tsx
rename to src/platform/plugins/shared/console/public/application/components/settings/settings_group.tsx
diff --git a/src/plugins/console/public/application/components/settings/types.ts b/src/platform/plugins/shared/console/public/application/components/settings/types.ts
similarity index 100%
rename from src/plugins/console/public/application/components/settings/types.ts
rename to src/platform/plugins/shared/console/public/application/components/settings/types.ts
diff --git a/src/plugins/console/public/application/components/shortcuts_popover/index.ts b/src/platform/plugins/shared/console/public/application/components/shortcuts_popover/index.ts
similarity index 100%
rename from src/plugins/console/public/application/components/shortcuts_popover/index.ts
rename to src/platform/plugins/shared/console/public/application/components/shortcuts_popover/index.ts
diff --git a/src/plugins/console/public/application/components/shortcuts_popover/keys.tsx b/src/platform/plugins/shared/console/public/application/components/shortcuts_popover/keys.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/shortcuts_popover/keys.tsx
rename to src/platform/plugins/shared/console/public/application/components/shortcuts_popover/keys.tsx
diff --git a/src/plugins/console/public/application/components/shortcuts_popover/shortcut_line.tsx b/src/platform/plugins/shared/console/public/application/components/shortcuts_popover/shortcut_line.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/shortcuts_popover/shortcut_line.tsx
rename to src/platform/plugins/shared/console/public/application/components/shortcuts_popover/shortcut_line.tsx
diff --git a/src/plugins/console/public/application/components/shortcuts_popover/shortcuts_popover.tsx b/src/platform/plugins/shared/console/public/application/components/shortcuts_popover/shortcuts_popover.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/shortcuts_popover/shortcuts_popover.tsx
rename to src/platform/plugins/shared/console/public/application/components/shortcuts_popover/shortcuts_popover.tsx
diff --git a/src/plugins/console/public/application/components/something_went_wrong_callout.tsx b/src/platform/plugins/shared/console/public/application/components/something_went_wrong_callout.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/something_went_wrong_callout.tsx
rename to src/platform/plugins/shared/console/public/application/components/something_went_wrong_callout.tsx
diff --git a/src/plugins/console/public/application/components/storage_quota_error.tsx b/src/platform/plugins/shared/console/public/application/components/storage_quota_error.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/storage_quota_error.tsx
rename to src/platform/plugins/shared/console/public/application/components/storage_quota_error.tsx
diff --git a/src/plugins/console/public/application/components/top_nav_menu.tsx b/src/platform/plugins/shared/console/public/application/components/top_nav_menu.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/top_nav_menu.tsx
rename to src/platform/plugins/shared/console/public/application/components/top_nav_menu.tsx
diff --git a/src/plugins/console/public/application/components/variables/index.ts b/src/platform/plugins/shared/console/public/application/components/variables/index.ts
similarity index 100%
rename from src/plugins/console/public/application/components/variables/index.ts
rename to src/platform/plugins/shared/console/public/application/components/variables/index.ts
diff --git a/src/plugins/console/public/application/components/variables/types.ts b/src/platform/plugins/shared/console/public/application/components/variables/types.ts
similarity index 100%
rename from src/plugins/console/public/application/components/variables/types.ts
rename to src/platform/plugins/shared/console/public/application/components/variables/types.ts
diff --git a/src/plugins/console/public/application/components/variables/utils.test.ts b/src/platform/plugins/shared/console/public/application/components/variables/utils.test.ts
similarity index 100%
rename from src/plugins/console/public/application/components/variables/utils.test.ts
rename to src/platform/plugins/shared/console/public/application/components/variables/utils.test.ts
diff --git a/src/plugins/console/public/application/components/variables/utils.ts b/src/platform/plugins/shared/console/public/application/components/variables/utils.ts
similarity index 100%
rename from src/plugins/console/public/application/components/variables/utils.ts
rename to src/platform/plugins/shared/console/public/application/components/variables/utils.ts
diff --git a/src/plugins/console/public/application/components/variables/variables_editor.tsx b/src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/variables/variables_editor.tsx
rename to src/platform/plugins/shared/console/public/application/components/variables/variables_editor.tsx
diff --git a/src/plugins/console/public/application/components/variables/variables_editor_form.tsx b/src/platform/plugins/shared/console/public/application/components/variables/variables_editor_form.tsx
similarity index 100%
rename from src/plugins/console/public/application/components/variables/variables_editor_form.tsx
rename to src/platform/plugins/shared/console/public/application/components/variables/variables_editor_form.tsx
diff --git a/src/plugins/console/public/application/containers/config/config.tsx b/src/platform/plugins/shared/console/public/application/containers/config/config.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/config/config.tsx
rename to src/platform/plugins/shared/console/public/application/containers/config/config.tsx
diff --git a/src/plugins/console/public/application/containers/config/index.ts b/src/platform/plugins/shared/console/public/application/containers/config/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/config/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/config/index.ts
diff --git a/src/plugins/console/public/application/containers/config/settings.tsx b/src/platform/plugins/shared/console/public/application/containers/config/settings.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/config/settings.tsx
rename to src/platform/plugins/shared/console/public/application/containers/config/settings.tsx
diff --git a/src/plugins/console/public/application/containers/config/variables.tsx b/src/platform/plugins/shared/console/public/application/containers/config/variables.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/config/variables.tsx
rename to src/platform/plugins/shared/console/public/application/containers/config/variables.tsx
diff --git a/src/plugins/console/public/application/containers/editor/components/context_menu/context_menu.tsx b/src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/context_menu.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/components/context_menu/context_menu.tsx
rename to src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/context_menu.tsx
diff --git a/src/plugins/console/public/application/containers/editor/components/context_menu/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/components/context_menu/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/components/context_menu/language_selector_modal.tsx b/src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/language_selector_modal.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/components/context_menu/language_selector_modal.tsx
rename to src/platform/plugins/shared/console/public/application/containers/editor/components/context_menu/language_selector_modal.tsx
diff --git a/src/plugins/console/public/application/containers/editor/components/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/components/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/components/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/components/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/editor.tsx b/src/platform/plugins/shared/console/public/application/containers/editor/editor.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/editor.tsx
rename to src/platform/plugins/shared/console/public/application/containers/editor/editor.tsx
diff --git a/src/plugins/console/public/application/containers/editor/hooks/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_register_keyboard_commands.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_register_keyboard_commands.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_register_keyboard_commands.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_register_keyboard_commands.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_resize_checker_utils.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_resize_checker_utils.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_resize_checker_utils.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_resize_checker_utils.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_set_initial_value.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_set_initial_value.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_set_initial_value.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_set_initial_value.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_set_initial_value.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_set_initial_value.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_set_initial_value.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_set_initial_value.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_setup_autocomplete_polling.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_setup_autocomplete_polling.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_setup_autocomplete_polling.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_setup_autocomplete_polling.ts
diff --git a/src/plugins/console/public/application/containers/editor/hooks/use_setup_autosave.ts b/src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_setup_autosave.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/hooks/use_setup_autosave.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/hooks/use_setup_autosave.ts
diff --git a/src/plugins/console/public/application/containers/editor/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor.tsx b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor.tsx
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor.tsx
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor_actions_provider.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_actions_provider.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor_actions_provider.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_actions_provider.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor_actions_provider.ts b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_actions_provider.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor_actions_provider.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_actions_provider.ts
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor_output.tsx b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_output.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor_output.tsx
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_output.tsx
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor_output_actions_provider.ts b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_output_actions_provider.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor_output_actions_provider.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_output_actions_provider.ts
diff --git a/src/plugins/console/public/application/containers/editor/monaco_editor_suggestion_provider.ts b/src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_suggestion_provider.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/monaco_editor_suggestion_provider.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/monaco_editor_suggestion_provider.ts
diff --git a/src/plugins/console/public/application/containers/editor/types.ts b/src/platform/plugins/shared/console/public/application/containers/editor/types.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/types.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/types.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/autocomplete_utils.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/autocomplete_utils.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/autocomplete_utils.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/autocomplete_utils.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/autocomplete_utils.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/autocomplete_utils.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/autocomplete_utils.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/autocomplete_utils.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/constants.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/constants.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/constants.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/constants.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/convert_mapbox_vector_tile_to_json.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/index.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/index.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/response.pbf b/src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/response.pbf
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/mapbox_vector_tile/response.pbf
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/mapbox_vector_tile/response.pbf
diff --git a/src/plugins/console/public/application/containers/editor/utils/output_data.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/output_data.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/output_data.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/output_data.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/requests_utils.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/requests_utils.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/requests_utils.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/requests_utils.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/requests_utils.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/requests_utils.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/requests_utils.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/requests_utils.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/status_code_decoration_utils.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/status_code_decoration_utils.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/status_code_decoration_utils.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/status_code_decoration_utils.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/status_code_decoration_utils.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/status_code_decoration_utils.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/status_code_decoration_utils.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/status_code_decoration_utils.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/tokens_utils.test.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/tokens_utils.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/tokens_utils.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/tokens_utils.test.ts
diff --git a/src/plugins/console/public/application/containers/editor/utils/tokens_utils.ts b/src/platform/plugins/shared/console/public/application/containers/editor/utils/tokens_utils.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/editor/utils/tokens_utils.ts
rename to src/platform/plugins/shared/console/public/application/containers/editor/utils/tokens_utils.ts
diff --git a/src/plugins/console/public/application/containers/embeddable/_embeddable_console.scss b/src/platform/plugins/shared/console/public/application/containers/embeddable/_embeddable_console.scss
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/_embeddable_console.scss
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/_embeddable_console.scss
diff --git a/src/plugins/console/public/application/containers/embeddable/_index.scss b/src/platform/plugins/shared/console/public/application/containers/embeddable/_index.scss
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/_index.scss
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/_index.scss
diff --git a/src/plugins/console/public/application/containers/embeddable/_variables.scss b/src/platform/plugins/shared/console/public/application/containers/embeddable/_variables.scss
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/_variables.scss
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/_variables.scss
diff --git a/src/plugins/console/public/application/containers/embeddable/console_resize_button.test.ts b/src/platform/plugins/shared/console/public/application/containers/embeddable/console_resize_button.test.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/console_resize_button.test.ts
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/console_resize_button.test.ts
diff --git a/src/plugins/console/public/application/containers/embeddable/console_resize_button.tsx b/src/platform/plugins/shared/console/public/application/containers/embeddable/console_resize_button.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/console_resize_button.tsx
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/console_resize_button.tsx
diff --git a/src/plugins/console/public/application/containers/embeddable/console_wrapper.tsx b/src/platform/plugins/shared/console/public/application/containers/embeddable/console_wrapper.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/console_wrapper.tsx
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/console_wrapper.tsx
diff --git a/src/plugins/console/public/application/containers/embeddable/embeddable_console.tsx b/src/platform/plugins/shared/console/public/application/containers/embeddable/embeddable_console.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/embeddable_console.tsx
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/embeddable_console.tsx
diff --git a/src/plugins/console/public/application/containers/embeddable/index.tsx b/src/platform/plugins/shared/console/public/application/containers/embeddable/index.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/embeddable/index.tsx
rename to src/platform/plugins/shared/console/public/application/containers/embeddable/index.tsx
diff --git a/src/plugins/console/public/application/containers/history/history.tsx b/src/platform/plugins/shared/console/public/application/containers/history/history.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/history/history.tsx
rename to src/platform/plugins/shared/console/public/application/containers/history/history.tsx
diff --git a/src/plugins/console/public/application/containers/history/history_empty.tsx b/src/platform/plugins/shared/console/public/application/containers/history/history_empty.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/history/history_empty.tsx
rename to src/platform/plugins/shared/console/public/application/containers/history/history_empty.tsx
diff --git a/src/plugins/console/public/application/containers/history/history_viewer_monaco.tsx b/src/platform/plugins/shared/console/public/application/containers/history/history_viewer_monaco.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/history/history_viewer_monaco.tsx
rename to src/platform/plugins/shared/console/public/application/containers/history/history_viewer_monaco.tsx
diff --git a/src/plugins/console/public/application/containers/history/index.ts b/src/platform/plugins/shared/console/public/application/containers/history/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/history/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/history/index.ts
diff --git a/src/plugins/console/public/application/containers/index.ts b/src/platform/plugins/shared/console/public/application/containers/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/index.ts
diff --git a/src/plugins/console/public/application/containers/main/constants.ts b/src/platform/plugins/shared/console/public/application/containers/main/constants.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/main/constants.ts
rename to src/platform/plugins/shared/console/public/application/containers/main/constants.ts
diff --git a/src/plugins/console/public/application/containers/main/get_console_tour_step_props.tsx b/src/platform/plugins/shared/console/public/application/containers/main/get_console_tour_step_props.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/main/get_console_tour_step_props.tsx
rename to src/platform/plugins/shared/console/public/application/containers/main/get_console_tour_step_props.tsx
diff --git a/src/plugins/console/public/application/containers/main/get_top_nav.ts b/src/platform/plugins/shared/console/public/application/containers/main/get_top_nav.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/main/get_top_nav.ts
rename to src/platform/plugins/shared/console/public/application/containers/main/get_top_nav.ts
diff --git a/src/plugins/console/public/application/containers/main/get_tour_steps.tsx b/src/platform/plugins/shared/console/public/application/containers/main/get_tour_steps.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/main/get_tour_steps.tsx
rename to src/platform/plugins/shared/console/public/application/containers/main/get_tour_steps.tsx
diff --git a/src/plugins/console/public/application/containers/main/i18n.ts b/src/platform/plugins/shared/console/public/application/containers/main/i18n.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/main/i18n.ts
rename to src/platform/plugins/shared/console/public/application/containers/main/i18n.ts
diff --git a/src/plugins/console/public/application/containers/main/import_confirm_modal.tsx b/src/platform/plugins/shared/console/public/application/containers/main/import_confirm_modal.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/main/import_confirm_modal.tsx
rename to src/platform/plugins/shared/console/public/application/containers/main/import_confirm_modal.tsx
diff --git a/src/plugins/console/public/application/containers/main/index.ts b/src/platform/plugins/shared/console/public/application/containers/main/index.ts
similarity index 100%
rename from src/plugins/console/public/application/containers/main/index.ts
rename to src/platform/plugins/shared/console/public/application/containers/main/index.ts
diff --git a/src/plugins/console/public/application/containers/main/main.tsx b/src/platform/plugins/shared/console/public/application/containers/main/main.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/main/main.tsx
rename to src/platform/plugins/shared/console/public/application/containers/main/main.tsx
diff --git a/src/plugins/console/public/application/containers/main/nav_icon_button.tsx b/src/platform/plugins/shared/console/public/application/containers/main/nav_icon_button.tsx
similarity index 100%
rename from src/plugins/console/public/application/containers/main/nav_icon_button.tsx
rename to src/platform/plugins/shared/console/public/application/containers/main/nav_icon_button.tsx
diff --git a/src/plugins/console/public/application/contexts/create_use_context.ts b/src/platform/plugins/shared/console/public/application/contexts/create_use_context.ts
similarity index 100%
rename from src/plugins/console/public/application/contexts/create_use_context.ts
rename to src/platform/plugins/shared/console/public/application/contexts/create_use_context.ts
diff --git a/src/plugins/console/public/application/contexts/editor_context/editor_context.tsx b/src/platform/plugins/shared/console/public/application/contexts/editor_context/editor_context.tsx
similarity index 100%
rename from src/plugins/console/public/application/contexts/editor_context/editor_context.tsx
rename to src/platform/plugins/shared/console/public/application/contexts/editor_context/editor_context.tsx
diff --git a/src/plugins/console/public/application/contexts/editor_context/editor_registry.ts b/src/platform/plugins/shared/console/public/application/contexts/editor_context/editor_registry.ts
similarity index 100%
rename from src/plugins/console/public/application/contexts/editor_context/editor_registry.ts
rename to src/platform/plugins/shared/console/public/application/contexts/editor_context/editor_registry.ts
diff --git a/src/plugins/console/public/application/contexts/editor_context/index.ts b/src/platform/plugins/shared/console/public/application/contexts/editor_context/index.ts
similarity index 100%
rename from src/plugins/console/public/application/contexts/editor_context/index.ts
rename to src/platform/plugins/shared/console/public/application/contexts/editor_context/index.ts
diff --git a/src/plugins/console/public/application/contexts/index.ts b/src/platform/plugins/shared/console/public/application/contexts/index.ts
similarity index 100%
rename from src/plugins/console/public/application/contexts/index.ts
rename to src/platform/plugins/shared/console/public/application/contexts/index.ts
diff --git a/src/plugins/console/public/application/contexts/request_context.tsx b/src/platform/plugins/shared/console/public/application/contexts/request_context.tsx
similarity index 100%
rename from src/plugins/console/public/application/contexts/request_context.tsx
rename to src/platform/plugins/shared/console/public/application/contexts/request_context.tsx
diff --git a/src/plugins/console/public/application/contexts/services_context.mock.ts b/src/platform/plugins/shared/console/public/application/contexts/services_context.mock.ts
similarity index 100%
rename from src/plugins/console/public/application/contexts/services_context.mock.ts
rename to src/platform/plugins/shared/console/public/application/contexts/services_context.mock.ts
diff --git a/src/plugins/console/public/application/contexts/services_context.tsx b/src/platform/plugins/shared/console/public/application/contexts/services_context.tsx
similarity index 100%
rename from src/plugins/console/public/application/contexts/services_context.tsx
rename to src/platform/plugins/shared/console/public/application/contexts/services_context.tsx
diff --git a/src/plugins/console/public/application/factories/index.ts b/src/platform/plugins/shared/console/public/application/factories/index.ts
similarity index 100%
rename from src/plugins/console/public/application/factories/index.ts
rename to src/platform/plugins/shared/console/public/application/factories/index.ts
diff --git a/src/plugins/console/public/application/factories/token_iterator.ts b/src/platform/plugins/shared/console/public/application/factories/token_iterator.ts
similarity index 100%
rename from src/plugins/console/public/application/factories/token_iterator.ts
rename to src/platform/plugins/shared/console/public/application/factories/token_iterator.ts
diff --git a/src/plugins/console/public/application/hooks/README.md b/src/platform/plugins/shared/console/public/application/hooks/README.md
similarity index 100%
rename from src/plugins/console/public/application/hooks/README.md
rename to src/platform/plugins/shared/console/public/application/hooks/README.md
diff --git a/src/plugins/console/public/application/hooks/index.ts b/src/platform/plugins/shared/console/public/application/hooks/index.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/index.ts
rename to src/platform/plugins/shared/console/public/application/hooks/index.ts
diff --git a/src/plugins/console/public/application/hooks/use_data_init/data_migration.ts b/src/platform/plugins/shared/console/public/application/hooks/use_data_init/data_migration.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_data_init/data_migration.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_data_init/data_migration.ts
diff --git a/src/plugins/console/public/application/hooks/use_data_init/index.ts b/src/platform/plugins/shared/console/public/application/hooks/use_data_init/index.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_data_init/index.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_data_init/index.ts
diff --git a/src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts b/src/platform/plugins/shared/console/public/application/hooks/use_data_init/use_data_init.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_data_init/use_data_init.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_data_init/use_data_init.ts
diff --git a/src/plugins/console/public/application/hooks/use_save_current_text_object.ts b/src/platform/plugins/shared/console/public/application/hooks/use_save_current_text_object.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_save_current_text_object.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_save_current_text_object.ts
diff --git a/src/plugins/console/public/application/hooks/use_send_current_request/index.ts b/src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/index.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_send_current_request/index.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/index.ts
diff --git a/src/plugins/console/public/application/hooks/use_send_current_request/send_request.test.ts b/src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/send_request.test.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_send_current_request/send_request.test.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/send_request.test.ts
diff --git a/src/plugins/console/public/application/hooks/use_send_current_request/send_request.ts b/src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/send_request.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_send_current_request/send_request.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_send_current_request/send_request.ts
diff --git a/src/plugins/console/public/application/hooks/use_set_input_editor.ts b/src/platform/plugins/shared/console/public/application/hooks/use_set_input_editor.ts
similarity index 100%
rename from src/plugins/console/public/application/hooks/use_set_input_editor.ts
rename to src/platform/plugins/shared/console/public/application/hooks/use_set_input_editor.ts
diff --git a/src/plugins/console/public/application/index.tsx b/src/platform/plugins/shared/console/public/application/index.tsx
similarity index 100%
rename from src/plugins/console/public/application/index.tsx
rename to src/platform/plugins/shared/console/public/application/index.tsx
diff --git a/src/plugins/console/public/application/lib/api.ts b/src/platform/plugins/shared/console/public/application/lib/api.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/api.ts
rename to src/platform/plugins/shared/console/public/application/lib/api.ts
diff --git a/src/plugins/console/public/application/lib/es_host_service.ts b/src/platform/plugins/shared/console/public/application/lib/es_host_service.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/es_host_service.ts
rename to src/platform/plugins/shared/console/public/application/lib/es_host_service.ts
diff --git a/src/plugins/console/public/application/lib/format_request.ts b/src/platform/plugins/shared/console/public/application/lib/format_request.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/format_request.ts
rename to src/platform/plugins/shared/console/public/application/lib/format_request.ts
diff --git a/src/plugins/console/public/application/lib/index.ts b/src/platform/plugins/shared/console/public/application/lib/index.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/index.ts
rename to src/platform/plugins/shared/console/public/application/lib/index.ts
diff --git a/src/plugins/console/public/application/lib/load_from.test.ts b/src/platform/plugins/shared/console/public/application/lib/load_from.test.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/load_from.test.ts
rename to src/platform/plugins/shared/console/public/application/lib/load_from.test.ts
diff --git a/src/plugins/console/public/application/lib/load_from.ts b/src/platform/plugins/shared/console/public/application/lib/load_from.ts
similarity index 100%
rename from src/plugins/console/public/application/lib/load_from.ts
rename to src/platform/plugins/shared/console/public/application/lib/load_from.ts
diff --git a/src/plugins/console/public/application/logo.svg b/src/platform/plugins/shared/console/public/application/logo.svg
similarity index 100%
rename from src/plugins/console/public/application/logo.svg
rename to src/platform/plugins/shared/console/public/application/logo.svg
diff --git a/src/plugins/console/public/application/stores/editor.ts b/src/platform/plugins/shared/console/public/application/stores/editor.ts
similarity index 100%
rename from src/plugins/console/public/application/stores/editor.ts
rename to src/platform/plugins/shared/console/public/application/stores/editor.ts
diff --git a/src/plugins/console/public/application/stores/embeddable_console.ts b/src/platform/plugins/shared/console/public/application/stores/embeddable_console.ts
similarity index 100%
rename from src/plugins/console/public/application/stores/embeddable_console.ts
rename to src/platform/plugins/shared/console/public/application/stores/embeddable_console.ts
diff --git a/src/plugins/console/public/application/stores/request.ts b/src/platform/plugins/shared/console/public/application/stores/request.ts
similarity index 100%
rename from src/plugins/console/public/application/stores/request.ts
rename to src/platform/plugins/shared/console/public/application/stores/request.ts
diff --git a/src/plugins/console/public/index.scss b/src/platform/plugins/shared/console/public/index.scss
similarity index 100%
rename from src/plugins/console/public/index.scss
rename to src/platform/plugins/shared/console/public/index.scss
diff --git a/src/plugins/console/public/index.ts b/src/platform/plugins/shared/console/public/index.ts
similarity index 100%
rename from src/plugins/console/public/index.ts
rename to src/platform/plugins/shared/console/public/index.ts
diff --git a/src/plugins/console/public/lib/autocomplete/body_completer.js b/src/platform/plugins/shared/console/public/lib/autocomplete/body_completer.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/body_completer.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/body_completer.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/accept_endpoint_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/accept_endpoint_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/accept_endpoint_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/component_template_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/component_template_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/component_template_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/component_template_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/conditional_proxy.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/conditional_proxy.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/conditional_proxy.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/constant_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/constant_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/constant_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/constant_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/data_stream_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/data_stream_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/data_stream_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/data_stream_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/field_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/field_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/field_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/full_request_component.ts b/src/platform/plugins/shared/console/public/lib/autocomplete/components/full_request_component.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/full_request_component.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/full_request_component.ts
diff --git a/src/plugins/console/public/lib/autocomplete/components/global_only_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/global_only_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/global_only_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/global_only_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/index.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/index.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/index.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/index.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/index_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/index_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/index_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/index_template_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/index_template_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/index_template_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/index_template_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/legacy/index.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/legacy/index.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/legacy/index.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/legacy/index.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/legacy/legacy_template_autocomplete_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/legacy/legacy_template_autocomplete_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/legacy/legacy_template_autocomplete_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/legacy/legacy_template_autocomplete_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/list_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/list_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/list_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/list_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/object_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/object_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/object_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/object_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/shared_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/shared_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/shared_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/shared_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/simple_param_component.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/simple_param_component.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/simple_param_component.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/simple_param_component.js
diff --git a/src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js b/src/platform/plugins/shared/console/public/lib/autocomplete/components/url_pattern_matcher.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/components/url_pattern_matcher.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/components/url_pattern_matcher.js
diff --git a/src/plugins/console/public/lib/autocomplete/engine.js b/src/platform/plugins/shared/console/public/lib/autocomplete/engine.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/engine.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/engine.js
diff --git a/src/plugins/console/public/lib/autocomplete/types.ts b/src/platform/plugins/shared/console/public/lib/autocomplete/types.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/types.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete/types.ts
diff --git a/src/plugins/console/public/lib/autocomplete/url_autocomplete.test.js b/src/platform/plugins/shared/console/public/lib/autocomplete/url_autocomplete.test.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/url_autocomplete.test.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/url_autocomplete.test.js
diff --git a/src/plugins/console/public/lib/autocomplete/url_params.js b/src/platform/plugins/shared/console/public/lib/autocomplete/url_params.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/url_params.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/url_params.js
diff --git a/src/plugins/console/public/lib/autocomplete/url_params.test.js b/src/platform/plugins/shared/console/public/lib/autocomplete/url_params.test.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete/url_params.test.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete/url_params.test.js
diff --git a/src/plugins/console/public/lib/autocomplete_entities/alias.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/alias.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/alias.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/alias.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/autocomplete_entities.test.js b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/autocomplete_entities.test.js
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/autocomplete_entities.test.js
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/autocomplete_entities.test.js
diff --git a/src/plugins/console/public/lib/autocomplete_entities/base_template.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/base_template.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/base_template.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/base_template.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/component_template.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/component_template.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/component_template.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/component_template.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/data_stream.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/data_stream.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/data_stream.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/data_stream.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/expand_aliases.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/expand_aliases.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/expand_aliases.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/expand_aliases.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/index.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/index.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/index.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/index_template.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/index_template.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/index_template.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/index_template.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/legacy/index.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/legacy/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/legacy/index.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/legacy/index.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/legacy/legacy_template.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/legacy/legacy_template.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/legacy/legacy_template.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/legacy/legacy_template.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/mapping.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/mapping.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/mapping.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/mapping.ts
diff --git a/src/plugins/console/public/lib/autocomplete_entities/types.ts b/src/platform/plugins/shared/console/public/lib/autocomplete_entities/types.ts
similarity index 100%
rename from src/plugins/console/public/lib/autocomplete_entities/types.ts
rename to src/platform/plugins/shared/console/public/lib/autocomplete_entities/types.ts
diff --git a/src/plugins/console/public/lib/es/content_type.test.js b/src/platform/plugins/shared/console/public/lib/es/content_type.test.js
similarity index 100%
rename from src/plugins/console/public/lib/es/content_type.test.js
rename to src/platform/plugins/shared/console/public/lib/es/content_type.test.js
diff --git a/src/plugins/console/public/lib/es/es.ts b/src/platform/plugins/shared/console/public/lib/es/es.ts
similarity index 100%
rename from src/plugins/console/public/lib/es/es.ts
rename to src/platform/plugins/shared/console/public/lib/es/es.ts
diff --git a/src/plugins/console/public/lib/es/index.ts b/src/platform/plugins/shared/console/public/lib/es/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/es/index.ts
rename to src/platform/plugins/shared/console/public/lib/es/index.ts
diff --git a/src/plugins/console/public/lib/kb/api.js b/src/platform/plugins/shared/console/public/lib/kb/api.js
similarity index 100%
rename from src/plugins/console/public/lib/kb/api.js
rename to src/platform/plugins/shared/console/public/lib/kb/api.js
diff --git a/src/plugins/console/public/lib/kb/index.js b/src/platform/plugins/shared/console/public/lib/kb/index.js
similarity index 100%
rename from src/plugins/console/public/lib/kb/index.js
rename to src/platform/plugins/shared/console/public/lib/kb/index.js
diff --git a/src/plugins/console/public/lib/kb/kb.js b/src/platform/plugins/shared/console/public/lib/kb/kb.js
similarity index 100%
rename from src/plugins/console/public/lib/kb/kb.js
rename to src/platform/plugins/shared/console/public/lib/kb/kb.js
diff --git a/src/plugins/console/public/lib/kb/kb.test.js b/src/platform/plugins/shared/console/public/lib/kb/kb.test.js
similarity index 100%
rename from src/plugins/console/public/lib/kb/kb.test.js
rename to src/platform/plugins/shared/console/public/lib/kb/kb.test.js
diff --git a/src/plugins/console/public/lib/local_storage_object_client/create.ts b/src/platform/plugins/shared/console/public/lib/local_storage_object_client/create.ts
similarity index 100%
rename from src/plugins/console/public/lib/local_storage_object_client/create.ts
rename to src/platform/plugins/shared/console/public/lib/local_storage_object_client/create.ts
diff --git a/src/plugins/console/public/lib/local_storage_object_client/index.ts b/src/platform/plugins/shared/console/public/lib/local_storage_object_client/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/local_storage_object_client/index.ts
rename to src/platform/plugins/shared/console/public/lib/local_storage_object_client/index.ts
diff --git a/src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts b/src/platform/plugins/shared/console/public/lib/local_storage_object_client/local_storage_object_client.ts
similarity index 100%
rename from src/plugins/console/public/lib/local_storage_object_client/local_storage_object_client.ts
rename to src/platform/plugins/shared/console/public/lib/local_storage_object_client/local_storage_object_client.ts
diff --git a/src/plugins/console/public/lib/token_iterator/index.ts b/src/platform/plugins/shared/console/public/lib/token_iterator/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/token_iterator/index.ts
rename to src/platform/plugins/shared/console/public/lib/token_iterator/index.ts
diff --git a/src/plugins/console/public/lib/token_iterator/token_iterator.test.ts b/src/platform/plugins/shared/console/public/lib/token_iterator/token_iterator.test.ts
similarity index 100%
rename from src/plugins/console/public/lib/token_iterator/token_iterator.test.ts
rename to src/platform/plugins/shared/console/public/lib/token_iterator/token_iterator.test.ts
diff --git a/src/plugins/console/public/lib/token_iterator/token_iterator.ts b/src/platform/plugins/shared/console/public/lib/token_iterator/token_iterator.ts
similarity index 100%
rename from src/plugins/console/public/lib/token_iterator/token_iterator.ts
rename to src/platform/plugins/shared/console/public/lib/token_iterator/token_iterator.ts
diff --git a/src/plugins/console/public/lib/utils/index.ts b/src/platform/plugins/shared/console/public/lib/utils/index.ts
similarity index 100%
rename from src/plugins/console/public/lib/utils/index.ts
rename to src/platform/plugins/shared/console/public/lib/utils/index.ts
diff --git a/src/plugins/console/public/lib/utils/utils.test.js b/src/platform/plugins/shared/console/public/lib/utils/utils.test.js
similarity index 100%
rename from src/plugins/console/public/lib/utils/utils.test.js
rename to src/platform/plugins/shared/console/public/lib/utils/utils.test.js
diff --git a/src/plugins/console/public/plugin.ts b/src/platform/plugins/shared/console/public/plugin.ts
similarity index 100%
rename from src/plugins/console/public/plugin.ts
rename to src/platform/plugins/shared/console/public/plugin.ts
diff --git a/src/plugins/console/public/services/api.ts b/src/platform/plugins/shared/console/public/services/api.ts
similarity index 100%
rename from src/plugins/console/public/services/api.ts
rename to src/platform/plugins/shared/console/public/services/api.ts
diff --git a/src/plugins/console/public/services/autocomplete.mock.ts b/src/platform/plugins/shared/console/public/services/autocomplete.mock.ts
similarity index 100%
rename from src/plugins/console/public/services/autocomplete.mock.ts
rename to src/platform/plugins/shared/console/public/services/autocomplete.mock.ts
diff --git a/src/plugins/console/public/services/autocomplete.ts b/src/platform/plugins/shared/console/public/services/autocomplete.ts
similarity index 100%
rename from src/plugins/console/public/services/autocomplete.ts
rename to src/platform/plugins/shared/console/public/services/autocomplete.ts
diff --git a/src/plugins/console/public/services/embeddable_console.test.ts b/src/platform/plugins/shared/console/public/services/embeddable_console.test.ts
similarity index 100%
rename from src/plugins/console/public/services/embeddable_console.test.ts
rename to src/platform/plugins/shared/console/public/services/embeddable_console.test.ts
diff --git a/src/plugins/console/public/services/embeddable_console.ts b/src/platform/plugins/shared/console/public/services/embeddable_console.ts
similarity index 100%
rename from src/plugins/console/public/services/embeddable_console.ts
rename to src/platform/plugins/shared/console/public/services/embeddable_console.ts
diff --git a/src/plugins/console/public/services/history.mock.ts b/src/platform/plugins/shared/console/public/services/history.mock.ts
similarity index 100%
rename from src/plugins/console/public/services/history.mock.ts
rename to src/platform/plugins/shared/console/public/services/history.mock.ts
diff --git a/src/plugins/console/public/services/history.ts b/src/platform/plugins/shared/console/public/services/history.ts
similarity index 100%
rename from src/plugins/console/public/services/history.ts
rename to src/platform/plugins/shared/console/public/services/history.ts
diff --git a/src/plugins/console/public/services/http.ts b/src/platform/plugins/shared/console/public/services/http.ts
similarity index 100%
rename from src/plugins/console/public/services/http.ts
rename to src/platform/plugins/shared/console/public/services/http.ts
diff --git a/src/plugins/console/public/services/index.ts b/src/platform/plugins/shared/console/public/services/index.ts
similarity index 100%
rename from src/plugins/console/public/services/index.ts
rename to src/platform/plugins/shared/console/public/services/index.ts
diff --git a/src/plugins/console/public/services/settings.mock.ts b/src/platform/plugins/shared/console/public/services/settings.mock.ts
similarity index 100%
rename from src/plugins/console/public/services/settings.mock.ts
rename to src/platform/plugins/shared/console/public/services/settings.mock.ts
diff --git a/src/plugins/console/public/services/settings.ts b/src/platform/plugins/shared/console/public/services/settings.ts
similarity index 100%
rename from src/plugins/console/public/services/settings.ts
rename to src/platform/plugins/shared/console/public/services/settings.ts
diff --git a/src/plugins/console/public/services/storage.mock.ts b/src/platform/plugins/shared/console/public/services/storage.mock.ts
similarity index 100%
rename from src/plugins/console/public/services/storage.mock.ts
rename to src/platform/plugins/shared/console/public/services/storage.mock.ts
diff --git a/src/plugins/console/public/services/storage.ts b/src/platform/plugins/shared/console/public/services/storage.ts
similarity index 100%
rename from src/plugins/console/public/services/storage.ts
rename to src/platform/plugins/shared/console/public/services/storage.ts
diff --git a/src/plugins/console/public/services/tracker.ts b/src/platform/plugins/shared/console/public/services/tracker.ts
similarity index 100%
rename from src/plugins/console/public/services/tracker.ts
rename to src/platform/plugins/shared/console/public/services/tracker.ts
diff --git a/src/plugins/console/public/services/use_request.ts b/src/platform/plugins/shared/console/public/services/use_request.ts
similarity index 100%
rename from src/plugins/console/public/services/use_request.ts
rename to src/platform/plugins/shared/console/public/services/use_request.ts
diff --git a/src/plugins/console/public/shared_imports.ts b/src/platform/plugins/shared/console/public/shared_imports.ts
similarity index 100%
rename from src/plugins/console/public/shared_imports.ts
rename to src/platform/plugins/shared/console/public/shared_imports.ts
diff --git a/src/plugins/console/public/styles/_app.scss b/src/platform/plugins/shared/console/public/styles/_app.scss
similarity index 100%
rename from src/plugins/console/public/styles/_app.scss
rename to src/platform/plugins/shared/console/public/styles/_app.scss
diff --git a/src/plugins/console/public/styles/_index.scss b/src/platform/plugins/shared/console/public/styles/_index.scss
similarity index 100%
rename from src/plugins/console/public/styles/_index.scss
rename to src/platform/plugins/shared/console/public/styles/_index.scss
diff --git a/src/plugins/console/public/styles/components/_history.scss b/src/platform/plugins/shared/console/public/styles/components/_history.scss
similarity index 100%
rename from src/plugins/console/public/styles/components/_history.scss
rename to src/platform/plugins/shared/console/public/styles/components/_history.scss
diff --git a/src/plugins/console/public/styles/components/_index.scss b/src/platform/plugins/shared/console/public/styles/components/_index.scss
similarity index 100%
rename from src/plugins/console/public/styles/components/_index.scss
rename to src/platform/plugins/shared/console/public/styles/components/_index.scss
diff --git a/src/plugins/console/public/types/common.ts b/src/platform/plugins/shared/console/public/types/common.ts
similarity index 100%
rename from src/plugins/console/public/types/common.ts
rename to src/platform/plugins/shared/console/public/types/common.ts
diff --git a/src/plugins/console/public/types/config.ts b/src/platform/plugins/shared/console/public/types/config.ts
similarity index 100%
rename from src/plugins/console/public/types/config.ts
rename to src/platform/plugins/shared/console/public/types/config.ts
diff --git a/src/plugins/console/public/types/core_editor.ts b/src/platform/plugins/shared/console/public/types/core_editor.ts
similarity index 100%
rename from src/plugins/console/public/types/core_editor.ts
rename to src/platform/plugins/shared/console/public/types/core_editor.ts
diff --git a/src/plugins/console/public/types/embeddable_console.ts b/src/platform/plugins/shared/console/public/types/embeddable_console.ts
similarity index 100%
rename from src/plugins/console/public/types/embeddable_console.ts
rename to src/platform/plugins/shared/console/public/types/embeddable_console.ts
diff --git a/src/plugins/console/public/types/index.ts b/src/platform/plugins/shared/console/public/types/index.ts
similarity index 100%
rename from src/plugins/console/public/types/index.ts
rename to src/platform/plugins/shared/console/public/types/index.ts
diff --git a/src/plugins/console/public/types/locator.ts b/src/platform/plugins/shared/console/public/types/locator.ts
similarity index 100%
rename from src/plugins/console/public/types/locator.ts
rename to src/platform/plugins/shared/console/public/types/locator.ts
diff --git a/src/plugins/console/public/types/plugin_dependencies.ts b/src/platform/plugins/shared/console/public/types/plugin_dependencies.ts
similarity index 100%
rename from src/plugins/console/public/types/plugin_dependencies.ts
rename to src/platform/plugins/shared/console/public/types/plugin_dependencies.ts
diff --git a/src/plugins/console/public/types/token.ts b/src/platform/plugins/shared/console/public/types/token.ts
similarity index 100%
rename from src/plugins/console/public/types/token.ts
rename to src/platform/plugins/shared/console/public/types/token.ts
diff --git a/src/plugins/console/public/types/tokens_provider.ts b/src/platform/plugins/shared/console/public/types/tokens_provider.ts
similarity index 100%
rename from src/plugins/console/public/types/tokens_provider.ts
rename to src/platform/plugins/shared/console/public/types/tokens_provider.ts
diff --git a/src/plugins/console/server/config.ts b/src/platform/plugins/shared/console/server/config.ts
similarity index 100%
rename from src/plugins/console/server/config.ts
rename to src/platform/plugins/shared/console/server/config.ts
diff --git a/src/plugins/console/server/index.ts b/src/platform/plugins/shared/console/server/index.ts
similarity index 100%
rename from src/plugins/console/server/index.ts
rename to src/platform/plugins/shared/console/server/index.ts
diff --git a/src/plugins/console/server/lib/elasticsearch_proxy_config.test.js b/src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js
similarity index 99%
rename from src/plugins/console/server/lib/elasticsearch_proxy_config.test.js
rename to src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js
index 0cca5f4bfc0da..70729147fd0b8 100644
--- a/src/plugins/console/server/lib/elasticsearch_proxy_config.test.js
+++ b/src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.test.js
@@ -20,7 +20,7 @@ const getDefaultElasticsearchConfig = () => {
};
};
-describe('plugins/console', function () {
+describe('platform/plugins/shared/console', function () {
describe('#getElasticsearchProxyConfig', function () {
it('sets timeout', function () {
const value = 1000;
diff --git a/src/plugins/console/server/lib/elasticsearch_proxy_config.ts b/src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.ts
similarity index 100%
rename from src/plugins/console/server/lib/elasticsearch_proxy_config.ts
rename to src/platform/plugins/shared/console/server/lib/elasticsearch_proxy_config.ts
diff --git a/src/plugins/console/server/lib/index.ts b/src/platform/plugins/shared/console/server/lib/index.ts
similarity index 100%
rename from src/plugins/console/server/lib/index.ts
rename to src/platform/plugins/shared/console/server/lib/index.ts
diff --git a/src/plugins/console/server/lib/proxy_config.test.js b/src/platform/plugins/shared/console/server/lib/proxy_config.test.js
similarity index 100%
rename from src/plugins/console/server/lib/proxy_config.test.js
rename to src/platform/plugins/shared/console/server/lib/proxy_config.test.js
diff --git a/src/plugins/console/server/lib/proxy_config.ts b/src/platform/plugins/shared/console/server/lib/proxy_config.ts
similarity index 100%
rename from src/plugins/console/server/lib/proxy_config.ts
rename to src/platform/plugins/shared/console/server/lib/proxy_config.ts
diff --git a/src/plugins/console/server/lib/proxy_config_collection.test.js b/src/platform/plugins/shared/console/server/lib/proxy_config_collection.test.js
similarity index 100%
rename from src/plugins/console/server/lib/proxy_config_collection.test.js
rename to src/platform/plugins/shared/console/server/lib/proxy_config_collection.test.js
diff --git a/src/plugins/console/server/lib/proxy_config_collection.ts b/src/platform/plugins/shared/console/server/lib/proxy_config_collection.ts
similarity index 100%
rename from src/plugins/console/server/lib/proxy_config_collection.ts
rename to src/platform/plugins/shared/console/server/lib/proxy_config_collection.ts
diff --git a/src/plugins/console/server/lib/proxy_request.test.ts b/src/platform/plugins/shared/console/server/lib/proxy_request.test.ts
similarity index 100%
rename from src/plugins/console/server/lib/proxy_request.test.ts
rename to src/platform/plugins/shared/console/server/lib/proxy_request.test.ts
diff --git a/src/plugins/console/server/lib/proxy_request.ts b/src/platform/plugins/shared/console/server/lib/proxy_request.ts
similarity index 100%
rename from src/plugins/console/server/lib/proxy_request.ts
rename to src/platform/plugins/shared/console/server/lib/proxy_request.ts
diff --git a/src/plugins/console/server/lib/set_headers.test.js b/src/platform/plugins/shared/console/server/lib/set_headers.test.js
similarity index 100%
rename from src/plugins/console/server/lib/set_headers.test.js
rename to src/platform/plugins/shared/console/server/lib/set_headers.test.js
diff --git a/src/plugins/console/server/lib/set_headers.ts b/src/platform/plugins/shared/console/server/lib/set_headers.ts
similarity index 100%
rename from src/plugins/console/server/lib/set_headers.ts
rename to src/platform/plugins/shared/console/server/lib/set_headers.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/index.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/index.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/index.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/index.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/aggregations.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/aggregations.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/aggregations.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/aliases.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/aliases.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/aliases.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/aliases.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/document.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/document.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/document.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/document.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/filter.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/filter.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/filter.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/filter.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/globals.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/globals.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/globals.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/globals.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/index.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/index.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/index.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/index.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/ingest.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/ingest.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/ingest.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/mappings.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/mappings.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/mappings.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/mappings.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/dsl.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/query/dsl.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/dsl.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/index.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/index.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/query/index.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/index.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/query/templates.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/templates.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/query/templates.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/query/templates.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/reindex.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/reindex.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/reindex.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/reindex.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/search.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/search.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/search.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/search.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/settings.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/settings.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/settings.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/settings.ts
diff --git a/src/plugins/console/server/lib/spec_definitions/js/shared.ts b/src/platform/plugins/shared/console/server/lib/spec_definitions/js/shared.ts
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/js/shared.ts
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/js/shared.ts
diff --git a/src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md
new file mode 100644
index 0000000000000..9c7a777b370b4
--- /dev/null
+++ b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/README.md
@@ -0,0 +1 @@
+Please refer to this [README](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/console/README.md#creating-definitions) file before adding/editing definitions files in this folder.
\ No newline at end of file
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_balance.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_balance.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_balance.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_balance.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_nodes.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_nodes.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_nodes.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.delete_desired_nodes.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.get_desired_balance.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.get_desired_balance.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.get_desired_balance.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.get_desired_balance.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.get_desired_nodes.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.get_desired_nodes.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.get_desired_nodes.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.get_desired_nodes.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.prevalidate_node_removal.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.prevalidate_node_removal.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.prevalidate_node_removal.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.prevalidate_node_removal.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/_internal.update_desired_nodes.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.update_desired_nodes.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/_internal.update_desired_nodes.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/_internal.update_desired_nodes.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/async_search.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/async_search.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/async_search.status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.submit.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/async_search.submit.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/async_search.submit.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.delete_autoscaling_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.delete_autoscaling_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.delete_autoscaling_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.delete_autoscaling_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_capacity.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_capacity.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_capacity.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_capacity.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.get_autoscaling_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.put_autoscaling_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.put_autoscaling_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/autoscaling.put_autoscaling_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/autoscaling.put_autoscaling_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/bulk.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/bulk.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/capabilities.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/capabilities.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/capabilities.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/capabilities.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.aliases.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.aliases.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.allocation.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.allocation.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.component_templates.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.component_templates.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.component_templates.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.component_templates.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.count.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.count.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.fielddata.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.fielddata.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.health.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.health.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.help.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.help.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.indices.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.indices.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.master.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.master.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_datafeeds.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_datafeeds.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_datafeeds.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_datafeeds.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_jobs.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_jobs.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_jobs.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_jobs.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_trained_models.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_trained_models.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.ml_trained_models.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.ml_trained_models.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.nodes.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.nodes.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.plugins.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.plugins.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.recovery.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.recovery.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.repositories.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.repositories.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.segments.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.segments.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.shards.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.shards.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.snapshots.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.snapshots.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.tasks.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.tasks.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.templates.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.templates.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.transforms.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.transforms.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cat.transforms.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cat.transforms.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.delete_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.delete_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.delete_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.delete_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow_info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow_info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow_info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow_info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.follow_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.follow_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.forget_follower.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.forget_follower.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.forget_follower.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.forget_follower.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.get_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.get_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.get_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.get_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.pause_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.pause_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.pause_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.pause_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.pause_follow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.pause_follow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.pause_follow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.pause_follow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.put_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.put_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.put_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.put_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.resume_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.resume_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.resume_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.resume_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.resume_follow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.resume_follow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.resume_follow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.resume_follow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ccr.unfollow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.unfollow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ccr.unfollow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ccr.unfollow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/clear_scroll.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/clear_scroll.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/close_point_in_time.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/close_point_in_time.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/close_point_in_time.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/close_point_in_time.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.health.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.health.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.reroute.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.reroute.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.state.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.state.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/cluster.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.check_in.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.check_in.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.check_in.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.check_in.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.last_sync.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.last_sync.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.last_sync.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.last_sync.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.list.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.list.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.list.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.list.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.post.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.post.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.post.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.post.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.put.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.put.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.put.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.put.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_post.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_post.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_post.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_post.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_put.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_put.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.secret_put.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.secret_put.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_cancel.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_cancel.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_cancel.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_cancel.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_check_in.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_check_in.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_check_in.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_check_in.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_claim.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_claim.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_claim.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_claim.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_error.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_error.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_error.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_error.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_list.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_list.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_list.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_list.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_post.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_post.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_post.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_post.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_update_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_update_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.sync_job_update_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.sync_job_update_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_active_filtering.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_active_filtering.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_active_filtering.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_active_filtering.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_api_key_id.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_api_key_id.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_api_key_id.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_api_key_id.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_configuration.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_configuration.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_configuration.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_configuration.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_error.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_error.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_error.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_error.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_features.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_features.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_features.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_features.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_filtering.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_filtering.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_filtering.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_filtering.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_filtering_validation.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_filtering_validation.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_filtering_validation.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_filtering_validation.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_index_name.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_index_name.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_index_name.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_index_name.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_name.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_name.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_name.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_name.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_native.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_native.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_native.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_native.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_scheduling.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_scheduling.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_scheduling.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_scheduling.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_service_type.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_service_type.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_service_type.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_service_type.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/connector.update_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/connector.update_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/count.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/count.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/count.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/create.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/create.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/create.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_by_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_by_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_script.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/delete_script.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/enrich.delete_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.delete_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/enrich.delete_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.delete_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/enrich.execute_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.execute_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/enrich.execute_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.execute_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/enrich.get_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.get_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/enrich.get_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.get_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/enrich.put_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.put_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/enrich.put_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.put_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/enrich.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/enrich.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/enrich.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/eql.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/eql.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/eql.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/eql.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/eql.get_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.get_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/eql.get_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.get_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/eql.search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/eql.search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/eql.search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/esql.async_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.async_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/esql.async_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.async_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/esql.async_query_get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.async_query_get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/esql.async_query_get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.async_query_get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/esql.query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/esql.query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/exists.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/exists.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/exists.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/exists_source.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/exists_source.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/explain.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/explain.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/explain.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/features.get_features.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/features.get_features.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/features.get_features.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/features.get_features.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/features.reset_features.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/features.reset_features.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/features.reset_features.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/features.reset_features.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/field_caps.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/field_caps.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.delete_secret.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.delete_secret.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.delete_secret.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.delete_secret.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.get_secret.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.get_secret.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.get_secret.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.get_secret.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.global_checkpoints.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.global_checkpoints.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.global_checkpoints.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.global_checkpoints.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.msearch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.msearch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.msearch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.msearch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.post_secret.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.post_secret.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.post_secret.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.post_secret.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/fleet.search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/fleet.search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/fleet.search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script_context.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script_context.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script_languages.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_script_languages.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_source.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/get_source.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/graph.explore.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/graph.explore.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/graph.explore.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/graph.explore.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/health_report.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/health_report.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/health_report.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/health_report.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.delete_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.delete_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.delete_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.delete_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.explain_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.explain_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.explain_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.explain_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.get_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.get_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.get_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.get_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.get_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.get_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.get_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.get_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.migrate_to_data_tiers.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.migrate_to_data_tiers.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.migrate_to_data_tiers.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.migrate_to_data_tiers.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.move_to_step.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.move_to_step.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.move_to_step.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.move_to_step.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.put_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.put_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.put_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.put_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.remove_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.remove_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.remove_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.remove_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.retry.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.retry.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.retry.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.retry.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.start.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.start.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.start.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.start.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ilm.stop.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.stop.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ilm.stop.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ilm.stop.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/index.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/index.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/index.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.add_block.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.add_block.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.analyze.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.analyze.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.clone.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.clone.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.close.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.close.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.create.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.create.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_data_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_data_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.delete_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.disk_usage.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.disk_usage.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.disk_usage.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.disk_usage.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.downsample.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.downsample.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.downsample.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.downsample.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.exists_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.explain_data_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.explain_data_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.explain_data_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.explain_data_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.field_usage_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.field_usage_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.field_usage_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.field_usage_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.flush.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.flush.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_data_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_data_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.get_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.migrate_to_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.migrate_to_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.migrate_to_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.migrate_to_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.modify_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.modify_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.modify_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.modify_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.open.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.open.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.promote_data_stream.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.promote_data_stream.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.promote_data_stream.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.promote_data_stream.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_data_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_data_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_data_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_data_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.put_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.recovery.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.recovery.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.refresh.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.refresh.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.reload_search_analyzers.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.reload_search_analyzers.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.reload_search_analyzers.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.reload_search_analyzers.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_cluster.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.resolve_cluster.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_cluster.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.resolve_cluster.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.rollover.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.rollover.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.segments.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.segments.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.shrink.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.shrink.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.split.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.split.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.unfreeze.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.unfreeze.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.unfreeze.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.unfreeze.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.validate_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/indices.validate_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/inference.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/inference.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/inference.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/inference.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/inference.inference.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.inference.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/inference.inference.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.inference.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/inference.put.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.put.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/inference.put.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.put.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/inference.stream_inference.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.stream_inference.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/inference.stream_inference.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/inference.stream_inference.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_geoip_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_ip_location_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_ip_location_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_ip_location_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_ip_location_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.geo_ip_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.geo_ip_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.geo_ip_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.geo_ip_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_geoip_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_ip_location_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_ip_location_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_ip_location_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_ip_location_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_geoip_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_ip_location_database.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_ip_location_database.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_ip_location_database.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_ip_location_database.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.simulate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ingest.simulate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/knn_search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/knn_search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/knn_search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/knn_search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.get_basic_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get_basic_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.get_basic_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get_basic_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.get_trial_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get_trial_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.get_trial_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.get_trial_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.post.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.post.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.post_start_basic.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post_start_basic.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.post_start_basic.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post_start_basic.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/license.post_start_trial.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post_start_trial.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/license.post_start_trial.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/license.post_start_trial.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/logstash.delete_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.delete_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/logstash.delete_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.delete_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/logstash.get_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.get_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/logstash.get_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.get_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/logstash.put_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.put_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/logstash.put_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/logstash.put_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/mget.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/mget.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/mget.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/migration.deprecations.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.deprecations.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/migration.deprecations.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.deprecations.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/migration.get_feature_upgrade_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.get_feature_upgrade_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/migration.get_feature_upgrade_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.get_feature_upgrade_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/migration.post_feature_upgrade.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.post_feature_upgrade.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/migration.post_feature_upgrade.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/migration.post_feature_upgrade.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.clear_trained_model_deployment_cache.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.clear_trained_model_deployment_cache.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.clear_trained_model_deployment_cache.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.clear_trained_model_deployment_cache.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.close_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.close_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.close_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.close_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_event.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_event.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_event.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_event.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_calendar_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_expired_data.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_expired_data.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_expired_data.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_expired_data.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_filter.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_filter.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_filter.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_filter.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_forecast.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_forecast.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_forecast.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_forecast.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_model_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_model_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_model_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_model_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.delete_trained_model_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.estimate_model_memory.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.estimate_model_memory.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.estimate_model_memory.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.estimate_model_memory.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.evaluate_data_frame.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.evaluate_data_frame.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.evaluate_data_frame.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.evaluate_data_frame.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.explain_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.explain_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.explain_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.explain_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.flush_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.flush_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.flush_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.flush_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.forecast.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.forecast.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.forecast.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.forecast.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_buckets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_buckets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_buckets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_buckets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_calendar_events.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_calendar_events.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_calendar_events.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_calendar_events.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_calendars.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_calendars.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_calendars.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_calendars.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_categories.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_categories.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_categories.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_categories.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_data_frame_analytics_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_datafeed_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_datafeed_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_datafeed_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_datafeed_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_datafeeds.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_datafeeds.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_datafeeds.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_datafeeds.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_filters.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_filters.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_filters.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_filters.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_influencers.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_influencers.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_influencers.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_influencers.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_job_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_job_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_job_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_job_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_jobs.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_jobs.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_jobs.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_jobs.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_memory_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_memory_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_memory_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_memory_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshot_upgrade_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshot_upgrade_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshot_upgrade_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshot_upgrade_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshots.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshots.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshots.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_model_snapshots.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_overall_buckets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_overall_buckets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_overall_buckets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_overall_buckets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_records.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_records.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_records.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_records.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_trained_models.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_trained_models.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_trained_models.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_trained_models.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_trained_models_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_trained_models_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.get_trained_models_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.get_trained_models_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.infer_trained_model.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.infer_trained_model.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.infer_trained_model.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.infer_trained_model.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.open_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.open_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.open_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.open_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.post_calendar_events.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.post_calendar_events.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.post_calendar_events.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.post_calendar_events.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.post_data.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.post_data.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.post_data.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.post_data.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.preview_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.preview_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.preview_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.preview_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.preview_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.preview_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.preview_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.preview_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_calendar.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_calendar.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_calendar.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_calendar.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_calendar_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_calendar_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_calendar_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_calendar_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_filter.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_filter.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_filter.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_filter.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_definition_part.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_definition_part.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_definition_part.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_definition_part.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_vocabulary.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_vocabulary.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_vocabulary.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.put_trained_model_vocabulary.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.reset_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.reset_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.reset_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.reset_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.revert_model_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.revert_model_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.revert_model_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.revert_model_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.set_upgrade_mode.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.set_upgrade_mode.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.set_upgrade_mode.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.set_upgrade_mode.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_trained_model_deployment.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_trained_model_deployment.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.start_trained_model_deployment.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.start_trained_model_deployment.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_trained_model_deployment.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_trained_model_deployment.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.stop_trained_model_deployment.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.stop_trained_model_deployment.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_filter.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_filter.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_filter.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_filter.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_model_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_model_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_model_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_model_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_trained_model_deployment.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_trained_model_deployment.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.update_trained_model_deployment.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.update_trained_model_deployment.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.upgrade_job_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.upgrade_job_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.upgrade_job_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.upgrade_job_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.validate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.validate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.validate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.validate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ml.validate_detector.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.validate_detector.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ml.validate_detector.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ml.validate_detector.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/monitoring.bulk.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/monitoring.bulk.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/monitoring.bulk.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/monitoring.bulk.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/msearch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/msearch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/msearch_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/msearch_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/mtermvectors.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/mtermvectors.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.clear_repositories_metering_archive.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.clear_repositories_metering_archive.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.clear_repositories_metering_archive.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.clear_repositories_metering_archive.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.get_repositories_metering_info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.get_repositories_metering_info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.get_repositories_metering_info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.get_repositories_metering_info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.usage.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/nodes.usage.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/open_point_in_time.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/open_point_in_time.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/open_point_in_time.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/open_point_in_time.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/profiling.flamegraph.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.flamegraph.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/profiling.flamegraph.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.flamegraph.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/profiling.stacktraces.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.stacktraces.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/profiling.stacktraces.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.stacktraces.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/profiling.status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/profiling.status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/profiling.topn_functions.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.topn_functions.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/profiling.topn_functions.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/profiling.topn_functions.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/put_script.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/put_script.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.delete_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.delete_ruleset.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.get_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.get_ruleset.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.list_rulesets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.put_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.put_ruleset.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.test.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.test.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/query_rules.test.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/query_rules.test.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rank_eval.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rank_eval.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/reindex.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/reindex.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/render_search_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/render_search_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.delete_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.delete_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.delete_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.delete_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_jobs.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_jobs.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_jobs.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_jobs.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_caps.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_caps.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_caps.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_caps.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_index_caps.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_index_caps.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_index_caps.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.get_rollup_index_caps.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.put_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.put_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.put_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.put_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.rollup_search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.rollup_search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.rollup_search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.rollup_search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.start_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.start_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.start_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.start_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rollup.stop_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.stop_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/rollup.stop_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/rollup.stop_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/scroll.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/scroll.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.delete_behavioral_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.delete_behavioral_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.delete_behavioral_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.delete_behavioral_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.get_behavioral_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.get_behavioral_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.get_behavioral_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.get_behavioral_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.list.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.list.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.list.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.list.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.post_behavioral_analytics_event.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.post_behavioral_analytics_event.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.post_behavioral_analytics_event.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.post_behavioral_analytics_event.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.put.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.put.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.put.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.put.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.put_behavioral_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.put_behavioral_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.put_behavioral_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.put_behavioral_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.render_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.render_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.render_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.render_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_application.search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_application.search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_application.search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_mvt.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_mvt.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_mvt.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_mvt.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_shards.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_shards.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/search_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.cache_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.cache_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.cache_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.cache_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.clear_cache.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.clear_cache.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.clear_cache.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.clear_cache.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.mount.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.mount.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.mount.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.mount.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/searchable_snapshots.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/searchable_snapshots.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.activate_user_profile.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.activate_user_profile.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.activate_user_profile.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.activate_user_profile.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.authenticate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.authenticate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.authenticate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.authenticate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_delete_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_put_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_update_api_keys.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_update_api_keys.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.bulk_update_api_keys.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.bulk_update_api_keys.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.change_password.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.change_password.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.change_password.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.change_password.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_api_key_cache.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_api_key_cache.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_api_key_cache.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_api_key_cache.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_realms.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_realms.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_realms.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_realms.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_roles.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_roles.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_roles.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_roles.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_service_tokens.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_service_tokens.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.clear_cached_service_tokens.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.clear_cached_service_tokens.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.create_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.create_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.create_cross_cluster_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_cross_cluster_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.create_cross_cluster_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_cross_cluster_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.create_service_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_service_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.create_service_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.create_service_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_role_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_role_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_role_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_role_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_service_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_service_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_service_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_service_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.delete_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.delete_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.disable_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.disable_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.disable_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.disable_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.disable_user_profile.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.disable_user_profile.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.disable_user_profile.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.disable_user_profile.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.enable_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enable_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.enable_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enable_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.enable_user_profile.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enable_user_profile.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.enable_user_profile.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enable_user_profile.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.enroll_kibana.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enroll_kibana.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.enroll_kibana.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enroll_kibana.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.enroll_node.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enroll_node.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.enroll_node.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.enroll_node.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_builtin_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_builtin_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_builtin_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_builtin_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_role_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_role_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_role_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_role_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_service_accounts.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_service_accounts.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_service_accounts.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_service_accounts.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_service_credentials.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_service_credentials.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_service_credentials.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_service_credentials.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user_profile.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user_profile.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.get_user_profile.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.get_user_profile.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.grant_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.grant_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.grant_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.grant_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.has_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.has_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.has_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.has_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.has_privileges_user_profile.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.has_privileges_user_profile.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.has_privileges_user_profile.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.has_privileges_user_profile.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.invalidate_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.invalidate_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.invalidate_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.invalidate_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.invalidate_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.invalidate_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.invalidate_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.invalidate_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_authenticate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_authenticate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_authenticate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_authenticate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_logout.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_logout.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_logout.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_logout.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_prepare_authentication.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_prepare_authentication.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.oidc_prepare_authentication.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.oidc_prepare_authentication.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.put_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.put_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.put_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.put_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.put_role_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_role_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.put_role_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_role_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.put_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.put_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.put_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_api_keys.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_api_keys.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.query_api_keys.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_api_keys.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.query_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.query_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.query_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_authenticate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_authenticate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_authenticate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_authenticate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_complete_logout.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_complete_logout.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_complete_logout.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_complete_logout.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_invalidate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_invalidate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_invalidate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_invalidate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_logout.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_logout.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_logout.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_logout.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_prepare_authentication.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_prepare_authentication.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_prepare_authentication.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_prepare_authentication.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_service_provider_metadata.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_service_provider_metadata.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.saml_service_provider_metadata.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.saml_service_provider_metadata.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.suggest_user_profiles.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.suggest_user_profiles.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.suggest_user_profiles.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.suggest_user_profiles.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.update_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.update_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.update_cross_cluster_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_cross_cluster_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.update_cross_cluster_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_cross_cluster_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.update_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.update_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/security.update_user_profile_data.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_user_profile_data.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/security.update_user_profile_data.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/security.update_user_profile_data.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.delete_node.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.delete_node.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.delete_node.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.delete_node.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.get_node.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.get_node.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.get_node.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.get_node.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.put_node.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.put_node.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/shutdown.put_node.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/shutdown.put_node.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/simulate.ingest.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/simulate.ingest.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/simulate.ingest.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/simulate.ingest.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.delete_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.delete_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.delete_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.delete_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.execute_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.execute_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.execute_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.execute_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.execute_retention.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.execute_retention.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.execute_retention.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.execute_retention.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.get_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.get_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.put_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.put_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.put_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.put_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.start.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.start.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.start.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.start.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/slm.stop.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.stop.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/slm.stop.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/slm.stop.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.clone.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.clone.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.create.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.create.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.delete.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.delete.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.repository_analyze.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.repository_analyze.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.repository_analyze.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.repository_analyze.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.repository_verify_integrity.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.repository_verify_integrity.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.repository_verify_integrity.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.repository_verify_integrity.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.restore.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.restore.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.clear_cursor.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.clear_cursor.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.clear_cursor.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.clear_cursor.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.delete_async.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.delete_async.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.delete_async.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.delete_async.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.get_async.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.get_async.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.get_async.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.get_async.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.get_async_status.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.get_async_status.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.get_async_status.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.get_async_status.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/sql.translate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.translate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/sql.translate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/sql.translate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ssl.certificates.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ssl.certificates.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/ssl.certificates.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/ssl.certificates.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.delete_synonym_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonym_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonyms_sets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonyms_sets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.get_synonyms_sets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.get_synonyms_sets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/synonyms.put_synonym_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.cancel.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.cancel.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.get.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.get.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.list.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/tasks.list.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/terms_enum.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/terms_enum.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/terms_enum.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/terms_enum.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/termvectors.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/termvectors.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_field_structure.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_field_structure.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_field_structure.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_field_structure.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_message_structure.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_message_structure.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_message_structure.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_message_structure.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_structure.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_structure.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.find_structure.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.find_structure.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.test_grok_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.test_grok_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/text_structure.test_grok_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/text_structure.test_grok_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.delete_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.delete_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.delete_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.delete_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_node_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_node_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_node_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_node_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_transform_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_transform_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.get_transform_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.get_transform_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.preview_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.preview_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.preview_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.preview_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.put_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.put_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.put_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.put_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.reset_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.reset_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.reset_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.reset_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.schedule_now_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.schedule_now_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.schedule_now_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.schedule_now_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.start_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.start_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.start_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.start_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.stop_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.stop_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.stop_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.stop_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.update_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.update_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.update_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.update_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/transform.upgrade_transforms.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.upgrade_transforms.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/transform.upgrade_transforms.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/transform.upgrade_transforms.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/update.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update_by_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update_by_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.ack_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.ack_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.ack_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.ack_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.activate_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.activate_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.activate_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.activate_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.deactivate_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.deactivate_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.deactivate_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.deactivate_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.delete_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.delete_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.delete_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.delete_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.execute_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.execute_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.execute_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.execute_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.get_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.get_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.get_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.get_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.get_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.get_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.get_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.get_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.put_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.put_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.put_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.put_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.query_watches.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.query_watches.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.query_watches.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.query_watches.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.start.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.start.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.start.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.start.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.stop.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.stop.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.stop.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.stop.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/watcher.update_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.update_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/watcher.update_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/watcher.update_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/xpack.info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/xpack.info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/xpack.info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/xpack.info.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/xpack.usage.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/xpack.usage.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/generated/xpack.usage.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/generated/xpack.usage.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/manual/.empty b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/manual/.empty
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/manual/.empty
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/manual/.empty
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/async_search.submit.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/async_search.submit.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/async_search.submit.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/async_search.submit.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.follow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.follow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.follow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.follow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.forget_follower.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.forget_follower.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.forget_follower.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.forget_follower.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.put_auto_follow_pattern.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.put_auto_follow_pattern.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.put_auto_follow_pattern.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.put_auto_follow_pattern.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.resume_follow.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.resume_follow.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ccr.resume_follow.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ccr.resume_follow.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/clear_scroll.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/clear_scroll.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/clear_scroll.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/clear_scroll.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.health.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.health.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.health.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.put_component_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.put_component_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.put_component_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.put_component_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.put_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.put_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.put_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.put_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.reroute.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.reroute.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.reroute.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.reroute.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.state.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.state.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/cluster.state.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/cluster.state.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/count.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/count.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/count.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/count.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/delete_by_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/delete_by_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/delete_by_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/delete_by_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/enrich.put_policy.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/enrich.put_policy.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/enrich.put_policy.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/enrich.put_policy.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/esql.query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/esql.query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/esql.query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/esql.query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/graph.explore.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/graph.explore.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/graph.explore.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/graph.explore.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ilm.move_to_step.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ilm.move_to_step.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ilm.move_to_step.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ilm.move_to_step.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ilm.put_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ilm.put_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ilm.put_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ilm.put_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.clone.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.clone.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.clone.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.clone.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.create.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.create.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.create.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.create.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.delete_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.delete_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.delete_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.delete_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.exists_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.exists_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.exists_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.exists_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_field_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_field_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_field_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_field_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.get_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.get_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_alias.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_alias.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_alias.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_alias.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_settings.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_settings.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_settings.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_settings.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.put_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.rollover.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.rollover.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.rollover.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.rollover.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.update_aliases.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.update_aliases.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.update_aliases.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.update_aliases.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.validate_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.validate_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/indices.validate_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/indices.validate_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/license.post.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/license.post.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/license.post.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/license.post.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/logstash.put_pipeline.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/logstash.put_pipeline.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/logstash.put_pipeline.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/logstash.put_pipeline.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.evaluate_data_frame.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.evaluate_data_frame.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.evaluate_data_frame.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.evaluate_data_frame.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.explain_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.explain_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.explain_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.explain_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_buckets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_buckets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_buckets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_buckets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_calendar_events.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_calendar_events.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_calendar_events.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_calendar_events.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_calendars.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_calendars.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_calendars.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_calendars.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_categories.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_categories.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_categories.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_categories.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_influencers.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_influencers.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_influencers.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_influencers.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_model_snapshots.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_model_snapshots.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_model_snapshots.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_model_snapshots.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_overall_buckets.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_overall_buckets.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_overall_buckets.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_overall_buckets.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_records.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_records.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.get_records.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.get_records.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.post_calendar_events.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.post_calendar_events.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.post_calendar_events.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.post_calendar_events.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_calendar.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_calendar.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_calendar.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_calendar.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_data_frame_analytics.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_data_frame_analytics.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_data_frame_analytics.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_data_frame_analytics.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_trained_model.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_trained_model.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.put_trained_model.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.put_trained_model.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.revert_model_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.revert_model_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.revert_model_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.revert_model_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_datafeed.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_datafeed.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_datafeed.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_datafeed.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_model_snapshot.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_model_snapshot.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/ml.update_model_snapshot.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/ml.update_model_snapshot.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/nodes.stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/nodes.stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/nodes.stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/nodes.stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/nodes.usage.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/nodes.usage.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/nodes.usage.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/nodes.usage.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/query_rules.put_ruleset.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.delete_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.delete_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.delete_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.delete_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.put_job.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.put_job.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.put_job.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.put_job.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.rollup_search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.rollup_search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/rollup.rollup_search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/rollup.rollup_search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.post_behavioral_analytics_event.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.post_behavioral_analytics_event.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.post_behavioral_analytics_event.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.post_behavioral_analytics_event.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.put.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.put.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.put.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.put.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.search.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.search.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/search_application.search.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_application.search.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/search_template.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_template.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/search_template.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/search_template.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.authenticate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.authenticate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.authenticate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.authenticate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.change_password.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.change_password.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.change_password.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.change_password.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.create_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.create_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.create_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.create_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.get_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.get_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.get_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.get_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.has_privileges.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.has_privileges.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.has_privileges.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.has_privileges.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.invalidate_api_key.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.invalidate_api_key.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.invalidate_api_key.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.invalidate_api_key.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.invalidate_token.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.invalidate_token.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.invalidate_token.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.invalidate_token.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_role.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_role.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_role.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_role.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_role_mapping.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_role_mapping.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_role_mapping.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_role_mapping.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_user.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_user.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.put_user.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.put_user.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_authenticate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_authenticate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_authenticate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_authenticate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_complete_logout.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_complete_logout.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_complete_logout.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_complete_logout.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_invalidate.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_invalidate.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_invalidate.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_invalidate.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_logout.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_logout.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_logout.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_logout.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_prepare_authentication.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_prepare_authentication.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/security.saml_prepare_authentication.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/security.saml_prepare_authentication.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/slm.put_lifecycle.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.put_lifecycle.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/slm.put_lifecycle.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.put_lifecycle.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/slm.start.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.start.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/slm.start.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.start.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/slm.stop.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.stop.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/slm.stop.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/slm.stop.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.create.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.create.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.restore.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.restore.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.restore.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/snapshot.restore.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/sql.query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/sql.query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/sql.query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/sql.query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym_rule.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym_rule.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym_rule.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/synonyms.put_synonym_rule.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/terms_enum.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/terms_enum.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/terms_enum.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/terms_enum.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/transform.get_transform_stats.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.get_transform_stats.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/transform.get_transform_stats.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.get_transform_stats.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/transform.preview_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.preview_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/transform.preview_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.preview_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/transform.put_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.put_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/transform.put_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.put_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/transform.stop_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.stop_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/transform.stop_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.stop_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/transform.update_transform.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.update_transform.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/transform.update_transform.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/transform.update_transform.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/update_by_query.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/update_by_query.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/update_by_query.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/update_by_query.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/watcher.execute_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/watcher.execute_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/watcher.execute_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/watcher.execute_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/watcher.put_watch.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/watcher.put_watch.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/watcher.put_watch.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/watcher.put_watch.json
diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json b/src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/xpack.info.json
similarity index 100%
rename from src/plugins/console/server/lib/spec_definitions/json/overrides/xpack.info.json
rename to src/platform/plugins/shared/console/server/lib/spec_definitions/json/overrides/xpack.info.json
diff --git a/src/plugins/console/server/lib/utils/encode_path.test.ts b/src/platform/plugins/shared/console/server/lib/utils/encode_path.test.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/encode_path.test.ts
rename to src/platform/plugins/shared/console/server/lib/utils/encode_path.test.ts
diff --git a/src/plugins/console/server/lib/utils/encode_path.ts b/src/platform/plugins/shared/console/server/lib/utils/encode_path.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/encode_path.ts
rename to src/platform/plugins/shared/console/server/lib/utils/encode_path.ts
diff --git a/src/plugins/console/server/lib/utils/index.ts b/src/platform/plugins/shared/console/server/lib/utils/index.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/index.ts
rename to src/platform/plugins/shared/console/server/lib/utils/index.ts
diff --git a/src/plugins/console/server/lib/utils/sanitize_hostname.test.ts b/src/platform/plugins/shared/console/server/lib/utils/sanitize_hostname.test.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/sanitize_hostname.test.ts
rename to src/platform/plugins/shared/console/server/lib/utils/sanitize_hostname.test.ts
diff --git a/src/plugins/console/server/lib/utils/sanitize_hostname.ts b/src/platform/plugins/shared/console/server/lib/utils/sanitize_hostname.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/sanitize_hostname.ts
rename to src/platform/plugins/shared/console/server/lib/utils/sanitize_hostname.ts
diff --git a/src/plugins/console/server/lib/utils/to_url.test.ts b/src/platform/plugins/shared/console/server/lib/utils/to_url.test.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/to_url.test.ts
rename to src/platform/plugins/shared/console/server/lib/utils/to_url.test.ts
diff --git a/src/plugins/console/server/lib/utils/to_url.ts b/src/platform/plugins/shared/console/server/lib/utils/to_url.ts
similarity index 100%
rename from src/plugins/console/server/lib/utils/to_url.ts
rename to src/platform/plugins/shared/console/server/lib/utils/to_url.ts
diff --git a/src/plugins/console/server/lib/wildcard_matcher.test.js b/src/platform/plugins/shared/console/server/lib/wildcard_matcher.test.js
similarity index 100%
rename from src/plugins/console/server/lib/wildcard_matcher.test.js
rename to src/platform/plugins/shared/console/server/lib/wildcard_matcher.test.js
diff --git a/src/plugins/console/server/lib/wildcard_matcher.ts b/src/platform/plugins/shared/console/server/lib/wildcard_matcher.ts
similarity index 100%
rename from src/plugins/console/server/lib/wildcard_matcher.ts
rename to src/platform/plugins/shared/console/server/lib/wildcard_matcher.ts
diff --git a/src/plugins/console/server/plugin.ts b/src/platform/plugins/shared/console/server/plugin.ts
similarity index 100%
rename from src/plugins/console/server/plugin.ts
rename to src/platform/plugins/shared/console/server/plugin.ts
diff --git a/src/plugins/console/server/routes/api/__mocks__/request.mock.ts b/src/platform/plugins/shared/console/server/routes/api/__mocks__/request.mock.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/__mocks__/request.mock.ts
rename to src/platform/plugins/shared/console/server/routes/api/__mocks__/request.mock.ts
diff --git a/src/plugins/console/server/routes/api/__mocks__/routes.mock.ts b/src/platform/plugins/shared/console/server/routes/api/__mocks__/routes.mock.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/__mocks__/routes.mock.ts
rename to src/platform/plugins/shared/console/server/routes/api/__mocks__/routes.mock.ts
diff --git a/src/plugins/console/server/routes/api/console/autocomplete_entities/index.ts b/src/platform/plugins/shared/console/server/routes/api/console/autocomplete_entities/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/autocomplete_entities/index.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/autocomplete_entities/index.ts
diff --git a/src/plugins/console/server/routes/api/console/autocomplete_entities/validation_config.ts b/src/platform/plugins/shared/console/server/routes/api/console/autocomplete_entities/validation_config.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/autocomplete_entities/validation_config.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/autocomplete_entities/validation_config.ts
diff --git a/src/plugins/console/server/routes/api/console/convert_request_to_language/convert_request_handler.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/convert_request_to_language/convert_request_handler.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/convert_request_to_language/convert_request_handler.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/convert_request_to_language/convert_request_handler.test.ts
diff --git a/src/plugins/console/server/routes/api/console/convert_request_to_language/index.ts b/src/platform/plugins/shared/console/server/routes/api/console/convert_request_to_language/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/convert_request_to_language/index.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/convert_request_to_language/index.ts
diff --git a/src/plugins/console/server/routes/api/console/es_config/index.ts b/src/platform/plugins/shared/console/server/routes/api/console/es_config/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/es_config/index.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/es_config/index.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/body.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/body.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/body.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/body.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/create_handler.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/create_handler.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/create_handler.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/create_handler.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/headers.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/headers.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/headers.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/headers.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/index.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/index.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/index.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/mocks.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/mocks.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/mocks.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/mocks.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/params.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/params.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/params.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/params.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/proxy_fallback.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/proxy_fallback.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/proxy_fallback.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/proxy_fallback.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/query_string.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/query_string.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/query_string.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/query_string.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/route_validation.test.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/route_validation.test.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/route_validation.test.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/route_validation.test.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/stubs.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/stubs.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/stubs.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/stubs.ts
diff --git a/src/plugins/console/server/routes/api/console/proxy/validation_config.ts b/src/platform/plugins/shared/console/server/routes/api/console/proxy/validation_config.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/proxy/validation_config.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/proxy/validation_config.ts
diff --git a/src/plugins/console/server/routes/api/console/spec_definitions/index.ts b/src/platform/plugins/shared/console/server/routes/api/console/spec_definitions/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/api/console/spec_definitions/index.ts
rename to src/platform/plugins/shared/console/server/routes/api/console/spec_definitions/index.ts
diff --git a/src/plugins/console/server/routes/index.ts b/src/platform/plugins/shared/console/server/routes/index.ts
similarity index 100%
rename from src/plugins/console/server/routes/index.ts
rename to src/platform/plugins/shared/console/server/routes/index.ts
diff --git a/src/plugins/console/server/services/es_legacy_config_service.ts b/src/platform/plugins/shared/console/server/services/es_legacy_config_service.ts
similarity index 100%
rename from src/plugins/console/server/services/es_legacy_config_service.ts
rename to src/platform/plugins/shared/console/server/services/es_legacy_config_service.ts
diff --git a/src/plugins/console/server/services/index.ts b/src/platform/plugins/shared/console/server/services/index.ts
similarity index 100%
rename from src/plugins/console/server/services/index.ts
rename to src/platform/plugins/shared/console/server/services/index.ts
diff --git a/src/plugins/console/server/services/spec_definitions_service.test.ts b/src/platform/plugins/shared/console/server/services/spec_definitions_service.test.ts
similarity index 100%
rename from src/plugins/console/server/services/spec_definitions_service.test.ts
rename to src/platform/plugins/shared/console/server/services/spec_definitions_service.test.ts
diff --git a/src/plugins/console/server/services/spec_definitions_service.ts b/src/platform/plugins/shared/console/server/services/spec_definitions_service.ts
similarity index 100%
rename from src/plugins/console/server/services/spec_definitions_service.ts
rename to src/platform/plugins/shared/console/server/services/spec_definitions_service.ts
diff --git a/src/plugins/console/server/shared_imports.ts b/src/platform/plugins/shared/console/server/shared_imports.ts
similarity index 100%
rename from src/plugins/console/server/shared_imports.ts
rename to src/platform/plugins/shared/console/server/shared_imports.ts
diff --git a/src/plugins/console/server/types.ts b/src/platform/plugins/shared/console/server/types.ts
similarity index 100%
rename from src/plugins/console/server/types.ts
rename to src/platform/plugins/shared/console/server/types.ts
diff --git a/src/plugins/console/tsconfig.json b/src/platform/plugins/shared/console/tsconfig.json
similarity index 95%
rename from src/plugins/console/tsconfig.json
rename to src/platform/plugins/shared/console/tsconfig.json
index 02e4e7a9b7689..1b296983f6169 100644
--- a/src/plugins/console/tsconfig.json
+++ b/src/platform/plugins/shared/console/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/src/plugins/dev_tools/README.md b/src/platform/plugins/shared/dev_tools/README.md
similarity index 100%
rename from src/plugins/dev_tools/README.md
rename to src/platform/plugins/shared/dev_tools/README.md
diff --git a/src/plugins/dev_tools/common/constants.ts b/src/platform/plugins/shared/dev_tools/common/constants.ts
similarity index 100%
rename from src/plugins/dev_tools/common/constants.ts
rename to src/platform/plugins/shared/dev_tools/common/constants.ts
diff --git a/src/plugins/dev_tools/common/index.ts b/src/platform/plugins/shared/dev_tools/common/index.ts
similarity index 100%
rename from src/plugins/dev_tools/common/index.ts
rename to src/platform/plugins/shared/dev_tools/common/index.ts
diff --git a/src/plugins/dev_tools/kibana.jsonc b/src/platform/plugins/shared/dev_tools/kibana.jsonc
similarity index 100%
rename from src/plugins/dev_tools/kibana.jsonc
rename to src/platform/plugins/shared/dev_tools/kibana.jsonc
diff --git a/src/plugins/dev_tools/public/application.tsx b/src/platform/plugins/shared/dev_tools/public/application.tsx
similarity index 100%
rename from src/plugins/dev_tools/public/application.tsx
rename to src/platform/plugins/shared/dev_tools/public/application.tsx
diff --git a/src/plugins/dev_tools/public/constants/texts.ts b/src/platform/plugins/shared/dev_tools/public/constants/texts.ts
similarity index 100%
rename from src/plugins/dev_tools/public/constants/texts.ts
rename to src/platform/plugins/shared/dev_tools/public/constants/texts.ts
diff --git a/src/plugins/dev_tools/public/dev_tool.ts b/src/platform/plugins/shared/dev_tools/public/dev_tool.ts
similarity index 100%
rename from src/plugins/dev_tools/public/dev_tool.ts
rename to src/platform/plugins/shared/dev_tools/public/dev_tool.ts
diff --git a/src/plugins/dev_tools/public/index.scss b/src/platform/plugins/shared/dev_tools/public/index.scss
similarity index 100%
rename from src/plugins/dev_tools/public/index.scss
rename to src/platform/plugins/shared/dev_tools/public/index.scss
diff --git a/src/plugins/dev_tools/public/index.ts b/src/platform/plugins/shared/dev_tools/public/index.ts
similarity index 93%
rename from src/plugins/dev_tools/public/index.ts
rename to src/platform/plugins/shared/dev_tools/public/index.ts
index ebe346160b9be..800e6f46df24f 100644
--- a/src/plugins/dev_tools/public/index.ts
+++ b/src/platform/plugins/shared/dev_tools/public/index.ts
@@ -8,7 +8,6 @@
*/
// TODO: https://github.com/elastic/kibana/issues/110892
-/* eslint-disable @kbn/eslint/no_export_all */
import { DevToolsPlugin } from './plugin';
export * from './plugin';
diff --git a/src/plugins/dev_tools/public/plugin.ts b/src/platform/plugins/shared/dev_tools/public/plugin.ts
similarity index 100%
rename from src/plugins/dev_tools/public/plugin.ts
rename to src/platform/plugins/shared/dev_tools/public/plugin.ts
diff --git a/src/plugins/dev_tools/public/services/breadcrumb.ts b/src/platform/plugins/shared/dev_tools/public/services/breadcrumb.ts
similarity index 100%
rename from src/plugins/dev_tools/public/services/breadcrumb.ts
rename to src/platform/plugins/shared/dev_tools/public/services/breadcrumb.ts
diff --git a/src/plugins/dev_tools/public/services/doc_title.ts b/src/platform/plugins/shared/dev_tools/public/services/doc_title.ts
similarity index 100%
rename from src/plugins/dev_tools/public/services/doc_title.ts
rename to src/platform/plugins/shared/dev_tools/public/services/doc_title.ts
diff --git a/src/plugins/dev_tools/public/services/index.ts b/src/platform/plugins/shared/dev_tools/public/services/index.ts
similarity index 100%
rename from src/plugins/dev_tools/public/services/index.ts
rename to src/platform/plugins/shared/dev_tools/public/services/index.ts
diff --git a/src/plugins/dev_tools/public/types.ts b/src/platform/plugins/shared/dev_tools/public/types.ts
similarity index 100%
rename from src/plugins/dev_tools/public/types.ts
rename to src/platform/plugins/shared/dev_tools/public/types.ts
diff --git a/src/plugins/dev_tools/server/config.ts b/src/platform/plugins/shared/dev_tools/server/config.ts
similarity index 100%
rename from src/plugins/dev_tools/server/config.ts
rename to src/platform/plugins/shared/dev_tools/server/config.ts
diff --git a/src/plugins/dev_tools/server/index.ts b/src/platform/plugins/shared/dev_tools/server/index.ts
similarity index 100%
rename from src/plugins/dev_tools/server/index.ts
rename to src/platform/plugins/shared/dev_tools/server/index.ts
diff --git a/src/plugins/dev_tools/server/plugin.ts b/src/platform/plugins/shared/dev_tools/server/plugin.ts
similarity index 100%
rename from src/plugins/dev_tools/server/plugin.ts
rename to src/platform/plugins/shared/dev_tools/server/plugin.ts
diff --git a/src/plugins/dev_tools/server/ui_settings.ts b/src/platform/plugins/shared/dev_tools/server/ui_settings.ts
similarity index 100%
rename from src/plugins/dev_tools/server/ui_settings.ts
rename to src/platform/plugins/shared/dev_tools/server/ui_settings.ts
diff --git a/src/plugins/dev_tools/tsconfig.json b/src/platform/plugins/shared/dev_tools/tsconfig.json
similarity index 90%
rename from src/plugins/dev_tools/tsconfig.json
rename to src/platform/plugins/shared/dev_tools/tsconfig.json
index 102e44488a7eb..a80d3ddcea9f2 100644
--- a/src/plugins/dev_tools/tsconfig.json
+++ b/src/platform/plugins/shared/dev_tools/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/src/plugins/es_ui_shared/.storybook/main.ts b/src/platform/plugins/shared/es_ui_shared/.storybook/main.ts
similarity index 100%
rename from src/plugins/es_ui_shared/.storybook/main.ts
rename to src/platform/plugins/shared/es_ui_shared/.storybook/main.ts
diff --git a/src/plugins/es_ui_shared/.storybook/manager.ts b/src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts
similarity index 87%
rename from src/plugins/es_ui_shared/.storybook/manager.ts
rename to src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts
index bfeeb1b14c88e..566332bc6a3ed 100644
--- a/src/plugins/es_ui_shared/.storybook/manager.ts
+++ b/src/platform/plugins/shared/es_ui_shared/.storybook/manager.ts
@@ -15,7 +15,8 @@ addons.setConfig({
theme: create({
base: 'light',
brandTitle: 'Platform Deployment Management Storybook',
- brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/es_ui_shared',
+ brandUrl:
+ 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/es_ui_shared',
}),
showPanel: () => true,
selectedPanel: PANEL_ID,
diff --git a/src/plugins/es_ui_shared/README.md b/src/platform/plugins/shared/es_ui_shared/README.md
similarity index 100%
rename from src/plugins/es_ui_shared/README.md
rename to src/platform/plugins/shared/es_ui_shared/README.md
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/not_authorized_section.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.test.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.test.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.test.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/components/with_privileges.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/types.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/types.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/authorization/types.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/authorization/types.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.test.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.test.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.test.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/es_error_parser.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.test.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/handle_es_error.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/errors/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/errors/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/errors/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/global_flyout/global_flyout.tsx
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/global_flyout/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/global_flyout/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/global_flyout/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/global_flyout/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_collapsing.txt b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_collapsing.txt
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_collapsing.txt
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_collapsing.txt
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_expanding.txt b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_expanding.txt
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_expanding.txt
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/__fixtures__/utils_string_expanding.txt
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/index.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/json_xjson_translation_tools.test.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/json_xjson_translation_tools.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/json_xjson_translation_tools.test.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/json_xjson_translation_tools.test.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/json_xjson_translation_tools/parser.ts
diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts b/src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts
similarity index 100%
rename from src/plugins/es_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts
rename to src/platform/plugins/shared/es_ui_shared/__packages_do_not_import__/xjson/use_xjson_mode.ts
diff --git a/src/plugins/es_ui_shared/common/index.ts b/src/platform/plugins/shared/es_ui_shared/common/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/common/index.ts
rename to src/platform/plugins/shared/es_ui_shared/common/index.ts
diff --git a/src/plugins/management/jest.config.js b/src/platform/plugins/shared/es_ui_shared/jest.config.js
similarity index 60%
rename from src/plugins/management/jest.config.js
rename to src/platform/plugins/shared/es_ui_shared/jest.config.js
index df990c44e36c1..5deb0919362aa 100644
--- a/src/plugins/management/jest.config.js
+++ b/src/platform/plugins/shared/es_ui_shared/jest.config.js
@@ -9,9 +9,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/src/plugins/management'],
- coverageDirectory: '/target/kibana-coverage/jest/src/plugins/management',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/plugins/shared/es_ui_shared'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/src/platform/plugins/shared/es_ui_shared',
coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/src/plugins/management/{common,public,server}/**/*.{ts,tsx}'],
+ collectCoverageFrom: [
+ '/src/platform/plugins/shared/es_ui_shared/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}',
+ ],
};
diff --git a/src/plugins/es_ui_shared/kibana.jsonc b/src/platform/plugins/shared/es_ui_shared/kibana.jsonc
similarity index 100%
rename from src/plugins/es_ui_shared/kibana.jsonc
rename to src/platform/plugins/shared/es_ui_shared/kibana.jsonc
diff --git a/src/plugins/es_ui_shared/public/authorization/index.ts b/src/platform/plugins/shared/es_ui_shared/public/authorization/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/authorization/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/authorization/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/__snapshots__/cron_editor.test.tsx.snap
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/constants.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/constants.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/constants.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/constants.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_daily.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_daily.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_daily.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_daily.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_editor.test.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_editor.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_editor.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_hourly.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_hourly.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_hourly.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_hourly.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_monthly.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_monthly.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_monthly.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_monthly.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_weekly.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_weekly.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_weekly.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_weekly.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_yearly.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_yearly.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/cron_yearly.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/cron_yearly.tsx
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/services/cron.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/cron.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/services/cron.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/cron.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/services/humanized_numbers.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/humanized_numbers.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/services/humanized_numbers.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/humanized_numbers.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/services/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/services/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/services/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/types.ts b/src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/types.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/cron_editor/types.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/cron_editor/types.ts
diff --git a/src/plugins/es_ui_shared/public/components/json_editor/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/json_editor/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/json_editor/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/json_editor/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/json_editor/json_editor.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/json_editor/json_editor.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/json_editor/json_editor.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/json_editor/json_editor.tsx
diff --git a/src/plugins/es_ui_shared/public/components/json_editor/use_json.ts b/src/platform/plugins/shared/es_ui_shared/public/components/json_editor/use_json.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/json_editor/use_json.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/json_editor/use_json.ts
diff --git a/src/plugins/es_ui_shared/public/components/page_loading/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/page_loading/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/page_loading/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/page_loading/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/page_loading/page_loading.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/page_loading/page_loading.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/page_loading/page_loading.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/page_loading/page_loading.tsx
diff --git a/src/plugins/es_ui_shared/public/components/section_loading/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/section_loading/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/section_loading/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/section_loading/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/section_loading/section_loading.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/section_loading/section_loading.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/section_loading/section_loading.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/section_loading/section_loading.tsx
diff --git a/src/plugins/es_ui_shared/public/components/view_api_request_flyout/__snapshots__/view_api_request_flyout.test.tsx.snap b/src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/__snapshots__/view_api_request_flyout.test.tsx.snap
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/view_api_request_flyout/__snapshots__/view_api_request_flyout.test.tsx.snap
rename to src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/__snapshots__/view_api_request_flyout.test.tsx.snap
diff --git a/src/plugins/es_ui_shared/public/components/view_api_request_flyout/index.ts b/src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/view_api_request_flyout/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/index.ts
diff --git a/src/plugins/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.test.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.test.tsx
diff --git a/src/plugins/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.tsx b/src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/components/view_api_request_flyout/view_api_request_flyout.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/README.md b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/README.md
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/README.md
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/README.md
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_context.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_context.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_context.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_context.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_nav.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_step.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_step.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/form_wizard_step.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/form_wizard_step.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/form_wizard/index.ts b/src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/form_wizard/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/forms/form_wizard/index.ts
diff --git a/src/plugins/es_ui_shared/public/forms/index.ts b/src/platform/plugins/shared/es_ui_shared/public/forms/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/forms/index.ts
diff --git a/src/plugins/es_ui_shared/public/forms/multi_content/README.md b/src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/README.md
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/multi_content/README.md
rename to src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/README.md
diff --git a/src/plugins/es_ui_shared/public/forms/multi_content/index.ts b/src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/multi_content/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/index.ts
diff --git a/src/plugins/es_ui_shared/public/forms/multi_content/multi_content_context.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/multi_content_context.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/multi_content/multi_content_context.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/multi_content_context.tsx
diff --git a/src/plugins/es_ui_shared/public/forms/multi_content/use_multi_content.ts b/src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/use_multi_content.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/multi_content/use_multi_content.ts
rename to src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/use_multi_content.ts
diff --git a/src/plugins/es_ui_shared/public/forms/multi_content/with_multi_content.tsx b/src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/with_multi_content.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/forms/multi_content/with_multi_content.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/forms/multi_content/with_multi_content.tsx
diff --git a/src/plugins/es_ui_shared/public/global_flyout/index.ts b/src/platform/plugins/shared/es_ui_shared/public/global_flyout/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/global_flyout/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/global_flyout/index.ts
diff --git a/src/plugins/es_ui_shared/public/index.ts b/src/platform/plugins/shared/es_ui_shared/public/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/index.ts
diff --git a/src/plugins/es_ui_shared/public/indices/constants/index.ts b/src/platform/plugins/shared/es_ui_shared/public/indices/constants/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/indices/constants/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/indices/constants/index.ts
diff --git a/src/plugins/es_ui_shared/public/indices/index.ts b/src/platform/plugins/shared/es_ui_shared/public/indices/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/indices/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/indices/index.ts
diff --git a/src/plugins/es_ui_shared/public/indices/validate/index.ts b/src/platform/plugins/shared/es_ui_shared/public/indices/validate/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/indices/validate/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/indices/validate/index.ts
diff --git a/src/plugins/es_ui_shared/public/indices/validate/validate_index.test.ts b/src/platform/plugins/shared/es_ui_shared/public/indices/validate/validate_index.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/indices/validate/validate_index.test.ts
rename to src/platform/plugins/shared/es_ui_shared/public/indices/validate/validate_index.test.ts
diff --git a/src/plugins/es_ui_shared/public/indices/validate/validate_index.ts b/src/platform/plugins/shared/es_ui_shared/public/indices/validate/validate_index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/indices/validate/validate_index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/indices/validate/validate_index.ts
diff --git a/src/plugins/es_ui_shared/public/request/index.ts b/src/platform/plugins/shared/es_ui_shared/public/request/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/index.ts
diff --git a/src/plugins/es_ui_shared/public/request/send_request.test.helpers.ts b/src/platform/plugins/shared/es_ui_shared/public/request/send_request.test.helpers.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/send_request.test.helpers.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/send_request.test.helpers.ts
diff --git a/src/plugins/es_ui_shared/public/request/send_request.test.ts b/src/platform/plugins/shared/es_ui_shared/public/request/send_request.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/send_request.test.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/send_request.test.ts
diff --git a/src/plugins/es_ui_shared/public/request/send_request.ts b/src/platform/plugins/shared/es_ui_shared/public/request/send_request.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/send_request.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/send_request.ts
diff --git a/src/plugins/es_ui_shared/public/request/use_request.test.helpers.tsx b/src/platform/plugins/shared/es_ui_shared/public/request/use_request.test.helpers.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/use_request.test.helpers.tsx
rename to src/platform/plugins/shared/es_ui_shared/public/request/use_request.test.helpers.tsx
diff --git a/src/plugins/es_ui_shared/public/request/use_request.test.ts b/src/platform/plugins/shared/es_ui_shared/public/request/use_request.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/use_request.test.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/use_request.test.ts
diff --git a/src/plugins/es_ui_shared/public/request/use_request.ts b/src/platform/plugins/shared/es_ui_shared/public/request/use_request.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/request/use_request.ts
rename to src/platform/plugins/shared/es_ui_shared/public/request/use_request.ts
diff --git a/src/plugins/es_ui_shared/public/url/attempt_to_uri_decode.test.ts b/src/platform/plugins/shared/es_ui_shared/public/url/attempt_to_uri_decode.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/url/attempt_to_uri_decode.test.ts
rename to src/platform/plugins/shared/es_ui_shared/public/url/attempt_to_uri_decode.test.ts
diff --git a/src/plugins/es_ui_shared/public/url/attempt_to_uri_decode.ts b/src/platform/plugins/shared/es_ui_shared/public/url/attempt_to_uri_decode.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/url/attempt_to_uri_decode.ts
rename to src/platform/plugins/shared/es_ui_shared/public/url/attempt_to_uri_decode.ts
diff --git a/src/plugins/es_ui_shared/public/url/extract_query_params.ts b/src/platform/plugins/shared/es_ui_shared/public/url/extract_query_params.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/url/extract_query_params.ts
rename to src/platform/plugins/shared/es_ui_shared/public/url/extract_query_params.ts
diff --git a/src/plugins/es_ui_shared/public/url/index.ts b/src/platform/plugins/shared/es_ui_shared/public/url/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/url/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/url/index.ts
diff --git a/src/plugins/es_ui_shared/public/xjson/index.ts b/src/platform/plugins/shared/es_ui_shared/public/xjson/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/public/xjson/index.ts
rename to src/platform/plugins/shared/es_ui_shared/public/xjson/index.ts
diff --git a/src/plugins/es_ui_shared/server/errors/index.ts b/src/platform/plugins/shared/es_ui_shared/server/errors/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/server/errors/index.ts
rename to src/platform/plugins/shared/es_ui_shared/server/errors/index.ts
diff --git a/src/plugins/es_ui_shared/server/index.ts b/src/platform/plugins/shared/es_ui_shared/server/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/server/index.ts
rename to src/platform/plugins/shared/es_ui_shared/server/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/README.md b/src/platform/plugins/shared/es_ui_shared/static/forms/README.md
similarity index 96%
rename from src/plugins/es_ui_shared/static/forms/README.md
rename to src/platform/plugins/shared/es_ui_shared/static/forms/README.md
index e3e64faf0ddbc..98d3703ed57df 100644
--- a/src/plugins/es_ui_shared/static/forms/README.md
+++ b/src/platform/plugins/shared/es_ui_shared/static/forms/README.md
@@ -26,7 +26,7 @@ In order to run the documentation locally
"location": "../../",
// optional, if you want a faster build you can only include the form lib docs
"subdirs": [
- "src/plugins/es_ui_shared/static/forms/docs"
+ "src/platform/plugins/shared/es_ui_shared/static/forms/docs"
]
}
```
diff --git a/src/plugins/es_ui_shared/static/forms/components/field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/button_group_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/button_group_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/button_group_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/button_group_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/card_radio_group_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/card_radio_group_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/card_radio_group_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/card_radio_group_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/checkbox_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/checkbox_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/checkbox_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/checkbox_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/combobox_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/combobox_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/combobox_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/combobox_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/date_picker_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/date_picker_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/date_picker_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/date_picker_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/file_picker_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/file_picker_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/file_picker_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/file_picker_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/hidden_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/hidden_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/hidden_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/hidden_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/json_editor_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/json_editor_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/json_editor_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/json_editor_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/multi_button_group_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/multi_button_group_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/multi_button_group_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/multi_button_group_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/multi_select_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/multi_select_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/multi_select_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/multi_select_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/numeric_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/numeric_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/numeric_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/numeric_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/password_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/password_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/password_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/password_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/radio_group_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/radio_group_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/radio_group_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/range_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/range_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/range_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/range_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/select_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/select_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/select_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/select_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/super_select_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/super_select_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/super_select_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/super_select_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/text_area_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/text_area_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/text_area_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/text_area_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/text_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/text_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/text_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/text_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/fields/toggle_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/toggle_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/fields/toggle_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/fields/toggle_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/form_row.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/components/form_row.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/form_row.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/form_row.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/components/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/components/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/components/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/components/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/default_value.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/default_value.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/default_value.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/default_value.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/field_hook.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/field_hook.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/field_hook.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/field_hook.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/form_component.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_component.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/form_component.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_component.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/form_hook.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_hook.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/form_hook.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_hook.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/form_lib_field_value_change.png b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_lib_field_value_change.png
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/form_lib_field_value_change.png
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/form_lib_field_value_change.png
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/fundamentals.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/fundamentals.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/fundamentals.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/fundamentals.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_array.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_array.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_array.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_array.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_behavior_subject.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_behavior_subject.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_behavior_subject.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_behavior_subject.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_field.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_field.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_field.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_field.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_form_data.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_data.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_form_data.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_data.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_form_hook.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_hook.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_form_hook.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_hook.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_form_is_modified.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_is_modified.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_form_is_modified.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_form_is_modified.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/core/use_multi_fields.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_multi_fields.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/core/use_multi_fields.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/core/use_multi_fields.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/dynamic_fields.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/dynamic_fields.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/dynamic_fields.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/dynamic_fields.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/fields_composition.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/fields_composition.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/fields_composition.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/fields_composition.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/listening_to_changes.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/listening_to_changes.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/listening_to_changes.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/listening_to_changes.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/serializers_deserializers.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/serializers_deserializers.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/serializers_deserializers.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/serializers_deserializers.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/style_fields.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/style_fields.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/style_fields.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/style_fields.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/examples/validation.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/validation.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/examples/validation.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/examples/validation.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/helpers/components.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/helpers/components.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/helpers/components.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/helpers/components.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/helpers/validators.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/helpers/validators.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/helpers/validators.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/helpers/validators.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/docs/nav_form_lib.docnav.json b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/nav_form_lib.docnav.json
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/nav_form_lib.docnav.json
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/nav_form_lib.docnav.json
diff --git a/src/plugins/es_ui_shared/static/forms/docs/welcome.mdx b/src/platform/plugins/shared/es_ui_shared/static/forms/docs/welcome.mdx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/docs/welcome.mdx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/docs/welcome.mdx
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/de_serializers.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/de_serializers.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/de_serializers.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/de_serializers.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_formatters.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_formatters.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_formatters.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_formatters.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/contains_char.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/contains_char.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/contains_char.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/contains_char.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/empty_field.test.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/empty_field.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/empty_field.test.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/empty_field.test.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/empty_field.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/empty_field.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/empty_field.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/empty_field.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/index_name.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index_name.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/index_name.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index_name.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/index_pattern_field.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_integer.test.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_integer.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_integer.test.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_integer.test.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_integer.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_integer.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_integer.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_integer.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_json.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_json.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/is_json.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/is_json.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/lowercase_string.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/max_length.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/max_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/max_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/max_length.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/min_length.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/min_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/min_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/min_length.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/min_selectable_selection.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/number_greater_than.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/number_smaller_than.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/starts_with.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/starts_with.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/starts_with.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/starts_with.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/types.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/types.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/types.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/types.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/field_validators/url.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/url.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/field_validators/url.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/field_validators/url.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/serializers.test.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/serializers.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/serializers.test.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/serializers.test.ts
diff --git a/src/plugins/es_ui_shared/static/forms/helpers/serializers.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/helpers/serializers.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/helpers/serializers.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/helpers/serializers.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/constants.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/constants.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/constants.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/constants.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_de_serializer.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_de_serializer.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_de_serializer.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_de_serializer.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_default_value.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_default_value.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_default_value.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_default_value.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_global_fields.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_global_fields.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_global_fields.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_global_fields.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_is_modified.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_is_modified.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_is_modified.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_is_modified.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_utils.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_utils.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_utils.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_utils.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_validation.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_validation.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_validation.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/form_validation.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/types.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/types.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/types.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/types.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_basic.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_basic.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_basic.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_basic.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_complex.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_complex.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_complex.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_complex.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_dynamic_data.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_dynamic_data.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_dynamic_data.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_dynamic_data.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_reorder.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_reorder.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_reorder.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_array_reorder.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_change_listeners.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_change_listeners.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_change_listeners.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_change_listeners.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_field_types.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_field_types.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_field_types.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_field_field_types.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_multi_field_basic.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_multi_field_basic.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_multi_field_basic.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/__stories__/use_multi_field_basic.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form.stories.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form.stories.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form.stories.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form.stories.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/form_data_provider.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.stories.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.stories.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.stories.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.stories.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_array.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_array.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.stories.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.stories.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.stories.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.stories.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_field.stories.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_field.stories.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_field.stories.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_field.stories.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/components/use_multi_fields.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/constants.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/constants.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/constants.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/constants.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/form_context.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/form_context.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/form_context.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/form_context.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/form_data_context.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/form_data_context.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/form_data_context.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/form_data_context.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/helpers.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/helpers.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/helpers.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/helpers.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.test.tsx b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.test.tsx
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.test.tsx
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.test.tsx
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_is_modified.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/utils/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/utils/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/utils/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/utils/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/utils/use_behavior_subject.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/utils/use_behavior_subject.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/utils/use_behavior_subject.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/hooks/utils/use_behavior_subject.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/index.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/index.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/subject.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/subject.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/subject.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/subject.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/utils.test.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/utils.test.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/utils.test.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/utils.test.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/utils.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/utils.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/lib/utils.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/lib/utils.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/shared_imports.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/shared_imports.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/shared_imports.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/shared_imports.ts
diff --git a/src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts b/src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/types.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts
rename to src/platform/plugins/shared/es_ui_shared/static/forms/hook_form_lib/types.ts
diff --git a/src/plugins/es_ui_shared/static/validators/array/has_max_length.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/array/has_max_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/array/has_max_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/array/has_max_length.ts
diff --git a/src/plugins/es_ui_shared/static/validators/array/has_min_length.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/array/has_min_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/array/has_min_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/array/has_min_length.ts
diff --git a/src/plugins/es_ui_shared/static/validators/array/index.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/array/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/array/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/array/index.ts
diff --git a/src/plugins/es_ui_shared/static/validators/array/is_empty.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/array/is_empty.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/array/is_empty.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/array/is_empty.ts
diff --git a/src/plugins/es_ui_shared/static/validators/number/greater_than.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/number/greater_than.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/number/greater_than.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/number/greater_than.ts
diff --git a/src/plugins/es_ui_shared/static/validators/number/index.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/number/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/number/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/number/index.ts
diff --git a/src/plugins/es_ui_shared/static/validators/number/smaller_than.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/number/smaller_than.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/number/smaller_than.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/number/smaller_than.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/contains_chars.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/contains_chars.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/contains_chars.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/contains_chars.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/ends_with.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/ends_with.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/ends_with.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/ends_with.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/has_max_length.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/has_max_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/has_max_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/has_max_length.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/has_min_length.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/has_min_length.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/has_min_length.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/has_min_length.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/index.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/index.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/index.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/index.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/is_empty.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/is_empty.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/is_empty.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/is_empty.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/is_json.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/is_json.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/is_json.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/is_json.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/is_lowercase.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/is_lowercase.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/is_lowercase.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/is_lowercase.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/is_url.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/is_url.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/is_url.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/is_url.ts
diff --git a/src/plugins/es_ui_shared/static/validators/string/starts_with.ts b/src/platform/plugins/shared/es_ui_shared/static/validators/string/starts_with.ts
similarity index 100%
rename from src/plugins/es_ui_shared/static/validators/string/starts_with.ts
rename to src/platform/plugins/shared/es_ui_shared/static/validators/string/starts_with.ts
diff --git a/src/plugins/es_ui_shared/tsconfig.json b/src/platform/plugins/shared/es_ui_shared/tsconfig.json
similarity index 87%
rename from src/plugins/es_ui_shared/tsconfig.json
rename to src/platform/plugins/shared/es_ui_shared/tsconfig.json
index 2747f41b0f370..2ec9524e4a111 100644
--- a/src/plugins/es_ui_shared/tsconfig.json
+++ b/src/platform/plugins/shared/es_ui_shared/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
@@ -9,7 +9,7 @@
"public/**/*",
"server/**/*",
"static/**/*",
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
".storybook/**/*"
],
"kbn_references": [
diff --git a/src/plugins/management/README.md b/src/platform/plugins/shared/management/README.md
similarity index 82%
rename from src/plugins/management/README.md
rename to src/platform/plugins/shared/management/README.md
index 15974f6d4814d..f3135cd9dd2da 100644
--- a/src/plugins/management/README.md
+++ b/src/platform/plugins/shared/management/README.md
@@ -14,13 +14,13 @@ your plugin's `setup` method:
management.setupCardsNavigation({ enabled: true });
```
-The cards that will be shown are defined in the `packages/kbn-management/cards_navigation/src/consts.tsx` file
+The cards that will be shown are defined in the `src/platform/packages/shared/kbn-management/cards_navigation/src/consts.tsx` file
and they are grouped into categories. These cards are computed based on the `SectionsService` that is provided
in the `management` plugin.
### Adding a new card to the navigation
-For adding a new item to the navigation all you have to do is edit the `packages/kbn-management/cards_navigation/src/consts.tsx`
+For adding a new item to the navigation all you have to do is edit the `src/platform/packages/shared/kbn-management/cards_navigation/src/consts.tsx`
file and add two things:
* Add the app id into the `appIds` enum (make sure that the app_id value matches the one from the plugin)
@@ -38,4 +38,4 @@ If card needs to be hidden from the navigation you can specify that by using the
});
```
-More specifics about the `setupCardsNavigation` can be found in `packages/kbn-management/cards_navigation/readme.mdx`.
+More specifics about the `setupCardsNavigation` can be found in `src/platform/packages/shared/kbn-management/cards_navigation/readme.mdx`.
diff --git a/src/plugins/management/common/contants.ts b/src/platform/plugins/shared/management/common/contants.ts
similarity index 100%
rename from src/plugins/management/common/contants.ts
rename to src/platform/plugins/shared/management/common/contants.ts
diff --git a/src/plugins/management/common/index.ts b/src/platform/plugins/shared/management/common/index.ts
similarity index 100%
rename from src/plugins/management/common/index.ts
rename to src/platform/plugins/shared/management/common/index.ts
diff --git a/src/plugins/management/common/locator.test.ts b/src/platform/plugins/shared/management/common/locator.test.ts
similarity index 100%
rename from src/plugins/management/common/locator.test.ts
rename to src/platform/plugins/shared/management/common/locator.test.ts
diff --git a/src/plugins/management/common/locator.ts b/src/platform/plugins/shared/management/common/locator.ts
similarity index 100%
rename from src/plugins/management/common/locator.ts
rename to src/platform/plugins/shared/management/common/locator.ts
diff --git a/src/plugins/console/jest.config.js b/src/platform/plugins/shared/management/jest.config.js
similarity index 71%
rename from src/plugins/console/jest.config.js
rename to src/platform/plugins/shared/management/jest.config.js
index 0a55da6792911..bae14a396ffe1 100644
--- a/src/plugins/console/jest.config.js
+++ b/src/platform/plugins/shared/management/jest.config.js
@@ -9,9 +9,11 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/src/plugins/console'],
- coverageDirectory: '/target/kibana-coverage/jest/src/plugins/console',
+ rootDir: '../../../../..',
+ roots: ['/src/platform/plugins/shared/management'],
+ coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/management',
coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/src/plugins/console/{common,public,server}/**/*.{js,ts,tsx}'],
+ collectCoverageFrom: [
+ '/src/platform/plugins/shared/management/{common,public,server}/**/*.{ts,tsx}',
+ ],
};
diff --git a/src/plugins/management/kibana.jsonc b/src/platform/plugins/shared/management/kibana.jsonc
similarity index 100%
rename from src/plugins/management/kibana.jsonc
rename to src/platform/plugins/shared/management/kibana.jsonc
diff --git a/src/plugins/management/public/application.tsx b/src/platform/plugins/shared/management/public/application.tsx
similarity index 100%
rename from src/plugins/management/public/application.tsx
rename to src/platform/plugins/shared/management/public/application.tsx
diff --git a/src/plugins/management/public/components/index.ts b/src/platform/plugins/shared/management/public/components/index.ts
similarity index 100%
rename from src/plugins/management/public/components/index.ts
rename to src/platform/plugins/shared/management/public/components/index.ts
diff --git a/src/plugins/management/public/components/landing/classic_empty_prompt.tsx b/src/platform/plugins/shared/management/public/components/landing/classic_empty_prompt.tsx
similarity index 100%
rename from src/plugins/management/public/components/landing/classic_empty_prompt.tsx
rename to src/platform/plugins/shared/management/public/components/landing/classic_empty_prompt.tsx
diff --git a/src/plugins/management/public/components/landing/index.ts b/src/platform/plugins/shared/management/public/components/landing/index.ts
similarity index 100%
rename from src/plugins/management/public/components/landing/index.ts
rename to src/platform/plugins/shared/management/public/components/landing/index.ts
diff --git a/src/plugins/management/public/components/landing/landing.test.tsx b/src/platform/plugins/shared/management/public/components/landing/landing.test.tsx
similarity index 100%
rename from src/plugins/management/public/components/landing/landing.test.tsx
rename to src/platform/plugins/shared/management/public/components/landing/landing.test.tsx
diff --git a/src/plugins/management/public/components/landing/landing.tsx b/src/platform/plugins/shared/management/public/components/landing/landing.tsx
similarity index 100%
rename from src/plugins/management/public/components/landing/landing.tsx
rename to src/platform/plugins/shared/management/public/components/landing/landing.tsx
diff --git a/src/plugins/management/public/components/landing/solution_empty_prompt.tsx b/src/platform/plugins/shared/management/public/components/landing/solution_empty_prompt.tsx
similarity index 100%
rename from src/plugins/management/public/components/landing/solution_empty_prompt.tsx
rename to src/platform/plugins/shared/management/public/components/landing/solution_empty_prompt.tsx
diff --git a/src/plugins/management/public/components/management_app/index.ts b/src/platform/plugins/shared/management/public/components/management_app/index.ts
similarity index 100%
rename from src/plugins/management/public/components/management_app/index.ts
rename to src/platform/plugins/shared/management/public/components/management_app/index.ts
diff --git a/src/plugins/management/public/components/management_app/management_app.scss b/src/platform/plugins/shared/management/public/components/management_app/management_app.scss
similarity index 100%
rename from src/plugins/management/public/components/management_app/management_app.scss
rename to src/platform/plugins/shared/management/public/components/management_app/management_app.scss
diff --git a/src/plugins/management/public/components/management_app/management_app.tsx b/src/platform/plugins/shared/management/public/components/management_app/management_app.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_app/management_app.tsx
rename to src/platform/plugins/shared/management/public/components/management_app/management_app.tsx
diff --git a/src/plugins/management/public/components/management_app/management_context.tsx b/src/platform/plugins/shared/management/public/components/management_app/management_context.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_app/management_context.tsx
rename to src/platform/plugins/shared/management/public/components/management_app/management_context.tsx
diff --git a/src/plugins/management/public/components/management_app/management_router.tsx b/src/platform/plugins/shared/management/public/components/management_app/management_router.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_app/management_router.tsx
rename to src/platform/plugins/shared/management/public/components/management_app/management_router.tsx
diff --git a/src/plugins/management/public/components/management_app_wrapper/index.tsx b/src/platform/plugins/shared/management/public/components/management_app_wrapper/index.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_app_wrapper/index.tsx
rename to src/platform/plugins/shared/management/public/components/management_app_wrapper/index.tsx
diff --git a/src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx b/src/platform/plugins/shared/management/public/components/management_app_wrapper/management_app_wrapper.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_app_wrapper/management_app_wrapper.tsx
rename to src/platform/plugins/shared/management/public/components/management_app_wrapper/management_app_wrapper.tsx
diff --git a/src/plugins/management/public/components/management_sections.tsx b/src/platform/plugins/shared/management/public/components/management_sections.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_sections.tsx
rename to src/platform/plugins/shared/management/public/components/management_sections.tsx
diff --git a/src/plugins/management/public/components/management_sidebar_nav/index.ts b/src/platform/plugins/shared/management/public/components/management_sidebar_nav/index.ts
similarity index 100%
rename from src/plugins/management/public/components/management_sidebar_nav/index.ts
rename to src/platform/plugins/shared/management/public/components/management_sidebar_nav/index.ts
diff --git a/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.scss b/src/platform/plugins/shared/management/public/components/management_sidebar_nav/management_sidebar_nav.scss
similarity index 100%
rename from src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.scss
rename to src/platform/plugins/shared/management/public/components/management_sidebar_nav/management_sidebar_nav.scss
diff --git a/src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx b/src/platform/plugins/shared/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx
similarity index 100%
rename from src/plugins/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx
rename to src/platform/plugins/shared/management/public/components/management_sidebar_nav/management_sidebar_nav.tsx
diff --git a/src/plugins/management/public/index.ts b/src/platform/plugins/shared/management/public/index.ts
similarity index 100%
rename from src/plugins/management/public/index.ts
rename to src/platform/plugins/shared/management/public/index.ts
diff --git a/src/plugins/management/public/management_sections_service.test.ts b/src/platform/plugins/shared/management/public/management_sections_service.test.ts
similarity index 100%
rename from src/plugins/management/public/management_sections_service.test.ts
rename to src/platform/plugins/shared/management/public/management_sections_service.test.ts
diff --git a/src/plugins/management/public/management_sections_service.ts b/src/platform/plugins/shared/management/public/management_sections_service.ts
similarity index 100%
rename from src/plugins/management/public/management_sections_service.ts
rename to src/platform/plugins/shared/management/public/management_sections_service.ts
diff --git a/src/plugins/management/public/mocks/index.ts b/src/platform/plugins/shared/management/public/mocks/index.ts
similarity index 100%
rename from src/plugins/management/public/mocks/index.ts
rename to src/platform/plugins/shared/management/public/mocks/index.ts
diff --git a/src/plugins/management/public/plugin.tsx b/src/platform/plugins/shared/management/public/plugin.tsx
similarity index 100%
rename from src/plugins/management/public/plugin.tsx
rename to src/platform/plugins/shared/management/public/plugin.tsx
diff --git a/src/plugins/management/public/types.ts b/src/platform/plugins/shared/management/public/types.ts
similarity index 100%
rename from src/plugins/management/public/types.ts
rename to src/platform/plugins/shared/management/public/types.ts
diff --git a/src/plugins/management/public/utils/breadcrumbs.ts b/src/platform/plugins/shared/management/public/utils/breadcrumbs.ts
similarity index 100%
rename from src/plugins/management/public/utils/breadcrumbs.ts
rename to src/platform/plugins/shared/management/public/utils/breadcrumbs.ts
diff --git a/src/plugins/management/public/utils/index.ts b/src/platform/plugins/shared/management/public/utils/index.ts
similarity index 100%
rename from src/plugins/management/public/utils/index.ts
rename to src/platform/plugins/shared/management/public/utils/index.ts
diff --git a/src/plugins/management/public/utils/management_app.ts b/src/platform/plugins/shared/management/public/utils/management_app.ts
similarity index 100%
rename from src/plugins/management/public/utils/management_app.ts
rename to src/platform/plugins/shared/management/public/utils/management_app.ts
diff --git a/src/plugins/management/public/utils/management_item.ts b/src/platform/plugins/shared/management/public/utils/management_item.ts
similarity index 100%
rename from src/plugins/management/public/utils/management_item.ts
rename to src/platform/plugins/shared/management/public/utils/management_item.ts
diff --git a/src/plugins/management/public/utils/management_section.test.ts b/src/platform/plugins/shared/management/public/utils/management_section.test.ts
similarity index 100%
rename from src/plugins/management/public/utils/management_section.test.ts
rename to src/platform/plugins/shared/management/public/utils/management_section.test.ts
diff --git a/src/plugins/management/public/utils/management_section.ts b/src/platform/plugins/shared/management/public/utils/management_section.ts
similarity index 100%
rename from src/plugins/management/public/utils/management_section.ts
rename to src/platform/plugins/shared/management/public/utils/management_section.ts
diff --git a/src/plugins/management/server/capabilities_provider.ts b/src/platform/plugins/shared/management/server/capabilities_provider.ts
similarity index 100%
rename from src/plugins/management/server/capabilities_provider.ts
rename to src/platform/plugins/shared/management/server/capabilities_provider.ts
diff --git a/src/plugins/management/server/config.ts b/src/platform/plugins/shared/management/server/config.ts
similarity index 100%
rename from src/plugins/management/server/config.ts
rename to src/platform/plugins/shared/management/server/config.ts
diff --git a/src/plugins/management/server/index.ts b/src/platform/plugins/shared/management/server/index.ts
similarity index 100%
rename from src/plugins/management/server/index.ts
rename to src/platform/plugins/shared/management/server/index.ts
diff --git a/src/plugins/management/server/plugin.ts b/src/platform/plugins/shared/management/server/plugin.ts
similarity index 100%
rename from src/plugins/management/server/plugin.ts
rename to src/platform/plugins/shared/management/server/plugin.ts
diff --git a/src/plugins/management/tsconfig.json b/src/platform/plugins/shared/management/tsconfig.json
similarity index 90%
rename from src/plugins/management/tsconfig.json
rename to src/platform/plugins/shared/management/tsconfig.json
index 01b1f62b3ba15..a32ec64ec1ee8 100644
--- a/src/plugins/management/tsconfig.json
+++ b/src/platform/plugins/shared/management/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/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/src/plugins/advanced_settings/README.md b/src/plugins/advanced_settings/README.md
index 5403974bfe686..0154d73c46f46 100644
--- a/src/plugins/advanced_settings/README.md
+++ b/src/plugins/advanced_settings/README.md
@@ -1,5 +1,5 @@
# Advanced Settings
-This plugin registers the [management settings application](packages/kbn-management/settings/application/application.tsx)
+This plugin registers the [management settings application](src/platform/packages/private/kbn-management/settings/application/application.tsx)
allowing users to configure their advanced settings, also known
as uiSettings within the code.
\ No newline at end of file
diff --git a/src/plugins/console/server/lib/spec_definitions/json/README.md b/src/plugins/console/server/lib/spec_definitions/json/README.md
deleted file mode 100644
index 9e9dc9fbec716..0000000000000
--- a/src/plugins/console/server/lib/spec_definitions/json/README.md
+++ /dev/null
@@ -1 +0,0 @@
-Please refer to this [README](https://github.com/elastic/kibana/blob/main/src/plugins/console/README.md#creating-definitions) file before adding/editing definitions files in this folder.
\ No newline at end of file
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 647dd60dc0707..8134a78ea0bd5 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -162,8 +162,8 @@
"@kbn/cloud/*": ["packages/cloud/*"],
"@kbn/cloud-chat-plugin": ["x-pack/plugins/cloud_integrations/cloud_chat"],
"@kbn/cloud-chat-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_chat/*"],
- "@kbn/cloud-data-migration-plugin": ["x-pack/plugins/cloud_integrations/cloud_data_migration"],
- "@kbn/cloud-data-migration-plugin/*": ["x-pack/plugins/cloud_integrations/cloud_data_migration/*"],
+ "@kbn/cloud-data-migration-plugin": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration"],
+ "@kbn/cloud-data-migration-plugin/*": ["x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/*"],
"@kbn/cloud-defend-plugin": ["x-pack/plugins/cloud_defend"],
"@kbn/cloud-defend-plugin/*": ["x-pack/plugins/cloud_defend/*"],
"@kbn/cloud-experiments-plugin": ["x-pack/plugins/cloud_integrations/cloud_experiments"],
@@ -198,8 +198,8 @@
"@kbn/config-mocks/*": ["packages/kbn-config-mocks/*"],
"@kbn/config-schema": ["packages/kbn-config-schema"],
"@kbn/config-schema/*": ["packages/kbn-config-schema/*"],
- "@kbn/console-plugin": ["src/plugins/console"],
- "@kbn/console-plugin/*": ["src/plugins/console/*"],
+ "@kbn/console-plugin": ["src/platform/plugins/shared/console"],
+ "@kbn/console-plugin/*": ["src/platform/plugins/shared/console/*"],
"@kbn/content-management-content-editor": ["packages/content-management/content_editor"],
"@kbn/content-management-content-editor/*": ["packages/content-management/content_editor/*"],
"@kbn/content-management-content-insights-public": ["packages/content-management/content_insights/content_insights_public"],
@@ -680,8 +680,8 @@
"@kbn/core-user-settings-server-internal/*": ["packages/core/user-settings/core-user-settings-server-internal/*"],
"@kbn/core-user-settings-server-mocks": ["packages/core/user-settings/core-user-settings-server-mocks"],
"@kbn/core-user-settings-server-mocks/*": ["packages/core/user-settings/core-user-settings-server-mocks/*"],
- "@kbn/cross-cluster-replication-plugin": ["x-pack/plugins/cross_cluster_replication"],
- "@kbn/cross-cluster-replication-plugin/*": ["x-pack/plugins/cross_cluster_replication/*"],
+ "@kbn/cross-cluster-replication-plugin": ["x-pack/platform/plugins/private/cross_cluster_replication"],
+ "@kbn/cross-cluster-replication-plugin/*": ["x-pack/platform/plugins/private/cross_cluster_replication/*"],
"@kbn/crypto": ["packages/kbn-crypto"],
"@kbn/crypto/*": ["packages/kbn-crypto/*"],
"@kbn/crypto-browser": ["packages/kbn-crypto-browser"],
@@ -734,12 +734,12 @@
"@kbn/datemath/*": ["packages/kbn-datemath/*"],
"@kbn/deeplinks-analytics": ["packages/deeplinks/analytics"],
"@kbn/deeplinks-analytics/*": ["packages/deeplinks/analytics/*"],
- "@kbn/deeplinks-devtools": ["packages/deeplinks/devtools"],
- "@kbn/deeplinks-devtools/*": ["packages/deeplinks/devtools/*"],
+ "@kbn/deeplinks-devtools": ["src/platform/packages/shared/deeplinks/devtools"],
+ "@kbn/deeplinks-devtools/*": ["src/platform/packages/shared/deeplinks/devtools/*"],
"@kbn/deeplinks-fleet": ["packages/deeplinks/fleet"],
"@kbn/deeplinks-fleet/*": ["packages/deeplinks/fleet/*"],
- "@kbn/deeplinks-management": ["packages/deeplinks/management"],
- "@kbn/deeplinks-management/*": ["packages/deeplinks/management/*"],
+ "@kbn/deeplinks-management": ["src/platform/packages/shared/deeplinks/management"],
+ "@kbn/deeplinks-management/*": ["src/platform/packages/shared/deeplinks/management/*"],
"@kbn/deeplinks-ml": ["src/platform/packages/shared/deeplinks/ml"],
"@kbn/deeplinks-ml/*": ["src/platform/packages/shared/deeplinks/ml/*"],
"@kbn/deeplinks-observability": ["src/platform/packages/shared/deeplinks/observability"],
@@ -752,10 +752,10 @@
"@kbn/deeplinks-shared/*": ["packages/deeplinks/shared/*"],
"@kbn/default-nav-analytics": ["packages/default-nav/analytics"],
"@kbn/default-nav-analytics/*": ["packages/default-nav/analytics/*"],
- "@kbn/default-nav-devtools": ["packages/default-nav/devtools"],
- "@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-devtools": ["src/platform/packages/private/default-nav/devtools"],
+ "@kbn/default-nav-devtools/*": ["src/platform/packages/private/default-nav/devtools/*"],
+ "@kbn/default-nav-management": ["src/platform/packages/private/default-nav/management"],
+ "@kbn/default-nav-management/*": ["src/platform/packages/private/default-nav/management/*"],
"@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"],
@@ -768,8 +768,8 @@
"@kbn/dev-cli-runner/*": ["packages/kbn-dev-cli-runner/*"],
"@kbn/dev-proc-runner": ["packages/kbn-dev-proc-runner"],
"@kbn/dev-proc-runner/*": ["packages/kbn-dev-proc-runner/*"],
- "@kbn/dev-tools-plugin": ["src/plugins/dev_tools"],
- "@kbn/dev-tools-plugin/*": ["src/plugins/dev_tools/*"],
+ "@kbn/dev-tools-plugin": ["src/platform/plugins/shared/dev_tools"],
+ "@kbn/dev-tools-plugin/*": ["src/platform/plugins/shared/dev_tools/*"],
"@kbn/dev-utils": ["packages/kbn-dev-utils"],
"@kbn/dev-utils/*": ["packages/kbn-dev-utils/*"],
"@kbn/developer-examples-plugin": ["examples/developer_examples"],
@@ -844,8 +844,8 @@
"@kbn/es-query/*": ["packages/kbn-es-query/*"],
"@kbn/es-types": ["packages/kbn-es-types"],
"@kbn/es-types/*": ["packages/kbn-es-types/*"],
- "@kbn/es-ui-shared-plugin": ["src/plugins/es_ui_shared"],
- "@kbn/es-ui-shared-plugin/*": ["src/plugins/es_ui_shared/*"],
+ "@kbn/es-ui-shared-plugin": ["src/platform/plugins/shared/es_ui_shared"],
+ "@kbn/es-ui-shared-plugin/*": ["src/platform/plugins/shared/es_ui_shared/*"],
"@kbn/eslint-config": ["packages/kbn-eslint-config"],
"@kbn/eslint-config/*": ["packages/kbn-eslint-config/*"],
"@kbn/eslint-plugin-disable": ["packages/kbn-eslint-plugin-disable"],
@@ -1008,8 +1008,8 @@
"@kbn/grid-example-plugin/*": ["examples/grid_example/*"],
"@kbn/grid-layout": ["packages/kbn-grid-layout"],
"@kbn/grid-layout/*": ["packages/kbn-grid-layout/*"],
- "@kbn/grokdebugger-plugin": ["x-pack/plugins/grokdebugger"],
- "@kbn/grokdebugger-plugin/*": ["x-pack/plugins/grokdebugger/*"],
+ "@kbn/grokdebugger-plugin": ["x-pack/platform/plugins/private/grokdebugger"],
+ "@kbn/grokdebugger-plugin/*": ["x-pack/platform/plugins/private/grokdebugger/*"],
"@kbn/grouping": ["packages/kbn-grouping"],
"@kbn/grouping/*": ["packages/kbn-grouping/*"],
"@kbn/guided-onboarding": ["packages/kbn-guided-onboarding"],
@@ -1050,14 +1050,14 @@
"@kbn/import-resolver/*": ["packages/kbn-import-resolver/*"],
"@kbn/index-adapter": ["x-pack/solutions/security/packages/index-adapter"],
"@kbn/index-adapter/*": ["x-pack/solutions/security/packages/index-adapter/*"],
- "@kbn/index-lifecycle-management-common-shared": ["x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared"],
- "@kbn/index-lifecycle-management-common-shared/*": ["x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/*"],
- "@kbn/index-lifecycle-management-plugin": ["x-pack/plugins/index_lifecycle_management"],
- "@kbn/index-lifecycle-management-plugin/*": ["x-pack/plugins/index_lifecycle_management/*"],
+ "@kbn/index-lifecycle-management-common-shared": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared"],
+ "@kbn/index-lifecycle-management-common-shared/*": ["x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/*"],
+ "@kbn/index-lifecycle-management-plugin": ["x-pack/platform/plugins/private/index_lifecycle_management"],
+ "@kbn/index-lifecycle-management-plugin/*": ["x-pack/platform/plugins/private/index_lifecycle_management/*"],
"@kbn/index-management-plugin": ["x-pack/plugins/index_management"],
"@kbn/index-management-plugin/*": ["x-pack/plugins/index_management/*"],
- "@kbn/index-management-shared-types": ["x-pack/packages/index-management/index_management_shared_types"],
- "@kbn/index-management-shared-types/*": ["x-pack/packages/index-management/index_management_shared_types/*"],
+ "@kbn/index-management-shared-types": ["x-pack/platform/packages/shared/index-management/index_management_shared_types"],
+ "@kbn/index-management-shared-types/*": ["x-pack/platform/packages/shared/index-management/index_management_shared_types/*"],
"@kbn/index-patterns-test-plugin": ["test/plugin_functional/plugins/index_patterns"],
"@kbn/index-patterns-test-plugin/*": ["test/plugin_functional/plugins/index_patterns/*"],
"@kbn/inference_integration_flyout": ["x-pack/platform/packages/private/ml/inference_integration_flyout"],
@@ -1146,10 +1146,10 @@
"@kbn/lens-inline-editing-example-plugin/*": ["x-pack/examples/lens_embeddable_inline_editing_example/*"],
"@kbn/lens-plugin": ["x-pack/plugins/lens"],
"@kbn/lens-plugin/*": ["x-pack/plugins/lens/*"],
- "@kbn/license-api-guard-plugin": ["x-pack/plugins/license_api_guard"],
- "@kbn/license-api-guard-plugin/*": ["x-pack/plugins/license_api_guard/*"],
- "@kbn/license-management-plugin": ["x-pack/plugins/license_management"],
- "@kbn/license-management-plugin/*": ["x-pack/plugins/license_management/*"],
+ "@kbn/license-api-guard-plugin": ["x-pack/platform/plugins/private/license_api_guard"],
+ "@kbn/license-api-guard-plugin/*": ["x-pack/platform/plugins/private/license_api_guard/*"],
+ "@kbn/license-management-plugin": ["x-pack/platform/plugins/shared/license_management"],
+ "@kbn/license-management-plugin/*": ["x-pack/platform/plugins/shared/license_management/*"],
"@kbn/licensing-plugin": ["x-pack/plugins/licensing"],
"@kbn/licensing-plugin/*": ["x-pack/plugins/licensing/*"],
"@kbn/links-plugin": ["src/plugins/links"],
@@ -1184,30 +1184,30 @@
"@kbn/managed-vscode-config/*": ["packages/kbn-managed-vscode-config/*"],
"@kbn/managed-vscode-config-cli": ["packages/kbn-managed-vscode-config-cli"],
"@kbn/managed-vscode-config-cli/*": ["packages/kbn-managed-vscode-config-cli/*"],
- "@kbn/management-cards-navigation": ["packages/kbn-management/cards_navigation"],
- "@kbn/management-cards-navigation/*": ["packages/kbn-management/cards_navigation/*"],
- "@kbn/management-plugin": ["src/plugins/management"],
- "@kbn/management-plugin/*": ["src/plugins/management/*"],
- "@kbn/management-settings-application": ["packages/kbn-management/settings/application"],
- "@kbn/management-settings-application/*": ["packages/kbn-management/settings/application/*"],
- "@kbn/management-settings-components-field-category": ["packages/kbn-management/settings/components/field_category"],
- "@kbn/management-settings-components-field-category/*": ["packages/kbn-management/settings/components/field_category/*"],
- "@kbn/management-settings-components-field-input": ["packages/kbn-management/settings/components/field_input"],
- "@kbn/management-settings-components-field-input/*": ["packages/kbn-management/settings/components/field_input/*"],
- "@kbn/management-settings-components-field-row": ["packages/kbn-management/settings/components/field_row"],
- "@kbn/management-settings-components-field-row/*": ["packages/kbn-management/settings/components/field_row/*"],
- "@kbn/management-settings-components-form": ["packages/kbn-management/settings/components/form"],
- "@kbn/management-settings-components-form/*": ["packages/kbn-management/settings/components/form/*"],
- "@kbn/management-settings-field-definition": ["packages/kbn-management/settings/field_definition"],
- "@kbn/management-settings-field-definition/*": ["packages/kbn-management/settings/field_definition/*"],
+ "@kbn/management-cards-navigation": ["src/platform/packages/shared/kbn-management/cards_navigation"],
+ "@kbn/management-cards-navigation/*": ["src/platform/packages/shared/kbn-management/cards_navigation/*"],
+ "@kbn/management-plugin": ["src/platform/plugins/shared/management"],
+ "@kbn/management-plugin/*": ["src/platform/plugins/shared/management/*"],
+ "@kbn/management-settings-application": ["src/platform/packages/private/kbn-management/settings/application"],
+ "@kbn/management-settings-application/*": ["src/platform/packages/private/kbn-management/settings/application/*"],
+ "@kbn/management-settings-components-field-category": ["src/platform/packages/private/kbn-management/settings/components/field_category"],
+ "@kbn/management-settings-components-field-category/*": ["src/platform/packages/private/kbn-management/settings/components/field_category/*"],
+ "@kbn/management-settings-components-field-input": ["src/platform/packages/shared/kbn-management/settings/components/field_input"],
+ "@kbn/management-settings-components-field-input/*": ["src/platform/packages/shared/kbn-management/settings/components/field_input/*"],
+ "@kbn/management-settings-components-field-row": ["src/platform/packages/shared/kbn-management/settings/components/field_row"],
+ "@kbn/management-settings-components-field-row/*": ["src/platform/packages/shared/kbn-management/settings/components/field_row/*"],
+ "@kbn/management-settings-components-form": ["src/platform/packages/private/kbn-management/settings/components/form"],
+ "@kbn/management-settings-components-form/*": ["src/platform/packages/private/kbn-management/settings/components/form/*"],
+ "@kbn/management-settings-field-definition": ["src/platform/packages/shared/kbn-management/settings/field_definition"],
+ "@kbn/management-settings-field-definition/*": ["src/platform/packages/shared/kbn-management/settings/field_definition/*"],
"@kbn/management-settings-ids": ["packages/kbn-management/settings/setting_ids"],
"@kbn/management-settings-ids/*": ["packages/kbn-management/settings/setting_ids/*"],
"@kbn/management-settings-section-registry": ["packages/kbn-management/settings/section_registry"],
"@kbn/management-settings-section-registry/*": ["packages/kbn-management/settings/section_registry/*"],
- "@kbn/management-settings-types": ["packages/kbn-management/settings/types"],
- "@kbn/management-settings-types/*": ["packages/kbn-management/settings/types/*"],
- "@kbn/management-settings-utilities": ["packages/kbn-management/settings/utilities"],
- "@kbn/management-settings-utilities/*": ["packages/kbn-management/settings/utilities/*"],
+ "@kbn/management-settings-types": ["src/platform/packages/shared/kbn-management/settings/types"],
+ "@kbn/management-settings-types/*": ["src/platform/packages/shared/kbn-management/settings/types/*"],
+ "@kbn/management-settings-utilities": ["src/platform/packages/shared/kbn-management/settings/utilities"],
+ "@kbn/management-settings-utilities/*": ["src/platform/packages/shared/kbn-management/settings/utilities/*"],
"@kbn/management-storybook-config": ["packages/kbn-management/storybook/config"],
"@kbn/management-storybook-config/*": ["packages/kbn-management/storybook/config/*"],
"@kbn/management-test-plugin": ["test/plugin_functional/plugins/management_test_plugin"],
@@ -1376,8 +1376,8 @@
"@kbn/osquery-plugin/*": ["x-pack/platform/plugins/shared/osquery/*"],
"@kbn/paertial-results-example-plugin": ["examples/partial_results_example"],
"@kbn/paertial-results-example-plugin/*": ["examples/partial_results_example/*"],
- "@kbn/painless-lab-plugin": ["x-pack/plugins/painless_lab"],
- "@kbn/painless-lab-plugin/*": ["x-pack/plugins/painless_lab/*"],
+ "@kbn/painless-lab-plugin": ["x-pack/platform/plugins/private/painless_lab"],
+ "@kbn/painless-lab-plugin/*": ["x-pack/platform/plugins/private/painless_lab/*"],
"@kbn/palettes": ["packages/kbn-palettes"],
"@kbn/palettes/*": ["packages/kbn-palettes/*"],
"@kbn/panel-loader": ["packages/kbn-panel-loader"],
@@ -1444,8 +1444,8 @@
"@kbn/recently-accessed/*": ["packages/kbn-recently-accessed/*"],
"@kbn/relocate": ["packages/kbn-relocate"],
"@kbn/relocate/*": ["packages/kbn-relocate/*"],
- "@kbn/remote-clusters-plugin": ["x-pack/plugins/remote_clusters"],
- "@kbn/remote-clusters-plugin/*": ["x-pack/plugins/remote_clusters/*"],
+ "@kbn/remote-clusters-plugin": ["x-pack/platform/plugins/private/remote_clusters"],
+ "@kbn/remote-clusters-plugin/*": ["x-pack/platform/plugins/private/remote_clusters/*"],
"@kbn/rendering-plugin": ["test/plugin_functional/plugins/rendering_plugin"],
"@kbn/rendering-plugin/*": ["test/plugin_functional/plugins/rendering_plugin/*"],
"@kbn/repo-file-maps": ["packages/kbn-repo-file-maps"],
@@ -1502,10 +1502,10 @@
"@kbn/response-stream-plugin/*": ["examples/response_stream/*"],
"@kbn/rison": ["packages/kbn-rison"],
"@kbn/rison/*": ["packages/kbn-rison/*"],
- "@kbn/rollup": ["x-pack/packages/rollup"],
- "@kbn/rollup/*": ["x-pack/packages/rollup/*"],
- "@kbn/rollup-plugin": ["x-pack/plugins/rollup"],
- "@kbn/rollup-plugin/*": ["x-pack/plugins/rollup/*"],
+ "@kbn/rollup": ["x-pack/platform/packages/private/rollup"],
+ "@kbn/rollup/*": ["x-pack/platform/packages/private/rollup/*"],
+ "@kbn/rollup-plugin": ["x-pack/platform/plugins/private/rollup"],
+ "@kbn/rollup-plugin/*": ["x-pack/platform/plugins/private/rollup/*"],
"@kbn/router-to-openapispec": ["packages/kbn-router-to-openapispec"],
"@kbn/router-to-openapispec/*": ["packages/kbn-router-to-openapispec/*"],
"@kbn/router-utils": ["packages/kbn-router-utils"],
@@ -1518,8 +1518,8 @@
"@kbn/rule-data-utils/*": ["packages/kbn-rule-data-utils/*"],
"@kbn/rule-registry-plugin": ["x-pack/plugins/rule_registry"],
"@kbn/rule-registry-plugin/*": ["x-pack/plugins/rule_registry/*"],
- "@kbn/runtime-fields-plugin": ["x-pack/plugins/runtime_fields"],
- "@kbn/runtime-fields-plugin/*": ["x-pack/plugins/runtime_fields/*"],
+ "@kbn/runtime-fields-plugin": ["x-pack/platform/plugins/private/runtime_fields"],
+ "@kbn/runtime-fields-plugin/*": ["x-pack/platform/plugins/private/runtime_fields/*"],
"@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"],
"@kbn/safer-lodash-set/*": ["packages/kbn-safer-lodash-set/*"],
"@kbn/saml-provider-plugin": ["x-pack/test/security_api_integration/plugins/saml_provider"],
@@ -1606,8 +1606,8 @@
"@kbn/search-shared-ui/*": ["x-pack/packages/search/shared_ui/*"],
"@kbn/search-types": ["packages/kbn-search-types"],
"@kbn/search-types/*": ["packages/kbn-search-types/*"],
- "@kbn/searchprofiler-plugin": ["x-pack/plugins/searchprofiler"],
- "@kbn/searchprofiler-plugin/*": ["x-pack/plugins/searchprofiler/*"],
+ "@kbn/searchprofiler-plugin": ["x-pack/platform/plugins/shared/searchprofiler"],
+ "@kbn/searchprofiler-plugin/*": ["x-pack/platform/plugins/shared/searchprofiler/*"],
"@kbn/security-api-integration-helpers": ["x-pack/test/security_api_integration/packages/helpers"],
"@kbn/security-api-integration-helpers/*": ["x-pack/test/security_api_integration/packages/helpers/*"],
"@kbn/security-api-key-management": ["x-pack/packages/security/api_key_management"],
@@ -1838,8 +1838,8 @@
"@kbn/slo-plugin/*": ["x-pack/plugins/observability_solution/slo/*"],
"@kbn/slo-schema": ["x-pack/platform/packages/shared/kbn-slo-schema"],
"@kbn/slo-schema/*": ["x-pack/platform/packages/shared/kbn-slo-schema/*"],
- "@kbn/snapshot-restore-plugin": ["x-pack/plugins/snapshot_restore"],
- "@kbn/snapshot-restore-plugin/*": ["x-pack/plugins/snapshot_restore/*"],
+ "@kbn/snapshot-restore-plugin": ["x-pack/platform/plugins/private/snapshot_restore"],
+ "@kbn/snapshot-restore-plugin/*": ["x-pack/platform/plugins/private/snapshot_restore/*"],
"@kbn/some-dev-log": ["packages/kbn-some-dev-log"],
"@kbn/some-dev-log/*": ["packages/kbn-some-dev-log/*"],
"@kbn/sort-package-json": ["packages/kbn-sort-package-json"],
@@ -1996,8 +1996,8 @@
"@kbn/unified-search-plugin/*": ["src/plugins/unified_search/*"],
"@kbn/unsaved-changes-badge": ["packages/kbn-unsaved-changes-badge"],
"@kbn/unsaved-changes-badge/*": ["packages/kbn-unsaved-changes-badge/*"],
- "@kbn/unsaved-changes-prompt": ["packages/kbn-unsaved-changes-prompt"],
- "@kbn/unsaved-changes-prompt/*": ["packages/kbn-unsaved-changes-prompt/*"],
+ "@kbn/unsaved-changes-prompt": ["src/platform/packages/shared/kbn-unsaved-changes-prompt"],
+ "@kbn/unsaved-changes-prompt/*": ["src/platform/packages/shared/kbn-unsaved-changes-prompt/*"],
"@kbn/upgrade-assistant-plugin": ["x-pack/plugins/upgrade_assistant"],
"@kbn/upgrade-assistant-plugin/*": ["x-pack/plugins/upgrade_assistant/*"],
"@kbn/uptime-plugin": ["x-pack/solutions/observability/plugins/uptime"],
@@ -2062,8 +2062,8 @@
"@kbn/visualization-utils/*": ["packages/kbn-visualization-utils/*"],
"@kbn/visualizations-plugin": ["src/plugins/visualizations"],
"@kbn/visualizations-plugin/*": ["src/plugins/visualizations/*"],
- "@kbn/watcher-plugin": ["x-pack/plugins/watcher"],
- "@kbn/watcher-plugin/*": ["x-pack/plugins/watcher/*"],
+ "@kbn/watcher-plugin": ["x-pack/platform/plugins/private/watcher"],
+ "@kbn/watcher-plugin/*": ["x-pack/platform/plugins/private/watcher/*"],
"@kbn/web-worker-stub": ["packages/kbn-web-worker-stub"],
"@kbn/web-worker-stub/*": ["packages/kbn-web-worker-stub/*"],
"@kbn/whereis-pkg-cli": ["packages/kbn-whereis-pkg-cli"],
diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json
index eabb8dd634096..b3399f14905cd 100644
--- a/x-pack/.i18nrc.json
+++ b/x-pack/.i18nrc.json
@@ -22,7 +22,7 @@
"xpack.cloud": "plugins/cloud",
"xpack.cloudDefend": "plugins/cloud_defend",
"xpack.cloudLinks": "plugins/cloud_integrations/cloud_links",
- "xpack.cloudDataMigration": "plugins/cloud_integrations/cloud_data_migration",
+ "xpack.cloudDataMigration": "platform/plugins/private/cloud_integrations/cloud_data_migration",
"xpack.csp": [
"plugins/cloud_security_posture",
"packages/kbn-cloud-security-posture-common",
@@ -34,7 +34,7 @@
"xpack.datasetQuality": "plugins/observability_solution/dataset_quality",
"xpack.dataUsage": "platform/plugins/private/data_usage",
"xpack.discover": "plugins/discover_enhanced",
- "xpack.crossClusterReplication": "plugins/cross_cluster_replication",
+ "xpack.crossClusterReplication": "platform/plugins/private/cross_cluster_replication",
"xpack.elasticAssistant": "platform/packages/shared/kbn-elastic-assistant",
"xpack.elasticAssistantCommon": "platform/packages/shared/kbn-elastic-assistant-common",
"xpack.elasticAssistantPlugin": "solutions/security/plugins/elastic_assistant",
@@ -55,10 +55,10 @@
"xpack.graph": [
"plugins/graph"
],
- "xpack.grokDebugger": "plugins/grokdebugger",
+ "xpack.grokDebugger": "platform/plugins/private/grokdebugger",
"xpack.idxMgmt": "plugins/index_management",
"xpack.idxMgmtPackage": "packages/index-management",
- "xpack.indexLifecycleMgmt": "plugins/index_lifecycle_management",
+ "xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management",
"xpack.infra": "plugins/observability_solution/infra",
"xpack.logsDataAccess": "plugins/observability_solution/logs_data_access",
"xpack.logsExplorer": "plugins/observability_solution/logs_explorer",
@@ -72,8 +72,8 @@
"xpack.investigateApp": "solutions/observability/plugins/investigate_app",
"xpack.kubernetesSecurity": "plugins/kubernetes_security",
"xpack.lens": "plugins/lens",
- "xpack.licenseApiGuard": "plugins/license_api_guard",
- "xpack.licenseMgmt": "plugins/license_management",
+ "xpack.licenseApiGuard": "platform/plugins/private/license_api_guard",
+ "xpack.licenseMgmt": "platform/plugins/shared/license_management",
"xpack.licensing": "plugins/licensing",
"xpack.lists": "plugins/lists",
"xpack.logstash": [
@@ -115,19 +115,19 @@
"xpack.osquery": [
"platform/plugins/shared/osquery"
],
- "xpack.painlessLab": "plugins/painless_lab",
+ "xpack.painlessLab": "platform/plugins/private/painless_lab",
"xpack.profiling": [
"plugins/observability_solution/profiling"
],
- "xpack.remoteClusters": "plugins/remote_clusters",
+ "xpack.remoteClusters": "platform/plugins/private/remote_clusters",
"xpack.reporting": [
"plugins/reporting"
],
"xpack.rollupJobs": [
- "packages/rollup",
- "plugins/rollup"
+ "platform/packages/private/rollup",
+ "platform/plugins/private/rollup"
],
- "xpack.runtimeFields": "plugins/runtime_fields",
+ "xpack.runtimeFields": "platform/plugins/private/runtime_fields",
"xpack.screenshotting": "plugins/screenshotting",
"xpack.searchSharedUI": "packages/search/shared_ui",
"xpack.searchHomepage": "plugins/search_homepage",
@@ -137,7 +137,7 @@
"xpack.searchPlayground": "plugins/search_playground",
"xpack.searchInferenceEndpoints": "plugins/search_inference_endpoints",
"xpack.searchAssistant": "plugins/search_assistant",
- "xpack.searchProfiler": "plugins/searchprofiler",
+ "xpack.searchProfiler": "platform/plugins/shared/searchprofiler",
"xpack.security": [
"plugins/security",
"packages/security"
@@ -154,7 +154,7 @@
"solutions/observability/plugins/streams_app"
],
"xpack.slo": "plugins/observability_solution/slo",
- "xpack.snapshotRestore": "plugins/snapshot_restore",
+ "xpack.snapshotRestore": "platform/plugins/private/snapshot_restore",
"xpack.spaces": "plugins/spaces",
"xpack.savedObjectsTagging": [
"plugins/saved_objects_tagging"
@@ -175,7 +175,7 @@
"solutions/observability/plugins/ux"
],
"xpack.urlDrilldown": "plugins/drilldowns/url_drilldown",
- "xpack.watcher": "plugins/watcher"
+ "xpack.watcher": "platform/plugins/private/watcher"
},
"exclude": [
"examples"
diff --git a/x-pack/packages/rollup/README.md b/x-pack/platform/packages/private/rollup/README.md
similarity index 100%
rename from x-pack/packages/rollup/README.md
rename to x-pack/platform/packages/private/rollup/README.md
diff --git a/x-pack/packages/rollup/index.ts b/x-pack/platform/packages/private/rollup/index.ts
similarity index 100%
rename from x-pack/packages/rollup/index.ts
rename to x-pack/platform/packages/private/rollup/index.ts
diff --git a/x-pack/packages/rollup/jest.config.js b/x-pack/platform/packages/private/rollup/jest.config.js
similarity index 76%
rename from x-pack/packages/rollup/jest.config.js
rename to x-pack/platform/packages/private/rollup/jest.config.js
index 05a65766c9222..5975f0f68097b 100644
--- a/x-pack/packages/rollup/jest.config.js
+++ b/x-pack/platform/packages/private/rollup/jest.config.js
@@ -7,6 +7,6 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/packages/rollup'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/packages/private/rollup'],
};
diff --git a/x-pack/packages/rollup/kibana.jsonc b/x-pack/platform/packages/private/rollup/kibana.jsonc
similarity index 100%
rename from x-pack/packages/rollup/kibana.jsonc
rename to x-pack/platform/packages/private/rollup/kibana.jsonc
diff --git a/x-pack/packages/rollup/package.json b/x-pack/platform/packages/private/rollup/package.json
similarity index 100%
rename from x-pack/packages/rollup/package.json
rename to x-pack/platform/packages/private/rollup/package.json
diff --git a/x-pack/packages/rollup/src/constants/index.ts b/x-pack/platform/packages/private/rollup/src/constants/index.ts
similarity index 100%
rename from x-pack/packages/rollup/src/constants/index.ts
rename to x-pack/platform/packages/private/rollup/src/constants/index.ts
diff --git a/x-pack/packages/rollup/src/index.ts b/x-pack/platform/packages/private/rollup/src/index.ts
similarity index 100%
rename from x-pack/packages/rollup/src/index.ts
rename to x-pack/platform/packages/private/rollup/src/index.ts
diff --git a/x-pack/packages/rollup/src/rollup_deprecation_tooltip/index.ts b/x-pack/platform/packages/private/rollup/src/rollup_deprecation_tooltip/index.ts
similarity index 100%
rename from x-pack/packages/rollup/src/rollup_deprecation_tooltip/index.ts
rename to x-pack/platform/packages/private/rollup/src/rollup_deprecation_tooltip/index.ts
diff --git a/x-pack/packages/rollup/src/rollup_deprecation_tooltip/rollup_deprecation_tooltip.tsx b/x-pack/platform/packages/private/rollup/src/rollup_deprecation_tooltip/rollup_deprecation_tooltip.tsx
similarity index 100%
rename from x-pack/packages/rollup/src/rollup_deprecation_tooltip/rollup_deprecation_tooltip.tsx
rename to x-pack/platform/packages/private/rollup/src/rollup_deprecation_tooltip/rollup_deprecation_tooltip.tsx
diff --git a/x-pack/packages/rollup/tsconfig.json b/x-pack/platform/packages/private/rollup/tsconfig.json
similarity index 83%
rename from x-pack/packages/rollup/tsconfig.json
rename to x-pack/platform/packages/private/rollup/tsconfig.json
index 4ef55e499d329..b396ea0bc88e0 100644
--- a/x-pack/packages/rollup/tsconfig.json
+++ b/x-pack/platform/packages/private/rollup/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/index-lifecycle-management/index_lifecycle_management_common_shared/README.md b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/README.md
similarity index 100%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/README.md
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/README.md
diff --git a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/index.ts b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/index.ts
similarity index 100%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/index.ts
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/index.ts
diff --git a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/kibana.jsonc b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/kibana.jsonc
similarity index 100%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/kibana.jsonc
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/kibana.jsonc
diff --git a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/package.json b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/package.json
similarity index 100%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/package.json
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/package.json
diff --git a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/src/policies.ts b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/src/policies.ts
similarity index 100%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/src/policies.ts
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/src/policies.ts
diff --git a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json
similarity index 81%
rename from x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json
rename to x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json
index 12a691a15cc4f..0e4ba01c6d576 100644
--- a/x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared/tsconfig.json
+++ b/x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared/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/index-management/index_management_shared_types/README.md b/x-pack/platform/packages/shared/index-management/index_management_shared_types/README.md
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/README.md
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/README.md
diff --git a/x-pack/packages/index-management/index_management_shared_types/index.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/index.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/index.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/index.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/jest.config.js b/x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js
similarity index 67%
rename from x-pack/packages/index-management/index_management_shared_types/jest.config.js
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js
index c9238a37a56ab..2b8ce5014e57c 100644
--- a/x-pack/packages/index-management/index_management_shared_types/jest.config.js
+++ b/x-pack/platform/packages/shared/index-management/index_management_shared_types/jest.config.js
@@ -7,6 +7,8 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../..',
- roots: ['/x-pack/packages/index-management/index_management_shared_types'],
+ rootDir: '../../../../../..',
+ roots: [
+ '/x-pack/platform/packages/shared/index-management/index_management_shared_types',
+ ],
};
diff --git a/x-pack/packages/index-management/index_management_shared_types/kibana.jsonc b/x-pack/platform/packages/shared/index-management/index_management_shared_types/kibana.jsonc
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/kibana.jsonc
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/kibana.jsonc
diff --git a/x-pack/packages/index-management/index_management_shared_types/package.json b/x-pack/platform/packages/shared/index-management/index_management_shared_types/package.json
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/package.json
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/package.json
diff --git a/x-pack/packages/index-management/index_management_shared_types/src/home_sections.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/src/home_sections.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/src/home_sections.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/src/home_sections.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/src/services/extensions_service.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/extensions_service.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/src/services/extensions_service.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/extensions_service.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/src/services/index.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/index.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/src/services/index.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/index.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/src/services/public_api_service.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/public_api_service.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/src/services/public_api_service.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/src/services/public_api_service.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/src/types.ts b/x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts
similarity index 100%
rename from x-pack/packages/index-management/index_management_shared_types/src/types.ts
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts
diff --git a/x-pack/packages/index-management/index_management_shared_types/tsconfig.json b/x-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json
similarity index 86%
rename from x-pack/packages/index-management/index_management_shared_types/tsconfig.json
rename to x-pack/platform/packages/shared/index-management/index_management_shared_types/tsconfig.json
index 8e9142a838322..b23a97fd4c854 100644
--- a/x-pack/packages/index-management/index_management_shared_types/tsconfig.json
+++ b/x-pack/platform/packages/shared/index-management/index_management_shared_types/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/cloud_integrations/cloud_data_migration/README.md b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/README.md
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/README.md
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/README.md
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/common/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/common/index.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/common/index.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/common/index.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/i18nrc.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/i18nrc.json
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/i18nrc.json
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/i18nrc.json
diff --git a/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js
new file mode 100644
index 0000000000000..d7156515657a3
--- /dev/null
+++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/jest.config.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../../../',
+ roots: ['/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/{common,public}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/kibana.jsonc b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/kibana.jsonc
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/kibana.jsonc
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/app.styles.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/app.styles.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/app.styles.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/app.styles.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/components/app.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/components/app.tsx
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/components/app.tsx
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/components/app.tsx
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/index.tsx b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/index.tsx
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/index.tsx
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/services/breadcrumb.mock.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/services/breadcrumb.mock.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/services/breadcrumb.mock.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/services/breadcrumb.mock.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/services/breadcrumbs.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/services/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/application/services/breadcrumbs.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/application/services/breadcrumbs.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/index.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/index.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/index.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/plugin.test.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/plugin.test.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/plugin.test.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/plugin.test.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/plugin.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/plugin.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/public/types.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/types.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/public/types.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/public/types.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/config.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/server/config.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/config.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/index.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/index.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/server/index.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/index.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/plugin.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/server/plugin.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/plugin.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/server/types.ts b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/types.ts
similarity index 100%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/server/types.ts
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/server/types.ts
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/tsconfig.json b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json
similarity index 85%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/tsconfig.json
rename to x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/tsconfig.json
index 9b19d2a32b988..baf9d6471c405 100644
--- a/x-pack/plugins/cloud_integrations/cloud_data_migration/tsconfig.json
+++ b/x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration/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/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/cross_cluster_replication/README.md b/x-pack/platform/plugins/private/cross_cluster_replication/README.md
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/README.md
rename to x-pack/platform/plugins/private/cross_cluster_replication/README.md
diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/constants/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/constants/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/constants/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/__snapshots__/follower_index_serialization.test.ts.snap b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/__snapshots__/follower_index_serialization.test.ts.snap
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/__snapshots__/follower_index_serialization.test.ts.snap
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/__snapshots__/follower_index_serialization.test.ts.snap
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/auto_follow_pattern_serialization.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/auto_follow_pattern_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/auto_follow_pattern_serialization.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/auto_follow_pattern_serialization.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/auto_follow_pattern_serialization.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/auto_follow_pattern_serialization.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/auto_follow_pattern_serialization.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/auto_follow_pattern_serialization.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/follower_index_serialization.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/follower_index_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/follower_index_serialization.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/follower_index_serialization.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/follower_index_serialization.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/follower_index_serialization.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/follower_index_serialization.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/follower_index_serialization.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/utils.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/utils.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/utils.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/utils.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/services/utils.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/services/utils.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/services/utils.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/services/utils.ts
diff --git a/x-pack/plugins/cross_cluster_replication/common/types.ts b/x-pack/platform/plugins/private/cross_cluster_replication/common/types.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/common/types.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/common/types.ts
diff --git a/x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js b/x-pack/platform/plugins/private/cross_cluster_replication/jest.config.js
new file mode 100644
index 0000000000000..24cfdf31fc8d2
--- /dev/null
+++ b/x-pack/platform/plugins/private/cross_cluster_replication/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/cross_cluster_replication'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/cross_cluster_replication',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/cross_cluster_replication/{common,public,server}/**/*.{js,ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/cross_cluster_replication/kibana.jsonc b/x-pack/platform/plugins/private/cross_cluster_replication/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/kibana.jsonc
rename to x-pack/platform/plugins/private/cross_cluster_replication/kibana.jsonc
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_add.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_add.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_add.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_add.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_edit.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_edit.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_edit.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_edit.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_list.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_list.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_list.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/auto_follow_pattern_list.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/fixtures/auto_follow_pattern.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/fixtures/auto_follow_pattern.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/fixtures/auto_follow_pattern.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/fixtures/auto_follow_pattern.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/fixtures/follower_index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/fixtures/follower_index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/fixtures/follower_index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/fixtures/follower_index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_index_add.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_index_add.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_index_add.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_index_add.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_index_edit.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_index_edit.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_index_edit.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_index_edit.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/constants.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/constants.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/constants.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/constants.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_add.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_add.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_add.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_add.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_edit.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_edit.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_edit.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_edit.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_list.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_list.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_list.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/follower_index_list.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/home.helpers.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/home.helpers.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/home.helpers.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/home.helpers.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/http_requests.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/http_requests.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/http_requests.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/http_requests.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/setup_environment.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/setup_environment.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/helpers/setup_environment.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/helpers/setup_environment.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/home.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/home.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/home.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/home.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/breadcrumbs.mock.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/breadcrumbs.mock.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/breadcrumbs.mock.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/breadcrumbs.mock.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/search_box.mock.tsx b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/search_box.mock.tsx
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/search_box.mock.tsx
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/search_box.mock.tsx
diff --git a/x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/track_ui_metric.mock.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/track_ui_metric.mock.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/__jest__/client_integration/mocks/track_ui_metric.mock.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/__jest__/client_integration/mocks/track_ui_metric.mock.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/app.tsx b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/app.tsx
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/app.tsx
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/app.tsx
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/__snapshots__/auto_follow_pattern_form.test.js.snap b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/__snapshots__/auto_follow_pattern_form.test.js.snap
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/__snapshots__/auto_follow_pattern_form.test.js.snap
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/__snapshots__/auto_follow_pattern_form.test.js.snap
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.container.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.container.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.container.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.container.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.tsx b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.tsx
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.tsx
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/auto_follow_pattern_action_menu.tsx
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_action_menu/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.d.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.d.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.d.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.d.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_delete_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_form.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_form.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_form.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_form.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_form.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_form.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_form.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_form.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_indices_preview.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_indices_preview.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_indices_preview.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_indices_preview.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_page_title.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_page_title.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_page_title.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_page_title.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_request_flyout.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_request_flyout.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_request_flyout.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/auto_follow_pattern_request_flyout.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_actions_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_actions_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_actions_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_actions_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_pause_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_pause_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_pause_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_pause_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_resume_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_resume_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_resume_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_resume_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_unfollow_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_unfollow_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_unfollow_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/follower_index_unfollow_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_actions_providers/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_actions_providers/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/__snapshots__/follower_index_form.test.js.snap b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/__snapshots__/follower_index_form.test.js.snap
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/__snapshots__/follower_index_form.test.js.snap
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/__snapshots__/follower_index_form.test.js.snap
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/advanced_settings_fields.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/advanced_settings_fields.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/advanced_settings_fields.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/advanced_settings_fields.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_form.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_request_flyout.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_request_flyout.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/follower_index_request_flyout.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/follower_index_request_flyout.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_form/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_form/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_page_title.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_page_title.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_page_title.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/follower_index_page_title.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/form_entry_row.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/form_entry_row.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/form_entry_row.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/form_entry_row.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/index.d.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/index.d.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/index.d.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/index.d.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/remote_clusters_form_field.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/remote_clusters_form_field.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/remote_clusters_form_field.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/remote_clusters_form_field.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/remote_clusters_provider.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/remote_clusters_provider.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/remote_clusters_provider.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/remote_clusters_provider.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_error.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_error.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/section_loading.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_loading.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/section_loading.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_loading.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/section_unauthorized.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_unauthorized.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/components/section_unauthorized.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/components/section_unauthorized.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/api.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/api.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/constants/api.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/api.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/constants/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/sections.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/sections.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/constants/sections.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/sections.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/ui_metric.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/constants/ui_metric.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/constants/ui_metric.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/index.tsx b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/index.tsx
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/index.tsx
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/index.tsx
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/auto_follow_pattern_add.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_add/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/follower_index_add.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_add/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_add/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/follower_index_edit.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/follower_index_edit/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/follower_index_edit/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/auto_follow_pattern_list.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/auto_follow_pattern_table.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/auto_follow_pattern_table/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/detail_panel.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/detail_panel/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/components/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/auto_follow_pattern_list/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/context_menu.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/context_menu.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/context_menu.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/context_menu.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/context_menu/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/follower_indices_table.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/follower_indices_table/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/follower_indices_list.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/follower_indices_list/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/home.container.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/home.container.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/home.container.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/home.container.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/home.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/home.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/home.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/home.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/home/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/home/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/index.d.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/index.d.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/index.d.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/index.d.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/sections/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/sections/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/__snapshots__/auto_follow_pattern_validators.test.js.snap b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/__snapshots__/auto_follow_pattern_validators.test.js.snap
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/__snapshots__/auto_follow_pattern_validators.test.js.snap
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/__snapshots__/auto_follow_pattern_validators.test.js.snap
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/api.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/api.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/api.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/api.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_errors.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_errors.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_errors.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_errors.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_errors.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_errors.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_errors.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_errors.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/auto_follow_pattern_validators.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/breadcrumbs.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/breadcrumbs.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/breadcrumbs.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/documentation_links.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/documentation_links.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/documentation_links.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/documentation_links.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/follower_index_default_settings.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/follower_index_default_settings.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/follower_index_default_settings.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/follower_index_default_settings.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/get_remote_cluster_name.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/get_remote_cluster_name.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/get_remote_cluster_name.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/get_remote_cluster_name.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/input_validation.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/input_validation.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/input_validation.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/input_validation.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/notifications.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/notifications.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/notifications.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/notifications.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/routing.d.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/routing.d.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/routing.d.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/routing.d.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/routing.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/routing.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/routing.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/routing.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/track_ui_metric.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/track_ui_metric.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/track_ui_metric.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/track_ui_metric.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/utils.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/utils.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/utils.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/utils.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/utils.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/utils.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/services/utils.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/services/utils.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/action_types.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/action_types.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/action_types.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/action_types.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/api.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/api.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/actions/api.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/api.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/auto_follow_pattern.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/auto_follow_pattern.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/actions/auto_follow_pattern.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/auto_follow_pattern.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/ccr.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/ccr.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/actions/ccr.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/ccr.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/follower_index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/actions/follower_index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/follower_index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/actions/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/actions/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/actions/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/index.d.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/index.d.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/index.d.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/index.d.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/api.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/api.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/api.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/api.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/api.test.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/api.test.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/api.test.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/api.test.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/auto_follow_pattern.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/auto_follow_pattern.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/auto_follow_pattern.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/auto_follow_pattern.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/follower_index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/follower_index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/follower_index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/follower_index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/reducers/stats.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/stats.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/reducers/stats.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/reducers/stats.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/selectors/index.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/selectors/index.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/selectors/index.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/selectors/index.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/store.js b/x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/store.js
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/app/store/store.js
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/app/store/store.js
diff --git a/x-pack/plugins/cross_cluster_replication/public/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/plugin.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/plugin.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/plugin.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/shared_imports.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/shared_imports.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/shared_imports.ts
diff --git a/x-pack/plugins/cross_cluster_replication/public/types.ts b/x-pack/platform/plugins/private/cross_cluster_replication/public/types.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/public/types.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/public/types.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/config.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/config.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/config.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/config.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.ts.snap b/x-pack/platform/plugins/private/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.ts.snap
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.ts.snap
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.ts.snap
diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/lib/ccr_stats_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/lib/ccr_stats_serialization.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/lib/ccr_stats_serialization.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/lib/ccr_stats_serialization.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/plugin.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/plugin.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/plugin.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_create_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_delete_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_fetch_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_get_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_pause_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_resume_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/auto_follow_pattern/register_update_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_permissions_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/cross_cluster_replication/register_stats_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_create_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_fetch_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_get_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_pause_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_resume_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_unfollow_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.test.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/test_lib.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/test_lib.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/api/test_lib.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/test_lib.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/routes/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/routes/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/services/add_base_path.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/services/add_base_path.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/services/add_base_path.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/services/add_base_path.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/services/index.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/services/index.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/services/index.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/shared_imports.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/shared_imports.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/shared_imports.ts
diff --git a/x-pack/plugins/cross_cluster_replication/server/types.ts b/x-pack/platform/plugins/private/cross_cluster_replication/server/types.ts
similarity index 100%
rename from x-pack/plugins/cross_cluster_replication/server/types.ts
rename to x-pack/platform/plugins/private/cross_cluster_replication/server/types.ts
diff --git a/x-pack/plugins/cross_cluster_replication/tsconfig.json b/x-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json
similarity index 94%
rename from x-pack/plugins/cross_cluster_replication/tsconfig.json
rename to x-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json
index bd442a71a86a4..d6804765c1ef9 100644
--- a/x-pack/plugins/cross_cluster_replication/tsconfig.json
+++ b/x-pack/platform/plugins/private/cross_cluster_replication/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/grokdebugger/README.md b/x-pack/platform/plugins/private/grokdebugger/README.md
similarity index 100%
rename from x-pack/plugins/grokdebugger/README.md
rename to x-pack/platform/plugins/private/grokdebugger/README.md
diff --git a/x-pack/plugins/grokdebugger/common/constants/editor.js b/x-pack/platform/plugins/private/grokdebugger/common/constants/editor.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/common/constants/editor.js
rename to x-pack/platform/plugins/private/grokdebugger/common/constants/editor.js
diff --git a/x-pack/plugins/grokdebugger/common/constants/index.js b/x-pack/platform/plugins/private/grokdebugger/common/constants/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/common/constants/index.js
rename to x-pack/platform/plugins/private/grokdebugger/common/constants/index.js
diff --git a/x-pack/plugins/grokdebugger/common/constants/plugin.js b/x-pack/platform/plugins/private/grokdebugger/common/constants/plugin.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/common/constants/plugin.js
rename to x-pack/platform/plugins/private/grokdebugger/common/constants/plugin.js
diff --git a/x-pack/plugins/grokdebugger/common/constants/routes.js b/x-pack/platform/plugins/private/grokdebugger/common/constants/routes.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/common/constants/routes.js
rename to x-pack/platform/plugins/private/grokdebugger/common/constants/routes.js
diff --git a/x-pack/plugins/cloud_integrations/cloud_data_migration/jest.config.js b/x-pack/platform/plugins/private/grokdebugger/jest.config.js
similarity index 55%
rename from x-pack/plugins/cloud_integrations/cloud_data_migration/jest.config.js
rename to x-pack/platform/plugins/private/grokdebugger/jest.config.js
index bd69c12576b57..deb18f968e703 100644
--- a/x-pack/plugins/cloud_integrations/cloud_data_migration/jest.config.js
+++ b/x-pack/platform/plugins/private/grokdebugger/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../../../',
- roots: ['/x-pack/plugins/cloud_integrations/cloud_data_migration'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/grokdebugger'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/cloud_integrations/cloud_data_migration',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/grokdebugger',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/cloud_integrations/cloud_data_migration/{common,public}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/private/grokdebugger/{common,public,server}/**/*.{js,ts,tsx}',
],
};
diff --git a/x-pack/plugins/grokdebugger/kibana.jsonc b/x-pack/platform/plugins/private/grokdebugger/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/grokdebugger/kibana.jsonc
rename to x-pack/platform/plugins/private/grokdebugger/kibana.jsonc
diff --git a/x-pack/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js b/x-pack/platform/plugins/private/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/custom_patterns_input/custom_patterns_input.js
diff --git a/x-pack/plugins/grokdebugger/public/components/custom_patterns_input/index.js b/x-pack/platform/plugins/private/grokdebugger/public/components/custom_patterns_input/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/custom_patterns_input/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/custom_patterns_input/index.js
diff --git a/x-pack/plugins/grokdebugger/public/components/event_input/event_input.js b/x-pack/platform/plugins/private/grokdebugger/public/components/event_input/event_input.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/event_input/event_input.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/event_input/event_input.js
diff --git a/x-pack/plugins/grokdebugger/public/components/event_input/index.js b/x-pack/platform/plugins/private/grokdebugger/public/components/event_input/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/event_input/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/event_input/index.js
diff --git a/x-pack/plugins/grokdebugger/public/components/event_output/event_output.js b/x-pack/platform/plugins/private/grokdebugger/public/components/event_output/event_output.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/event_output/event_output.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/event_output/event_output.js
diff --git a/x-pack/plugins/grokdebugger/public/components/event_output/index.js b/x-pack/platform/plugins/private/grokdebugger/public/components/event_output/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/event_output/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/event_output/index.js
diff --git a/x-pack/plugins/grokdebugger/public/components/grok_debugger/grok_debugger.js b/x-pack/platform/plugins/private/grokdebugger/public/components/grok_debugger/grok_debugger.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/grok_debugger/grok_debugger.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/grok_debugger/grok_debugger.js
diff --git a/x-pack/plugins/grokdebugger/public/components/grok_debugger/index.js b/x-pack/platform/plugins/private/grokdebugger/public/components/grok_debugger/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/grok_debugger/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/grok_debugger/index.js
diff --git a/x-pack/plugins/grokdebugger/public/components/inactive_license.js b/x-pack/platform/plugins/private/grokdebugger/public/components/inactive_license.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/inactive_license.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/inactive_license.js
diff --git a/x-pack/plugins/grokdebugger/public/components/pattern_input/index.js b/x-pack/platform/plugins/private/grokdebugger/public/components/pattern_input/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/pattern_input/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/pattern_input/index.js
diff --git a/x-pack/plugins/grokdebugger/public/components/pattern_input/pattern_input.js b/x-pack/platform/plugins/private/grokdebugger/public/components/pattern_input/pattern_input.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/components/pattern_input/pattern_input.js
rename to x-pack/platform/plugins/private/grokdebugger/public/components/pattern_input/pattern_input.js
diff --git a/x-pack/plugins/grokdebugger/public/index.js b/x-pack/platform/plugins/private/grokdebugger/public/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/index.js
diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js b/x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js
rename to x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js
diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_request/index.js b/x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_request/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/models/grokdebugger_request/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_request/index.js
diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js b/x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js
rename to x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js
diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_response/index.js b/x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_response/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/models/grokdebugger_response/index.js
rename to x-pack/platform/plugins/private/grokdebugger/public/models/grokdebugger_response/index.js
diff --git a/x-pack/plugins/grokdebugger/public/plugin.js b/x-pack/platform/plugins/private/grokdebugger/public/plugin.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/plugin.js
rename to x-pack/platform/plugins/private/grokdebugger/public/plugin.js
diff --git a/x-pack/plugins/grokdebugger/public/register_feature.ts b/x-pack/platform/plugins/private/grokdebugger/public/register_feature.ts
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/register_feature.ts
rename to x-pack/platform/plugins/private/grokdebugger/public/register_feature.ts
diff --git a/x-pack/plugins/grokdebugger/public/render_app.js b/x-pack/platform/plugins/private/grokdebugger/public/render_app.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/render_app.js
rename to x-pack/platform/plugins/private/grokdebugger/public/render_app.js
diff --git a/x-pack/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.js b/x-pack/platform/plugins/private/grokdebugger/public/services/grokdebugger/grokdebugger_service.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.js
rename to x-pack/platform/plugins/private/grokdebugger/public/services/grokdebugger/grokdebugger_service.js
diff --git a/x-pack/plugins/grokdebugger/public/shared_imports.ts b/x-pack/platform/plugins/private/grokdebugger/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/grokdebugger/public/shared_imports.ts
rename to x-pack/platform/plugins/private/grokdebugger/public/shared_imports.ts
diff --git a/x-pack/plugins/grokdebugger/server/index.js b/x-pack/platform/plugins/private/grokdebugger/server/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/index.js
rename to x-pack/platform/plugins/private/grokdebugger/server/index.js
diff --git a/x-pack/plugins/grokdebugger/server/lib/kibana_framework.ts b/x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/lib/kibana_framework.ts
rename to x-pack/platform/plugins/private/grokdebugger/server/lib/kibana_framework.ts
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.test.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.test.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.test.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.test.js
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/index.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_request/index.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_request/index.js
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.test.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.test.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.test.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.test.js
diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/index.js b/x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_response/index.js
rename to x-pack/platform/plugins/private/grokdebugger/server/models/grokdebugger_response/index.js
diff --git a/x-pack/plugins/grokdebugger/server/plugin.js b/x-pack/platform/plugins/private/grokdebugger/server/plugin.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/plugin.js
rename to x-pack/platform/plugins/private/grokdebugger/server/plugin.js
diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/index.js b/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/index.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/index.js
rename to x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/index.js
diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts b/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts
rename to x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.ts
diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js b/x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js
rename to x-pack/platform/plugins/private/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js
diff --git a/x-pack/plugins/grokdebugger/server/shared_imports.ts b/x-pack/platform/plugins/private/grokdebugger/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/grokdebugger/server/shared_imports.ts
rename to x-pack/platform/plugins/private/grokdebugger/server/shared_imports.ts
diff --git a/x-pack/plugins/grokdebugger/tsconfig.json b/x-pack/platform/plugins/private/grokdebugger/tsconfig.json
similarity index 84%
rename from x-pack/plugins/grokdebugger/tsconfig.json
rename to x-pack/platform/plugins/private/grokdebugger/tsconfig.json
index f2df02467d71c..a205cbe24b4d9 100644
--- a/x-pack/plugins/grokdebugger/tsconfig.json
+++ b/x-pack/platform/plugins/private/grokdebugger/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/**/*",
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/index_lifecycle_management/README.md b/x-pack/platform/plugins/private/index_lifecycle_management/README.md
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/README.md
rename to x-pack/platform/plugins/private/index_lifecycle_management/README.md
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.tsx.snap
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_flyout.test.tsx.snap b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/policy_flyout.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_flyout.test.tsx.snap
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/policy_flyout.test.tsx.snap
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/extend_index_management.test.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/extend_index_management.test.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/extend_index_management.test.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/extend_index_management.test.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/mocks.ts b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/mocks.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/mocks.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/mocks.ts
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/policy_flyout.test.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/policy_flyout.test.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/policy_flyout.test.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/policy_flyout.test.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/__jest__/policy_table.test.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/__jest__/policy_table.test.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/__jest__/policy_table.test.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/common/constants/data_tiers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/common/constants/data_tiers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/common/constants/data_tiers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/common/constants/data_tiers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/common/constants/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/common/constants/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/common/constants/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/common/constants/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/common/constants/license.ts b/x-pack/platform/plugins/private/index_lifecycle_management/common/constants/license.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/common/constants/license.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/common/constants/license.ts
diff --git a/x-pack/plugins/index_lifecycle_management/common/types/api.ts b/x-pack/platform/plugins/private/index_lifecycle_management/common/types/api.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/common/types/api.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/common/types/api.ts
diff --git a/x-pack/plugins/index_lifecycle_management/common/types/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/common/types/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/common/types/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/common/types/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/README.md b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md
similarity index 90%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/README.md
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md
index 5e4bf4360cb72..0f8d23b70b45e 100644
--- a/x-pack/plugins/index_lifecycle_management/integration_tests/README.md
+++ b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/README.md
@@ -10,5 +10,5 @@ Jest integration tests are just sit in a different directory and have two main d
To run these tests use:
```
-node scripts/jest_integration x-pack/plugins/index_lifecycle_management/
+node scripts/jest_integration x-pack/platform/plugins/private/index_lifecycle_management/
```
\ No newline at end of file
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/app/app.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/app/app.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/app/app.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/app/app.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/app/app.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/app/app.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/app/app.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/app/app.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/constants.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/constants.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/constants.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/constants.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/delete_phase.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/downsample.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/downsample.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/downsample.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/downsample.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/downsample.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/downsample.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/downsample.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/downsample.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/edit_warning.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/edit_warning.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/edit_warning.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/edit_warning.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/frozen_phase.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/frozen_phase.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/frozen_phase.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/frozen_phase.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cloud_aware_behavior.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/cold_phase.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/general_behavior.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/node_allocation/warm_phase.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/request_flyout.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/rollover.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/rollover.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/rollover.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/rollover.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/rollover.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/rollover.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/rollover.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/rollover.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/searchable_snapshots.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timeline.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timeline.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timeline.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timeline.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timeline.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timeline.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timeline.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timeline.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timing.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timing.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timing.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timing.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timing.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timing.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/features/timing.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/features/timing.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/cold_phase_validation.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/cold_phase_validation.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/cold_phase_validation.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/cold_phase_validation.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/downsample_interval.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/downsample_interval.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/downsample_interval.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/downsample_interval.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/error_indicators.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/error_indicators.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/error_indicators.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/error_indicators.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/hot_phase_validation.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/hot_phase_validation.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/hot_phase_validation.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/hot_phase_validation.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/policy_name_validation.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/policy_name_validation.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/policy_name_validation.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/policy_name_validation.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/timing.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/timing.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/timing.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/timing.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/validation.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/validation.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/validation.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/validation.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/warm_phase_validation.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/warm_phase_validation.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/form_validation/warm_phase_validation.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/form_validation/warm_phase_validation.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/init_test_bed.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/init_test_bed.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/init_test_bed.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/init_test_bed.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.helpers.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.helpers.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.helpers.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.helpers.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/edit_policy/serialization/policy_serialization.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/delete_searchable_snapshot_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/downsample_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/downsample_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/downsample_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/downsample_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/errors_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/errors_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/errors_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/errors_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/forcemerge_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/forcemerge_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/forcemerge_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/forcemerge_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_set_value_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_set_value_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_set_value_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_set_value_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_and_set_value_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_and_set_value_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_and_set_value_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/form_toggle_and_set_value_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index_priority_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/index_priority_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/index_priority_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/index_priority_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/min_age_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/min_age_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/min_age_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/min_age_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/node_allocation_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/node_allocation_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/node_allocation_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/node_allocation_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/phases.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/phases.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/phases.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/phases.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/readonly_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/readonly_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/readonly_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/readonly_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/replicas_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/replicas_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/replicas_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/replicas_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/request_flyout_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/request_flyout_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/request_flyout_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/request_flyout_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/rollover_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/rollover_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/rollover_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/rollover_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/save_policy_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/save_policy_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/save_policy_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/save_policy_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/searchable_snapshot_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/searchable_snapshot_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/searchable_snapshot_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/searchable_snapshot_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/shrink_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/shrink_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/shrink_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/shrink_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/snapshot_policy_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/snapshot_policy_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/snapshot_policy_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/snapshot_policy_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/toggle_phase_action.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/toggle_phase_action.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/actions/toggle_phase_action.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/actions/toggle_phase_action.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/global_mocks.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/global_mocks.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/global_mocks.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/global_mocks.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/http_requests.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/http_requests.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/http_requests.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/integration_tests/helpers/setup_environment.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/integration_tests/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/integration_tests/helpers/setup_environment.tsx
diff --git a/x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js b/x-pack/platform/plugins/private/index_lifecycle_management/jest.config.js
new file mode 100644
index 0000000000000..678335172509f
--- /dev/null
+++ b/x-pack/platform/plugins/private/index_lifecycle_management/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/index_lifecycle_management'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/index_lifecycle_management',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/index_lifecycle_management/{common,public,server}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/index_lifecycle_management/jest.integration.config.js b/x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js
similarity index 58%
rename from x-pack/plugins/index_lifecycle_management/jest.integration.config.js
rename to x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js
index 6d1ac5ec2fd8a..21f22c8543341 100644
--- a/x-pack/plugins/index_lifecycle_management/jest.integration.config.js
+++ b/x-pack/platform/plugins/private/index_lifecycle_management/jest.integration.config.js
@@ -7,13 +7,13 @@
module.exports = {
preset: '@kbn/test/jest_integration',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/index_lifecycle_management'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/index_lifecycle_management'],
testMatch: ['/**/integration_tests/**/*.test.{js,mjs,ts,tsx}'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/index_lifecycle_management',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/index_lifecycle_management',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/index_lifecycle_management/{common,public,server}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/private/index_lifecycle_management/{common,public,server}/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/index_lifecycle_management/kibana.jsonc b/x-pack/platform/plugins/private/index_lifecycle_management/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/kibana.jsonc
rename to x-pack/platform/plugins/private/index_lifecycle_management/kibana.jsonc
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/app.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/app.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/app.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/components/index_templates_flyout.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/components/index_templates_flyout.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/components/index_templates_flyout.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/components/index_templates_flyout.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/constants/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/constants/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/constants/policy.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/policy.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/constants/policy.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/policy.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/constants/ui_metric.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/constants/ui_metric.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/constants/ui_metric.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/index.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/index.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/index.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/determine_allocation_type.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/determine_allocation_type.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/determine_allocation_type.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/determine_allocation_type.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/get_available_node_roles_for_phase.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/get_available_node_roles_for_phase.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/get_available_node_roles_for_phase.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/get_available_node_roles_for_phase.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/is_node_role_first_preference.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/is_node_role_first_preference.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/data_tiers/is_node_role_first_preference.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/data_tiers/is_node_role_first_preference.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/policies.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/policies.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/policies.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/policies.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/rollover.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/rollover.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/rollover.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/rollover.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/settings_local_storage.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/settings_local_storage.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/settings_local_storage.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/settings_local_storage.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/lib/use_is_read_only.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/use_is_read_only.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/lib/use_is_read_only.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/lib/use_is_read_only.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/described_form_row.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/described_form_row.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/described_form_row.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/described_form_row.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/toggle_field_with_described_form_row.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/toggle_field_with_described_form_row.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/toggle_field_with_described_form_row.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/described_form_row/toggle_field_with_described_form_row.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/field_loading_error.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/field_loading_error.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/field_loading_error.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/field_loading_error.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/form_errors_callout.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/form_errors_callout.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/form_errors_callout.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/form_errors_callout.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.svg.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.svg.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.svg.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.svg.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/infinity_icon/infinity_icon.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/learn_more_link.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/optional_label.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/optional_label.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/optional_label.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/optional_label.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/phase_footer.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/phase_footer.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/phase_footer.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_footer/phase_footer.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phase_icon/phase_icon.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/cold_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/cold_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/cold_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/cold_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/cold_phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/delete_searchable_snapshot_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/delete_phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/frozen_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/frozen_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/frozen_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/frozen_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/frozen_phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_age_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_age_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_age_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_age_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_document_count_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_document_count_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_document_count_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_document_count_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_docs_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_docs_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_docs_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_docs_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_size_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_size_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_size_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_primary_shard_size_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/hot_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/use_rollover_value_required_validation.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/use_rollover_value_required_validation.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/use_rollover_value_required_validation.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/use_rollover_value_required_validation.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/_data_tier_allocation.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/_data_tier_allocation.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/_data_tier_allocation.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/_data_tier_allocation.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/cloud_data_tier_callout.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/cloud_data_tier_callout.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/cloud_data_tier_callout.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/cloud_data_tier_callout.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/data_tier_allocation.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_nodes_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_nodes_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_nodes_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_nodes_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_tiers_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_tiers_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_tiers_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/default_to_data_tiers_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/loading_error.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/loading_error.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/loading_error.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/loading_error.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_custom_attributes_messages.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_available_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_available_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_available_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_available_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_nodes_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_nodes_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_nodes_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/no_tiers_nodes_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_allocation.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_attrs_details.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_attrs_details.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_attrs_details.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_attrs_details.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_role_to_fallback_tier_map.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_role_to_fallback_tier_map.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_role_to_fallback_tier_map.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/node_role_to_fallback_tier_map.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/types.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/types.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/types.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/types.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_fallback_nodes_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_fallback_nodes_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_fallback_nodes_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_fallback_nodes_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_use_fallback_tier_notice.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_use_fallback_tier_notice.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_use_fallback_tier_notice.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/components/will_use_fallback_tier_notice.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/data_tier_allocation_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/data_tier_allocation_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/data_tier_allocation_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/data_tier_allocation_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/data_tier_allocation_field/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/downsample_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/downsample_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/downsample_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/downsample_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/forcemerge_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/index_priority_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/min_age_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/min_age_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/min_age_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/min_age_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/util.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/util.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/util.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/min_age_field/util.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/readonly_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/replicas_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/replicas_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/replicas_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/replicas_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/_searchable_snapshot_field.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/_searchable_snapshot_field.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/_searchable_snapshot_field.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/_searchable_snapshot_field.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/repository_combobox_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/repository_combobox_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/repository_combobox_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/repository_combobox_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_data_provider.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_data_provider.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_data_provider.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_data_provider.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/searchable_snapshot_field/searchable_snapshot_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/shrink_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/snapshot_policies_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/unit_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/unit_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/unit_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/shared_fields/unit_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/warm_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/warm_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/warm_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/phases/warm_phase/warm_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/policy_json_flyout.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/policy_json_flyout.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/policy_json_flyout.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/policy_json_flyout.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/timeline_phase_text.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/timeline_phase_text.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/timeline_phase_text.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/components/timeline_phase_text.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.container.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.container.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.container.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.container.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/components/timeline/timeline.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/constants.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/constants.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/constants.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/constants.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.container.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.container.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.container.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.container.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.scss b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.scss
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.scss
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.scss
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/edit_policy_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/edit_policy_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/enhanced_use_field.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/enhanced_use_field.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/enhanced_use_field.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/enhanced_use_field.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/form.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/form.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/form.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/form.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/configuration_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/configuration_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/configuration_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/configuration_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer_and_serializer.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer_and_serializer.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer_and_serializer.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/deserializer_and_serializer.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/global_fields_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/global_fields_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/global_fields_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/global_fields_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/phase_timings_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/phase_timings_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/phase_timings_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/phase_timings_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/schema.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serialize_migrate_and_allocate_actions.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serialize_migrate_and_allocate_actions.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serialize_migrate_and_allocate_actions.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serialize_migrate_and_allocate_actions.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serializer.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serializer.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serializer.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/serializer/serializer.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/validations.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/validations.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/validations.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/form/validations.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/i18n_texts.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/i18n_texts.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/i18n_texts.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/i18n_texts.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/absolute_timing_to_relative_timing.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/get_default_repository.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/get_default_repository.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/get_default_repository.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/get_default_repository.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/lib/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/lib/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/save_policy.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/save_policy.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/save_policy.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/save_policy.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/types.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/types.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/types.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/edit_policy/types.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/add_policy_to_template_confirm_modal.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/add_policy_to_template_confirm_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/add_policy_to_template_confirm_modal.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/add_policy_to_template_confirm_modal.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/confirm_delete.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/confirm_delete.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/confirm_delete.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/confirm_delete.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/deprecated_policy_badge.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/deprecated_policy_badge.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/deprecated_policy_badge.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/deprecated_policy_badge.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/list_action_handler.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/list_action_handler.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/list_action_handler.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/list_action_handler.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/managed_policy_badge.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/managed_policy_badge.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/managed_policy_badge.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/managed_policy_badge.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/components/policy_table.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/cold_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/cold_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/cold_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/cold_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/action_description.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/action_description.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/action_description.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/action_description.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/data_allocation.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/data_allocation.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/data_allocation.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/data_allocation.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/delete_searchable_snapshot.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/delete_searchable_snapshot.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/delete_searchable_snapshot.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/delete_searchable_snapshot.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/downsample.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/downsample.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/downsample.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/downsample.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/forcemerge.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/forcemerge.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/forcemerge.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/forcemerge.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/i18n_texts.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/i18n_texts.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/i18n_texts.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/i18n_texts.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index_priority.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index_priority.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index_priority.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/index_priority.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/min_age.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/min_age.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/min_age.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/min_age.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/readonly.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/readonly.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/readonly.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/readonly.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/replicas.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/replicas.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/replicas.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/replicas.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/rollover.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/rollover.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/rollover.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/rollover.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/searchable_snapshot.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/searchable_snapshot.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/searchable_snapshot.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/searchable_snapshot.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/shrink.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/shrink.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/shrink.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/shrink.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/types.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/types.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/types.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/types.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/wait_for_snapshot.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/wait_for_snapshot.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/wait_for_snapshot.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/components/wait_for_snapshot.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/delete_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/delete_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/delete_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/delete_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/frozen_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/frozen_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/frozen_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/frozen_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/hot_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/hot_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/hot_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/hot_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_description.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_description.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_description.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_description.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_indicator.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_indicator.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_indicator.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/phase_indicator.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/timeline.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/timeline.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/timeline.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/timeline.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/view_policy_flyout.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/view_policy_flyout.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/view_policy_flyout.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/view_policy_flyout.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/warm_phase.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/warm_phase.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/warm_phase.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_flyout/warm_phase.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list.container.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list.container.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list.container.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list.container.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list_context.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list_context.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/sections/policy_list/policy_list_context.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/sections/policy_list/policy_list_context.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/api.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/api.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/api.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/api.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/api_errors.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/api_errors.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/api_errors.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/api_errors.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/breadcrumbs.mock.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/breadcrumbs.mock.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/breadcrumbs.mock.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/breadcrumbs.mock.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/breadcrumbs.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/breadcrumbs.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/breadcrumbs.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/http.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/http.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/http.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/http.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/navigation.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/navigation.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/navigation.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/navigation.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/notification.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/notification.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/notification.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/notification.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/ui_metric.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/ui_metric.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/ui_metric.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/ui_metric.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/application/services/ui_metric.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/application/services/ui_metric.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/application/services/ui_metric.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/index.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/index.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/index.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/index.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/locator.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/locator.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/locator.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/locator.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/plugin.tsx b/x-pack/platform/plugins/private/index_lifecycle_management/public/plugin.tsx
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/plugin.tsx
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/plugin.tsx
diff --git a/x-pack/plugins/index_lifecycle_management/public/shared_imports.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/shared_imports.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/shared_imports.ts
diff --git a/x-pack/plugins/index_lifecycle_management/public/types.ts b/x-pack/platform/plugins/private/index_lifecycle_management/public/types.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/public/types.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/public/types.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/config.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/config.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/config.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/config.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/plugin.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/plugin.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/plugin.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_add_policy_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_remove_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/index/register_retry_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/__jest__/fixtures.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/__jest__/fixtures.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/__jest__/fixtures.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/__jest__/fixtures.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/__jest__/register_list_route.test.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/__jest__/register_list_route.test.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/__jest__/register_list_route.test.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/__jest__/register_list_route.test.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_details_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/nodes/register_list_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_create_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_fetch_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_policies/register_fetch_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_fetch_route.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/routes/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/routes/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/services/add_base_path.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/services/add_base_path.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/services/add_base_path.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/services/add_base_path.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/services/index.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/services/index.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/services/index.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/services/license.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/services/license.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/services/license.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/services/license.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/shared_imports.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/shared_imports.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/shared_imports.ts
diff --git a/x-pack/plugins/index_lifecycle_management/server/types.ts b/x-pack/platform/plugins/private/index_lifecycle_management/server/types.ts
similarity index 100%
rename from x-pack/plugins/index_lifecycle_management/server/types.ts
rename to x-pack/platform/plugins/private/index_lifecycle_management/server/types.ts
diff --git a/x-pack/plugins/index_lifecycle_management/tsconfig.json b/x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json
similarity index 93%
rename from x-pack/plugins/index_lifecycle_management/tsconfig.json
rename to x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json
index 08346dcdc2d35..5f061478f6a5d 100644
--- a/x-pack/plugins/index_lifecycle_management/tsconfig.json
+++ b/x-pack/platform/plugins/private/index_lifecycle_management/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
@@ -9,7 +9,7 @@
"common/**/*",
"public/**/*",
"server/**/*",
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/license_api_guard/README.md b/x-pack/platform/plugins/private/license_api_guard/README.md
similarity index 100%
rename from x-pack/plugins/license_api_guard/README.md
rename to x-pack/platform/plugins/private/license_api_guard/README.md
diff --git a/x-pack/plugins/grokdebugger/jest.config.js b/x-pack/platform/plugins/private/license_api_guard/jest.config.js
similarity index 54%
rename from x-pack/plugins/grokdebugger/jest.config.js
rename to x-pack/platform/plugins/private/license_api_guard/jest.config.js
index 56cd0339a7afd..875bf3730a871 100644
--- a/x-pack/plugins/grokdebugger/jest.config.js
+++ b/x-pack/platform/plugins/private/license_api_guard/jest.config.js
@@ -7,11 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/grokdebugger'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/grokdebugger',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/license_api_guard'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/license_api_guard',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/grokdebugger/{common,public,server}/**/*.{js,ts,tsx}',
+ '/x-pack/platform/plugins/private/license_api_guard/server/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/license_api_guard/kibana.jsonc b/x-pack/platform/plugins/private/license_api_guard/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/license_api_guard/kibana.jsonc
rename to x-pack/platform/plugins/private/license_api_guard/kibana.jsonc
diff --git a/x-pack/plugins/license_api_guard/server/index.ts b/x-pack/platform/plugins/private/license_api_guard/server/index.ts
similarity index 100%
rename from x-pack/plugins/license_api_guard/server/index.ts
rename to x-pack/platform/plugins/private/license_api_guard/server/index.ts
diff --git a/x-pack/plugins/license_api_guard/server/license.test.ts b/x-pack/platform/plugins/private/license_api_guard/server/license.test.ts
similarity index 100%
rename from x-pack/plugins/license_api_guard/server/license.test.ts
rename to x-pack/platform/plugins/private/license_api_guard/server/license.test.ts
diff --git a/x-pack/plugins/license_api_guard/server/license.ts b/x-pack/platform/plugins/private/license_api_guard/server/license.ts
similarity index 100%
rename from x-pack/plugins/license_api_guard/server/license.ts
rename to x-pack/platform/plugins/private/license_api_guard/server/license.ts
diff --git a/x-pack/plugins/license_api_guard/server/shared_imports.ts b/x-pack/platform/plugins/private/license_api_guard/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/license_api_guard/server/shared_imports.ts
rename to x-pack/platform/plugins/private/license_api_guard/server/shared_imports.ts
diff --git a/x-pack/plugins/license_api_guard/tsconfig.json b/x-pack/platform/plugins/private/license_api_guard/tsconfig.json
similarity index 82%
rename from x-pack/plugins/license_api_guard/tsconfig.json
rename to x-pack/platform/plugins/private/license_api_guard/tsconfig.json
index e5c87114bd54d..0d837f888b530 100644
--- a/x-pack/plugins/license_api_guard/tsconfig.json
+++ b/x-pack/platform/plugins/private/license_api_guard/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/painless_lab/README.md b/x-pack/platform/plugins/private/painless_lab/README.md
similarity index 100%
rename from x-pack/plugins/painless_lab/README.md
rename to x-pack/platform/plugins/private/painless_lab/README.md
diff --git a/x-pack/plugins/painless_lab/common/constants.ts b/x-pack/platform/plugins/private/painless_lab/common/constants.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/common/constants.ts
rename to x-pack/platform/plugins/private/painless_lab/common/constants.ts
diff --git a/x-pack/platform/plugins/private/painless_lab/jest.config.js b/x-pack/platform/plugins/private/painless_lab/jest.config.js
new file mode 100644
index 0000000000000..9121bbc4df001
--- /dev/null
+++ b/x-pack/platform/plugins/private/painless_lab/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/painless_lab'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/painless_lab',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/painless_lab/{common,public,server}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/painless_lab/kibana.jsonc b/x-pack/platform/plugins/private/painless_lab/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/painless_lab/kibana.jsonc
rename to x-pack/platform/plugins/private/painless_lab/kibana.jsonc
diff --git a/x-pack/plugins/painless_lab/public/application/components/editor.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/editor.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/editor.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/editor.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/main.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/main.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/main.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/main.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/main_controls.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/main_controls.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/main_controls.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/main_controls.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/output_pane/context_tab.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/context_tab.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/output_pane/context_tab.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/context_tab.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/output_pane/index.ts b/x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/output_pane/index.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/index.ts
diff --git a/x-pack/plugins/painless_lab/public/application/components/output_pane/output_pane.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/output_pane.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/output_pane/output_pane.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/output_pane.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/output_pane/output_tab.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/output_tab.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/output_pane/output_tab.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/output_tab.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/output_pane/parameters_tab.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/parameters_tab.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/output_pane/parameters_tab.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/output_pane/parameters_tab.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/components/request_flyout.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/components/request_flyout.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/components/request_flyout.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/components/request_flyout.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/constants.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/constants.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/constants.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/constants.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/context/context.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/context/context.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/context/context.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/context/context.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/context/index.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/context/index.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/context/index.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/context/index.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/context/initial_payload.ts b/x-pack/platform/plugins/private/painless_lab/public/application/context/initial_payload.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/context/initial_payload.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/context/initial_payload.ts
diff --git a/x-pack/plugins/painless_lab/public/application/hooks/index.ts b/x-pack/platform/plugins/private/painless_lab/public/application/hooks/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/hooks/index.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/hooks/index.ts
diff --git a/x-pack/plugins/painless_lab/public/application/hooks/use_submit_code.ts b/x-pack/platform/plugins/private/painless_lab/public/application/hooks/use_submit_code.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/hooks/use_submit_code.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/hooks/use_submit_code.ts
diff --git a/x-pack/plugins/painless_lab/public/application/index.tsx b/x-pack/platform/plugins/private/painless_lab/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/index.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/application/index.tsx
diff --git a/x-pack/plugins/painless_lab/public/application/lib/__snapshots__/format.test.ts.snap b/x-pack/platform/plugins/private/painless_lab/public/application/lib/__snapshots__/format.test.ts.snap
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/lib/__snapshots__/format.test.ts.snap
rename to x-pack/platform/plugins/private/painless_lab/public/application/lib/__snapshots__/format.test.ts.snap
diff --git a/x-pack/plugins/painless_lab/public/application/lib/format.test.ts b/x-pack/platform/plugins/private/painless_lab/public/application/lib/format.test.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/lib/format.test.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/lib/format.test.ts
diff --git a/x-pack/plugins/painless_lab/public/application/lib/format.ts b/x-pack/platform/plugins/private/painless_lab/public/application/lib/format.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/lib/format.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/lib/format.ts
diff --git a/x-pack/plugins/painless_lab/public/application/types.ts b/x-pack/platform/plugins/private/painless_lab/public/application/types.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/application/types.ts
rename to x-pack/platform/plugins/private/painless_lab/public/application/types.ts
diff --git a/x-pack/plugins/painless_lab/public/index.scss b/x-pack/platform/plugins/private/painless_lab/public/index.scss
similarity index 100%
rename from x-pack/plugins/painless_lab/public/index.scss
rename to x-pack/platform/plugins/private/painless_lab/public/index.scss
diff --git a/x-pack/plugins/painless_lab/public/index.ts b/x-pack/platform/plugins/private/painless_lab/public/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/index.ts
rename to x-pack/platform/plugins/private/painless_lab/public/index.ts
diff --git a/x-pack/plugins/painless_lab/public/links.ts b/x-pack/platform/plugins/private/painless_lab/public/links.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/links.ts
rename to x-pack/platform/plugins/private/painless_lab/public/links.ts
diff --git a/x-pack/plugins/painless_lab/public/plugin.tsx b/x-pack/platform/plugins/private/painless_lab/public/plugin.tsx
similarity index 100%
rename from x-pack/plugins/painless_lab/public/plugin.tsx
rename to x-pack/platform/plugins/private/painless_lab/public/plugin.tsx
diff --git a/x-pack/plugins/painless_lab/public/shared_imports.ts b/x-pack/platform/plugins/private/painless_lab/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/shared_imports.ts
rename to x-pack/platform/plugins/private/painless_lab/public/shared_imports.ts
diff --git a/x-pack/plugins/painless_lab/public/styles/_index.scss b/x-pack/platform/plugins/private/painless_lab/public/styles/_index.scss
similarity index 94%
rename from x-pack/plugins/painless_lab/public/styles/_index.scss
rename to x-pack/platform/plugins/private/painless_lab/public/styles/_index.scss
index 801f655fa7f4c..69c5c9a0c344d 100644
--- a/x-pack/plugins/painless_lab/public/styles/_index.scss
+++ b/x-pack/platform/plugins/private/painless_lab/public/styles/_index.scss
@@ -1,4 +1,4 @@
-@import '../../../../../src/core/public/mixins';
+@import '../../../../../../../src/core/public/mixins';
/**
* This is a very brittle way of preventing the editor and other content from disappearing
diff --git a/x-pack/plugins/painless_lab/public/types.ts b/x-pack/platform/plugins/private/painless_lab/public/types.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/public/types.ts
rename to x-pack/platform/plugins/private/painless_lab/public/types.ts
diff --git a/x-pack/plugins/painless_lab/server/index.ts b/x-pack/platform/plugins/private/painless_lab/server/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/index.ts
rename to x-pack/platform/plugins/private/painless_lab/server/index.ts
diff --git a/x-pack/plugins/painless_lab/server/plugin.ts b/x-pack/platform/plugins/private/painless_lab/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/plugin.ts
rename to x-pack/platform/plugins/private/painless_lab/server/plugin.ts
diff --git a/x-pack/plugins/painless_lab/server/routes/api/execute.ts b/x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/routes/api/execute.ts
rename to x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts
diff --git a/x-pack/plugins/painless_lab/server/routes/api/index.ts b/x-pack/platform/plugins/private/painless_lab/server/routes/api/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/routes/api/index.ts
rename to x-pack/platform/plugins/private/painless_lab/server/routes/api/index.ts
diff --git a/x-pack/plugins/painless_lab/server/services/index.ts b/x-pack/platform/plugins/private/painless_lab/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/services/index.ts
rename to x-pack/platform/plugins/private/painless_lab/server/services/index.ts
diff --git a/x-pack/plugins/painless_lab/server/services/license.ts b/x-pack/platform/plugins/private/painless_lab/server/services/license.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/services/license.ts
rename to x-pack/platform/plugins/private/painless_lab/server/services/license.ts
diff --git a/x-pack/plugins/license_management/server/shared_imports.ts b/x-pack/platform/plugins/private/painless_lab/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/shared_imports.ts
rename to x-pack/platform/plugins/private/painless_lab/server/shared_imports.ts
diff --git a/x-pack/plugins/painless_lab/server/types.ts b/x-pack/platform/plugins/private/painless_lab/server/types.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/types.ts
rename to x-pack/platform/plugins/private/painless_lab/server/types.ts
diff --git a/x-pack/plugins/painless_lab/tsconfig.json b/x-pack/platform/plugins/private/painless_lab/tsconfig.json
similarity index 91%
rename from x-pack/plugins/painless_lab/tsconfig.json
rename to x-pack/platform/plugins/private/painless_lab/tsconfig.json
index 857711e8da847..5500aaa5ab492 100644
--- a/x-pack/plugins/painless_lab/tsconfig.json
+++ b/x-pack/platform/plugins/private/painless_lab/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/remote_clusters/README.md b/x-pack/platform/plugins/private/remote_clusters/README.md
similarity index 100%
rename from x-pack/plugins/remote_clusters/README.md
rename to x-pack/platform/plugins/private/remote_clusters/README.md
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/add/remote_clusters_add.helpers.tsx b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/remote_clusters_add.helpers.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/add/remote_clusters_add.helpers.tsx
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/remote_clusters_add.helpers.tsx
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/add/remote_clusters_add.test.ts b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/remote_clusters_add.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/add/remote_clusters_add.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/remote_clusters_add.test.ts
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/add/special_characters.ts b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/special_characters.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/add/special_characters.ts
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/add/special_characters.ts
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.helpers.tsx b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.helpers.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.helpers.tsx
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.helpers.tsx
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.test.tsx b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.test.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.test.tsx
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/edit/remote_clusters_edit.test.tsx
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.ts
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/http_requests.ts
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_actions.ts b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/remote_clusters_actions.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_actions.ts
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/remote_clusters_actions.ts
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/list/remote_clusters_list.helpers.js b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/list/remote_clusters_list.helpers.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/list/remote_clusters_list.helpers.js
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/list/remote_clusters_list.helpers.js
diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/list/remote_clusters_list.test.js b/x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/list/remote_clusters_list.test.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/__jest__/client_integration/list/remote_clusters_list.test.js
rename to x-pack/platform/plugins/private/remote_clusters/__jest__/client_integration/list/remote_clusters_list.test.js
diff --git a/x-pack/plugins/remote_clusters/common/constants.ts b/x-pack/platform/plugins/private/remote_clusters/common/constants.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/common/constants.ts
rename to x-pack/platform/plugins/private/remote_clusters/common/constants.ts
diff --git a/x-pack/plugins/remote_clusters/common/lib/cluster_serialization.test.ts b/x-pack/platform/plugins/private/remote_clusters/common/lib/cluster_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/common/lib/cluster_serialization.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/common/lib/cluster_serialization.test.ts
diff --git a/x-pack/plugins/remote_clusters/common/lib/cluster_serialization.ts b/x-pack/platform/plugins/private/remote_clusters/common/lib/cluster_serialization.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/common/lib/cluster_serialization.ts
rename to x-pack/platform/plugins/private/remote_clusters/common/lib/cluster_serialization.ts
diff --git a/x-pack/plugins/remote_clusters/common/lib/index.ts b/x-pack/platform/plugins/private/remote_clusters/common/lib/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/common/lib/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/common/lib/index.ts
diff --git a/x-pack/plugins/remote_clusters/fixtures/remote_cluster.js b/x-pack/platform/plugins/private/remote_clusters/fixtures/remote_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/fixtures/remote_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/fixtures/remote_cluster.js
diff --git a/x-pack/platform/plugins/private/remote_clusters/jest.config.js b/x-pack/platform/plugins/private/remote_clusters/jest.config.js
new file mode 100644
index 0000000000000..8f206f2ba544d
--- /dev/null
+++ b/x-pack/platform/plugins/private/remote_clusters/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/remote_clusters'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/remote_clusters',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/remote_clusters/{common,public,server}/**/*.{js,ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/remote_clusters/kibana.jsonc b/x-pack/platform/plugins/private/remote_clusters/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/remote_clusters/kibana.jsonc
rename to x-pack/platform/plugins/private/remote_clusters/kibana.jsonc
diff --git a/x-pack/plugins/remote_clusters/public/application/_hacks.scss b/x-pack/platform/plugins/private/remote_clusters/public/application/_hacks.scss
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/_hacks.scss
rename to x-pack/platform/plugins/private/remote_clusters/public/application/_hacks.scss
diff --git a/x-pack/plugins/remote_clusters/public/application/app.js b/x-pack/platform/plugins/private/remote_clusters/public/application/app.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/app.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/app.js
diff --git a/x-pack/plugins/remote_clusters/public/application/app_context.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/app_context.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/app_context.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/app_context.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/constants/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/constants/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/constants/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/constants/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/constants/paths.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/constants/paths.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/constants/paths.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/constants/paths.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/constants/ui_metric.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/constants/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/constants/ui_metric.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/constants/ui_metric.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/index.d.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/index.d.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/index.d.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/index.d.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/configured_by_node_warning/configured_by_node_warning.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/configured_by_node_warning/configured_by_node_warning.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/configured_by_node_warning/configured_by_node_warning.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/configured_by_node_warning/configured_by_node_warning.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/configured_by_node_warning/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/configured_by_node_warning/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/configured_by_node_warning/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/configured_by_node_warning/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode_cloud.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode_cloud.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode_cloud.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/connection_mode_cloud.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/proxy_connection.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/proxy_connection.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/proxy_connection.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/proxy_connection.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/sniff_connection.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/sniff_connection.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/components/sniff_connection.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/components/sniff_connection.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/remote_cluster_form.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/request_flyout.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/request_flyout.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/request_flyout.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/request_flyout.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.ts.snap b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.ts.snap
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.ts.snap
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.ts.snap
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_node_connections.test.tsx.snap b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_node_connections.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_node_connections.test.tsx.snap
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_node_connections.test.tsx.snap
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_proxy.test.ts.snap b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_proxy.test.ts.snap
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_proxy.test.ts.snap
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_proxy.test.ts.snap
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.ts.snap b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.ts.snap
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.ts.snap
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.ts.snap
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_address.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cloud_url.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cluster.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cluster.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cluster.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_cluster.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_name.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.test.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.test.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.test.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.test.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_node_connections.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_proxy.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seed.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.test.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.test.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_form/validators/validate_seeds.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_page_title/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_page_title/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_page_title/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_page_title/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_page_title/remote_cluster_page_title.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_page_title/remote_cluster_page_title.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_page_title/remote_cluster_page_title.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_page_title/remote_cluster_page_title.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/confirm_modal.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/confirm_modal.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/confirm_modal.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/confirm_modal.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/remote_cluster_setup_trust.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/remote_cluster_setup_trust.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/remote_cluster_setup_trust.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/components/remote_cluster_setup_trust/remote_cluster_setup_trust.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/index.d.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/index.d.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/index.d.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/index.d.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/remote_cluster_add.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/wizard_form.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/wizard_form.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_add/wizard_form.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_add/wizard_form.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/security_model.tsx b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/security_model.tsx
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/security_model.tsx
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/components/security_model/security_model.tsx
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js
diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js b/x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js
diff --git a/x-pack/plugins/remote_clusters/public/application/services/api.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/api.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/api.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/api.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/api_errors.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/api_errors.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/api_errors.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/api_errors.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/breadcrumb.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/breadcrumb.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/breadcrumb.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/breadcrumb.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/documentation.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/documentation.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/documentation.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/documentation.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/http.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/http.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/http.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/http.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/notification.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/notification.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/notification.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/notification.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/redirect.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/redirect.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/redirect.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/redirect.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/routing.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/routing.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/routing.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/routing.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/services/ui_metric.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/services/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/services/ui_metric.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/services/ui_metric.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/store/action_types.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/action_types.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/action_types.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/action_types.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/add_cluster.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/add_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/add_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/add_cluster.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/detail_panel.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/detail_panel.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/detail_panel.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/detail_panel.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/edit_cluster.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/edit_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/edit_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/edit_cluster.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/load_clusters.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/load_clusters.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/load_clusters.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/load_clusters.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/refresh_clusters.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/refresh_clusters.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/refresh_clusters.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/refresh_clusters.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/actions/remove_clusters.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/remove_clusters.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/actions/remove_clusters.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/actions/remove_clusters.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/index.d.ts b/x-pack/platform/plugins/private/remote_clusters/public/application/store/index.d.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/index.d.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/index.d.ts
diff --git a/x-pack/plugins/remote_clusters/public/application/store/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/middleware/detail_panel.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/middleware/detail_panel.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/middleware/detail_panel.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/middleware/detail_panel.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/middleware/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/middleware/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/middleware/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/middleware/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/add_cluster.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/add_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/add_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/add_cluster.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/clusters.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/clusters.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/clusters.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/clusters.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/detail_panel.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/detail_panel.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/detail_panel.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/detail_panel.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/edit_cluster.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/edit_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/edit_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/edit_cluster.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/reducers/remove_cluster.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/remove_cluster.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/reducers/remove_cluster.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/reducers/remove_cluster.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/selectors/index.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/selectors/index.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/selectors/index.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/selectors/index.js
diff --git a/x-pack/plugins/remote_clusters/public/application/store/store.js b/x-pack/platform/plugins/private/remote_clusters/public/application/store/store.js
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/application/store/store.js
rename to x-pack/platform/plugins/private/remote_clusters/public/application/store/store.js
diff --git a/x-pack/plugins/remote_clusters/public/assets/cloud_screenshot.png b/x-pack/platform/plugins/private/remote_clusters/public/assets/cloud_screenshot.png
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/assets/cloud_screenshot.png
rename to x-pack/platform/plugins/private/remote_clusters/public/assets/cloud_screenshot.png
diff --git a/x-pack/plugins/remote_clusters/public/index.ts b/x-pack/platform/plugins/private/remote_clusters/public/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/index.ts
diff --git a/x-pack/plugins/remote_clusters/public/locator.ts b/x-pack/platform/plugins/private/remote_clusters/public/locator.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/locator.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/locator.ts
diff --git a/x-pack/plugins/remote_clusters/public/plugin.ts b/x-pack/platform/plugins/private/remote_clusters/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/plugin.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/plugin.ts
diff --git a/x-pack/plugins/remote_clusters/public/shared_imports.ts b/x-pack/platform/plugins/private/remote_clusters/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/shared_imports.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/shared_imports.ts
diff --git a/x-pack/plugins/remote_clusters/public/types.ts b/x-pack/platform/plugins/private/remote_clusters/public/types.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/public/types.ts
rename to x-pack/platform/plugins/private/remote_clusters/public/types.ts
diff --git a/x-pack/plugins/remote_clusters/server/config.ts b/x-pack/platform/plugins/private/remote_clusters/server/config.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/config.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/config.ts
diff --git a/x-pack/plugins/remote_clusters/server/index.ts b/x-pack/platform/plugins/private/remote_clusters/server/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/index.ts
diff --git a/x-pack/plugins/remote_clusters/server/lib/does_cluster_exist.ts b/x-pack/platform/plugins/private/remote_clusters/server/lib/does_cluster_exist.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/lib/does_cluster_exist.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/lib/does_cluster_exist.ts
diff --git a/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.ts b/x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/index.ts
diff --git a/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.test.ts b/x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.test.ts
diff --git a/x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.ts b/x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/lib/license_pre_routing_factory/license_pre_routing_factory.ts
diff --git a/x-pack/plugins/remote_clusters/server/plugin.ts b/x-pack/platform/plugins/private/remote_clusters/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/plugin.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/plugin.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/add_route.test.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/add_route.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.test.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/add_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/add_route.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/add_route.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/delete_route.test.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/delete_route.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.test.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/delete_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/delete_route.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/delete_route.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/get_route.test.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/get_route.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.test.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/get_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/get_route.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/index.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/index.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/index.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/index.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/types.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/types.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/types.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/types.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/update_route.test.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.test.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/update_route.test.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.test.ts
diff --git a/x-pack/plugins/remote_clusters/server/routes/api/update_route.ts b/x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/routes/api/update_route.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/routes/api/update_route.ts
diff --git a/x-pack/plugins/painless_lab/server/shared_imports.ts b/x-pack/platform/plugins/private/remote_clusters/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/painless_lab/server/shared_imports.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/shared_imports.ts
diff --git a/x-pack/plugins/remote_clusters/server/types.ts b/x-pack/platform/plugins/private/remote_clusters/server/types.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/types.ts
rename to x-pack/platform/plugins/private/remote_clusters/server/types.ts
diff --git a/x-pack/plugins/remote_clusters/tsconfig.json b/x-pack/platform/plugins/private/remote_clusters/tsconfig.json
similarity index 91%
rename from x-pack/plugins/remote_clusters/tsconfig.json
rename to x-pack/platform/plugins/private/remote_clusters/tsconfig.json
index 37add085af751..5676db4042f49 100644
--- a/x-pack/plugins/remote_clusters/tsconfig.json
+++ b/x-pack/platform/plugins/private/remote_clusters/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
@@ -9,7 +9,7 @@
"fixtures/**/*",
"public/**/*",
"server/**/*",
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/rollup/README.md b/x-pack/platform/plugins/private/rollup/README.md
similarity index 100%
rename from x-pack/plugins/rollup/README.md
rename to x-pack/platform/plugins/private/rollup/README.md
diff --git a/x-pack/plugins/rollup/common/index.ts b/x-pack/platform/plugins/private/rollup/common/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/common/index.ts
rename to x-pack/platform/plugins/private/rollup/common/index.ts
diff --git a/x-pack/plugins/rollup/common/ui_metric.ts b/x-pack/platform/plugins/private/rollup/common/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/rollup/common/ui_metric.ts
rename to x-pack/platform/plugins/private/rollup/common/ui_metric.ts
diff --git a/x-pack/plugins/rollup/fixtures/index.js b/x-pack/platform/plugins/private/rollup/fixtures/index.js
similarity index 100%
rename from x-pack/plugins/rollup/fixtures/index.js
rename to x-pack/platform/plugins/private/rollup/fixtures/index.js
diff --git a/x-pack/plugins/rollup/fixtures/job.js b/x-pack/platform/plugins/private/rollup/fixtures/job.js
similarity index 100%
rename from x-pack/plugins/rollup/fixtures/job.js
rename to x-pack/platform/plugins/private/rollup/fixtures/job.js
diff --git a/x-pack/plugins/license_management/jest.config.js b/x-pack/platform/plugins/private/rollup/jest.config.js
similarity index 65%
rename from x-pack/plugins/license_management/jest.config.js
rename to x-pack/platform/plugins/private/rollup/jest.config.js
index 59634448ee26c..59552e8149fcc 100644
--- a/x-pack/plugins/license_management/jest.config.js
+++ b/x-pack/platform/plugins/private/rollup/jest.config.js
@@ -7,11 +7,11 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/license_management'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/license_management',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/rollup'],
+ coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/rollup',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/license_management/{common,public,server}/**/*.{js,ts,tsx}',
+ '/x-pack/platform/plugins/private/rollup/{common,public,server}/**/*.{js,ts,tsx}',
],
};
diff --git a/x-pack/plugins/rollup/kibana.jsonc b/x-pack/platform/plugins/private/rollup/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/rollup/kibana.jsonc
rename to x-pack/platform/plugins/private/rollup/kibana.jsonc
diff --git a/x-pack/plugins/rollup/public/application.tsx b/x-pack/platform/plugins/private/rollup/public/application.tsx
similarity index 100%
rename from x-pack/plugins/rollup/public/application.tsx
rename to x-pack/platform/plugins/private/rollup/public/application.tsx
diff --git a/x-pack/plugins/rollup/public/crud_app/_crud_app.scss b/x-pack/platform/plugins/private/rollup/public/crud_app/_crud_app.scss
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/_crud_app.scss
rename to x-pack/platform/plugins/private/rollup/public/crud_app/_crud_app.scss
diff --git a/x-pack/plugins/rollup/public/crud_app/app.js b/x-pack/platform/plugins/private/rollup/public/crud_app/app.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/app.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/app.js
diff --git a/x-pack/plugins/rollup/public/crud_app/constants/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/constants/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/constants/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/constants/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/constants/metrics_config.js b/x-pack/platform/plugins/private/rollup/public/crud_app/constants/metrics_config.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/constants/metrics_config.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/constants/metrics_config.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/deprecation_callout/deprecation_callout.tsx b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/deprecation_callout/deprecation_callout.tsx
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/deprecation_callout/deprecation_callout.tsx
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/deprecation_callout/deprecation_callout.tsx
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/deprecation_callout/index.ts b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/deprecation_callout/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/deprecation_callout/index.ts
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/deprecation_callout/index.ts
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/field_list/field_list.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/field_list/field_list.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/field_list/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/field_list/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/confirm_delete_modal.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/confirm_delete_modal.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/confirm_delete_modal.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/confirm_delete_modal.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/confirm_delete_modal/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.container.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.container.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.container.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.container.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_action_menu/job_action_menu.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/job_details.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/job_details.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/job_details.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/job_details.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_histogram.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_histogram.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_histogram.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_histogram.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_json.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_metrics.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_metrics.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_metrics.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_metrics.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_request.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_request.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_request.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_request.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_summary.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_summary.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_summary.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_summary.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_terms.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_terms.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_details/tabs/tab_terms.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_details/tabs/tab_terms.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_status/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_status/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_status/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_status/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/job_status/job_status.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_status/job_status.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/components/job_status/job_status.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/job_status/job_status.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/job_create.container.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/job_create.container.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/job_create.container.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/job_create.container.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/job_create.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/job_create.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/job_create.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/job_create.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/navigation/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/navigation/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/navigation/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/navigation/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/navigation/navigation.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/navigation/navigation.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/navigation/navigation.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/navigation/navigation.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/step_error.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/step_error.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/step_error.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/components/step_error.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_date_histogram.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_date_histogram.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_date_histogram.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_date_histogram.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_histogram.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_histogram.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_histogram.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_histogram.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_logistics.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_logistics.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_logistics.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_logistics.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_metrics.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_metrics.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_metrics.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_metrics.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_review.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_review.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_review.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_review.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_terms.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_terms.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/step_terms.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps/step_terms.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_field.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_field.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_field.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_field.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_interval.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_interval.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_interval.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_date_histogram_interval.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_histogram_interval.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_histogram_interval.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_histogram_interval.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_histogram_interval.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_id.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_id.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_id.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_id.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_index_pattern.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_index_pattern.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_index_pattern.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_index_pattern.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_metrics.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_metrics.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_metrics.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_metrics.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_cron.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_cron.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_cron.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_cron.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_delay.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_delay.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_delay.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_delay.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_page_size.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_page_size.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_page_size.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_create/steps_config/validate_rollup_page_size.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/deprecated_prompt.tsx b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/deprecated_prompt.tsx
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/deprecated_prompt.tsx
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/deprecated_prompt.tsx
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.container.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.container.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.container.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.container.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/detail_panel/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.container.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.container.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.container.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.container.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_list.test.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.container.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.container.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.container.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.container.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.js
diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/api.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/api.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/api.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/api.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/api_errors.ts b/x-pack/platform/plugins/private/rollup/public/crud_app/services/api_errors.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/api_errors.ts
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/api_errors.ts
diff --git a/x-pack/plugins/rollup/public/crud_app/services/breadcrumbs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/breadcrumbs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/breadcrumbs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/breadcrumbs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/documentation_links.ts b/x-pack/platform/plugins/private/rollup/public/crud_app/services/documentation_links.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/documentation_links.ts
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/documentation_links.ts
diff --git a/x-pack/plugins/rollup/public/crud_app/services/filter_items.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/filter_items.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/filter_items.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/filter_items.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/flatten_panel_tree.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/flatten_panel_tree.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/flatten_panel_tree.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/flatten_panel_tree.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/format_fields.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/format_fields.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/format_fields.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/format_fields.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/http_provider.ts b/x-pack/platform/plugins/private/rollup/public/crud_app/services/http_provider.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/http_provider.ts
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/http_provider.ts
diff --git a/x-pack/plugins/rollup/public/crud_app/services/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/jobs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/jobs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/jobs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/jobs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/noticeable_delay.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/noticeable_delay.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/noticeable_delay.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/noticeable_delay.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/retype_metrics.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/retype_metrics.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/retype_metrics.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/retype_metrics.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/routing.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/routing.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/routing.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/routing.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/sort_table.js b/x-pack/platform/plugins/private/rollup/public/crud_app/services/sort_table.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/sort_table.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/sort_table.js
diff --git a/x-pack/plugins/rollup/public/crud_app/services/track_ui_metric.ts b/x-pack/platform/plugins/private/rollup/public/crud_app/services/track_ui_metric.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/services/track_ui_metric.ts
rename to x-pack/platform/plugins/private/rollup/public/crud_app/services/track_ui_metric.ts
diff --git a/x-pack/plugins/rollup/public/crud_app/store/action_types.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/action_types.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/action_types.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/action_types.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/change_job_status.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/change_job_status.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/change_job_status.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/change_job_status.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/clone_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/clone_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/clone_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/clone_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/create_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/create_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/create_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/create_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/delete_jobs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/delete_jobs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/delete_jobs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/delete_jobs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/detail_panel.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/detail_panel.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/detail_panel.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/detail_panel.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/load_jobs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/load_jobs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/load_jobs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/load_jobs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/refresh_jobs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/refresh_jobs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/refresh_jobs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/refresh_jobs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/table_state.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/table_state.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/actions/table_state.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/actions/table_state.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/middleware/clone_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/clone_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/middleware/clone_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/clone_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/middleware/detail_panel.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/detail_panel.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/middleware/detail_panel.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/detail_panel.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/middleware/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/middleware/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/middleware/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/clone_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/clone_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/clone_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/clone_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/create_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/create_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/create_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/create_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/detail_panel.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/detail_panel.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/detail_panel.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/detail_panel.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/jobs.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/jobs.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/jobs.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/jobs.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/table_state.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/table_state.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/table_state.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/table_state.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/update_job.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/update_job.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/reducers/update_job.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/reducers/update_job.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/selectors/index.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/selectors/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/selectors/index.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/selectors/index.js
diff --git a/x-pack/plugins/rollup/public/crud_app/store/store.js b/x-pack/platform/plugins/private/rollup/public/crud_app/store/store.js
similarity index 100%
rename from x-pack/plugins/rollup/public/crud_app/store/store.js
rename to x-pack/platform/plugins/private/rollup/public/crud_app/store/store.js
diff --git a/x-pack/plugins/rollup/public/extend_index_management/index.ts b/x-pack/platform/plugins/private/rollup/public/extend_index_management/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/extend_index_management/index.ts
rename to x-pack/platform/plugins/private/rollup/public/extend_index_management/index.ts
diff --git a/x-pack/plugins/rollup/public/index.scss b/x-pack/platform/plugins/private/rollup/public/index.scss
similarity index 100%
rename from x-pack/plugins/rollup/public/index.scss
rename to x-pack/platform/plugins/private/rollup/public/index.scss
diff --git a/x-pack/plugins/rollup/public/index.ts b/x-pack/platform/plugins/private/rollup/public/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/index.ts
rename to x-pack/platform/plugins/private/rollup/public/index.ts
diff --git a/x-pack/plugins/rollup/public/kibana_services.ts b/x-pack/platform/plugins/private/rollup/public/kibana_services.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/kibana_services.ts
rename to x-pack/platform/plugins/private/rollup/public/kibana_services.ts
diff --git a/x-pack/plugins/rollup/public/plugin.ts b/x-pack/platform/plugins/private/rollup/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/plugin.ts
rename to x-pack/platform/plugins/private/rollup/public/plugin.ts
diff --git a/x-pack/plugins/rollup/public/shared_imports.ts b/x-pack/platform/plugins/private/rollup/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/shared_imports.ts
rename to x-pack/platform/plugins/private/rollup/public/shared_imports.ts
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/constants.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/constants.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/constants.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/constants.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/index.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/index.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/index.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/index.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/jest.mocks.tsx b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/jest.mocks.tsx
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/jest.mocks.tsx
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/jest.mocks.tsx
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/job_clone.helpers.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_clone.helpers.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/job_clone.helpers.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_clone.helpers.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/job_create.helpers.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_create.helpers.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/job_create.helpers.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_create.helpers.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/job_list.helpers.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_list.helpers.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/job_list.helpers.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/job_list.helpers.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/setup_context.tsx b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/setup_context.tsx
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/setup_context.tsx
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/setup_context.tsx
diff --git a/x-pack/plugins/rollup/public/test/client_integration/helpers/setup_environment.ts b/x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/setup_environment.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/helpers/setup_environment.ts
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/helpers/setup_environment.ts
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_clone.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_clone.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_clone.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_clone.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_date_histogram.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_date_histogram.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_date_histogram.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_date_histogram.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_histogram.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_histogram.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_histogram.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_histogram.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_logistics.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_logistics.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_logistics.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_logistics.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_metrics.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_metrics.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_metrics.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_metrics.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_review.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_review.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_review.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_review.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_create_terms.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_terms.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_create_terms.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_create_terms.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_list.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_list.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_list.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_list.test.js
diff --git a/x-pack/plugins/rollup/public/test/client_integration/job_list_clone.test.js b/x-pack/platform/plugins/private/rollup/public/test/client_integration/job_list_clone.test.js
similarity index 100%
rename from x-pack/plugins/rollup/public/test/client_integration/job_list_clone.test.js
rename to x-pack/platform/plugins/private/rollup/public/test/client_integration/job_list_clone.test.js
diff --git a/x-pack/plugins/rollup/public/types.ts b/x-pack/platform/plugins/private/rollup/public/types.ts
similarity index 100%
rename from x-pack/plugins/rollup/public/types.ts
rename to x-pack/platform/plugins/private/rollup/public/types.ts
diff --git a/x-pack/plugins/rollup/server/collectors/helpers.test.ts b/x-pack/platform/plugins/private/rollup/server/collectors/helpers.test.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/collectors/helpers.test.ts
rename to x-pack/platform/plugins/private/rollup/server/collectors/helpers.test.ts
diff --git a/x-pack/plugins/rollup/server/collectors/helpers.ts b/x-pack/platform/plugins/private/rollup/server/collectors/helpers.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/collectors/helpers.ts
rename to x-pack/platform/plugins/private/rollup/server/collectors/helpers.ts
diff --git a/x-pack/plugins/rollup/server/collectors/index.ts b/x-pack/platform/plugins/private/rollup/server/collectors/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/collectors/index.ts
rename to x-pack/platform/plugins/private/rollup/server/collectors/index.ts
diff --git a/x-pack/plugins/rollup/server/collectors/register.test.ts b/x-pack/platform/plugins/private/rollup/server/collectors/register.test.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/collectors/register.test.ts
rename to x-pack/platform/plugins/private/rollup/server/collectors/register.test.ts
diff --git a/x-pack/plugins/rollup/server/collectors/register.ts b/x-pack/platform/plugins/private/rollup/server/collectors/register.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/collectors/register.ts
rename to x-pack/platform/plugins/private/rollup/server/collectors/register.ts
diff --git a/x-pack/plugins/rollup/server/config.ts b/x-pack/platform/plugins/private/rollup/server/config.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/config.ts
rename to x-pack/platform/plugins/private/rollup/server/config.ts
diff --git a/x-pack/plugins/rollup/server/index.ts b/x-pack/platform/plugins/private/rollup/server/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/index.ts
rename to x-pack/platform/plugins/private/rollup/server/index.ts
diff --git a/x-pack/plugins/rollup/server/lib/format_es_error.ts b/x-pack/platform/plugins/private/rollup/server/lib/format_es_error.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/lib/format_es_error.ts
rename to x-pack/platform/plugins/private/rollup/server/lib/format_es_error.ts
diff --git a/x-pack/plugins/rollup/server/plugin.ts b/x-pack/platform/plugins/private/rollup/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/plugin.ts
rename to x-pack/platform/plugins/private/rollup/server/plugin.ts
diff --git a/x-pack/plugins/rollup/server/rollup_data_enricher.ts b/x-pack/platform/plugins/private/rollup/server/rollup_data_enricher.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/rollup_data_enricher.ts
rename to x-pack/platform/plugins/private/rollup/server/rollup_data_enricher.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/indices/index.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/indices/index.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/indices/index.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/indices/register_get_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_validate_index_pattern_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/index.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/index.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/index.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/register_create_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/register_create_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/register_delete_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/register_delete_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_delete_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/register_get_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/register_get_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_get_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/register_start_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_start_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/jobs/register_stop_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/jobs/register_stop_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_stop_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/search/index.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/search/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/search/index.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/search/index.ts
diff --git a/x-pack/plugins/rollup/server/routes/api/search/register_search_route.ts b/x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/api/search/register_search_route.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/api/search/register_search_route.ts
diff --git a/x-pack/plugins/rollup/server/routes/index.ts b/x-pack/platform/plugins/private/rollup/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/routes/index.ts
rename to x-pack/platform/plugins/private/rollup/server/routes/index.ts
diff --git a/x-pack/plugins/rollup/server/services/add_base_path.ts b/x-pack/platform/plugins/private/rollup/server/services/add_base_path.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/services/add_base_path.ts
rename to x-pack/platform/plugins/private/rollup/server/services/add_base_path.ts
diff --git a/x-pack/plugins/rollup/server/services/index.ts b/x-pack/platform/plugins/private/rollup/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/services/index.ts
rename to x-pack/platform/plugins/private/rollup/server/services/index.ts
diff --git a/x-pack/plugins/rollup/server/services/license.ts b/x-pack/platform/plugins/private/rollup/server/services/license.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/services/license.ts
rename to x-pack/platform/plugins/private/rollup/server/services/license.ts
diff --git a/x-pack/plugins/rollup/server/shared_imports.ts b/x-pack/platform/plugins/private/rollup/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/shared_imports.ts
rename to x-pack/platform/plugins/private/rollup/server/shared_imports.ts
diff --git a/x-pack/plugins/rollup/server/types.ts b/x-pack/platform/plugins/private/rollup/server/types.ts
similarity index 100%
rename from x-pack/plugins/rollup/server/types.ts
rename to x-pack/platform/plugins/private/rollup/server/types.ts
diff --git a/x-pack/plugins/rollup/tsconfig.json b/x-pack/platform/plugins/private/rollup/tsconfig.json
similarity index 94%
rename from x-pack/plugins/rollup/tsconfig.json
rename to x-pack/platform/plugins/private/rollup/tsconfig.json
index a74f689515de1..38d87b951a44d 100644
--- a/x-pack/plugins/rollup/tsconfig.json
+++ b/x-pack/platform/plugins/private/rollup/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/runtime_fields/README.md b/x-pack/platform/plugins/private/runtime_fields/README.md
similarity index 98%
rename from x-pack/plugins/runtime_fields/README.md
rename to x-pack/platform/plugins/private/runtime_fields/README.md
index 9c0e0e03f2fe5..c4e657fdb3b44 100644
--- a/x-pack/plugins/runtime_fields/README.md
+++ b/x-pack/platform/plugins/private/runtime_fields/README.md
@@ -152,7 +152,7 @@ import React, { useRef } from 'react';
import { EuiButton } from '@elastic/eui';
import { OverlayRef } from 'src/core/public';
-import { createKibanaReactContext, toMountPoint } from '../../src/plugins/kibana_react/public';
+import { createKibanaReactContext, toMountPoint } from '../../../../src/plugins/kibana_react/public';
import { RuntimeFieldEditorFlyoutContent, RuntimeField } from '../runtime_fields/public';
const MyComponent = () => {
diff --git a/x-pack/plugins/index_lifecycle_management/jest.config.js b/x-pack/platform/plugins/private/runtime_fields/jest.config.js
similarity index 58%
rename from x-pack/plugins/index_lifecycle_management/jest.config.js
rename to x-pack/platform/plugins/private/runtime_fields/jest.config.js
index ec594e214106d..b31a02448f969 100644
--- a/x-pack/plugins/index_lifecycle_management/jest.config.js
+++ b/x-pack/platform/plugins/private/runtime_fields/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/index_lifecycle_management'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/runtime_fields'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/index_lifecycle_management',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/runtime_fields',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/index_lifecycle_management/{common,public,server}/**/*.{ts,tsx}',
+ '/x-pack/platform/plugins/private/runtime_fields/public/**/*.{ts,tsx}',
],
};
diff --git a/x-pack/plugins/runtime_fields/kibana.jsonc b/x-pack/platform/plugins/private/runtime_fields/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/runtime_fields/kibana.jsonc
rename to x-pack/platform/plugins/private/runtime_fields/kibana.jsonc
diff --git a/x-pack/plugins/runtime_fields/public/__jest__/setup_environment.tsx b/x-pack/platform/plugins/private/runtime_fields/public/__jest__/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/__jest__/setup_environment.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/__jest__/setup_environment.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/components/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/components/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.test.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.test.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.test.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.test.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor/runtime_field_editor.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.test.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.test.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.test.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.test.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_editor_flyout_content/runtime_field_editor_flyout_content.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_form/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_form/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.test.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/runtime_field_form.test.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.test.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/runtime_field_form.test.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/runtime_field_form.tsx
diff --git a/x-pack/plugins/runtime_fields/public/components/runtime_field_form/schema.ts b/x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/schema.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/components/runtime_field_form/schema.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/components/runtime_field_form/schema.ts
diff --git a/x-pack/plugins/runtime_fields/public/constants.ts b/x-pack/platform/plugins/private/runtime_fields/public/constants.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/constants.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/constants.ts
diff --git a/x-pack/plugins/runtime_fields/public/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/lib/documentation.ts b/x-pack/platform/plugins/private/runtime_fields/public/lib/documentation.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/lib/documentation.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/lib/documentation.ts
diff --git a/x-pack/plugins/runtime_fields/public/lib/index.ts b/x-pack/platform/plugins/private/runtime_fields/public/lib/index.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/lib/index.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/lib/index.ts
diff --git a/x-pack/plugins/runtime_fields/public/load_editor.tsx b/x-pack/platform/plugins/private/runtime_fields/public/load_editor.tsx
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/load_editor.tsx
rename to x-pack/platform/plugins/private/runtime_fields/public/load_editor.tsx
diff --git a/x-pack/plugins/runtime_fields/public/plugin.test.ts b/x-pack/platform/plugins/private/runtime_fields/public/plugin.test.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/plugin.test.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/plugin.test.ts
diff --git a/x-pack/plugins/runtime_fields/public/plugin.ts b/x-pack/platform/plugins/private/runtime_fields/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/plugin.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/plugin.ts
diff --git a/x-pack/plugins/runtime_fields/public/shared_imports.ts b/x-pack/platform/plugins/private/runtime_fields/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/shared_imports.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/shared_imports.ts
diff --git a/x-pack/plugins/runtime_fields/public/test_utils.ts b/x-pack/platform/plugins/private/runtime_fields/public/test_utils.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/test_utils.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/test_utils.ts
diff --git a/x-pack/plugins/runtime_fields/public/types.ts b/x-pack/platform/plugins/private/runtime_fields/public/types.ts
similarity index 100%
rename from x-pack/plugins/runtime_fields/public/types.ts
rename to x-pack/platform/plugins/private/runtime_fields/public/types.ts
diff --git a/x-pack/plugins/runtime_fields/tsconfig.json b/x-pack/platform/plugins/private/runtime_fields/tsconfig.json
similarity index 83%
rename from x-pack/plugins/runtime_fields/tsconfig.json
rename to x-pack/platform/plugins/private/runtime_fields/tsconfig.json
index f2f2a6e27e6c1..1dd95411649aa 100644
--- a/x-pack/plugins/runtime_fields/tsconfig.json
+++ b/x-pack/platform/plugins/private/runtime_fields/tsconfig.json
@@ -1,11 +1,11 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
"include": [
"public/**/*",
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/snapshot_restore/README.md b/x-pack/platform/plugins/private/snapshot_restore/README.md
similarity index 100%
rename from x-pack/plugins/snapshot_restore/README.md
rename to x-pack/platform/plugins/private/snapshot_restore/README.md
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/constant.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/constant.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/constant.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/constant.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/http_requests.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/http_requests.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/mocks.tsx b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/mocks.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/mocks.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/mocks.tsx
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_add.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_add.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_add.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_add.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_edit.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_edit.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_edit.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_edit.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_form.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_form.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_form.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_form.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_list.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_list.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/policy_list.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/policy_list.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/restore_snapshot.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/restore_snapshot.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/restore_snapshot.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/restore_snapshot.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/snapshot_list.helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/snapshot_list.helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/snapshot_list.helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/helpers/snapshot_list.helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/home.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/home.test.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_add.test.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_add.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_add.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_add.test.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_edit.test.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_edit.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_edit.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_edit.test.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_list.test.tsx b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_list.test.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_list.test.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/policy_list.test.tsx
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/repository_add.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/repository_add.test.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.tsx b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/repository_edit.test.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/repository_edit.test.tsx
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/restore_snapshot.test.ts b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/restore_snapshot.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/restore_snapshot.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/restore_snapshot.test.ts
diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/snapshot_list.test.tsx b/x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/snapshot_list.test.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/snapshot_list.test.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/__jest__/client_integration/snapshot_list.test.tsx
diff --git a/x-pack/plugins/snapshot_restore/common/constants.ts b/x-pack/platform/plugins/private/snapshot_restore/common/constants.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/constants.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/constants.ts
diff --git a/x-pack/plugins/snapshot_restore/common/index.ts b/x-pack/platform/plugins/private/snapshot_restore/common/index.ts
similarity index 87%
rename from x-pack/plugins/snapshot_restore/common/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/index.ts
index f8a44c695c520..4607eb0da935f 100644
--- a/x-pack/plugins/snapshot_restore/common/index.ts
+++ b/x-pack/platform/plugins/private/snapshot_restore/common/index.ts
@@ -6,6 +6,5 @@
*/
// TODO: https://github.com/elastic/kibana/issues/110892
-/* eslint-disable @kbn/eslint/no_export_all */
export * from './constants';
diff --git a/x-pack/plugins/snapshot_restore/common/lib/flatten.test.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/flatten.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/flatten.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/flatten.test.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/flatten.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/flatten.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/flatten.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/flatten.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/index.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/index.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/is_data_stream_backing_index.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/is_data_stream_backing_index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/is_data_stream_backing_index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/is_data_stream_backing_index.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/policy_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/policy_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/policy_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/policy_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/policy_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/policy_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/policy_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/policy_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/restore_settings_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/restore_settings_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/restore_settings_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/restore_settings_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/restore_settings_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/restore_settings_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/restore_settings_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/restore_settings_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/snapshot_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/snapshot_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/snapshot_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/snapshot_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/snapshot_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/snapshot_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/snapshot_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/snapshot_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/time_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/time_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/time_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/time_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/time_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/time_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/time_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/time_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/common/lib/utils.ts b/x-pack/platform/plugins/private/snapshot_restore/common/lib/utils.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/lib/utils.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/lib/utils.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/index.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/index.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/indices.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/indices.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/indices.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/indices.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/policy.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/policy.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/policy.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/policy.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/repository.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/repository.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/repository.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/repository.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/restore.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/restore.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/restore.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/restore.ts
diff --git a/x-pack/plugins/snapshot_restore/common/types/snapshot.ts b/x-pack/platform/plugins/private/snapshot_restore/common/types/snapshot.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/common/types/snapshot.ts
rename to x-pack/platform/plugins/private/snapshot_restore/common/types/snapshot.ts
diff --git a/x-pack/platform/plugins/private/snapshot_restore/jest.config.js b/x-pack/platform/plugins/private/snapshot_restore/jest.config.js
new file mode 100644
index 0000000000000..6708784cd706d
--- /dev/null
+++ b/x-pack/platform/plugins/private/snapshot_restore/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/snapshot_restore'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/snapshot_restore',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/private/snapshot_restore/{common,public,server}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/snapshot_restore/kibana.jsonc b/x-pack/platform/plugins/private/snapshot_restore/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/snapshot_restore/kibana.jsonc
rename to x-pack/platform/plugins/private/snapshot_restore/kibana.jsonc
diff --git a/x-pack/plugins/snapshot_restore/public/application/app.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/app.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/app.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/app_context.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/app_context.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/app_context.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/app_context.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/app_providers.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/app_providers.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/app_providers.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/app_providers.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_data_streams_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_data_streams_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_data_streams_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_data_streams_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_feature_states.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_feature_states.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_feature_states.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_feature_states.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_indices_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_indices_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/collapsible_indices_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/collapsible_indices_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.test.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.test.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/collapsible_lists/use_collapsible_list.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/data_placeholder.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/data_placeholder.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/data_placeholder.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/data_placeholder.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/data_stream_badge.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/data_stream_badge.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/data_stream_badge.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/data_stream_badge.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/disable_tooltip.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/disable_tooltip.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/disable_tooltip.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/disable_tooltip.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/feature_states_form_field/feature_states_form_field.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/feature_states_form_field/feature_states_form_field.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/feature_states_form_field/feature_states_form_field.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/feature_states_form_field/feature_states_form_field.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/feature_states_form_field/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/feature_states_form_field/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/feature_states_form_field/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/feature_states_form_field/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/formatted_date_time.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/formatted_date_time.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/formatted_date_time.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/formatted_date_time.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/lib/helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/lib/helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/lib/helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/lib/helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/lib/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/lib/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/lib/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/lib/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/loading.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/loading.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/loading.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/loading.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_delete_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_delete_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_delete_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_delete_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_execute_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_execute_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_execute_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_execute_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/_policy_form.scss b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/_policy_form.scss
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/_policy_form.scss
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/_policy_form.scss
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/navigation.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/navigation.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/navigation.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/navigation.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/policy_form.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/policy_form.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/policy_form.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/policy_form.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_retention.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_retention.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_retention.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_retention.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_review.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_review.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_review.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_review.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/include_feature_states_field.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/include_feature_states_field.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/include_feature_states_field.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/include_feature_states_field.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_feature_states_field/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/include_global_state_field.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/include_global_state_field.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/include_global_state_field.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/include_global_state_field.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/include_global_state_field/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/data_streams_and_indices_list_help_text.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/data_streams_and_indices_list_help_text.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/data_streams_and_indices_list_help_text.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/data_streams_and_indices_list_help_text.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.test.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.test.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/helpers.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/indices_and_data_streams_field.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/indices_and_data_streams_field.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/indices_and_data_streams_field.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/fields/indices_and_data_streams_field/indices_and_data_streams_field.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/step_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/step_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_settings/step_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/policy_form/steps/step_settings/step_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_delete_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_delete_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_delete_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_delete_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/repository_form.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/repository_form.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/repository_form.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/repository_form.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/step_one.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/step_one.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/step_one.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/step_one.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/step_two.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/step_two.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/step_two.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/step_two.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/azure_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/azure_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/azure_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/azure_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/chunk_size.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/chunk_size.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/chunk_size.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/chunk_size.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/max_restore.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/max_restore.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/max_restore.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/max_restore.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/max_snapshots.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/max_snapshots.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/common/max_snapshots.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/common/max_snapshots.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/fs_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/fs_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/fs_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/fs_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/gcs_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/gcs_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/gcs_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/gcs_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/hdfs_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/hdfs_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/hdfs_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/hdfs_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/index.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/index.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/index.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/index.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/readonly_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/readonly_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/readonly_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/readonly_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/s3_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/s3_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_form/type_settings/s3_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_form/type_settings/s3_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_type_logo.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_type_logo.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_type_logo.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_type_logo.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/repository_verification_badge.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_verification_badge.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/repository_verification_badge.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/repository_verification_badge.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/_restore_snapshot_form.scss b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/_restore_snapshot_form.scss
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/_restore_snapshot_form.scss
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/_restore_snapshot_form.scss
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/navigation.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/navigation.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/navigation.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/navigation.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/restore_snapshot_form.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/restore_snapshot_form.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/restore_snapshot_form.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/restore_snapshot_form.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_and_indices_list_help_text.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_and_indices_list_help_text.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_and_indices_list_help_text.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_and_indices_list_help_text.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_global_state_call_out.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_global_state_call_out.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_global_state_call_out.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/data_streams_global_state_call_out.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/step_logistics.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/step_logistics.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/step_logistics.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/step_logistics.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/system_indices_overwritten_callout.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/system_indices_overwritten_callout.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/system_indices_overwritten_callout.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_logistics/system_indices_overwritten_callout.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_review.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_review.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_review.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_review.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_settings.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_settings.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_settings.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/restore_snapshot_form/steps/step_settings.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/retention_execute_modal_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/retention_execute_modal_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/retention_execute_modal_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/retention_execute_modal_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/retention_update_modal_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/retention_update_modal_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/snapshot_delete_provider.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/snapshot_delete_provider.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/snapshot_delete_provider.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/snapshot_delete_provider.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/summaries/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/summaries/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/summaries/policies/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/policies/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/summaries/policies/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/policies/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/summaries/policies/policy_feature_states_summary.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/policies/policy_feature_states_summary.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/summaries/policies/policy_feature_states_summary.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/policies/policy_feature_states_summary.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/summaries/snapshots/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/snapshots/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/summaries/snapshots/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/snapshots/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/components/summaries/snapshots/snapshot_feature_states_summary.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/snapshots/snapshot_feature_states_summary.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/components/summaries/snapshots/snapshot_feature_states_summary.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/components/summaries/snapshots/snapshot_feature_states_summary.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/constants/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/constants/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/constants/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/constants/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/index.scss b/x-pack/platform/plugins/private/snapshot_restore/public/application/index.scss
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/index.scss
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/index.scss
diff --git a/x-pack/plugins/snapshot_restore/public/application/index.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/index.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/index.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/attempt_to_uri_decode.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/lib/attempt_to_uri_decode.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/lib/attempt_to_uri_decode.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/lib/attempt_to_uri_decode.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/lib/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/lib/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/lib/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/lib/snapshot_list_params.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/lib/snapshot_list_params.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/lib/snapshot_list_params.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/type_to_doc_url.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/lib/type_to_doc_url.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/lib/type_to_doc_url.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/lib/type_to_doc_url.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/lib/use_decoded_params.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/lib/use_decoded_params.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/lib/use_decoded_params.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/lib/use_decoded_params.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/mount_management_section.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/mount_management_section.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/_home.scss b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/_home.scss
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/_home.scss
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/_home.scss
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/home.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/home.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/home.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/home.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/policy_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/policy_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/policy_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/policy_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_history.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_history.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_history.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_history.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_summary.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_summary.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_summary.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_details/tabs/tab_summary.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/policy_retention_schedule.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/policy_retention_schedule.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/policy_retention_schedule.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_retention_schedule/policy_retention_schedule.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/repository_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/repository_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/repository_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/repository_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/azure_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/azure_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/azure_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/azure_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/default_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/default_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/default_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/default_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/fs_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/fs_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/fs_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/fs_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/gcs_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/gcs_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/gcs_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/gcs_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/index.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/index.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/index.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/index.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/readonly_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/readonly_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/readonly_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/readonly_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/s3_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/s3_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/s3_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_details/type_details/s3_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_table/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_table/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/repository_list/repository_table/repository_table.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/restore_table.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/shards_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/shards_table.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/restore_list/restore_table/shards_table.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/restore_list/restore_table/shards_table.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_empty_prompt.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_empty_prompt.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_empty_prompt.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_empty_prompt.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_error.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_error.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_error.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/repository_error.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_empty_prompt.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_empty_prompt.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_empty_prompt.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_empty_prompt.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_table.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/policy_add/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_add/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/policy_add/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_add/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/policy_add/policy_add.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_add/policy_add.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/policy_add/policy_add.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_add/policy_add.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/policy_edit/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_edit/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/policy_edit/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_edit/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/policy_edit/policy_edit.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_edit/policy_edit.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/policy_edit/policy_edit.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/policy_edit/policy_edit.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/repository_add/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_add/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/repository_add/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_add/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/repository_add/repository_add.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_add/repository_add.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/repository_add/repository_add.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_add/repository_add.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/repository_edit/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_edit/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/repository_edit/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_edit/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/repository_edit/repository_edit.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_edit/repository_edit.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/repository_edit/repository_edit.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/repository_edit/repository_edit.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/restore_snapshot/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/restore_snapshot/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/restore_snapshot/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/restore_snapshot/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/restore_snapshot/restore_snapshot.tsx b/x-pack/platform/plugins/private/snapshot_restore/public/application/sections/restore_snapshot/restore_snapshot.tsx
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/sections/restore_snapshot/restore_snapshot.tsx
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/sections/restore_snapshot/restore_snapshot.tsx
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/http.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/http.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/http.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/http.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/policy_requests.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/policy_requests.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/policy_requests.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/repository_requests.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/repository_requests.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/repository_requests.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/repository_requests.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/restore_requests.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/restore_requests.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/restore_requests.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/restore_requests.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/snapshot_requests.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/snapshot_requests.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/snapshot_requests.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/snapshot_requests.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/http/use_request.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/use_request.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/http/use_request.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/http/use_request.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/navigation/breadcrumb.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/breadcrumb.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/navigation/breadcrumb.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/breadcrumb.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/navigation/doc_title.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/doc_title.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/navigation/doc_title.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/doc_title.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/navigation/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/navigation/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/navigation/links.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/links.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/navigation/links.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/navigation/links.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/text/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/text/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/text/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/text/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/text/text.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/text/text.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/text/text.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/text/text.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/ui_metric/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/ui_metric/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/ui_metric/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/ui_metric/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/ui_metric/ui_metric.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/ui_metric/ui_metric.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/ui_metric/ui_metric.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/ui_metric/ui_metric.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/validation/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/validation/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/validation/validate_policy.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_policy.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/validation/validate_policy.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_policy.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/validation/validate_repository.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_repository.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/validation/validate_repository.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_repository.ts
diff --git a/x-pack/plugins/snapshot_restore/public/application/services/validation/validate_restore.ts b/x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_restore.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/application/services/validation/validate_restore.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/application/services/validation/validate_restore.ts
diff --git a/x-pack/plugins/snapshot_restore/public/index.ts b/x-pack/platform/plugins/private/snapshot_restore/public/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/index.ts
diff --git a/x-pack/plugins/snapshot_restore/public/locator.ts b/x-pack/platform/plugins/private/snapshot_restore/public/locator.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/locator.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/locator.ts
diff --git a/x-pack/plugins/snapshot_restore/public/plugin.ts b/x-pack/platform/plugins/private/snapshot_restore/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/plugin.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/plugin.ts
diff --git a/x-pack/plugins/snapshot_restore/public/shared_imports.ts b/x-pack/platform/plugins/private/snapshot_restore/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/shared_imports.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/shared_imports.ts
diff --git a/x-pack/plugins/snapshot_restore/public/types.ts b/x-pack/platform/plugins/private/snapshot_restore/public/types.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/public/types.ts
rename to x-pack/platform/plugins/private/snapshot_restore/public/types.ts
diff --git a/x-pack/plugins/snapshot_restore/server/config.ts b/x-pack/platform/plugins/private/snapshot_restore/server/config.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/config.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/config.ts
diff --git a/x-pack/plugins/snapshot_restore/server/index.ts b/x-pack/platform/plugins/private/snapshot_restore/server/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/clean_settings.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/clean_settings.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/clean_settings.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/clean_settings.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/get_managed_policy_names.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/get_managed_policy_names.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/get_managed_policy_names.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/get_managed_policy_names.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/get_managed_repository_name.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/get_managed_repository_name.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/get_managed_repository_name.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/get_managed_repository_name.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/get_snapshot_search_wildcard.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/get_snapshot_search_wildcard.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/get_snapshot_search_wildcard.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/get_snapshot_search_wildcard.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/get_snapshot_search_wildcard.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/get_snapshot_search_wildcard.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/get_snapshot_search_wildcard.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/get_snapshot_search_wildcard.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/index.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/repository_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/repository_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/repository_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/repository_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/repository_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/repository_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/repository_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/repository_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/restore_serialization.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/restore_serialization.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/restore_serialization.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/restore_serialization.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/restore_serialization.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/restore_serialization.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/restore_serialization.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/restore_serialization.ts
diff --git a/x-pack/plugins/snapshot_restore/server/lib/wrap_es_error.ts b/x-pack/platform/plugins/private/snapshot_restore/server/lib/wrap_es_error.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/lib/wrap_es_error.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/lib/wrap_es_error.ts
diff --git a/x-pack/plugins/snapshot_restore/server/plugin.ts b/x-pack/platform/plugins/private/snapshot_restore/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/plugin.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/plugin.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/app.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/app.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/app.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/policy.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/policy.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/policy.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/policy.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/repositories.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/repositories.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/restore.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/restore.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/restore.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/restore.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/restore.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/snapshots.test.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.test.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/snapshots.test.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.test.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/snapshots.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/snapshots.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/snapshots.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/validate_schemas.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/api/validate_schemas.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/api/validate_schemas.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/api/validate_schemas.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/helpers.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/helpers.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/helpers.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/helpers.ts
diff --git a/x-pack/plugins/snapshot_restore/server/routes/index.ts b/x-pack/platform/plugins/private/snapshot_restore/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/routes/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/routes/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/services/index.ts b/x-pack/platform/plugins/private/snapshot_restore/server/services/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/services/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/services/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/services/license.ts b/x-pack/platform/plugins/private/snapshot_restore/server/services/license.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/services/license.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/services/license.ts
diff --git a/x-pack/plugins/remote_clusters/server/shared_imports.ts b/x-pack/platform/plugins/private/snapshot_restore/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/remote_clusters/server/shared_imports.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/shared_imports.ts
diff --git a/x-pack/plugins/snapshot_restore/server/test/helpers/index.ts b/x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/test/helpers/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/test/helpers/route_dependencies.ts b/x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/route_dependencies.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/test/helpers/route_dependencies.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/route_dependencies.ts
diff --git a/x-pack/plugins/snapshot_restore/server/test/helpers/router_mock.ts b/x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/test/helpers/router_mock.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/test/helpers/router_mock.ts
diff --git a/x-pack/plugins/snapshot_restore/server/types.ts b/x-pack/platform/plugins/private/snapshot_restore/server/types.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/types.ts
rename to x-pack/platform/plugins/private/snapshot_restore/server/types.ts
diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/index.ts b/x-pack/platform/plugins/private/snapshot_restore/test/fixtures/index.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/test/fixtures/index.ts
rename to x-pack/platform/plugins/private/snapshot_restore/test/fixtures/index.ts
diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/policy.ts b/x-pack/platform/plugins/private/snapshot_restore/test/fixtures/policy.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/test/fixtures/policy.ts
rename to x-pack/platform/plugins/private/snapshot_restore/test/fixtures/policy.ts
diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/repository.ts b/x-pack/platform/plugins/private/snapshot_restore/test/fixtures/repository.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/test/fixtures/repository.ts
rename to x-pack/platform/plugins/private/snapshot_restore/test/fixtures/repository.ts
diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/snapshot.ts b/x-pack/platform/plugins/private/snapshot_restore/test/fixtures/snapshot.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/test/fixtures/snapshot.ts
rename to x-pack/platform/plugins/private/snapshot_restore/test/fixtures/snapshot.ts
diff --git a/x-pack/plugins/snapshot_restore/tsconfig.json b/x-pack/platform/plugins/private/snapshot_restore/tsconfig.json
similarity index 91%
rename from x-pack/plugins/snapshot_restore/tsconfig.json
rename to x-pack/platform/plugins/private/snapshot_restore/tsconfig.json
index d34d28122b6d4..d4f277410f427 100644
--- a/x-pack/plugins/snapshot_restore/tsconfig.json
+++ b/x-pack/platform/plugins/private/snapshot_restore/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
@@ -9,7 +9,7 @@
"public/**/*",
"server/**/*",
"test/**/*",
- "../../../typings/**/*",
+ "../../../../../typings/**/*",
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/watcher/README.md b/x-pack/platform/plugins/private/watcher/README.md
similarity index 100%
rename from x-pack/plugins/watcher/README.md
rename to x-pack/platform/plugins/private/watcher/README.md
diff --git a/x-pack/plugins/watcher/__fixtures__/execute_details.ts b/x-pack/platform/plugins/private/watcher/__fixtures__/execute_details.ts
similarity index 100%
rename from x-pack/plugins/watcher/__fixtures__/execute_details.ts
rename to x-pack/platform/plugins/private/watcher/__fixtures__/execute_details.ts
diff --git a/x-pack/plugins/watcher/__fixtures__/get_watch_history.ts b/x-pack/platform/plugins/private/watcher/__fixtures__/get_watch_history.ts
similarity index 100%
rename from x-pack/plugins/watcher/__fixtures__/get_watch_history.ts
rename to x-pack/platform/plugins/private/watcher/__fixtures__/get_watch_history.ts
diff --git a/x-pack/plugins/watcher/__fixtures__/index.ts b/x-pack/platform/plugins/private/watcher/__fixtures__/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/__fixtures__/index.ts
rename to x-pack/platform/plugins/private/watcher/__fixtures__/index.ts
diff --git a/x-pack/plugins/watcher/__fixtures__/watch.ts b/x-pack/platform/plugins/private/watcher/__fixtures__/watch.ts
similarity index 100%
rename from x-pack/plugins/watcher/__fixtures__/watch.ts
rename to x-pack/platform/plugins/private/watcher/__fixtures__/watch.ts
diff --git a/x-pack/plugins/watcher/__jest__/__snapshots__/license_prompt.test.tsx.snap b/x-pack/platform/plugins/private/watcher/__jest__/__snapshots__/license_prompt.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/__snapshots__/license_prompt.test.tsx.snap
rename to x-pack/platform/plugins/private/watcher/__jest__/__snapshots__/license_prompt.test.tsx.snap
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/app_context.mock.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/app_context.mock.tsx
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/http_requests.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/http_requests.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/http_requests.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/http_requests.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/index.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/index.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/index.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/jest_constants.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/jest_constants.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/jest_constants.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/jest_constants.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/setup_environment.tsx b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/setup_environment.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/setup_environment.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/setup_environment.tsx
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_json_page.helpers.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_create_json_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_json_page.helpers.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_create_json_page.helpers.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_threshold_page.helpers.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_create_threshold_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_create_threshold_page.helpers.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_create_threshold_page.helpers.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_edit_page.helpers.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_edit_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_edit_page.helpers.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_edit_page.helpers.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_list_page.helpers.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_list_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_list_page.helpers.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_list_page.helpers.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_status_page.helpers.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_status_page.helpers.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/helpers/watch_status_page.helpers.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/helpers/watch_status_page.helpers.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/watch_create_json_page.test.tsx b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_create_json_page.test.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/watch_create_json_page.test.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_create_json_page.test.tsx
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/watch_create_threshold_page.test.tsx b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_create_threshold_page.test.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/watch_create_threshold_page.test.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_create_threshold_page.test.tsx
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/watch_edit_page.test.tsx b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_edit_page.test.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/watch_edit_page.test.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_edit_page.test.tsx
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/watch_list_page.test.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_list_page.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/watch_list_page.test.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_list_page.test.ts
diff --git a/x-pack/plugins/watcher/__jest__/client_integration/watch_status_page.test.ts b/x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_status_page.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/client_integration/watch_status_page.test.ts
rename to x-pack/platform/plugins/private/watcher/__jest__/client_integration/watch_status_page.test.ts
diff --git a/x-pack/plugins/watcher/__jest__/license_prompt.test.tsx b/x-pack/platform/plugins/private/watcher/__jest__/license_prompt.test.tsx
similarity index 100%
rename from x-pack/plugins/watcher/__jest__/license_prompt.test.tsx
rename to x-pack/platform/plugins/private/watcher/__jest__/license_prompt.test.tsx
diff --git a/x-pack/plugins/watcher/common/constants/action_modes.ts b/x-pack/platform/plugins/private/watcher/common/constants/action_modes.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/action_modes.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/action_modes.ts
diff --git a/x-pack/plugins/watcher/common/constants/action_states.ts b/x-pack/platform/plugins/private/watcher/common/constants/action_states.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/action_states.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/action_states.ts
diff --git a/x-pack/plugins/watcher/common/constants/action_types.ts b/x-pack/platform/plugins/private/watcher/common/constants/action_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/action_types.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/action_types.ts
diff --git a/x-pack/plugins/watcher/common/constants/agg_types.ts b/x-pack/platform/plugins/private/watcher/common/constants/agg_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/agg_types.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/agg_types.ts
diff --git a/x-pack/plugins/watcher/common/constants/comparators.ts b/x-pack/platform/plugins/private/watcher/common/constants/comparators.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/comparators.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/comparators.ts
diff --git a/x-pack/plugins/watcher/common/constants/error_codes.ts b/x-pack/platform/plugins/private/watcher/common/constants/error_codes.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/error_codes.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/error_codes.ts
diff --git a/x-pack/plugins/watcher/common/constants/es_scroll_settings.ts b/x-pack/platform/plugins/private/watcher/common/constants/es_scroll_settings.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/es_scroll_settings.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/es_scroll_settings.ts
diff --git a/x-pack/plugins/watcher/common/constants/index.ts b/x-pack/platform/plugins/private/watcher/common/constants/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/index.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/index.ts
diff --git a/x-pack/plugins/watcher/common/constants/index_names.ts b/x-pack/platform/plugins/private/watcher/common/constants/index_names.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/index_names.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/index_names.ts
diff --git a/x-pack/plugins/watcher/common/constants/lists.ts b/x-pack/platform/plugins/private/watcher/common/constants/lists.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/lists.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/lists.ts
diff --git a/x-pack/plugins/watcher/common/constants/pagination.ts b/x-pack/platform/plugins/private/watcher/common/constants/pagination.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/pagination.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/pagination.ts
diff --git a/x-pack/plugins/watcher/common/constants/plugin.ts b/x-pack/platform/plugins/private/watcher/common/constants/plugin.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/plugin.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/plugin.ts
diff --git a/x-pack/plugins/watcher/common/constants/refresh_intervals.ts b/x-pack/platform/plugins/private/watcher/common/constants/refresh_intervals.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/refresh_intervals.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/refresh_intervals.ts
diff --git a/x-pack/plugins/watcher/common/constants/routes.ts b/x-pack/platform/plugins/private/watcher/common/constants/routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/routes.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/routes.ts
diff --git a/x-pack/plugins/watcher/common/constants/sort_orders.ts b/x-pack/platform/plugins/private/watcher/common/constants/sort_orders.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/sort_orders.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/sort_orders.ts
diff --git a/x-pack/plugins/watcher/common/constants/time_units.ts b/x-pack/platform/plugins/private/watcher/common/constants/time_units.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/time_units.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/time_units.ts
diff --git a/x-pack/plugins/watcher/common/constants/watch_history.ts b/x-pack/platform/plugins/private/watcher/common/constants/watch_history.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/watch_history.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/watch_history.ts
diff --git a/x-pack/plugins/watcher/common/constants/watch_state_comments.ts b/x-pack/platform/plugins/private/watcher/common/constants/watch_state_comments.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/watch_state_comments.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/watch_state_comments.ts
diff --git a/x-pack/plugins/watcher/common/constants/watch_states.ts b/x-pack/platform/plugins/private/watcher/common/constants/watch_states.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/watch_states.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/watch_states.ts
diff --git a/x-pack/plugins/watcher/common/constants/watch_types.ts b/x-pack/platform/plugins/private/watcher/common/constants/watch_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/constants/watch_types.ts
rename to x-pack/platform/plugins/private/watcher/common/constants/watch_types.ts
diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.test.js b/x-pack/platform/plugins/private/watcher/common/lib/get_action_type/get_action_type.test.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.test.js
rename to x-pack/platform/plugins/private/watcher/common/lib/get_action_type/get_action_type.test.js
diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.ts b/x-pack/platform/plugins/private/watcher/common/lib/get_action_type/get_action_type.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/get_action_type/get_action_type.ts
diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/index.ts b/x-pack/platform/plugins/private/watcher/common/lib/get_action_type/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_action_type/index.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/get_action_type/index.ts
diff --git a/x-pack/plugins/watcher/common/lib/get_moment/get_moment.test.ts b/x-pack/platform/plugins/private/watcher/common/lib/get_moment/get_moment.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_moment/get_moment.test.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/get_moment/get_moment.test.ts
diff --git a/x-pack/plugins/watcher/common/lib/get_moment/get_moment.ts b/x-pack/platform/plugins/private/watcher/common/lib/get_moment/get_moment.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_moment/get_moment.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/get_moment/get_moment.ts
diff --git a/x-pack/plugins/watcher/common/lib/get_moment/index.ts b/x-pack/platform/plugins/private/watcher/common/lib/get_moment/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/get_moment/index.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/get_moment/index.ts
diff --git a/x-pack/plugins/watcher/common/lib/serialization/index.d.ts b/x-pack/platform/plugins/private/watcher/common/lib/serialization/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/index.d.ts
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/index.d.ts
diff --git a/x-pack/plugins/watcher/common/lib/serialization/index.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/index.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/index.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/index.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_actions.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_actions.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_actions.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_actions.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_condition.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_condition.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_condition.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_condition.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_input.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_input.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_input.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_input.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_metadata.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_metadata.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_metadata.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_metadata.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_transform.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_transform.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_transform.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_transform.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_trigger.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_trigger.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/build_trigger.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/build_trigger.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/index.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/index.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/index.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/index.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/single_line_script.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/single_line_script.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialization_helpers/single_line_script.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialization_helpers/single_line_script.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialize_json_watch.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_json_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialize_json_watch.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_json_watch.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialize_json_watch.test.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_json_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialize_json_watch.test.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_json_watch.test.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialize_threshold_watch.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_threshold_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialize_threshold_watch.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_threshold_watch.js
diff --git a/x-pack/plugins/watcher/common/lib/serialization/serialize_threshold_watch.test.js b/x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_threshold_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/common/lib/serialization/serialize_threshold_watch.test.js
rename to x-pack/platform/plugins/private/watcher/common/lib/serialization/serialize_threshold_watch.test.js
diff --git a/x-pack/plugins/watcher/common/models/action/action.js b/x-pack/platform/plugins/private/watcher/common/models/action/action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/action.js
diff --git a/x-pack/plugins/watcher/common/models/action/action.test.js b/x-pack/platform/plugins/private/watcher/common/models/action/action.test.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/action.test.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/action.test.js
diff --git a/x-pack/plugins/watcher/common/models/action/base_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/base_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/base_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/base_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/email_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/email_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/email_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/email_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/index.js b/x-pack/platform/plugins/private/watcher/common/models/action/index.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/index.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/index.js
diff --git a/x-pack/plugins/watcher/common/models/action/index_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/index_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/index_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/index_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/jira_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/jira_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/jira_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/jira_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/logging_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/logging_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/logging_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/logging_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/pagerduty_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/pagerduty_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/pagerduty_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/pagerduty_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/slack_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/slack_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/slack_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/slack_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/unknown_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/unknown_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/unknown_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/unknown_action.js
diff --git a/x-pack/plugins/watcher/common/models/action/webhook_action.js b/x-pack/platform/plugins/private/watcher/common/models/action/webhook_action.js
similarity index 100%
rename from x-pack/plugins/watcher/common/models/action/webhook_action.js
rename to x-pack/platform/plugins/private/watcher/common/models/action/webhook_action.js
diff --git a/x-pack/plugins/watcher/common/types/action_types.ts b/x-pack/platform/plugins/private/watcher/common/types/action_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/types/action_types.ts
rename to x-pack/platform/plugins/private/watcher/common/types/action_types.ts
diff --git a/x-pack/plugins/watcher/common/types/index.ts b/x-pack/platform/plugins/private/watcher/common/types/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/types/index.ts
rename to x-pack/platform/plugins/private/watcher/common/types/index.ts
diff --git a/x-pack/plugins/watcher/common/types/license_status.ts b/x-pack/platform/plugins/private/watcher/common/types/license_status.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/types/license_status.ts
rename to x-pack/platform/plugins/private/watcher/common/types/license_status.ts
diff --git a/x-pack/plugins/watcher/common/types/status_types.ts b/x-pack/platform/plugins/private/watcher/common/types/status_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/types/status_types.ts
rename to x-pack/platform/plugins/private/watcher/common/types/status_types.ts
diff --git a/x-pack/plugins/watcher/common/types/watch_types.ts b/x-pack/platform/plugins/private/watcher/common/types/watch_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/common/types/watch_types.ts
rename to x-pack/platform/plugins/private/watcher/common/types/watch_types.ts
diff --git a/x-pack/plugins/cross_cluster_replication/jest.config.js b/x-pack/platform/plugins/private/watcher/jest.config.js
similarity index 58%
rename from x-pack/plugins/cross_cluster_replication/jest.config.js
rename to x-pack/platform/plugins/private/watcher/jest.config.js
index 87d557b57a6a7..ac6ccc83eea58 100644
--- a/x-pack/plugins/cross_cluster_replication/jest.config.js
+++ b/x-pack/platform/plugins/private/watcher/jest.config.js
@@ -7,12 +7,12 @@
module.exports = {
preset: '@kbn/test',
- rootDir: '../../..',
- roots: ['/x-pack/plugins/cross_cluster_replication'],
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/private/watcher'],
coverageDirectory:
- '/target/kibana-coverage/jest/x-pack/plugins/cross_cluster_replication',
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/private/watcher',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
- '/x-pack/plugins/cross_cluster_replication/{common,public,server}/**/*.{js,ts,tsx}',
+ '/x-pack/platform/plugins/private/watcher/{common,public,server}/**/*.{js,ts,tsx}',
],
};
diff --git a/x-pack/plugins/watcher/kibana.jsonc b/x-pack/platform/plugins/private/watcher/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/watcher/kibana.jsonc
rename to x-pack/platform/plugins/private/watcher/kibana.jsonc
diff --git a/x-pack/plugins/watcher/public/application/app.tsx b/x-pack/platform/plugins/private/watcher/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/app.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/app.tsx
diff --git a/x-pack/plugins/watcher/public/application/app_context.tsx b/x-pack/platform/plugins/private/watcher/public/application/app_context.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/app_context.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/app_context.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/action_state_badge.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/action_state_badge.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/action_state_badge.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/action_state_badge.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/confirm_watches_modal.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/confirm_watches_modal.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/confirm_watches_modal.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/confirm_watches_modal.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/delete_watches_modal.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/delete_watches_modal.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/delete_watches_modal.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/delete_watches_modal.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/form_errors.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/form_errors.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/form_errors.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/form_errors.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/index.ts b/x-pack/platform/plugins/private/watcher/public/application/components/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/components/index.ts
diff --git a/x-pack/plugins/watcher/public/application/components/page_error/index.ts b/x-pack/platform/plugins/private/watcher/public/application/components/page_error/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/page_error/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/components/page_error/index.ts
diff --git a/x-pack/plugins/watcher/public/application/components/page_error/page_error.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/page_error/page_error.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/page_error/page_error_forbidden.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error_forbidden.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/page_error/page_error_forbidden.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error_forbidden.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/page_error/page_error_not_exist.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error_not_exist.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/page_error/page_error_not_exist.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/page_error/page_error_not_exist.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/section_error.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/section_error.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/section_error.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/section_error.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/section_loading.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/section_loading.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/section_loading.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/section_loading.tsx
diff --git a/x-pack/plugins/watcher/public/application/components/watch_state_badge.tsx b/x-pack/platform/plugins/private/watcher/public/application/components/watch_state_badge.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/components/watch_state_badge.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/components/watch_state_badge.tsx
diff --git a/x-pack/plugins/watcher/public/application/constants/base_path.ts b/x-pack/platform/plugins/private/watcher/public/application/constants/base_path.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/constants/base_path.ts
rename to x-pack/platform/plugins/private/watcher/public/application/constants/base_path.ts
diff --git a/x-pack/plugins/watcher/public/application/constants/index.ts b/x-pack/platform/plugins/private/watcher/public/application/constants/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/constants/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/constants/index.ts
diff --git a/x-pack/plugins/watcher/public/application/index.tsx b/x-pack/platform/plugins/private/watcher/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/index.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/index.tsx
diff --git a/x-pack/plugins/watcher/public/application/lib/api.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/api.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/api.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/api.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/breadcrumbs.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/breadcrumbs.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/breadcrumbs.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/format_date.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/format_date.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/format_date.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/format_date.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/get_search_value.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/get_search_value.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/get_search_value.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/get_search_value.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/get_time_unit_label.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/get_time_unit_label.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/get_time_unit_label.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/get_time_unit_label.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/navigation.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/navigation.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/navigation.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/navigation.ts
diff --git a/x-pack/plugins/watcher/public/application/lib/use_request.ts b/x-pack/platform/plugins/private/watcher/public/application/lib/use_request.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/lib/use_request.ts
rename to x-pack/platform/plugins/private/watcher/public/application/lib/use_request.ts
diff --git a/x-pack/plugins/watcher/public/application/license_prompt.tsx b/x-pack/platform/plugins/private/watcher/public/application/license_prompt.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/license_prompt.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/license_prompt.tsx
diff --git a/x-pack/plugins/watcher/public/application/models/action/action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/base_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/base_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/base_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/base_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/email_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/email_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/email_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/email_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/action/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/action/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/index_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/index_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/index_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/index_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/jira_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/jira_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/jira_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/jira_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/logging_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/logging_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/logging_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/logging_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/pagerduty_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/pagerduty_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/pagerduty_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/pagerduty_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/slack_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/slack_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/slack_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/slack_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/unknown_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/unknown_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/unknown_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/unknown_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action/webhook_action.js b/x-pack/platform/plugins/private/watcher/public/application/models/action/webhook_action.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action/webhook_action.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action/webhook_action.js
diff --git a/x-pack/plugins/watcher/public/application/models/action_status/action_status.js b/x-pack/platform/plugins/private/watcher/public/application/models/action_status/action_status.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action_status/action_status.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action_status/action_status.js
diff --git a/x-pack/plugins/watcher/public/application/models/action_status/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/action_status/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/action_status/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/action_status/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/execute_details/execute_details.js b/x-pack/platform/plugins/private/watcher/public/application/models/execute_details/execute_details.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/execute_details/execute_details.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/execute_details/execute_details.js
diff --git a/x-pack/plugins/watcher/public/application/models/execute_details/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/execute_details/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/execute_details/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/execute_details/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/execute_details/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/execute_details/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/execute_details/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/execute_details/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/settings/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/settings/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/settings/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/settings/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/settings/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/settings/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/settings/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/settings/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/settings/settings.js b/x-pack/platform/plugins/private/watcher/public/application/models/settings/settings.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/settings/settings.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/settings/settings.js
diff --git a/x-pack/plugins/watcher/public/application/models/visualize_options/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/visualize_options/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/visualize_options/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/visualize_options/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/visualize_options/visualize_options.js b/x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/visualize_options.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/visualize_options/visualize_options.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/visualize_options/visualize_options.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/agg_types.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/agg_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/agg_types.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/agg_types.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/base_watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/base_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/base_watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/base_watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/comparators.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/comparators.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/comparators.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/comparators.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/default_watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/default_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/default_watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/default_watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/group_by_types.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/group_by_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/group_by_types.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/group_by_types.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/json_watch.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/json_watch.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/json_watch.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/json_watch.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/json_watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/json_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/json_watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/json_watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/lib/check_action_id_collision/check_action_id_collision.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/check_action_id_collision/check_action_id_collision.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/lib/check_action_id_collision/check_action_id_collision.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/check_action_id_collision/check_action_id_collision.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/lib/check_action_id_collision/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/check_action_id_collision/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/lib/check_action_id_collision/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/check_action_id_collision/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/lib/create_action_id/create_action_id.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/create_action_id/create_action_id.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/lib/create_action_id/create_action_id.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/create_action_id/create_action_id.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/lib/create_action_id/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/create_action_id/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/lib/create_action_id/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/lib/create_action_id/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/monitoring_watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/monitoring_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/monitoring_watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/monitoring_watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/threshold_watch.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch/threshold_watch.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/threshold_watch.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/threshold_watch.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch/threshold_watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/threshold_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/threshold_watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/threshold_watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch/watch.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch/watch.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch/watch.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch/watch.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_errors/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_errors/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_errors/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_errors/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_errors/watch_errors.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_errors/watch_errors.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_errors/watch_errors.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_errors/watch_errors.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_history_item/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_history_item/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch_history_item/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_history_item/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_history_item/watch_history_item.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/watch_history_item.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_history_item/watch_history_item.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_history_item/watch_history_item.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_status/index.d.ts b/x-pack/platform/plugins/private/watcher/public/application/models/watch_status/index.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_status/index.d.ts
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_status/index.d.ts
diff --git a/x-pack/plugins/watcher/public/application/models/watch_status/index.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_status/index.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_status/index.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_status/index.js
diff --git a/x-pack/plugins/watcher/public/application/models/watch_status/watch_status.js b/x-pack/platform/plugins/private/watcher/public/application/models/watch_status/watch_status.js
similarity index 100%
rename from x-pack/plugins/watcher/public/application/models/watch_status/watch_status.js
rename to x-pack/platform/plugins/private/watcher/public/application/models/watch_status/watch_status.js
diff --git a/x-pack/plugins/watcher/public/application/sections/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_form.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_form.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_form.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_form.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/json_watch_edit_simulate.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/json_watch_edit/simulate_watch_results_flyout.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/monitoring_watch_edit.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/monitoring_watch_edit.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/monitoring_watch_edit.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/monitoring_watch_edit/monitoring_watch_edit.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/request_flyout.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/request_flyout.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/request_flyout.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/request_flyout.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/email_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/email_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/email_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/email_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/index_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/jira_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/jira_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/jira_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/jira_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/logging_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/logging_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/logging_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/logging_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/pagerduty_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/pagerduty_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/pagerduty_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/pagerduty_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/slack_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/slack_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/slack_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/slack_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/webhook_action_fields.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/webhook_action_fields.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/webhook_action_fields.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/action_fields/webhook_action_fields.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_accordion.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_accordion.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_accordion.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_accordion.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_dropdown.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_dropdown.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_dropdown.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_dropdown.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_panel.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_panel.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_panel.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_action_panel.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_edit.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_edit.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_edit.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/threshold_watch_edit.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/watch_visualization.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/watch_visualization.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/watch_visualization.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/components/threshold_watch_edit/watch_visualization.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_context.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_context.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_context.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_context.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_edit_actions.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_edit_actions.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_edit_actions.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_edit_actions.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_edit_page.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_edit_page.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_edit_page/watch_edit_page.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_edit_page/watch_edit_page.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_list_page/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_list_page/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_list_page/watch_list_page.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/action_statuses_panel.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/components/execution_history_panel.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/execution_history_panel.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/components/execution_history_panel.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/execution_history_panel.tsx
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/components/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/components/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/components/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/index.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/index.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/index.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/watch_details_context.ts b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/watch_details_context.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/watch_details_context.ts
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/watch_details_context.ts
diff --git a/x-pack/plugins/watcher/public/application/sections/watch_status_page/watch_status_page.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/watch_status_page.tsx
similarity index 100%
rename from x-pack/plugins/watcher/public/application/sections/watch_status_page/watch_status_page.tsx
rename to x-pack/platform/plugins/private/watcher/public/application/sections/watch_status_page/watch_status_page.tsx
diff --git a/x-pack/plugins/watcher/public/application/shared_imports.ts b/x-pack/platform/plugins/private/watcher/public/application/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/application/shared_imports.ts
rename to x-pack/platform/plugins/private/watcher/public/application/shared_imports.ts
diff --git a/x-pack/plugins/watcher/public/index.scss b/x-pack/platform/plugins/private/watcher/public/index.scss
similarity index 100%
rename from x-pack/plugins/watcher/public/index.scss
rename to x-pack/platform/plugins/private/watcher/public/index.scss
diff --git a/x-pack/plugins/watcher/public/index.ts b/x-pack/platform/plugins/private/watcher/public/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/index.ts
rename to x-pack/platform/plugins/private/watcher/public/index.ts
diff --git a/x-pack/plugins/watcher/public/legacy/calc_auto_interval.ts b/x-pack/platform/plugins/private/watcher/public/legacy/calc_auto_interval.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/calc_auto_interval.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/calc_auto_interval.ts
diff --git a/x-pack/plugins/watcher/public/legacy/calc_es_interval.ts b/x-pack/platform/plugins/private/watcher/public/legacy/calc_es_interval.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/calc_es_interval.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/calc_es_interval.ts
diff --git a/x-pack/plugins/watcher/public/legacy/index.ts b/x-pack/platform/plugins/private/watcher/public/legacy/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/index.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/index.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/index.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/index.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/index.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/invalid_es_calendar_interval_error.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/invalid_es_calendar_interval_error.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/invalid_es_calendar_interval_error.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/invalid_es_calendar_interval_error.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/invalid_es_interval_format_error.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/invalid_es_interval_format_error.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/invalid_es_interval_format_error.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/invalid_es_interval_format_error.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/is_valid_es_interval.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/is_valid_es_interval.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/is_valid_es_interval.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/is_valid_es_interval.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/parse_es_interval.test.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/parse_es_interval.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/parse_es_interval.test.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/parse_es_interval.test.ts
diff --git a/x-pack/plugins/watcher/public/legacy/parse_es_interval/parse_es_interval.ts b/x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/parse_es_interval.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/parse_es_interval/parse_es_interval.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/parse_es_interval/parse_es_interval.ts
diff --git a/x-pack/plugins/watcher/public/legacy/time_buckets.d.ts b/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.d.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/time_buckets.d.ts
rename to x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.d.ts
diff --git a/x-pack/plugins/watcher/public/legacy/time_buckets.js b/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js
similarity index 100%
rename from x-pack/plugins/watcher/public/legacy/time_buckets.js
rename to x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js
diff --git a/x-pack/plugins/watcher/public/plugin.ts b/x-pack/platform/plugins/private/watcher/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/plugin.ts
rename to x-pack/platform/plugins/private/watcher/public/plugin.ts
diff --git a/x-pack/plugins/watcher/public/types.ts b/x-pack/platform/plugins/private/watcher/public/types.ts
similarity index 100%
rename from x-pack/plugins/watcher/public/types.ts
rename to x-pack/platform/plugins/private/watcher/public/types.ts
diff --git a/x-pack/plugins/watcher/server/index.ts b/x-pack/platform/plugins/private/watcher/server/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/index.ts
rename to x-pack/platform/plugins/private/watcher/server/index.ts
diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.test.js b/x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.test.js
rename to x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.test.js
diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.ts b/x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.ts
rename to x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.ts
diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/index.ts b/x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/index.ts
rename to x-pack/platform/plugins/private/watcher/server/lib/fetch_all_from_scroll/index.ts
diff --git a/x-pack/plugins/watcher/server/lib/normalized_field_types/index.ts b/x-pack/platform/plugins/private/watcher/server/lib/normalized_field_types/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/lib/normalized_field_types/index.ts
rename to x-pack/platform/plugins/private/watcher/server/lib/normalized_field_types/index.ts
diff --git a/x-pack/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.ts b/x-pack/platform/plugins/private/watcher/server/lib/normalized_field_types/normalized_field_types.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.ts
rename to x-pack/platform/plugins/private/watcher/server/lib/normalized_field_types/normalized_field_types.ts
diff --git a/x-pack/plugins/watcher/server/models/action_status_model/action_status_model.state.test.ts b/x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.state.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/action_status_model/action_status_model.state.test.ts
rename to x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.state.test.ts
diff --git a/x-pack/plugins/watcher/server/models/action_status_model/action_status_model.test.ts b/x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/action_status_model/action_status_model.test.ts
rename to x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.test.ts
diff --git a/x-pack/plugins/watcher/server/models/action_status_model/action_status_model.ts b/x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/action_status_model/action_status_model.ts
rename to x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model.ts
diff --git a/x-pack/plugins/watcher/server/models/action_status_model/action_status_model_utils.ts b/x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model_utils.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/action_status_model/action_status_model_utils.ts
rename to x-pack/platform/plugins/private/watcher/server/models/action_status_model/action_status_model_utils.ts
diff --git a/x-pack/plugins/watcher/server/models/action_status_model/index.ts b/x-pack/platform/plugins/private/watcher/server/models/action_status_model/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/action_status_model/index.ts
rename to x-pack/platform/plugins/private/watcher/server/models/action_status_model/index.ts
diff --git a/x-pack/plugins/watcher/server/models/execute_details/execute_details.js b/x-pack/platform/plugins/private/watcher/server/models/execute_details/execute_details.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/execute_details/execute_details.js
rename to x-pack/platform/plugins/private/watcher/server/models/execute_details/execute_details.js
diff --git a/x-pack/plugins/watcher/server/models/execute_details/execute_details.test.js b/x-pack/platform/plugins/private/watcher/server/models/execute_details/execute_details.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/execute_details/execute_details.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/execute_details/execute_details.test.js
diff --git a/x-pack/plugins/watcher/server/models/execute_details/index.js b/x-pack/platform/plugins/private/watcher/server/models/execute_details/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/execute_details/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/execute_details/index.js
diff --git a/x-pack/plugins/watcher/server/models/fields/fields.js b/x-pack/platform/plugins/private/watcher/server/models/fields/fields.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/fields/fields.js
rename to x-pack/platform/plugins/private/watcher/server/models/fields/fields.js
diff --git a/x-pack/plugins/watcher/server/models/fields/fields.test.js b/x-pack/platform/plugins/private/watcher/server/models/fields/fields.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/fields/fields.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/fields/fields.test.js
diff --git a/x-pack/plugins/watcher/server/models/fields/index.js b/x-pack/platform/plugins/private/watcher/server/models/fields/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/fields/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/fields/index.js
diff --git a/x-pack/plugins/watcher/server/models/settings/index.js b/x-pack/platform/plugins/private/watcher/server/models/settings/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/settings/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/settings/index.js
diff --git a/x-pack/plugins/watcher/server/models/settings/settings.js b/x-pack/platform/plugins/private/watcher/server/models/settings/settings.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/settings/settings.js
rename to x-pack/platform/plugins/private/watcher/server/models/settings/settings.js
diff --git a/x-pack/plugins/watcher/server/models/settings/settings.test.js b/x-pack/platform/plugins/private/watcher/server/models/settings/settings.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/settings/settings.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/settings/settings.test.js
diff --git a/x-pack/plugins/watcher/server/models/visualize_options/index.js b/x-pack/platform/plugins/private/watcher/server/models/visualize_options/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/visualize_options/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/visualize_options/index.js
diff --git a/x-pack/plugins/watcher/server/models/visualize_options/visualize_options.js b/x-pack/platform/plugins/private/watcher/server/models/visualize_options/visualize_options.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/visualize_options/visualize_options.js
rename to x-pack/platform/plugins/private/watcher/server/models/visualize_options/visualize_options.js
diff --git a/x-pack/plugins/watcher/server/models/watch/base_watch.js b/x-pack/platform/plugins/private/watcher/server/models/watch/base_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/base_watch.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/base_watch.js
diff --git a/x-pack/plugins/watcher/server/models/watch/base_watch.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/base_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/base_watch.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/base_watch.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch/index.js b/x-pack/platform/plugins/private/watcher/server/models/watch/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/index.js
diff --git a/x-pack/plugins/watcher/server/models/watch/json_watch.js b/x-pack/platform/plugins/private/watcher/server/models/watch/json_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/json_watch.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/json_watch.js
diff --git a/x-pack/plugins/watcher/server/models/watch/json_watch.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/json_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/json_watch.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/json_watch.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/get_interval_type.test.ts b/x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/get_interval_type.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/get_interval_type.test.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/get_interval_type.test.ts
diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/get_interval_type.ts b/x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/get_interval_type.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/get_interval_type.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/get_interval_type.ts
diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/index.ts b/x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/lib/get_interval_type/index.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_interval_type/index.ts
diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_watch_type/get_watch_type.js b/x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_watch_type/get_watch_type.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/lib/get_watch_type/get_watch_type.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_watch_type/get_watch_type.js
diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_watch_type/index.js b/x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_watch_type/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/lib/get_watch_type/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/lib/get_watch_type/index.js
diff --git a/x-pack/plugins/watcher/server/models/watch/monitoring_watch.js b/x-pack/platform/plugins/private/watcher/server/models/watch/monitoring_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/monitoring_watch.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/monitoring_watch.js
diff --git a/x-pack/plugins/watcher/server/models/watch/monitoring_watch.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/monitoring_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/monitoring_watch.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/monitoring_watch.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_visualize_query.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/build_visualize_query.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_visualize_query.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/build_visualize_query.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.query.date.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.query.date.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.query.date.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.query.date.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.query.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.query.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count.query.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count.query.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.date.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.date.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.date.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.date.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/count_terms.query.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.date.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.date.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.date.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.date.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count.query.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.date.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.date.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.date.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.date.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.json b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.json
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.json
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/data_samples/non_count_terms.query.json
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/format_visualize_data.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/format_visualize_data.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/format_visualize_data.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/format_visualize_data.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/format_visualize_data.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/format_visualize_data.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/format_visualize_data.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/format_visualize_data.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/index.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/index.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/threshold_watch.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/threshold_watch.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/threshold_watch.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/threshold_watch.js
diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/threshold_watch.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/threshold_watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/threshold_watch.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/threshold_watch/threshold_watch.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch/watch.js b/x-pack/platform/plugins/private/watcher/server/models/watch/watch.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/watch.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/watch.js
diff --git a/x-pack/plugins/watcher/server/models/watch/watch.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch/watch.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch/watch.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch/watch.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch_errors/index.js b/x-pack/platform/plugins/private/watcher/server/models/watch_errors/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_errors/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_errors/index.js
diff --git a/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.js b/x-pack/platform/plugins/private/watcher/server/models/watch_errors/watch_errors.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_errors/watch_errors.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_errors/watch_errors.js
diff --git a/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch_errors/watch_errors.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_errors/watch_errors.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_errors/watch_errors.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch_history_item/index.js b/x-pack/platform/plugins/private/watcher/server/models/watch_history_item/index.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_history_item/index.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_history_item/index.js
diff --git a/x-pack/plugins/watcher/server/models/watch_history_item/watch_history_item.js b/x-pack/platform/plugins/private/watcher/server/models/watch_history_item/watch_history_item.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_history_item/watch_history_item.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_history_item/watch_history_item.js
diff --git a/x-pack/plugins/watcher/server/models/watch_history_item/watch_history_item.test.js b/x-pack/platform/plugins/private/watcher/server/models/watch_history_item/watch_history_item.test.js
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_history_item/watch_history_item.test.js
rename to x-pack/platform/plugins/private/watcher/server/models/watch_history_item/watch_history_item.test.js
diff --git a/x-pack/plugins/watcher/server/models/watch_status_model/index.ts b/x-pack/platform/plugins/private/watcher/server/models/watch_status_model/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_status_model/index.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch_status_model/index.ts
diff --git a/x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model.test.ts b/x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model.test.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model.test.ts
diff --git a/x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model.ts b/x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model.ts
diff --git a/x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model_utils.test.ts b/x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model_utils.test.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model_utils.test.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model_utils.test.ts
diff --git a/x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model_utils.ts b/x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model_utils.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/models/watch_status_model/watch_status_model_utils.ts
rename to x-pack/platform/plugins/private/watcher/server/models/watch_status_model/watch_status_model_utils.ts
diff --git a/x-pack/plugins/watcher/server/plugin.ts b/x-pack/platform/plugins/private/watcher/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/plugin.ts
rename to x-pack/platform/plugins/private/watcher/server/plugin.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/indices/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/indices/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/indices/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/indices/register_get_index_patterns_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/indices/register_get_index_patterns_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_index_patterns_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/indices/register_get_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/indices/register_get_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/indices/register_indices_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_indices_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/indices/register_indices_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_indices_routes.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/license/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/license/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/license/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/license/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/license/register_license_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_license_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/license/register_license_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/license/register_license_routes.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/license/register_refresh_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/license/register_refresh_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/license/register_refresh_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/register_list_fields_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/register_list_fields_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/register_list_fields_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/register_load_history_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/register_load_history_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/register_load_history_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/settings/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/settings/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/settings/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/settings/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/settings/register_load_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/settings/register_load_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_load_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/settings/register_settings_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_settings_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/settings/register_settings_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/settings/register_settings_routes.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/action/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_acknowledge_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_acknowledge_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_action_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/action/register_action_routes.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_activate_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_activate_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_activate_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_deactivate_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_deactivate_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_deactivate_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_delete_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_execute_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_execute_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_execute_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_history_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_history_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_history_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_load_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_load_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_load_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_save_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_save_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_save_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_visualize_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_visualize_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_visualize_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_watch_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_watch_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watch/register_watch_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watch/register_watch_routes.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watches/index.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/index.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watches/index.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watches/index.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_delete_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watches/register_delete_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_delete_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_list_route.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watches/register_list_route.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_list_route.ts
diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.ts b/x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_watches_routes.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.ts
rename to x-pack/platform/plugins/private/watcher/server/routes/api/watches/register_watches_routes.ts
diff --git a/x-pack/plugins/watcher/server/shared_imports.ts b/x-pack/platform/plugins/private/watcher/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/shared_imports.ts
rename to x-pack/platform/plugins/private/watcher/server/shared_imports.ts
diff --git a/x-pack/plugins/watcher/server/types.ts b/x-pack/platform/plugins/private/watcher/server/types.ts
similarity index 100%
rename from x-pack/plugins/watcher/server/types.ts
rename to x-pack/platform/plugins/private/watcher/server/types.ts
diff --git a/x-pack/plugins/watcher/tsconfig.json b/x-pack/platform/plugins/private/watcher/tsconfig.json
similarity index 92%
rename from x-pack/plugins/watcher/tsconfig.json
rename to x-pack/platform/plugins/private/watcher/tsconfig.json
index f9c339ab4d2e0..3a040c75bb84a 100644
--- a/x-pack/plugins/watcher/tsconfig.json
+++ b/x-pack/platform/plugins/private/watcher/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
@@ -9,7 +9,7 @@
"public/**/*",
"common/**/*",
"__fixtures__/*",
- "../../../typings/**/*"
+ "../../../../../typings/**/*"
],
"kbn_references": [
"@kbn/core",
diff --git a/x-pack/plugins/license_management/README.md b/x-pack/platform/plugins/shared/license_management/README.md
similarity index 100%
rename from x-pack/plugins/license_management/README.md
rename to x-pack/platform/plugins/shared/license_management/README.md
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/add_license.test.js.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/add_license.test.js.snap
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/license_page_header.test.js.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/license_page_header.test.js.snap
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/revert_to_basic.test.js.snap
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/start_trial.test.js.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/start_trial.test.js.snap
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.tsx.snap b/x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/upload_license.test.tsx.snap
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.tsx.snap
rename to x-pack/platform/plugins/shared/license_management/__jest__/__snapshots__/upload_license.test.tsx.snap
diff --git a/x-pack/plugins/license_management/__jest__/add_license.test.js b/x-pack/platform/plugins/shared/license_management/__jest__/add_license.test.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/add_license.test.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/add_license.test.js
diff --git a/x-pack/plugins/license_management/__jest__/api_responses/index.js b/x-pack/platform/plugins/shared/license_management/__jest__/api_responses/index.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/api_responses/index.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/api_responses/index.js
diff --git a/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js b/x-pack/platform/plugins/shared/license_management/__jest__/api_responses/upload_license.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/api_responses/upload_license.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/api_responses/upload_license.js
diff --git a/x-pack/plugins/license_management/__jest__/license_page_header.test.js b/x-pack/platform/plugins/shared/license_management/__jest__/license_page_header.test.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/license_page_header.test.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/license_page_header.test.js
diff --git a/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js b/x-pack/platform/plugins/shared/license_management/__jest__/request_trial_extension.test.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/request_trial_extension.test.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/request_trial_extension.test.js
diff --git a/x-pack/plugins/license_management/__jest__/revert_to_basic.test.js b/x-pack/platform/plugins/shared/license_management/__jest__/revert_to_basic.test.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/revert_to_basic.test.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/revert_to_basic.test.js
diff --git a/x-pack/plugins/license_management/__jest__/start_trial.test.js b/x-pack/platform/plugins/shared/license_management/__jest__/start_trial.test.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/start_trial.test.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/start_trial.test.js
diff --git a/x-pack/plugins/license_management/__jest__/upload_license.test.tsx b/x-pack/platform/plugins/shared/license_management/__jest__/upload_license.test.tsx
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/upload_license.test.tsx
rename to x-pack/platform/plugins/shared/license_management/__jest__/upload_license.test.tsx
diff --git a/x-pack/plugins/license_management/__jest__/util/index.js b/x-pack/platform/plugins/shared/license_management/__jest__/util/index.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/util/index.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/util/index.js
diff --git a/x-pack/plugins/license_management/__jest__/util/util.js b/x-pack/platform/plugins/shared/license_management/__jest__/util/util.js
similarity index 100%
rename from x-pack/plugins/license_management/__jest__/util/util.js
rename to x-pack/platform/plugins/shared/license_management/__jest__/util/util.js
diff --git a/x-pack/plugins/license_management/__mocks__/focus-trap-react.js b/x-pack/platform/plugins/shared/license_management/__mocks__/focus-trap-react.js
similarity index 100%
rename from x-pack/plugins/license_management/__mocks__/focus-trap-react.js
rename to x-pack/platform/plugins/shared/license_management/__mocks__/focus-trap-react.js
diff --git a/x-pack/plugins/license_management/common/constants/base_path.ts b/x-pack/platform/plugins/shared/license_management/common/constants/base_path.ts
similarity index 100%
rename from x-pack/plugins/license_management/common/constants/base_path.ts
rename to x-pack/platform/plugins/shared/license_management/common/constants/base_path.ts
diff --git a/x-pack/plugins/license_management/common/constants/external_links.ts b/x-pack/platform/plugins/shared/license_management/common/constants/external_links.ts
similarity index 100%
rename from x-pack/plugins/license_management/common/constants/external_links.ts
rename to x-pack/platform/plugins/shared/license_management/common/constants/external_links.ts
diff --git a/x-pack/plugins/license_management/common/constants/index.ts b/x-pack/platform/plugins/shared/license_management/common/constants/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/common/constants/index.ts
rename to x-pack/platform/plugins/shared/license_management/common/constants/index.ts
diff --git a/x-pack/plugins/license_management/common/constants/permissions.ts b/x-pack/platform/plugins/shared/license_management/common/constants/permissions.ts
similarity index 100%
rename from x-pack/plugins/license_management/common/constants/permissions.ts
rename to x-pack/platform/plugins/shared/license_management/common/constants/permissions.ts
diff --git a/x-pack/plugins/license_management/common/constants/plugin.ts b/x-pack/platform/plugins/shared/license_management/common/constants/plugin.ts
similarity index 100%
rename from x-pack/plugins/license_management/common/constants/plugin.ts
rename to x-pack/platform/plugins/shared/license_management/common/constants/plugin.ts
diff --git a/x-pack/platform/plugins/shared/license_management/jest.config.js b/x-pack/platform/plugins/shared/license_management/jest.config.js
new file mode 100644
index 0000000000000..765ce55d2b948
--- /dev/null
+++ b/x-pack/platform/plugins/shared/license_management/jest.config.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/license_management'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/license_management',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/shared/license_management/{common,public,server}/**/*.{js,ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/license_management/kibana.jsonc b/x-pack/platform/plugins/shared/license_management/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/license_management/kibana.jsonc
rename to x-pack/platform/plugins/shared/license_management/kibana.jsonc
diff --git a/x-pack/plugins/license_management/public/application/_license_management.scss b/x-pack/platform/plugins/shared/license_management/public/application/_license_management.scss
similarity index 100%
rename from x-pack/plugins/license_management/public/application/_license_management.scss
rename to x-pack/platform/plugins/shared/license_management/public/application/_license_management.scss
diff --git a/x-pack/plugins/license_management/public/application/app.container.js b/x-pack/platform/plugins/shared/license_management/public/application/app.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/app.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/app.container.js
diff --git a/x-pack/plugins/license_management/public/application/app.js b/x-pack/platform/plugins/shared/license_management/public/application/app.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/app.js
rename to x-pack/platform/plugins/shared/license_management/public/application/app.js
diff --git a/x-pack/plugins/license_management/public/application/app_context.tsx b/x-pack/platform/plugins/shared/license_management/public/application/app_context.tsx
similarity index 100%
rename from x-pack/plugins/license_management/public/application/app_context.tsx
rename to x-pack/platform/plugins/shared/license_management/public/application/app_context.tsx
diff --git a/x-pack/plugins/license_management/public/application/app_providers.tsx b/x-pack/platform/plugins/shared/license_management/public/application/app_providers.tsx
similarity index 100%
rename from x-pack/plugins/license_management/public/application/app_providers.tsx
rename to x-pack/platform/plugins/shared/license_management/public/application/app_providers.tsx
diff --git a/x-pack/plugins/license_management/public/application/breadcrumbs.ts b/x-pack/platform/plugins/shared/license_management/public/application/breadcrumbs.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/breadcrumbs.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/breadcrumbs.ts
diff --git a/x-pack/plugins/license_management/public/application/components/telemetry_opt_in/index.ts b/x-pack/platform/plugins/shared/license_management/public/application/components/telemetry_opt_in/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/components/telemetry_opt_in/index.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/components/telemetry_opt_in/index.ts
diff --git a/x-pack/plugins/license_management/public/application/components/telemetry_opt_in/telemetry_opt_in.tsx b/x-pack/platform/plugins/shared/license_management/public/application/components/telemetry_opt_in/telemetry_opt_in.tsx
similarity index 100%
rename from x-pack/plugins/license_management/public/application/components/telemetry_opt_in/telemetry_opt_in.tsx
rename to x-pack/platform/plugins/shared/license_management/public/application/components/telemetry_opt_in/telemetry_opt_in.tsx
diff --git a/x-pack/plugins/license_management/public/application/index.scss b/x-pack/platform/plugins/shared/license_management/public/application/index.scss
similarity index 100%
rename from x-pack/plugins/license_management/public/application/index.scss
rename to x-pack/platform/plugins/shared/license_management/public/application/index.scss
diff --git a/x-pack/plugins/license_management/public/application/index.tsx b/x-pack/platform/plugins/shared/license_management/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/license_management/public/application/index.tsx
rename to x-pack/platform/plugins/shared/license_management/public/application/index.tsx
diff --git a/x-pack/plugins/license_management/public/application/lib/es.ts b/x-pack/platform/plugins/shared/license_management/public/application/lib/es.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/lib/es.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/lib/es.ts
diff --git a/x-pack/plugins/license_management/public/application/lib/telemetry.ts b/x-pack/platform/plugins/shared/license_management/public/application/lib/telemetry.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/lib/telemetry.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/lib/telemetry.ts
diff --git a/x-pack/plugins/license_management/public/application/sections/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/add_license/add_license.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/add_license/add_license.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/add_license/add_license.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/add_license/add_license.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/add_license/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/add_license/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/add_license/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/add_license/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/license_dashboard.container.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_dashboard.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/license_dashboard.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_dashboard.container.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/license_dashboard.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_dashboard.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/license_dashboard.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_dashboard.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/license_page_header/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_page_header/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/license_page_header/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_page_header/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/license_page_header/license_page_header.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_page_header/license_page_header.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/license_page_header/license_page_header.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/license_page_header/license_page_header.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/request_trial_extension/request_trial_extension.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/revert_to_basic/revert_to_basic.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/index.ts b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/index.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/index.ts
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.container.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/start_trial.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/start_trial.container.js
diff --git a/x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx b/x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/license_dashboard/start_trial/start_trial.tsx
diff --git a/x-pack/plugins/license_management/public/application/sections/upload_license/index.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/upload_license/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/index.js
diff --git a/x-pack/plugins/license_management/public/application/sections/upload_license/upload_license.container.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/upload_license.container.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/upload_license/upload_license.container.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/upload_license.container.js
diff --git a/x-pack/plugins/license_management/public/application/sections/upload_license/upload_license.js b/x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/upload_license.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/sections/upload_license/upload_license.js
rename to x-pack/platform/plugins/shared/license_management/public/application/sections/upload_license/upload_license.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/add_error_message.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/add_error_message.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/add_error_message.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/add_error_message.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/add_license.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/add_license.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/add_license.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/add_license.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/index.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/index.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/permissions.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/permissions.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/permissions.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/permissions.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/set_breadcrumb.ts b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/set_breadcrumb.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/set_breadcrumb.ts
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/set_breadcrumb.ts
diff --git a/x-pack/plugins/license_management/public/application/store/actions/start_basic.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/start_basic.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/start_basic.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/start_basic.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/start_trial.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/start_trial.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/start_trial.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/start_trial.js
diff --git a/x-pack/plugins/license_management/public/application/store/actions/upload_license.js b/x-pack/platform/plugins/shared/license_management/public/application/store/actions/upload_license.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/actions/upload_license.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/actions/upload_license.js
diff --git a/x-pack/plugins/license_management/public/application/store/index.js b/x-pack/platform/plugins/shared/license_management/public/application/store/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/index.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/index.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/index.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/index.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/index.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/license.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/license.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/license.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/license.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/license_management.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/license_management.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/license_management.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/license_management.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/permissions.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/permissions.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/permissions.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/permissions.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/start_basic_license_status.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/start_basic_license_status.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/start_basic_license_status.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/start_basic_license_status.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/trial_status.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/trial_status.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/trial_status.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/trial_status.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/upload_error_message.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/upload_error_message.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/upload_error_message.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/upload_error_message.js
diff --git a/x-pack/plugins/license_management/public/application/store/reducers/upload_status.js b/x-pack/platform/plugins/shared/license_management/public/application/store/reducers/upload_status.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/reducers/upload_status.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/reducers/upload_status.js
diff --git a/x-pack/plugins/license_management/public/application/store/store.js b/x-pack/platform/plugins/shared/license_management/public/application/store/store.js
similarity index 100%
rename from x-pack/plugins/license_management/public/application/store/store.js
rename to x-pack/platform/plugins/shared/license_management/public/application/store/store.js
diff --git a/x-pack/plugins/license_management/public/index.ts b/x-pack/platform/plugins/shared/license_management/public/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/index.ts
rename to x-pack/platform/plugins/shared/license_management/public/index.ts
diff --git a/x-pack/plugins/license_management/public/locator.test.ts b/x-pack/platform/plugins/shared/license_management/public/locator.test.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/locator.test.ts
rename to x-pack/platform/plugins/shared/license_management/public/locator.test.ts
diff --git a/x-pack/plugins/license_management/public/locator.ts b/x-pack/platform/plugins/shared/license_management/public/locator.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/locator.ts
rename to x-pack/platform/plugins/shared/license_management/public/locator.ts
diff --git a/x-pack/plugins/license_management/public/plugin.ts b/x-pack/platform/plugins/shared/license_management/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/plugin.ts
rename to x-pack/platform/plugins/shared/license_management/public/plugin.ts
diff --git a/x-pack/plugins/license_management/public/shared_imports.ts b/x-pack/platform/plugins/shared/license_management/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/shared_imports.ts
rename to x-pack/platform/plugins/shared/license_management/public/shared_imports.ts
diff --git a/x-pack/plugins/license_management/public/types.ts b/x-pack/platform/plugins/shared/license_management/public/types.ts
similarity index 100%
rename from x-pack/plugins/license_management/public/types.ts
rename to x-pack/platform/plugins/shared/license_management/public/types.ts
diff --git a/x-pack/plugins/license_management/server/config.ts b/x-pack/platform/plugins/shared/license_management/server/config.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/config.ts
rename to x-pack/platform/plugins/shared/license_management/server/config.ts
diff --git a/x-pack/plugins/license_management/server/index.ts b/x-pack/platform/plugins/shared/license_management/server/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/index.ts
rename to x-pack/platform/plugins/shared/license_management/server/index.ts
diff --git a/x-pack/plugins/license_management/server/lib/license.ts b/x-pack/platform/plugins/shared/license_management/server/lib/license.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/lib/license.ts
rename to x-pack/platform/plugins/shared/license_management/server/lib/license.ts
diff --git a/x-pack/plugins/license_management/server/lib/permissions.ts b/x-pack/platform/plugins/shared/license_management/server/lib/permissions.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/lib/permissions.ts
rename to x-pack/platform/plugins/shared/license_management/server/lib/permissions.ts
diff --git a/x-pack/plugins/license_management/server/lib/start_basic.ts b/x-pack/platform/plugins/shared/license_management/server/lib/start_basic.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/lib/start_basic.ts
rename to x-pack/platform/plugins/shared/license_management/server/lib/start_basic.ts
diff --git a/x-pack/plugins/license_management/server/lib/start_trial.ts b/x-pack/platform/plugins/shared/license_management/server/lib/start_trial.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/lib/start_trial.ts
rename to x-pack/platform/plugins/shared/license_management/server/lib/start_trial.ts
diff --git a/x-pack/plugins/license_management/server/plugin.ts b/x-pack/platform/plugins/shared/license_management/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/plugin.ts
rename to x-pack/platform/plugins/shared/license_management/server/plugin.ts
diff --git a/x-pack/plugins/license_management/server/routes/api/license/index.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/api/license/index.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/api/license/index.ts
diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_license_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/api/license/register_license_route.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_license_route.ts
diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_permissions_route.ts
diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_basic_route.ts
diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts b/x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/api/license/register_start_trial_routes.ts
diff --git a/x-pack/plugins/license_management/server/routes/helpers.ts b/x-pack/platform/plugins/shared/license_management/server/routes/helpers.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/helpers.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/helpers.ts
diff --git a/x-pack/plugins/license_management/server/routes/index.ts b/x-pack/platform/plugins/shared/license_management/server/routes/index.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/routes/index.ts
rename to x-pack/platform/plugins/shared/license_management/server/routes/index.ts
diff --git a/x-pack/plugins/snapshot_restore/server/shared_imports.ts b/x-pack/platform/plugins/shared/license_management/server/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/snapshot_restore/server/shared_imports.ts
rename to x-pack/platform/plugins/shared/license_management/server/shared_imports.ts
diff --git a/x-pack/plugins/license_management/server/types.ts b/x-pack/platform/plugins/shared/license_management/server/types.ts
similarity index 100%
rename from x-pack/plugins/license_management/server/types.ts
rename to x-pack/platform/plugins/shared/license_management/server/types.ts
diff --git a/x-pack/plugins/license_management/tsconfig.json b/x-pack/platform/plugins/shared/license_management/tsconfig.json
similarity index 93%
rename from x-pack/plugins/license_management/tsconfig.json
rename to x-pack/platform/plugins/shared/license_management/tsconfig.json
index eaa0cee9f90c7..053bd88b1912c 100644
--- a/x-pack/plugins/license_management/tsconfig.json
+++ b/x-pack/platform/plugins/shared/license_management/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/searchprofiler/README.md b/x-pack/platform/plugins/shared/searchprofiler/README.md
similarity index 100%
rename from x-pack/plugins/searchprofiler/README.md
rename to x-pack/platform/plugins/shared/searchprofiler/README.md
diff --git a/x-pack/plugins/searchprofiler/common/constants.ts b/x-pack/platform/plugins/shared/searchprofiler/common/constants.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/common/constants.ts
rename to x-pack/platform/plugins/shared/searchprofiler/common/constants.ts
diff --git a/x-pack/plugins/searchprofiler/common/index.ts b/x-pack/platform/plugins/shared/searchprofiler/common/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/common/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/common/index.ts
diff --git a/x-pack/plugins/searchprofiler/common/types.ts b/x-pack/platform/plugins/shared/searchprofiler/common/types.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/common/types.ts
rename to x-pack/platform/plugins/shared/searchprofiler/common/types.ts
diff --git a/x-pack/platform/plugins/shared/searchprofiler/jest.config.js b/x-pack/platform/plugins/shared/searchprofiler/jest.config.js
new file mode 100644
index 0000000000000..1f362b8d96def
--- /dev/null
+++ b/x-pack/platform/plugins/shared/searchprofiler/jest.config.js
@@ -0,0 +1,18 @@
+/*
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+ * or more contributor license agreements. Licensed under the Elastic License
+ * 2.0; you may not use this file except in compliance with the Elastic License
+ * 2.0.
+ */
+
+module.exports = {
+ preset: '@kbn/test',
+ rootDir: '../../../../..',
+ roots: ['/x-pack/platform/plugins/shared/searchprofiler'],
+ coverageDirectory:
+ '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/searchprofiler',
+ coverageReporters: ['text', 'html'],
+ collectCoverageFrom: [
+ '/x-pack/platform/plugins/shared/searchprofiler/{common,public,server}/**/*.{ts,tsx}',
+ ],
+};
diff --git a/x-pack/plugins/searchprofiler/kibana.jsonc b/x-pack/platform/plugins/shared/searchprofiler/kibana.jsonc
similarity index 100%
rename from x-pack/plugins/searchprofiler/kibana.jsonc
rename to x-pack/platform/plugins/shared/searchprofiler/kibana.jsonc
diff --git a/x-pack/plugins/searchprofiler/public/application/_app.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss
similarity index 94%
rename from x-pack/plugins/searchprofiler/public/application/_app.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss
index 617aa21c6777e..22bea38e0ccff 100644
--- a/x-pack/plugins/searchprofiler/public/application/_app.scss
+++ b/x-pack/platform/plugins/shared/searchprofiler/public/application/_app.scss
@@ -1,4 +1,4 @@
-@import '../../../../../src/core/public/mixins';
+@import '../../../../../../../src/core/public/mixins';
.prfDevTool__page {
flex: 1 1 auto;
diff --git a/x-pack/plugins/searchprofiler/public/application/_index.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/_index.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/_index.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/_index.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/app.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/app.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/app.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/app.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/_index.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/_index.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/_index.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/_index.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.test.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.test.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.test.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.test.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/empty_tree_placeholder.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/empty_tree_placeholder/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/empty_tree_placeholder/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/_highlight_details_flyout.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/_highlight_details_flyout.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/_highlight_details_flyout.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/_highlight_details_flyout.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.test.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.test.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.test.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.test.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_flyout.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/highlight_details_table.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/highlight_details_flyout/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/highlight_details_flyout/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/_license_warning_notice.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/_license_warning_notice.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/_license_warning_notice.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/_license_warning_notice.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/percentage_badge/_percentage_badge.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/_percentage_badge.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/percentage_badge/_percentage_badge.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/_percentage_badge.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/percentage_badge/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/percentage_badge/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/percentage_badge/percentage_badge.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/percentage_badge.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/percentage_badge/percentage_badge.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/percentage_badge/percentage_badge.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.test.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.test.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.test.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.test.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_loading_placeholder/profile_loading_placeholder.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/editor.test.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/editor.test.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/editor.test.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/editor.test.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/editor.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/editor.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/editor.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/editor.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/editor/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/editor/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/profile_query_editor.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/profile_query_editor.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_query_editor/profile_query_editor.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_query_editor/profile_query_editor.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/breakdown.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/breakdown.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/breakdown.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/breakdown.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_indices.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_indices.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_indices.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_indices.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_times.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_times.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_times.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/normalize_times.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/processed_search_response.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/processed_search_response.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/processed_search_response.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/processed_search_response.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/search_response.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/search_response.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/search_response.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/fixtures/search_response.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/init_data.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/init_data.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/init_data.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/init_data.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/profile_tree.test.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/profile_tree.test.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/profile_tree.test.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/profile_tree.test.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/unsafe_utils.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/unsafe_utils.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/unsafe_utils.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/unsafe_utils.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/utils.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/utils.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/__jest__/utils.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/__jest__/utils.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/_index.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/_index.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/_index.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/_index.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/_profile_tree.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/_profile_tree.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/_profile_tree.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/_profile_tree.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/constants.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/constants.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/constants.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/constants.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/highlight_context.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/highlight_context.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/highlight_context.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/highlight_context.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/index_details.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/index_details.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/index_details.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/index_details.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/init_data.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/init_data.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/init_data.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/init_data.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/profile_tree.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/profile_tree.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/profile_tree.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/profile_tree.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/_shard_details.scss b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/_shard_details.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/_shard_details.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/_shard_details.scss
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree_node.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree_node.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree_node.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/shard_details/shard_details_tree_node.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/types.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/types.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/types.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/types.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/unsafe_utils.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/unsafe_utils.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/unsafe_utils.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/unsafe_utils.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/use_highlight_tree_node.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/use_highlight_tree_node.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/use_highlight_tree_node.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/use_highlight_tree_node.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/profile_tree/utils.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/utils.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/profile_tree/utils.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/profile_tree/utils.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/components/searchprofiler_tabs/searchprofiler_tabs.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/contexts/app_context.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/app_context.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/contexts/app_context.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/app_context.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/contexts/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/contexts/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/contexts/profiler_context.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/profiler_context.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/contexts/profiler_context.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/contexts/profiler_context.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/hooks/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/hooks/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/hooks/use_has_indices.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/use_has_indices.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/hooks/use_has_indices.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/use_has_indices.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/hooks/use_request_profile.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/use_request_profile.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/hooks/use_request_profile.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/hooks/use_request_profile.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/index.tsx b/x-pack/platform/plugins/shared/searchprofiler/public/application/index.tsx
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/index.tsx
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/index.tsx
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/check_for_json_errors.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/check_for_json_errors.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/check_for_json_errors.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/check_for_json_errors.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/check_for_json_errors.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/check_for_json_errors.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/check_for_json_errors.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/check_for_json_errors.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/has_aggregations.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/has_aggregations.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/has_aggregations.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/has_aggregations.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/has_searches.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/has_searches.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/has_searches.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/has_searches.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/ms_to_pretty.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ms_to_pretty.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/ms_to_pretty.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ms_to_pretty.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/ns_to_pretty.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ns_to_pretty.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/ns_to_pretty.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ns_to_pretty.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/lib/ns_to_pretty.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ns_to_pretty.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/lib/ns_to_pretty.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/lib/ns_to_pretty.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/store/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/store/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/store/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/store/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/store/reducer.test.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/store/reducer.test.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/store/reducer.test.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/store/reducer.test.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/store/reducer.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/store/reducer.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/store/reducer.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/store/reducer.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/store/store.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/store/store.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/store/store.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/store/store.ts
diff --git a/x-pack/plugins/searchprofiler/public/application/types.ts b/x-pack/platform/plugins/shared/searchprofiler/public/application/types.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/application/types.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/application/types.ts
diff --git a/x-pack/plugins/searchprofiler/public/index.scss b/x-pack/platform/plugins/shared/searchprofiler/public/index.scss
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/index.scss
rename to x-pack/platform/plugins/shared/searchprofiler/public/index.scss
diff --git a/x-pack/plugins/searchprofiler/public/index.ts b/x-pack/platform/plugins/shared/searchprofiler/public/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/index.ts
diff --git a/x-pack/plugins/searchprofiler/public/locator.ts b/x-pack/platform/plugins/shared/searchprofiler/public/locator.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/locator.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/locator.ts
diff --git a/x-pack/plugins/searchprofiler/public/plugin.ts b/x-pack/platform/plugins/shared/searchprofiler/public/plugin.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/plugin.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/plugin.ts
diff --git a/x-pack/plugins/searchprofiler/public/shared_imports.ts b/x-pack/platform/plugins/shared/searchprofiler/public/shared_imports.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/shared_imports.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/shared_imports.ts
diff --git a/x-pack/plugins/searchprofiler/public/types.ts b/x-pack/platform/plugins/shared/searchprofiler/public/types.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/public/types.ts
rename to x-pack/platform/plugins/shared/searchprofiler/public/types.ts
diff --git a/x-pack/plugins/searchprofiler/server/index.ts b/x-pack/platform/plugins/shared/searchprofiler/server/index.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/server/index.ts
rename to x-pack/platform/plugins/shared/searchprofiler/server/index.ts
diff --git a/x-pack/plugins/searchprofiler/server/plugin.ts b/x-pack/platform/plugins/shared/searchprofiler/server/plugin.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/server/plugin.ts
rename to x-pack/platform/plugins/shared/searchprofiler/server/plugin.ts
diff --git a/x-pack/plugins/searchprofiler/server/routes/profile.ts b/x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/server/routes/profile.ts
rename to x-pack/platform/plugins/shared/searchprofiler/server/routes/profile.ts
diff --git a/x-pack/plugins/searchprofiler/server/types.ts b/x-pack/platform/plugins/shared/searchprofiler/server/types.ts
similarity index 100%
rename from x-pack/plugins/searchprofiler/server/types.ts
rename to x-pack/platform/plugins/shared/searchprofiler/server/types.ts
diff --git a/x-pack/plugins/searchprofiler/tsconfig.json b/x-pack/platform/plugins/shared/searchprofiler/tsconfig.json
similarity index 92%
rename from x-pack/plugins/searchprofiler/tsconfig.json
rename to x-pack/platform/plugins/shared/searchprofiler/tsconfig.json
index 063b7dfa63ce6..658512193b1ed 100644
--- a/x-pack/plugins/searchprofiler/tsconfig.json
+++ b/x-pack/platform/plugins/shared/searchprofiler/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../../tsconfig.base.json",
+ "extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
},
diff --git a/x-pack/plugins/index_management/README.md b/x-pack/plugins/index_management/README.md
index 970b86c4ed37c..bc7047888d2ab 100644
--- a/x-pack/plugins/index_management/README.md
+++ b/x-pack/plugins/index_management/README.md
@@ -43,7 +43,7 @@ interface IndexDetailsTab {
}
```
-An example of adding an ILM tab can be found in [this file](https://github.com/elastic/kibana/blob/main/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx#L250).
+An example of adding an ILM tab can be found in [this file](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.tsx#L250).
- `setIndexOverviewContent(content: IndexContent)`: replaces the default content in the overview tab (code block describing adding documents to the index) with the custom content. The custom content has the following interface:
```ts
diff --git a/x-pack/plugins/license_api_guard/jest.config.js b/x-pack/plugins/license_api_guard/jest.config.js
deleted file mode 100644
index c6c1bc1bd501a..0000000000000
--- a/x-pack/plugins/license_api_guard/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/license_api_guard'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/license_api_guard',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/x-pack/plugins/license_api_guard/server/**/*.{ts,tsx}'],
-};
diff --git a/x-pack/plugins/painless_lab/jest.config.js b/x-pack/plugins/painless_lab/jest.config.js
deleted file mode 100644
index 364e9e5a08fa4..0000000000000
--- a/x-pack/plugins/painless_lab/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; 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/painless_lab'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/painless_lab',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/painless_lab/{common,public,server}/**/*.{ts,tsx}',
- ],
-};
diff --git a/x-pack/plugins/remote_clusters/jest.config.js b/x-pack/plugins/remote_clusters/jest.config.js
deleted file mode 100644
index 3467ea1d5b405..0000000000000
--- a/x-pack/plugins/remote_clusters/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; 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/remote_clusters'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/remote_clusters',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/remote_clusters/{common,public,server}/**/*.{js,ts,tsx}',
- ],
-};
diff --git a/x-pack/plugins/rollup/jest.config.js b/x-pack/plugins/rollup/jest.config.js
deleted file mode 100644
index 937ff3524f9d6..0000000000000
--- a/x-pack/plugins/rollup/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/rollup'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/rollup',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/x-pack/plugins/rollup/{common,public,server}/**/*.{js,ts,tsx}'],
-};
diff --git a/x-pack/plugins/runtime_fields/jest.config.js b/x-pack/plugins/runtime_fields/jest.config.js
deleted file mode 100644
index 3af90818280cf..0000000000000
--- a/x-pack/plugins/runtime_fields/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/runtime_fields'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/runtime_fields',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/x-pack/plugins/runtime_fields/public/**/*.{ts,tsx}'],
-};
diff --git a/x-pack/plugins/searchprofiler/jest.config.js b/x-pack/plugins/searchprofiler/jest.config.js
deleted file mode 100644
index 3071f75c18d96..0000000000000
--- a/x-pack/plugins/searchprofiler/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; 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/searchprofiler'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/searchprofiler',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/searchprofiler/{common,public,server}/**/*.{ts,tsx}',
- ],
-};
diff --git a/x-pack/plugins/snapshot_restore/jest.config.js b/x-pack/plugins/snapshot_restore/jest.config.js
deleted file mode 100644
index b7dbd6f6c5786..0000000000000
--- a/x-pack/plugins/snapshot_restore/jest.config.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
- * or more contributor license agreements. Licensed under the Elastic License
- * 2.0; 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/snapshot_restore'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/snapshot_restore',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: [
- '/x-pack/plugins/snapshot_restore/{common,public,server}/**/*.{ts,tsx}',
- ],
-};
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 06c19e82e6532..c5371a8815aef 100644
--- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json
+++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json
@@ -66,6 +66,62 @@
}
}
},
+ "rollups": {
+ "properties": {
+ "index_patterns": {
+ "properties": {
+ "total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the rollup index patterns"
+ }
+ }
+ }
+ },
+ "saved_searches": {
+ "properties": {
+ "total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the rollup saved searches"
+ }
+ }
+ }
+ },
+ "visualizations": {
+ "properties": {
+ "saved_searches": {
+ "properties": {
+ "total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the visualizations that are based on rollup saved searches"
+ }
+ },
+ "lens_total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the lens visualizations that are based on rollup saved searches"
+ }
+ }
+ }
+ },
+ "total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the visualizations that are based on rollup index patterns"
+ }
+ },
+ "lens_total": {
+ "type": "long",
+ "_meta": {
+ "description": "Counts all the lens visualizations that are based on rollup index patterns"
+ }
+ }
+ }
+ }
+ }
+ },
"transform": {
"properties": {
"alertRules": {
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 bdbd6e52ff1f2..e383a14801f14 100644
--- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
+++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json
@@ -14841,62 +14841,6 @@
}
}
},
- "rollups": {
- "properties": {
- "index_patterns": {
- "properties": {
- "total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the rollup index patterns"
- }
- }
- }
- },
- "saved_searches": {
- "properties": {
- "total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the rollup saved searches"
- }
- }
- }
- },
- "visualizations": {
- "properties": {
- "saved_searches": {
- "properties": {
- "total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the visualizations that are based on rollup saved searches"
- }
- },
- "lens_total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the lens visualizations that are based on rollup saved searches"
- }
- }
- }
- },
- "total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the visualizations that are based on rollup index patterns"
- }
- },
- "lens_total": {
- "type": "long",
- "_meta": {
- "description": "Counts all the lens visualizations that are based on rollup index patterns"
- }
- }
- }
- }
- }
- },
"saved_objects_tagging": {
"properties": {
"usedTags": {
diff --git a/x-pack/plugins/triggers_actions_ui/README.md b/x-pack/plugins/triggers_actions_ui/README.md
index 4678324fdbef4..0ff120ca3c53d 100644
--- a/x-pack/plugins/triggers_actions_ui/README.md
+++ b/x-pack/plugins/triggers_actions_ui/README.md
@@ -1212,7 +1212,7 @@ Before starting the UI implementation, the [server side registration](https://gi
Action type UI is expected to be defined as `ActionTypeModel` object.
-The framework uses the [Form lib](https://github.com/elastic/kibana/blob/main/src/plugins/es_ui_shared/static/forms/docs/welcome.mdx). Please refer to the documentation of the library to learn more.
+The framework uses the [Form lib](https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/es_ui_shared/static/forms/docs/welcome.mdx). Please refer to the documentation of the library to learn more.
Below is a list of steps that should be done to build and register a new action type with the name `Example Action Type`:
diff --git a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts b/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts
index 53c72a77d6385..ddca5d8f1dd6b 100644
--- a/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts
+++ b/x-pack/plugins/triggers_actions_ui/server/data/routes/indices.ts
@@ -6,7 +6,7 @@
*/
// the business logic of this code is from watcher, in:
-// x-pack/plugins/watcher/server/routes/api/indices/register_get_route.ts
+// x-pack/platform/plugins/private/watcher/server/routes/api/indices/register_get_route.ts
const MAX_INDICES = 20;
diff --git a/x-pack/plugins/watcher/jest.config.js b/x-pack/plugins/watcher/jest.config.js
deleted file mode 100644
index b078f2ab665d7..0000000000000
--- a/x-pack/plugins/watcher/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/watcher'],
- coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/watcher',
- coverageReporters: ['text', 'html'],
- collectCoverageFrom: ['/x-pack/plugins/watcher/{common,public,server}/**/*.{js,ts,tsx}'],
-};
diff --git a/x-pack/solutions/security/packages/navigation/src/constants.ts b/x-pack/solutions/security/packages/navigation/src/constants.ts
index d05d6c26807b5..eb77907b59f52 100644
--- a/x-pack/solutions/security/packages/navigation/src/constants.ts
+++ b/x-pack/solutions/security/packages/navigation/src/constants.ts
@@ -60,7 +60,7 @@ export enum ExternalPageName {
mlLogPatternAnalysis = 'ml:logPatternAnalysis',
mlChangePointDetections = 'ml:changePointDetections',
// Dev Tools
- // Ref: packages/default-nav/devtools/default_navigation.ts
+ // Ref: src/platform/packages/private/default-nav/devtools/default_navigation.ts
devTools = 'dev_tools:',
// Fleet
// Ref: x-pack/plugins/fleet/public/deep_links.ts
@@ -75,7 +75,7 @@ export enum ExternalPageName {
// No deepLinkId registered, using path for the security search
integrationsSecurity = 'integrations:/browse/security',
// Management
- // Ref: packages/default-nav/management/default_navigation.ts
+ // Ref: src/platform/packages/private/default-nav/management/default_navigation.ts
management = 'management:',
managementIngestPipelines = 'management:ingest_pipelines',
managementPipelines = 'management:pipelines',
diff --git a/x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts b/x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts
index 87c36de62bba6..184e979595f68 100644
--- a/x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts
+++ b/x-pack/test/functional/apps/dev_tools/searchprofiler_editor.ts
@@ -36,7 +36,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
it('correctly parses triple quotes in JSON', async () => {
// The below inputs are written to work _with_ ace's autocomplete unlike console's unit test
- // counterparts in src/legacy/core_plugins/console/public/tests/src/editor.test.js
+ // counterparts in src/legacy/core_platform/plugins/shared/console/public/tests/src/editor.test.js
const okInputs = [
`{
diff --git a/yarn.lock b/yarn.lock
index 7af5656ccfe69..4ec1ae6b47ab5 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4137,7 +4137,7 @@
version "0.0.0"
uid ""
-"@kbn/cloud-data-migration-plugin@link:x-pack/plugins/cloud_integrations/cloud_data_migration":
+"@kbn/cloud-data-migration-plugin@link:x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration":
version "0.0.0"
uid ""
@@ -4213,7 +4213,7 @@
version "0.0.0"
uid ""
-"@kbn/console-plugin@link:src/plugins/console":
+"@kbn/console-plugin@link:src/platform/plugins/shared/console":
version "0.0.0"
uid ""
@@ -5177,7 +5177,7 @@
version "0.0.0"
uid ""
-"@kbn/cross-cluster-replication-plugin@link:x-pack/plugins/cross_cluster_replication":
+"@kbn/cross-cluster-replication-plugin@link:x-pack/platform/plugins/private/cross_cluster_replication":
version "0.0.0"
uid ""
@@ -5285,7 +5285,7 @@
version "0.0.0"
uid ""
-"@kbn/deeplinks-devtools@link:packages/deeplinks/devtools":
+"@kbn/deeplinks-devtools@link:src/platform/packages/shared/deeplinks/devtools":
version "0.0.0"
uid ""
@@ -5293,7 +5293,7 @@
version "0.0.0"
uid ""
-"@kbn/deeplinks-management@link:packages/deeplinks/management":
+"@kbn/deeplinks-management@link:src/platform/packages/shared/deeplinks/management":
version "0.0.0"
uid ""
@@ -5321,11 +5321,11 @@
version "0.0.0"
uid ""
-"@kbn/default-nav-devtools@link:packages/default-nav/devtools":
+"@kbn/default-nav-devtools@link:src/platform/packages/private/default-nav/devtools":
version "0.0.0"
uid ""
-"@kbn/default-nav-management@link:packages/default-nav/management":
+"@kbn/default-nav-management@link:src/platform/packages/private/default-nav/management":
version "0.0.0"
uid ""
@@ -5353,7 +5353,7 @@
version "0.0.0"
uid ""
-"@kbn/dev-tools-plugin@link:src/plugins/dev_tools":
+"@kbn/dev-tools-plugin@link:src/platform/plugins/shared/dev_tools":
version "0.0.0"
uid ""
@@ -5501,7 +5501,7 @@
version "0.0.0"
uid ""
-"@kbn/es-ui-shared-plugin@link:src/plugins/es_ui_shared":
+"@kbn/es-ui-shared-plugin@link:src/platform/plugins/shared/es_ui_shared":
version "0.0.0"
uid ""
@@ -5833,7 +5833,7 @@
version "0.0.0"
uid ""
-"@kbn/grokdebugger-plugin@link:x-pack/plugins/grokdebugger":
+"@kbn/grokdebugger-plugin@link:x-pack/platform/plugins/private/grokdebugger":
version "0.0.0"
uid ""
@@ -5917,11 +5917,11 @@
version "0.0.0"
uid ""
-"@kbn/index-lifecycle-management-common-shared@link:x-pack/packages/index-lifecycle-management/index_lifecycle_management_common_shared":
+"@kbn/index-lifecycle-management-common-shared@link:x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared":
version "0.0.0"
uid ""
-"@kbn/index-lifecycle-management-plugin@link:x-pack/plugins/index_lifecycle_management":
+"@kbn/index-lifecycle-management-plugin@link:x-pack/platform/plugins/private/index_lifecycle_management":
version "0.0.0"
uid ""
@@ -5929,7 +5929,7 @@
version "0.0.0"
uid ""
-"@kbn/index-management-shared-types@link:x-pack/packages/index-management/index_management_shared_types":
+"@kbn/index-management-shared-types@link:x-pack/platform/packages/shared/index-management/index_management_shared_types":
version "0.0.0"
uid ""
@@ -6109,11 +6109,11 @@
version "0.0.0"
uid ""
-"@kbn/license-api-guard-plugin@link:x-pack/plugins/license_api_guard":
+"@kbn/license-api-guard-plugin@link:x-pack/platform/plugins/private/license_api_guard":
version "0.0.0"
uid ""
-"@kbn/license-management-plugin@link:x-pack/plugins/license_management":
+"@kbn/license-management-plugin@link:x-pack/platform/plugins/shared/license_management":
version "0.0.0"
uid ""
@@ -6185,35 +6185,35 @@
version "0.0.0"
uid ""
-"@kbn/management-cards-navigation@link:packages/kbn-management/cards_navigation":
+"@kbn/management-cards-navigation@link:src/platform/packages/shared/kbn-management/cards_navigation":
version "0.0.0"
uid ""
-"@kbn/management-plugin@link:src/plugins/management":
+"@kbn/management-plugin@link:src/platform/plugins/shared/management":
version "0.0.0"
uid ""
-"@kbn/management-settings-application@link:packages/kbn-management/settings/application":
+"@kbn/management-settings-application@link:src/platform/packages/private/kbn-management/settings/application":
version "0.0.0"
uid ""
-"@kbn/management-settings-components-field-category@link:packages/kbn-management/settings/components/field_category":
+"@kbn/management-settings-components-field-category@link:src/platform/packages/private/kbn-management/settings/components/field_category":
version "0.0.0"
uid ""
-"@kbn/management-settings-components-field-input@link:packages/kbn-management/settings/components/field_input":
+"@kbn/management-settings-components-field-input@link:src/platform/packages/shared/kbn-management/settings/components/field_input":
version "0.0.0"
uid ""
-"@kbn/management-settings-components-field-row@link:packages/kbn-management/settings/components/field_row":
+"@kbn/management-settings-components-field-row@link:src/platform/packages/shared/kbn-management/settings/components/field_row":
version "0.0.0"
uid ""
-"@kbn/management-settings-components-form@link:packages/kbn-management/settings/components/form":
+"@kbn/management-settings-components-form@link:src/platform/packages/private/kbn-management/settings/components/form":
version "0.0.0"
uid ""
-"@kbn/management-settings-field-definition@link:packages/kbn-management/settings/field_definition":
+"@kbn/management-settings-field-definition@link:src/platform/packages/shared/kbn-management/settings/field_definition":
version "0.0.0"
uid ""
@@ -6225,11 +6225,11 @@
version "0.0.0"
uid ""
-"@kbn/management-settings-types@link:packages/kbn-management/settings/types":
+"@kbn/management-settings-types@link:src/platform/packages/shared/kbn-management/settings/types":
version "0.0.0"
uid ""
-"@kbn/management-settings-utilities@link:packages/kbn-management/settings/utilities":
+"@kbn/management-settings-utilities@link:src/platform/packages/shared/kbn-management/settings/utilities":
version "0.0.0"
uid ""
@@ -6569,7 +6569,7 @@
version "0.0.0"
uid ""
-"@kbn/painless-lab-plugin@link:x-pack/plugins/painless_lab":
+"@kbn/painless-lab-plugin@link:x-pack/platform/plugins/private/painless_lab":
version "0.0.0"
uid ""
@@ -6705,7 +6705,7 @@
version "0.0.0"
uid ""
-"@kbn/remote-clusters-plugin@link:x-pack/plugins/remote_clusters":
+"@kbn/remote-clusters-plugin@link:x-pack/platform/plugins/private/remote_clusters":
version "0.0.0"
uid ""
@@ -6821,11 +6821,11 @@
version "0.0.0"
uid ""
-"@kbn/rollup-plugin@link:x-pack/plugins/rollup":
+"@kbn/rollup-plugin@link:x-pack/platform/plugins/private/rollup":
version "0.0.0"
uid ""
-"@kbn/rollup@link:x-pack/packages/rollup":
+"@kbn/rollup@link:x-pack/platform/packages/private/rollup":
version "0.0.0"
uid ""
@@ -6853,7 +6853,7 @@
version "0.0.0"
uid ""
-"@kbn/runtime-fields-plugin@link:x-pack/plugins/runtime_fields":
+"@kbn/runtime-fields-plugin@link:x-pack/platform/plugins/private/runtime_fields":
version "0.0.0"
uid ""
@@ -7029,7 +7029,7 @@
version "0.0.0"
uid ""
-"@kbn/searchprofiler-plugin@link:x-pack/plugins/searchprofiler":
+"@kbn/searchprofiler-plugin@link:x-pack/platform/plugins/shared/searchprofiler":
version "0.0.0"
uid ""
@@ -7493,7 +7493,7 @@
version "0.0.0"
uid ""
-"@kbn/snapshot-restore-plugin@link:x-pack/plugins/snapshot_restore":
+"@kbn/snapshot-restore-plugin@link:x-pack/platform/plugins/private/snapshot_restore":
version "0.0.0"
uid ""
@@ -7809,7 +7809,7 @@
version "0.0.0"
uid ""
-"@kbn/unsaved-changes-prompt@link:packages/kbn-unsaved-changes-prompt":
+"@kbn/unsaved-changes-prompt@link:src/platform/packages/shared/kbn-unsaved-changes-prompt":
version "0.0.0"
uid ""
@@ -7941,7 +7941,7 @@
version "0.0.0"
uid ""
-"@kbn/watcher-plugin@link:x-pack/plugins/watcher":
+"@kbn/watcher-plugin@link:x-pack/platform/plugins/private/watcher":
version "0.0.0"
uid ""