diff --git a/.ci/packer_cache.sh b/.ci/packer_cache.sh index 4b8d4fff8c4b5..b697f22c009d1 100755 --- a/.ci/packer_cache.sh +++ b/.ci/packer_cache.sh @@ -41,8 +41,8 @@ tar -cf "$HOME/.kibana/bootstrap_cache/$branch.tar" \ node_modules \ packages/*/node_modules \ x-pack/node_modules \ - x-pack/plugins/*/node_modules \ - x-pack/plugins/reporting/.chromium \ + x-pack/legacy/plugins/*/node_modules \ + x-pack/legacy/plugins/reporting/.chromium \ test/plugin_functional/plugins/*/node_modules \ .es \ .chromedriver \ diff --git a/.eslintignore b/.eslintignore index ea431347b32e0..9eacf2fd47d77 100644 --- a/.eslintignore +++ b/.eslintignore @@ -25,17 +25,17 @@ bower_components /packages/kbn-ui-framework/dist /packages/kbn-ui-framework/doc_site/build /packages/kbn-ui-framework/generator-kui/*/templates/ -/x-pack/plugins/maps/public/vendor/** +/x-pack/legacy/plugins/maps/public/vendor/** /x-pack/coverage /x-pack/build -/x-pack/plugins/**/__tests__/fixtures/** +/x-pack/legacy/plugins/**/__tests__/fixtures/** /packages/kbn-interpreter/src/common/lib/grammar.js -/x-pack/plugins/canvas/canvas_plugin -/x-pack/plugins/canvas/storybook -/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts -/x-pack/plugins/infra/common/graphql/types.ts -/x-pack/plugins/infra/public/graphql/types.ts -/x-pack/plugins/infra/server/graphql/types.ts +/x-pack/legacy/plugins/canvas/canvas_plugin +/x-pack/legacy/plugins/canvas/storybook +/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts +/x-pack/legacy/plugins/infra/common/graphql/types.ts +/x-pack/legacy/plugins/infra/public/graphql/types.ts +/x-pack/legacy/plugins/infra/server/graphql/types.ts **/graphql/types.ts **/*.js.snap !/.eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js index 5d1c0523ba42d..079e2908d409c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -53,8 +53,8 @@ module.exports = { 'packages/kbn-test/**/*', 'packages/kbn-eslint-import-resolver-kibana/**/*', 'src/legacy/server/saved_objects/**/*', - 'x-pack/plugins/apm/**/*', - 'x-pack/plugins/canvas/**/*', + 'x-pack/legacy/plugins/apm/**/*', + 'x-pack/legacy/plugins/canvas/**/*', '**/*.{ts,tsx}', 'src/legacy/core_plugins/metrics/**/*.js', ], @@ -166,7 +166,7 @@ module.exports = { { files: [ 'x-pack/test/functional/apps/**/*.js', - 'x-pack/plugins/apm/**/*.js', + 'x-pack/legacy/plugins/apm/**/*.js', 'test/*/config.ts', 'test/visual_regression/tests/**/*', 'x-pack/test/visual_regression/tests/**/*', @@ -205,12 +205,15 @@ module.exports = { forceNode: false, rootPackageName: 'kibana', kibanaPath: '.', - pluginMap: readdirSync(resolve(__dirname, 'x-pack/plugins')).reduce((acc, name) => { - if (!name.startsWith('_')) { - acc[name] = `x-pack/plugins/${name}`; - } - return acc; - }, {}), + pluginMap: readdirSync(resolve(__dirname, 'x-pack/legacy/plugins')).reduce( + (acc, name) => { + if (!name.startsWith('_')) { + acc[name] = `x-pack/legacy/plugins/${name}`; + } + return acc; + }, + {} + ), }, }, }, @@ -253,7 +256,7 @@ module.exports = { 'x-pack/**/*.test.js', 'x-pack/test_utils/**/*', 'x-pack/gulpfile.js', - 'x-pack/plugins/apm/public/utils/testHelpers.js', + 'x-pack/legacy/plugins/apm/public/utils/testHelpers.js', ], rules: { 'import/no-extraneous-dependencies': [ @@ -361,7 +364,7 @@ module.exports = { * APM overrides */ { - files: ['x-pack/plugins/apm/**/*.js'], + files: ['x-pack/legacy/plugins/apm/**/*.js'], rules: { 'no-unused-vars': ['error', { ignoreRestSiblings: true }], 'no-console': ['warn', { allow: ['error'] }], @@ -372,7 +375,7 @@ module.exports = { * GIS overrides */ { - files: ['x-pack/plugins/maps/**/*.js'], + files: ['x-pack/legacy/plugins/maps/**/*.js'], rules: { 'react/prefer-stateless-function': [0, { ignorePureComponents: false }], }, @@ -382,7 +385,7 @@ module.exports = { * Graph overrides */ { - files: ['x-pack/plugins/graph/**/*.js'], + files: ['x-pack/legacy/plugins/graph/**/*.js'], globals: { angular: true, $: true, @@ -405,7 +408,7 @@ module.exports = { * ML overrides */ { - files: ['x-pack/plugins/ml/**/*.js'], + files: ['x-pack/legacy/plugins/ml/**/*.js'], rules: { 'no-shadow': 'error', }, @@ -416,7 +419,7 @@ module.exports = { */ { // front end typescript and javascript files only - files: ['x-pack/plugins/siem/public/**/*.{js,ts,tsx}'], + files: ['x-pack/legacy/plugins/siem/public/**/*.{js,ts,tsx}'], rules: { 'import/no-nodejs-modules': 'error', 'no-restricted-imports': [ @@ -430,7 +433,7 @@ module.exports = { }, { // typescript only for front and back end - files: ['x-pack/plugins/siem/**/*.{ts,tsx}'], + files: ['x-pack/legacy/plugins/siem/**/*.{ts,tsx}'], rules: { // This will be turned on after bug fixes are complete // '@typescript-eslint/explicit-member-accessibility': 'warn', @@ -464,7 +467,7 @@ module.exports = { }, { // typescript and javascript for front and back end - files: ['x-pack/plugins/siem/**/*.{js,ts,tsx}'], + files: ['x-pack/legacy/plugins/siem/**/*.{js,ts,tsx}'], plugins: ['eslint-plugin-node', 'react'], rules: { 'accessor-pairs': 'error', @@ -611,7 +614,7 @@ module.exports = { * Monitoring overrides */ { - files: ['x-pack/plugins/monitoring/**/*.js'], + files: ['x-pack/legacy/plugins/monitoring/**/*.js'], rules: { 'block-spacing': ['error', 'always'], curly: ['error', 'all'], @@ -620,7 +623,7 @@ module.exports = { }, }, { - files: ['x-pack/plugins/monitoring/public/**/*.js'], + files: ['x-pack/legacy/plugins/monitoring/public/**/*.js'], env: { browser: true }, }, @@ -628,7 +631,7 @@ module.exports = { * Canvas overrides */ { - files: ['x-pack/plugins/canvas/**/*.js'], + files: ['x-pack/legacy/plugins/canvas/**/*.js'], rules: { radix: 'error', curly: ['error', 'all'], @@ -674,12 +677,12 @@ module.exports = { }, { files: [ - 'x-pack/plugins/canvas/gulpfile.js', - 'x-pack/plugins/canvas/scripts/*.js', - 'x-pack/plugins/canvas/tasks/*.js', - 'x-pack/plugins/canvas/tasks/**/*.js', - 'x-pack/plugins/canvas/__tests__/**/*.js', - 'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', + 'x-pack/legacy/plugins/canvas/gulpfile.js', + 'x-pack/legacy/plugins/canvas/scripts/*.js', + 'x-pack/legacy/plugins/canvas/tasks/*.js', + 'x-pack/legacy/plugins/canvas/tasks/**/*.js', + 'x-pack/legacy/plugins/canvas/__tests__/**/*.js', + 'x-pack/legacy/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', ], rules: { 'import/no-extraneous-dependencies': [ @@ -692,7 +695,7 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'], + files: ['x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*.js'], globals: { canvas: true, $: true }, rules: { 'import/no-unresolved': [ @@ -704,13 +707,13 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/public/**/*.js'], + files: ['x-pack/legacy/plugins/canvas/public/**/*.js'], env: { browser: true, }, }, { - files: ['x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/**/*.js'], + files: ['x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/**/*.js'], env: { jquery: true, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 27314c12c6e4a..2f03c408663ba 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -6,24 +6,24 @@ /src/plugins/kibana_utils/ @elastic/kibana-app-arch # APM -/x-pack/plugins/apm/ @elastic/apm-ui +/x-pack/legacy/plugins/apm/ @elastic/apm-ui # Beats -/x-pack/plugins/beats_management/ @elastic/beats +/x-pack/legacy/plugins/beats_management/ @elastic/beats # Canvas -/x-pack/plugins/canvas/ @elastic/kibana-canvas +/x-pack/legacy/plugins/canvas/ @elastic/kibana-canvas # Code -/x-pack/plugins/code/ @teams/code +/x-pack/legacy/plugins/code/ @teams/code /x-pack/test/functional/apps/code/ @teams/code /x-pack/test/api_integration/apis/code/ @teams/code # Infrastructure and Logs UI -/x-pack/plugins/infra/ @elastic/infra-logs-ui +/x-pack/legacy/plugins/infra/ @elastic/infra-logs-ui # Machine Learning -/x-pack/plugins/ml/ @elastic/ml-ui +/x-pack/legacy/plugins/ml/ @elastic/ml-ui # Operations /renovate.json5 @elastic/kibana-operations @@ -37,9 +37,9 @@ /src/legacy/ui/public/saved_objects @elastic/kibana-platform # Security -/x-pack/plugins/security/ @elastic/kibana-security -/x-pack/plugins/spaces/ @elastic/kibana-security -/x-pack/plugins/encrypted_saved_objects/ @elastic/kibana-security +/x-pack/legacy/plugins/security/ @elastic/kibana-security +/x-pack/legacy/plugins/spaces/ @elastic/kibana-security +/x-pack/legacy/plugins/encrypted_saved_objects/ @elastic/kibana-security /src/legacy/server/csp/ @elastic/kibana-security # Design @@ -47,16 +47,16 @@ # Elasticsearch UI /src/legacy/core_plugins/console/ @elastic/es-ui -/x-pack/plugins/console_extensions/ @elastic/es-ui -/x-pack/plugins/cross_cluster_replication/ @elastic/es-ui -/x-pack/plugins/index_lifecycle_management/ @elastic/es-ui -/x-pack/plugins/index_management/ @elastic/es-ui -/x-pack/plugins/license_management/ @elastic/es-ui -/x-pack/plugins/remote_clusters/ @elastic/es-ui -/x-pack/plugins/rollup/ @elastic/es-ui -/x-pack/plugins/searchprofiler/ @elastic/es-ui -/x-pack/plugins/snapshot_restore/ @elastic/es-ui -/x-pack/plugins/watcher/ @elastic/es-ui +/x-pack/legacy/plugins/console_extensions/ @elastic/es-ui +/x-pack/legacy/plugins/cross_cluster_replication/ @elastic/es-ui +/x-pack/legacy/plugins/index_lifecycle_management/ @elastic/es-ui +/x-pack/legacy/plugins/index_management/ @elastic/es-ui +/x-pack/legacy/plugins/license_management/ @elastic/es-ui +/x-pack/legacy/plugins/remote_clusters/ @elastic/es-ui +/x-pack/legacy/plugins/rollup/ @elastic/es-ui +/x-pack/legacy/plugins/searchprofiler/ @elastic/es-ui +/x-pack/legacy/plugins/snapshot_restore/ @elastic/es-ui +/x-pack/legacy/plugins/watcher/ @elastic/es-ui # Kibana TSVB external contractors /src/legacy/core_plugins/metrics/ @elastic/kibana-tsvb-external diff --git a/.i18nrc.json b/.i18nrc.json index 3d09f5c3874ef..ad3b7ddd4cb08 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -23,42 +23,42 @@ "tagCloud": "src/legacy/core_plugins/tagcloud", "tsvb": "src/legacy/core_plugins/metrics", "kbnESQuery": "packages/kbn-es-query", - "xpack.apm": "x-pack/plugins/apm", - "xpack.beatsManagement": "x-pack/plugins/beats_management", - "xpack.canvas": "x-pack/plugins/canvas", - "xpack.code": "x-pack/plugins/code", - "xpack.crossClusterReplication": "x-pack/plugins/cross_cluster_replication", - "xpack.dashboardMode": "x-pack/plugins/dashboard_mode", - "xpack.fileUpload": "x-pack/plugins/file_upload", - "xpack.graph": "x-pack/plugins/graph", - "xpack.grokDebugger": "x-pack/plugins/grokdebugger", - "xpack.idxMgmt": "x-pack/plugins/index_management", - "xpack.indexLifecycleMgmt": "x-pack/plugins/index_lifecycle_management", - "xpack.infra": "x-pack/plugins/infra", - "xpack.kueryAutocomplete": "x-pack/plugins/kuery_autocomplete", - "xpack.licenseMgmt": "x-pack/plugins/license_management", - "xpack.maps": "x-pack/plugins/maps", - "xpack.ml": "x-pack/plugins/ml", - "xpack.logstash": "x-pack/plugins/logstash", - "xpack.main": "x-pack/plugins/xpack_main", - "xpack.telemetry": "x-pack/plugins/telemetry", - "xpack.monitoring": "x-pack/plugins/monitoring", - "xpack.remoteClusters": "x-pack/plugins/remote_clusters", - "xpack.reporting": "x-pack/plugins/reporting", - "xpack.rollupJobs": "x-pack/plugins/rollup", - "xpack.searchProfiler": "x-pack/plugins/searchprofiler", - "xpack.siem": "x-pack/plugins/siem", - "xpack.security": "x-pack/plugins/security", - "xpack.server": "x-pack/server", - "xpack.snapshotRestore": "x-pack/plugins/snapshot_restore", - "xpack.spaces": "x-pack/plugins/spaces", - "xpack.upgradeAssistant": "x-pack/plugins/upgrade_assistant", - "xpack.uptime": "x-pack/plugins/uptime", - "xpack.watcher": "x-pack/plugins/watcher" + "xpack.apm": "x-pack/legacy/plugins/apm", + "xpack.beatsManagement": "x-pack/legacy/plugins/beats_management", + "xpack.canvas": "x-pack/legacy/plugins/canvas", + "xpack.code": "x-pack/legacy/plugins/code", + "xpack.crossClusterReplication": "x-pack/legacy/plugins/cross_cluster_replication", + "xpack.dashboardMode": "x-pack/legacy/plugins/dashboard_mode", + "xpack.fileUpload": "x-pack/legacy/plugins/file_upload", + "xpack.graph": "x-pack/legacy/plugins/graph", + "xpack.grokDebugger": "x-pack/legacy/plugins/grokdebugger", + "xpack.idxMgmt": "x-pack/legacy/plugins/index_management", + "xpack.indexLifecycleMgmt": "x-pack/legacy/plugins/index_lifecycle_management", + "xpack.infra": "x-pack/legacy/plugins/infra", + "xpack.kueryAutocomplete": "x-pack/legacy/plugins/kuery_autocomplete", + "xpack.licenseMgmt": "x-pack/legacy/plugins/license_management", + "xpack.maps": "x-pack/legacy/plugins/maps", + "xpack.ml": "x-pack/legacy/plugins/ml", + "xpack.logstash": "x-pack/legacy/plugins/logstash", + "xpack.main": "x-pack/legacy/plugins/xpack_main", + "xpack.telemetry": "x-pack/legacy/plugins/telemetry", + "xpack.monitoring": "x-pack/legacy/plugins/monitoring", + "xpack.remoteClusters": "x-pack/legacy/plugins/remote_clusters", + "xpack.reporting": "x-pack/legacy/plugins/reporting", + "xpack.rollupJobs": "x-pack/legacy/plugins/rollup", + "xpack.searchProfiler": "x-pack/legacy/plugins/searchprofiler", + "xpack.siem": "x-pack/legacy/plugins/siem", + "xpack.security": "x-pack/legacy/plugins/security", + "xpack.server": "x-pack/legacy/server", + "xpack.snapshotRestore": "x-pack/legacy/plugins/snapshot_restore", + "xpack.spaces": "x-pack/legacy/plugins/spaces", + "xpack.upgradeAssistant": "x-pack/legacy/plugins/upgrade_assistant", + "xpack.uptime": "x-pack/legacy/plugins/uptime", + "xpack.watcher": "x-pack/legacy/plugins/watcher" }, "exclude": ["src/legacy/ui/ui_render/ui_render_mixin.js"], "translations": [ - "x-pack/plugins/translations/translations/zh-CN.json", - "x-pack/plugins/translations/translations/ja-JP.json" + "x-pack/legacy/plugins/translations/translations/zh-CN.json", + "x-pack/legacy/plugins/translations/translations/ja-JP.json" ] } diff --git a/.sass-lint.yml b/.sass-lint.yml index 3e14f62997502..18ce54048d7db 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -4,8 +4,8 @@ files: - 'src/legacy/core_plugins/timelion/**/*.s+(a|c)ss' - 'src/legacy/ui/public/query_bar/**/*.s+(a|c)ss' - 'src/legacy/ui/public/vislib/**/*.s+(a|c)ss' - - 'x-pack/plugins/rollup/**/*.s+(a|c)ss' - - 'x-pack/plugins/security/**/*.s+(a|c)ss' + - 'x-pack/legacy/plugins/rollup/**/*.s+(a|c)ss' + - 'x-pack/legacy/plugins/security/**/*.s+(a|c)ss' rules: quotes: - 2 diff --git a/TYPESCRIPT.md b/TYPESCRIPT.md index 058b1dca67f56..0c28060de40e5 100644 --- a/TYPESCRIPT.md +++ b/TYPESCRIPT.md @@ -9,7 +9,7 @@ To convert existing code over to TypeScript: ### How to fix common TypeScript errors -The first thing that will probably happen when you convert a `.js` file in our system to `.ts` is that some imports will be lacking types. +The first thing that will probably happen when you convert a `.js` file in our system to `.ts` is that some imports will be lacking types. #### EUI component is missing types @@ -59,7 +59,7 @@ declare module '@elastic/eui' { #### Internal dependency is missing types. -1. Open up the file and see how easy it would be to convert to TypeScript. +1. Open up the file and see how easy it would be to convert to TypeScript. 2. If it's very straightforward, go for it. 3. If it's not and you wish to stay focused on your own PR, get around the error by adding a type definition file in the same folder as the dependency, with the same name. 4. Minimally you will need to type what you are using in your PR. No need to go crazy to fully type the thing or you might be there for awhile depending on what's available. @@ -101,7 +101,7 @@ export { metadata }; `yarn add -D @types/markdown-it@8.4.1` -Use the version number that we have installed in package.json. This may not always work, and you might get something like: +Use the version number that we have installed in package.json. This may not always work, and you might get something like: `Please choose a version of "@types/markdown-it" from this list:` @@ -110,12 +110,12 @@ If that happens, just pick the closest one. If yarn doesn't find the module it may not have types. For example, our `rison_node` package doesn't have types. In this case you have a few options: 1. Contribute types into the DefinitelyTyped repo itself, or -2. Create a top level `types` folder and point to that in the tsconfig. For example, Infra team already handled this for `rison_node` and added: `x-pack/plugins/infra/types/rison_node.d.ts`. Other code uses it too so we will need to pull it up. Or, +2. Create a top level `types` folder and point to that in the tsconfig. For example, Infra team already handled this for `rison_node` and added: `x-pack/legacy/plugins/infra/types/rison_node.d.ts`. Other code uses it too so we will need to pull it up. Or, 3. Add a `// @ts-ignore` line above the import. This should be used minimally, the above options are better. However, sometimes you have to resort to this method. ### TypeScripting react files -React has it's own concept of runtime types via `proptypes`. TypeScript gives you compile time types so I prefer those. +React has it's own concept of runtime types via `proptypes`. TypeScript gives you compile time types so I prefer those. Before: ```jsx @@ -126,12 +126,12 @@ import PropTypes from 'prop-types'; state = { buttonWasClicked = false }; - + render() { return } } - + Button.proptypes = { text: PropTypes.string, } @@ -152,7 +152,7 @@ interface State { state = { buttonWasClicked = false }; - + render() { return } @@ -197,7 +197,7 @@ function ({ title, description }: Options) { ... } ``` - + ## Use `any` as little as possible Using any is sometimes valid, but should rarely be used, even if to make quicker progress. Even `Unknown` is better than using `any` if you aren't sure of an input parameter. diff --git a/docs/development/plugin/development-plugin-feature-registration.asciidoc b/docs/development/plugin/development-plugin-feature-registration.asciidoc index 2babd020a8e25..7505b018c6fbd 100644 --- a/docs/development/plugin/development-plugin-feature-registration.asciidoc +++ b/docs/development/plugin/development-plugin-feature-registration.asciidoc @@ -22,7 +22,7 @@ init(server) { ----------- ===== Feature details -Registering a feature consists of the following fields. For more information, consult the {repo}blob/{branch}/x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[feature registry interface]. +Registering a feature consists of the following fields. For more information, consult the {repo}blob/{branch}/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[feature registry interface]. [cols="1a, 1a, 1a, 1a"] @@ -45,7 +45,7 @@ Registering a feature consists of the following fields. For more information, co |An array of applications this feature enables. Typically, all of your plugin’s apps (from `uiExports`) will be included here. |`privileges` (required) -|{repo}blob/{branch}/x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[`FeatureWithAllOrReadPrivileges`]. +|{repo}blob/{branch}/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[`FeatureWithAllOrReadPrivileges`]. |see examples below |The set of privileges this feature requires to function. @@ -63,7 +63,7 @@ Registering a feature consists of the following fields. For more information, co ===== Privilege definition The `privileges` section of feature registration allows plugins to implement read/write and read-only modes for their applications. -For a full explanation of fields and options, consult the {repo}blob/{branch}/x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[feature registry interface]. +For a full explanation of fields and options, consult the {repo}blob/{branch}/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts[feature registry interface]. ==== Using UI Capabilities @@ -113,7 +113,7 @@ init(server) { ----------- This shows how the Canvas application might register itself as a Kibana feature. -Note that it specifies different `savedObject` access levels for each privilege: +Note that it specifies different `savedObject` access levels for each privilege: - Users with read/write access (`all` privilege) need to be able to read/write `canvas-workpad` saved objects, and they need read-only access to `index-pattern` saved objects. - Users with read-only access (`read` privilege) do not need to have read/write access to any saved objects, but instead get read-only access to `index-pattern` and `canvas-workpad` saved objects. diff --git a/docs/ml/creating-jobs.asciidoc b/docs/ml/creating-jobs.asciidoc index d88df4d8e14e8..3fe6998d77944 100644 --- a/docs/ml/creating-jobs.asciidoc +++ b/docs/ml/creating-jobs.asciidoc @@ -26,7 +26,16 @@ An _advanced job_ can contain multiple detectors and enables you to configure al job settings. {kib} can also recognize certain types of data and provide specialized wizards -for that context. For example, if you use {filebeat-ref}/index.html[{filebeat}] +for that context. For example, if you +<>, the following wizard +appears: + +[role="screenshot"] +image::ml/images/ml-data-recognizer-sample.jpg[A screenshot of the {kib} sample data web log job creation wizard] + +TIP: Alternatively, after you load a sample data set on the {kib} home page, you can click *View data* > *ML jobs*. There are {ml} jobs for both the sample eCommerce orders data set and the sample web logs data set. + +If you use {filebeat-ref}/index.html[{filebeat}] to ship access logs from your http://nginx.org/[Nginx] and https://httpd.apache.org/[Apache] HTTP servers to {es} and store it using fields and datatypes from the @@ -36,18 +45,21 @@ appear: [role="screenshot"] image::ml/images/ml-data-recognizer-filebeat.jpg[A screenshot of the {filebeat} job creation wizards] -Likewise, if you use {auditbeat-ref}/index.html[{auditbeat}] to audit process +If you use {auditbeat-ref}/index.html[{auditbeat}] to audit process activity on your systems, the following wizards appear: [role="screenshot"] -image::ml/images/ml-data-recognizer-auditbeat.jpg[A screenshot of the {auditbeat} job creation wizards] +image::ml/images/ml-data-recognizer-auditbeat.jpg[A screenshot of the {auditbeat} job creation wizards] -These wizards create {ml} jobs, dashboards, searches, and visualizations that -are customized to help you analyze your {auditbeat} and {filebeat} data. +Likewise, if you use the {metricbeat-ref}/metricbeat-module-system.html[{metricbeat} system module] to monitor your servers, the following +wizards appear: + +[role="screenshot"] +image::ml/images/ml-data-recognizer-metricbeat.jpg[A screenshot of the {metricbeat} job creation wizards] -If you are not certain which type of job to create, you can use the -*Data Visualizer* to learn more about your data. If your index pattern contains -a time field, it can identify possible fields for {ml} analysis. +These wizards create {ml} jobs, dashboards, searches, and visualizations that +are customized to help you analyze your {auditbeat}, {filebeat}, and +{metricbeat} data. [NOTE] =============================== diff --git a/docs/ml/images/ml-create-job.jpg b/docs/ml/images/ml-create-job.jpg index 6047d9fd4a435..5b938633c9b85 100644 Binary files a/docs/ml/images/ml-create-job.jpg and b/docs/ml/images/ml-create-job.jpg differ diff --git a/docs/ml/images/ml-data-recognizer-metricbeat.jpg b/docs/ml/images/ml-data-recognizer-metricbeat.jpg new file mode 100644 index 0000000000000..4b1c3c35d1d22 Binary files /dev/null and b/docs/ml/images/ml-data-recognizer-metricbeat.jpg differ diff --git a/docs/ml/images/ml-data-recognizer-sample.jpg b/docs/ml/images/ml-data-recognizer-sample.jpg new file mode 100644 index 0000000000000..980bd3d638c62 Binary files /dev/null and b/docs/ml/images/ml-data-recognizer-sample.jpg differ diff --git a/docs/setup/install.asciidoc b/docs/setup/install.asciidoc index 7db86b910a9fa..b0893a6e78945 100644 --- a/docs/setup/install.asciidoc +++ b/docs/setup/install.asciidoc @@ -47,12 +47,17 @@ downloaded from the Elastic Docker Registry. + <> +`brew`:: + +Formulae are available from the Elastic Homebrew tap for installing {kib} on macOS with the Homebrew package manager. ++ +<> + IMPORTANT: If your Elasticsearch installation is protected by {xpack-ref}/elasticsearch-security.html[{security}] see {kibana-ref}/using-kibana-with-security.html[Configuring Security in Kibana] for additional setup instructions. - include::install/targz.asciidoc[] include::install/deb.asciidoc[] @@ -60,3 +65,5 @@ include::install/deb.asciidoc[] include::install/rpm.asciidoc[] include::install/windows.asciidoc[] + +include::install/brew.asciidoc[] diff --git a/docs/setup/install/brew.asciidoc b/docs/setup/install/brew.asciidoc new file mode 100644 index 0000000000000..ad531a83d3690 --- /dev/null +++ b/docs/setup/install/brew.asciidoc @@ -0,0 +1,65 @@ +[[brew]] +=== Install {kib} on macOS with Homebrew + +Elastic publishes Homebrew formulae so you can install {kib} with the https://brew.sh/[Homebrew] package manager. + +To install with Homebrew, you first need to tap the Elastic Homebrew repository: + +[source,sh] +------------------------- +brew tap elastic/tap +------------------------- + +Once you've tapped the Elastic Homebrew repo, you can use `brew install` to +install the default distribution of {kib}: + +[source,sh] +------------------------- +brew install elastic/tap/kibana-full +------------------------- + +This installs the most recently released default distribution of {kib}. To install the OSS distribution, +specify `elastic/tap/kibana-oss`. + +[[brew-layout]] +==== Directory layout for Homebrew installs + +When you install {kib} with `brew install`, the config files, logs, +and data directory are stored in the following locations. + +[cols=" resolve(path)); diff --git a/src/core/MIGRATION.md b/src/core/MIGRATION.md index 87aa9464de252..0abdda9329018 100644 --- a/src/core/MIGRATION.md +++ b/src/core/MIGRATION.md @@ -38,7 +38,7 @@ We'll start with an overview of how plugins work in the new platform, and we'll Plugins in the new platform are not especially novel or complicated to describe. Our intention wasn't to build some clever system that magically solved problems through abstractions and layers of obscurity, and we wanted to make sure plugins could continue to use most of the same technologies they use today, at least from a technical perspective. -New platform plugins exist in the `src/plugins` and `x-pack/plugins` directories. +New platform plugins exist in the `src/plugins` and `x-pack/legacy/plugins` directories. ### Architecture @@ -752,7 +752,7 @@ Examples of code that could **not** be shared statically and how to fix it: class MyPlugin { constructor() { this.visTypes = [] } setup() { - return { + return { registerVisType: (visType) => this.visTypes.push(visType) } } @@ -877,5 +877,5 @@ const createSetupContractMock = () => { export const myPluginMocks = { createSetup: createSetupContractMock, createStart: ... -} +} ``` diff --git a/src/core/README.md b/src/core/README.md index 352e159d4504f..f124d25987cdc 100644 --- a/src/core/README.md +++ b/src/core/README.md @@ -7,6 +7,9 @@ Core Plugin API Documentation: - [Core Public API](/docs/development/core/public/kibana-plugin-public.md) - [Core Server API](/docs/development/core/server/kibana-plugin-server.md) - [Migration guide for porting existing plugins](./MIGRATION.md) + +Internal Documentation: + - [Saved Objects Migrations](./server/saved_objects/migrations/README.md) ## Integration with the "legacy" Kibana diff --git a/src/dev/build/tasks/clean_tasks.js b/src/dev/build/tasks/clean_tasks.js index a31f117742582..02b09cf761194 100644 --- a/src/dev/build/tasks/clean_tasks.js +++ b/src/dev/build/tasks/clean_tasks.js @@ -204,7 +204,7 @@ export const CleanExtraBrowsersTask = { async run(config, log, build) { const getBrowserPathsForPlatform = platform => { - const reportingDir = 'x-pack/plugins/reporting'; + const reportingDir = 'x-pack/legacy/plugins/reporting'; const chromiumDir = '.chromium'; const chromiumPath = p => build.resolvePathForPlatform(platform, reportingDir, chromiumDir, p); diff --git a/src/dev/build/tasks/patch_native_modules_task.js b/src/dev/build/tasks/patch_native_modules_task.js index bb0f97cbf3849..7da51ac717c42 100644 --- a/src/dev/build/tasks/patch_native_modules_task.js +++ b/src/dev/build/tasks/patch_native_modules_task.js @@ -19,7 +19,7 @@ import { scanCopy, untar, deleteAll } from '../lib'; import { createWriteStream } from 'fs'; -import { binaryInfo } from '../../../../x-pack/plugins/code/tasks/nodegit_info'; +import { binaryInfo } from '../../../../x-pack/legacy/plugins/code/tasks/nodegit_info'; import wreck from '@hapi/wreck'; import mkdirp from 'mkdirp'; import { dirname, join, basename } from 'path'; diff --git a/src/dev/failed_tests/__fixtures__/jest_report.xml b/src/dev/failed_tests/__fixtures__/jest_report.xml index 1ec4f9d5496ca..c49b8d7f59f33 100644 --- a/src/dev/failed_tests/__fixtures__/jest_report.xml +++ b/src/dev/failed_tests/__fixtures__/jest_report.xml @@ -1,15 +1,15 @@ - - - - + + + + .test (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-intake/node/immutable/kibana/x-pack/plugins/code/server/lsp/abstract_launcher.test.ts:166:10)]]> + at Object..test (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-intake/node/immutable/kibana/x-pack/legacy/plugins/code/server/lsp/abstract_launcher.test.ts:166:10)]]> - - + + diff --git a/src/dev/failed_tests/__fixtures__/mocha_report.xml b/src/dev/failed_tests/__fixtures__/mocha_report.xml index 7a89b3a6ecabe..64cb7ce551ee5 100644 --- a/src/dev/failed_tests/__fixtures__/mocha_report.xml +++ b/src/dev/failed_tests/__fixtures__/mocha_report.xml @@ -1,7 +1,7 @@ - + @@ -19,7 +19,7 @@ at process._tickCallback (internal/process/next_tick.js:68:7)]]> - + @@ -29,7 +29,7 @@ at process.topLevelDomainCallback (domain.js:120:23)]]> - + diff --git a/src/dev/failed_tests/report.test.js b/src/dev/failed_tests/report.test.js index 693f3e8cd614c..db518c91a35ee 100644 --- a/src/dev/failed_tests/report.test.js +++ b/src/dev/failed_tests/report.test.js @@ -50,10 +50,10 @@ Array [ expect(failures).toMatchInlineSnapshot(` Array [ Object { - "classname": "X-Pack Jest Tests.x-pack/plugins/code/server/lsp", + "classname": "X-Pack Jest Tests.x-pack/legacy/plugins/code/server/lsp", "failure": " TypeError: Cannot read property '0' of undefined - at Object..test (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-intake/node/immutable/kibana/x-pack/plugins/code/server/lsp/abstract_launcher.test.ts:166:10) + at Object..test (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-intake/node/immutable/kibana/x-pack/legacy/plugins/code/server/lsp/abstract_launcher.test.ts:166:10) ", "name": "launcher can reconnect if process died", "time": "7.060", @@ -120,7 +120,7 @@ Wait timed out after 10055ms expect(console.log.mock.calls).toMatchInlineSnapshot(` Array [ Array [ - "Ignoring likely irrelevant failure: X-Pack Mocha Tests.x-pack/plugins/code/server/__tests__/multi_node·ts - code in multiple nodes \\"before all\\" hook + "Ignoring likely irrelevant failure: X-Pack Mocha Tests.x-pack/legacy/plugins/code/server/__tests__/multi_node·ts - code in multiple nodes \\"before all\\" hook Error: Unable to read artifact info from https://artifacts-api.elastic.co/v1/versions/8.0.0-SNAPSHOT/builds/latest/projects/elasticsearch: Service Temporarily Unavailable @@ -136,7 +136,7 @@ Array [ ", ], Array [ - "Ignoring likely irrelevant failure: X-Pack Mocha Tests.x-pack/plugins/code/server/__tests__/multi_node·ts - code in multiple nodes \\"after all\\" hook + "Ignoring likely irrelevant failure: X-Pack Mocha Tests.x-pack/legacy/plugins/code/server/__tests__/multi_node·ts - code in multiple nodes \\"after all\\" hook TypeError: Cannot read property 'shutdown' of undefined at Context.shutdown (plugins/code/server/__tests__/multi_node.ts:125:23) diff --git a/src/dev/i18n/README.md b/src/dev/i18n/README.md index 69bcf1d496f97..2ef739e655d9b 100644 --- a/src/dev/i18n/README.md +++ b/src/dev/i18n/README.md @@ -175,11 +175,11 @@ The tool throws an exception if `formats` object is missing in locale file. ### Usage ```bash -node scripts/i18n_integrate --source path/to/locale.json --target x-pack/plugins/translations/translations/locale.json +node scripts/i18n_integrate --source path/to/locale.json --target x-pack/legacy/plugins/translations/translations/locale.json ``` * `--source` path to the JSON file with translations that should be integrated. -* `--target` defines a single path to the JSON file where translations should be integrated to, path mappings from +* `--target` defines a single path to the JSON file where translations should be integrated to, path mappings from [.i18nrc.json](../../../.i18nrc.json) are ignored in this case. It's currently used for integrating of Kibana built-in translations that are located in a single JSON file within `x-pack/translations` plugin. * `--dry-run` tells the tool to exit after verification phase and not write translations to the disk. diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index ccae2d188cb0e..5c20b7904b1f6 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -35,16 +35,16 @@ export const IGNORE_FILE_GLOBS = [ '**/Gruntfile.js', 'tasks/config/**/*', '**/{Dockerfile,docker-compose.yml}', - 'x-pack/plugins/apm/**/*', - 'x-pack/plugins/canvas/tasks/**/*', - 'x-pack/plugins/canvas/canvas_plugin_src/**/*', + 'x-pack/legacy/plugins/apm/**/*', + 'x-pack/legacy/plugins/canvas/tasks/**/*', + 'x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*', '**/.*', '**/{webpackShims,__mocks__}/**/*', 'x-pack/docs/**/*', 'src/legacy/ui/public/assets/fonts/**/*', // Files in this directory must match a pre-determined name in some cases. - 'x-pack/plugins/canvas/.storybook/*', + 'x-pack/legacy/plugins/canvas/.storybook/*', // filename must match language code which requires capital letters '**/translations/*.json', @@ -159,23 +159,23 @@ export const TEMPORARILY_IGNORED_PATHS = [ 'webpackShims/elasticsearch-browser.js', 'webpackShims/moment-timezone.js', 'webpackShims/ui-bootstrap.js', - 'x-pack/plugins/graph/public/graphClientWorkspace.js', - 'x-pack/plugins/graph/public/angular-venn-simple.js', - 'x-pack/plugins/index_management/public/lib/editSettings.js', - 'x-pack/plugins/license_management/public/store/reducers/licenseManagement.js', - 'x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js', - 'x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html', - 'x-pack/plugins/monitoring/public/icons/alert-blue.svg', - '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', - 'x-pack/plugins/monitoring/public/icons/health-yellow.svg', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf', - 'x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png', + 'x-pack/legacy/plugins/graph/public/graphClientWorkspace.js', + 'x-pack/legacy/plugins/graph/public/angular-venn-simple.js', + 'x-pack/legacy/plugins/index_management/public/lib/editSettings.js', + 'x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js', + 'x-pack/legacy/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js', + 'x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html', + 'x-pack/legacy/plugins/monitoring/public/icons/alert-blue.svg', + 'x-pack/legacy/plugins/monitoring/public/icons/health-gray.svg', + 'x-pack/legacy/plugins/monitoring/public/icons/health-green.svg', + 'x-pack/legacy/plugins/monitoring/public/icons/health-red.svg', + 'x-pack/legacy/plugins/monitoring/public/icons/health-yellow.svg', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf', + 'x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png', 'x-pack/test/functional/es_archives/monitoring/beats-with-restarted-instance/data.json.gz', 'x-pack/test/functional/es_archives/monitoring/beats-with-restarted-instance/mappings.json', 'x-pack/test/functional/es_archives/monitoring/logstash-pipelines/data.json.gz', diff --git a/src/dev/renovate/package_globs.ts b/src/dev/renovate/package_globs.ts index cd77065e1211e..dd98f929be8ed 100644 --- a/src/dev/renovate/package_globs.ts +++ b/src/dev/renovate/package_globs.ts @@ -26,7 +26,7 @@ import { REPO_ROOT } from '../constants'; export const PACKAGE_GLOBS = [ 'package.json', 'x-pack/package.json', - 'x-pack/plugins/*/package.json', + 'x-pack/legacy/plugins/*/package.json', 'packages/*/package.json', 'test/plugin_functional/plugins/*/package.json', 'test/interpreter_functional/plugins/*/package.json', diff --git a/test/scripts/jenkins_xpack.sh b/test/scripts/jenkins_xpack.sh index 11eeaccb1114d..ffdcd3a17a412 100755 --- a/test/scripts/jenkins_xpack.sh +++ b/test/scripts/jenkins_xpack.sh @@ -19,7 +19,7 @@ echo "" echo " -> Running SIEM cyclic dependency test" cd "$XPACK_DIR" -checks-reporter-with-killswitch "X-Pack SIEM cyclic dependency test" node plugins/siem/scripts/check_circular_deps +checks-reporter-with-killswitch "X-Pack SIEM cyclic dependency test" node legacy/plugins/siem/scripts/check_circular_deps echo "" echo "" diff --git a/x-pack/.gitignore b/x-pack/.gitignore index 8051d2eee1425..93b9552d61044 100644 --- a/x-pack/.gitignore +++ b/x-pack/.gitignore @@ -4,14 +4,14 @@ /test/functional/failure_debug /test/functional/screenshots /test/functional/apps/reporting/reports/session -/plugins/reporting/.chromium/ -/plugins/reporting/.phantom/ +/legacy/plugins/reporting/.chromium/ +/legacy/plugins/reporting/.phantom/ /.aws-config.json /.env /.kibana-plugin-helpers.dev.* -!/plugins/infra/**/target +!/legacy/plugins/infra/**/target .cache -!/plugins/siem/**/target +!/legacy/plugins/siem/**/target # We don't want any yarn.lock files in here /yarn.lock diff --git a/x-pack/.kibana-plugin-helpers.json b/x-pack/.kibana-plugin-helpers.json index 80ea11e1529e1..14f75b666e8e0 100644 --- a/x-pack/.kibana-plugin-helpers.json +++ b/x-pack/.kibana-plugin-helpers.json @@ -1,8 +1,8 @@ { "serverTestPatterns": [ - "server/**/__tests__/**/*.js", - "plugins/**/__tests__/**/*.js", - "!plugins/**/server/**/__tests__/**/*" + "legacy/server/**/__tests__/**/*.js", + "legacy/plugins/**/__tests__/**/*.js", + "!legacy/plugins/**/server/**/__tests__/**/*" ], "buildSourcePatterns": [ "LICENSE.txt", @@ -11,11 +11,11 @@ "yarn.lock", "tsconfig.json", "index.js", - "plugins/reporting/.phantom/*", - "plugins/reporting/.chromium/*", - "common/**/*", - "plugins/**/*", - "server/**/*", + "legacy/plugins/reporting/.phantom/*", + "legacy/plugins/reporting/.chromium/*", + "legacy/common/**/*", + "legacy/plugins/**/*", + "legacy/server/**/*", "typings/**/*", "webpackShims/*", "!**/README.md", @@ -23,10 +23,10 @@ "!__tests__/**/*", "!**/__tests__", "!**/__tests__/**/*", - "!plugins/**/*.test.{js,ts}", - "!plugins/**/__snapshots__", - "!plugins/**/__snapshots__/*", - "!plugins/**/__mocks__/*" + "!legacy/plugins/**/*.test.{js,ts}", + "!legacy/plugins/**/__snapshots__", + "!legacy/plugins/**/__snapshots__/*", + "!legacy/plugins/**/__mocks__/*" ], "skipInstallDependencies": true } diff --git a/x-pack/build_chromium/README.md b/x-pack/build_chromium/README.md index 7307454e5f4c9..0c147d003c92e 100644 --- a/x-pack/build_chromium/README.md +++ b/x-pack/build_chromium/README.md @@ -110,7 +110,7 @@ To run the build, replace the sha in the following commands with the sha that yo After the build completes, there will be a .zip file and a .md5 file in `~/chromium/chromium/src/out/headless`. These are named like so: `chromium-{first_7_of_SHA}-{platform}`, for example: `chromium-4747cc2-linux`. -The zip files need to be deployed to s3. For testing, I drop them into `headless-shell-dev`, but for production, they need to be in `headless-shell`. And the `x-pack/plugins/reporting/server/browsers/chromium/paths.js` file needs to be upated to have the correct `archiveChecksum`, `archiveFilename`, `rawChecksum` and `baseUrl`. Below is a list of what the archive's are: +The zip files need to be deployed to s3. For testing, I drop them into `headless-shell-dev`, but for production, they need to be in `headless-shell`. And the `x-pack/legacy/plugins/reporting/server/browsers/chromium/paths.js` file needs to be upated to have the correct `archiveChecksum`, `archiveFilename`, `rawChecksum` and `baseUrl`. Below is a list of what the archive's are: - `archiveChecksum`: The contents of the `.md5` file, which is the `md5` checksum of the zip file. - `rawChecksum`: The `md5` checksum of the `headless_shell` binary itself. diff --git a/x-pack/dev-tools/jest/create_jest_config.js b/x-pack/dev-tools/jest/create_jest_config.js index bbc258bcc92ef..8b59619fbeafa 100644 --- a/x-pack/dev-tools/jest/create_jest_config.js +++ b/x-pack/dev-tools/jest/create_jest_config.js @@ -11,8 +11,8 @@ export function createJestConfig({ return { rootDir: xPackKibanaDirectory, roots: [ - '/plugins', - '/server', + '/legacy/plugins', + '/legacy/server', ], moduleFileExtensions: [ 'js', @@ -23,7 +23,7 @@ export function createJestConfig({ moduleNameMapper: { '^ui/(.*)': `${kibanaDirectory}/src/legacy/ui/public/$1`, '^src/core/(.*)': `${kibanaDirectory}/src/core/$1`, - '^plugins/xpack_main/(.*);': `${xPackKibanaDirectory}/plugins/xpack_main/public/$1`, + '^legacy/plugins/xpack_main/(.*);': `${xPackKibanaDirectory}/legacy/plugins/xpack_main/public/$1`, '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': `${kibanaDirectory}/src/dev/jest/mocks/file_mock.js`, '\\.(css|less|scss)$': `${kibanaDirectory}/src/dev/jest/mocks/style_mock.js`, diff --git a/x-pack/gulpfile.js b/x-pack/gulpfile.js index 33b7478382a17..fcb1b8ece3a38 100644 --- a/x-pack/gulpfile.js +++ b/x-pack/gulpfile.js @@ -38,4 +38,4 @@ require('./tasks/dev')(gulp, gulpHelpers); require('./tasks/prepare')(gulp, gulpHelpers); require('./tasks/report')(gulp, gulpHelpers); require('./tasks/test')(gulp, gulpHelpers); -require('./plugins/canvas/tasks')(gulp, gulpHelpers); +require('./legacy/plugins/canvas/tasks')(gulp, gulpHelpers); diff --git a/x-pack/index.js b/x-pack/index.js index c749e8afe2715..1d93f818bb4f5 100644 --- a/x-pack/index.js +++ b/x-pack/index.js @@ -4,45 +4,45 @@ * you may not use this file except in compliance with the Elastic License. */ -import { xpackMain } from './plugins/xpack_main'; -import { graph } from './plugins/graph'; -import { monitoring } from './plugins/monitoring'; -import { reporting } from './plugins/reporting'; -import { security } from './plugins/security'; -import { searchprofiler } from './plugins/searchprofiler'; -import { ml } from './plugins/ml'; -import { tilemap } from './plugins/tilemap'; -import { watcher } from './plugins/watcher'; -import { grokdebugger } from './plugins/grokdebugger'; -import { dashboardMode } from './plugins/dashboard_mode'; -import { logstash } from './plugins/logstash'; -import { beats } from './plugins/beats_management'; -import { apm } from './plugins/apm'; -import { code } from './plugins/code'; -import { maps } from './plugins/maps'; -import { licenseManagement } from './plugins/license_management'; -import { cloud } from './plugins/cloud'; -import { indexManagement } from './plugins/index_management'; -import { indexLifecycleManagement } from './plugins/index_lifecycle_management'; -import { consoleExtensions } from './plugins/console_extensions'; -import { spaces } from './plugins/spaces'; -import { notifications } from './plugins/notifications'; -import { kueryAutocomplete } from './plugins/kuery_autocomplete'; -import { canvas } from './plugins/canvas'; -import { infra } from './plugins/infra'; -import { taskManager } from './plugins/task_manager'; -import { rollup } from './plugins/rollup'; -import { siem } from './plugins/siem'; -import { remoteClusters } from './plugins/remote_clusters'; -import { crossClusterReplication } from './plugins/cross_cluster_replication'; -import { translations } from './plugins/translations'; -import { upgradeAssistant } from './plugins/upgrade_assistant'; -import { uptime } from './plugins/uptime'; -import { ossTelemetry } from './plugins/oss_telemetry'; -import { fileUpload } from './plugins/file_upload'; -import { telemetry } from './plugins/telemetry'; -import { encryptedSavedObjects } from './plugins/encrypted_saved_objects'; -import { snapshotRestore } from './plugins/snapshot_restore'; +import { xpackMain } from './legacy/plugins/xpack_main'; +import { graph } from './legacy/plugins/graph'; +import { monitoring } from './legacy/plugins/monitoring'; +import { reporting } from './legacy/plugins/reporting'; +import { security } from './legacy/plugins/security'; +import { searchprofiler } from './legacy/plugins/searchprofiler'; +import { ml } from './legacy/plugins/ml'; +import { tilemap } from './legacy/plugins/tilemap'; +import { watcher } from './legacy/plugins/watcher'; +import { grokdebugger } from './legacy/plugins/grokdebugger'; +import { dashboardMode } from './legacy/plugins/dashboard_mode'; +import { logstash } from './legacy/plugins/logstash'; +import { beats } from './legacy/plugins/beats_management'; +import { apm } from './legacy/plugins/apm'; +import { code } from './legacy/plugins/code'; +import { maps } from './legacy/plugins/maps'; +import { licenseManagement } from './legacy/plugins/license_management'; +import { cloud } from './legacy/plugins/cloud'; +import { indexManagement } from './legacy/plugins/index_management'; +import { indexLifecycleManagement } from './legacy/plugins/index_lifecycle_management'; +import { consoleExtensions } from './legacy/plugins/console_extensions'; +import { spaces } from './legacy/plugins/spaces'; +import { notifications } from './legacy/plugins/notifications'; +import { kueryAutocomplete } from './legacy/plugins/kuery_autocomplete'; +import { canvas } from './legacy/plugins/canvas'; +import { infra } from './legacy/plugins/infra'; +import { taskManager } from './legacy/plugins/task_manager'; +import { rollup } from './legacy/plugins/rollup'; +import { siem } from './legacy/plugins/siem'; +import { remoteClusters } from './legacy/plugins/remote_clusters'; +import { crossClusterReplication } from './legacy/plugins/cross_cluster_replication'; +import { translations } from './legacy/plugins/translations'; +import { upgradeAssistant } from './legacy/plugins/upgrade_assistant'; +import { uptime } from './legacy/plugins/uptime'; +import { ossTelemetry } from './legacy/plugins/oss_telemetry'; +import { fileUpload } from './legacy/plugins/file_upload'; +import { telemetry } from './legacy/plugins/telemetry'; +import { encryptedSavedObjects } from './legacy/plugins/encrypted_saved_objects'; +import { snapshotRestore } from './legacy/plugins/snapshot_restore'; module.exports = function (kibana) { return [ diff --git a/x-pack/common/__tests__/poller.js b/x-pack/legacy/common/__tests__/poller.js similarity index 100% rename from x-pack/common/__tests__/poller.js rename to x-pack/legacy/common/__tests__/poller.js diff --git a/x-pack/common/constants/index.ts b/x-pack/legacy/common/constants/index.ts similarity index 100% rename from x-pack/common/constants/index.ts rename to x-pack/legacy/common/constants/index.ts diff --git a/x-pack/common/constants/license_status.ts b/x-pack/legacy/common/constants/license_status.ts similarity index 100% rename from x-pack/common/constants/license_status.ts rename to x-pack/legacy/common/constants/license_status.ts diff --git a/x-pack/common/constants/license_types.ts b/x-pack/legacy/common/constants/license_types.ts similarity index 100% rename from x-pack/common/constants/license_types.ts rename to x-pack/legacy/common/constants/license_types.ts diff --git a/x-pack/common/eui_styled_components/eui_styled_components.tsx b/x-pack/legacy/common/eui_styled_components/eui_styled_components.tsx similarity index 100% rename from x-pack/common/eui_styled_components/eui_styled_components.tsx rename to x-pack/legacy/common/eui_styled_components/eui_styled_components.tsx diff --git a/x-pack/common/eui_styled_components/index.ts b/x-pack/legacy/common/eui_styled_components/index.ts similarity index 100% rename from x-pack/common/eui_styled_components/index.ts rename to x-pack/legacy/common/eui_styled_components/index.ts diff --git a/x-pack/common/poller.d.ts b/x-pack/legacy/common/poller.d.ts similarity index 100% rename from x-pack/common/poller.d.ts rename to x-pack/legacy/common/poller.d.ts diff --git a/x-pack/common/poller.js b/x-pack/legacy/common/poller.js similarity index 100% rename from x-pack/common/poller.js rename to x-pack/legacy/common/poller.js diff --git a/x-pack/plugins/apm/.prettierrc b/x-pack/legacy/plugins/apm/.prettierrc similarity index 100% rename from x-pack/plugins/apm/.prettierrc rename to x-pack/legacy/plugins/apm/.prettierrc diff --git a/x-pack/plugins/apm/CONTRIBUTING.md b/x-pack/legacy/plugins/apm/CONTRIBUTING.md similarity index 100% rename from x-pack/plugins/apm/CONTRIBUTING.md rename to x-pack/legacy/plugins/apm/CONTRIBUTING.md diff --git a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap b/x-pack/legacy/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap rename to x-pack/legacy/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap diff --git a/x-pack/plugins/apm/common/agent_name.ts b/x-pack/legacy/plugins/apm/common/agent_name.ts similarity index 100% rename from x-pack/plugins/apm/common/agent_name.ts rename to x-pack/legacy/plugins/apm/common/agent_name.ts diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.test.ts b/x-pack/legacy/plugins/apm/common/elasticsearch_fieldnames.test.ts similarity index 100% rename from x-pack/plugins/apm/common/elasticsearch_fieldnames.test.ts rename to x-pack/legacy/plugins/apm/common/elasticsearch_fieldnames.test.ts diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts b/x-pack/legacy/plugins/apm/common/elasticsearch_fieldnames.ts similarity index 100% rename from x-pack/plugins/apm/common/elasticsearch_fieldnames.ts rename to x-pack/legacy/plugins/apm/common/elasticsearch_fieldnames.ts diff --git a/x-pack/plugins/apm/common/environment_filter_values.ts b/x-pack/legacy/plugins/apm/common/environment_filter_values.ts similarity index 100% rename from x-pack/plugins/apm/common/environment_filter_values.ts rename to x-pack/legacy/plugins/apm/common/environment_filter_values.ts diff --git a/x-pack/plugins/apm/common/i18n.ts b/x-pack/legacy/plugins/apm/common/i18n.ts similarity index 100% rename from x-pack/plugins/apm/common/i18n.ts rename to x-pack/legacy/plugins/apm/common/i18n.ts diff --git a/x-pack/plugins/apm/common/ml_job_constants.test.ts b/x-pack/legacy/plugins/apm/common/ml_job_constants.test.ts similarity index 100% rename from x-pack/plugins/apm/common/ml_job_constants.test.ts rename to x-pack/legacy/plugins/apm/common/ml_job_constants.test.ts diff --git a/x-pack/plugins/apm/common/ml_job_constants.ts b/x-pack/legacy/plugins/apm/common/ml_job_constants.ts similarity index 100% rename from x-pack/plugins/apm/common/ml_job_constants.ts rename to x-pack/legacy/plugins/apm/common/ml_job_constants.ts diff --git a/x-pack/plugins/apm/index.ts b/x-pack/legacy/plugins/apm/index.ts similarity index 96% rename from x-pack/plugins/apm/index.ts rename to x-pack/legacy/plugins/apm/index.ts index efb7f035dcba9..aac946a36b458 100644 --- a/x-pack/plugins/apm/index.ts +++ b/x-pack/legacy/plugins/apm/index.ts @@ -10,8 +10,8 @@ import { resolve } from 'path'; import { InternalCoreSetup, PluginInitializerContext -} from '../../../src/core/server'; -import { LegacyPluginInitializer } from '../../../src/legacy/types'; +} from '../../../../src/core/server'; +import { LegacyPluginInitializer } from '../../../../src/legacy/types'; import mappings from './mappings.json'; import { plugin } from './server/new-platform/index'; diff --git a/x-pack/plugins/apm/mappings.json b/x-pack/legacy/plugins/apm/mappings.json similarity index 100% rename from x-pack/plugins/apm/mappings.json rename to x-pack/legacy/plugins/apm/mappings.json diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/ErrorTabs.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/ErrorTabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/ErrorTabs.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/ErrorTabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/StickyErrorProperties.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/StickyErrorProperties.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/StickyErrorProperties.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/StickyErrorProperties.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/StickyErrorProperties.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/DetailView/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/Distribution/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupDetails/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupDetails/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupDetails/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/List.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/List.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/List.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/List.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/__snapshots__/List.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/props.json b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/props.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/props.json rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/__test__/props.json diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/List/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ErrorGroupOverview/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ErrorGroupOverview/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ErrorGroupOverview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/GlobalHelpExtension/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/GlobalHelpExtension/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/GlobalHelpExtension/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/GlobalHelpExtension/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/Home.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/Home.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/Home.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/Home.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/ProvideBreadcrumbs.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/ProvideBreadcrumbs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/ProvideBreadcrumbs.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/ProvideBreadcrumbs.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/ScrollToTopOnPathChange.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/ScrollToTopOnPathChange.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/ScrollToTopOnPathChange.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/ScrollToTopOnPathChange.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/UpdateBreadcrumbs.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/UpdateBreadcrumbs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/UpdateBreadcrumbs.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/UpdateBreadcrumbs.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/__test__/Home.test.js b/x-pack/legacy/plugins/apm/public/components/app/Main/__test__/Home.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/__test__/Home.test.js rename to x-pack/legacy/plugins/apm/public/components/app/Main/__test__/Home.test.js diff --git a/x-pack/plugins/apm/public/components/app/Main/__test__/ProvideBreadcrumbs.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/__test__/ProvideBreadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/__test__/ProvideBreadcrumbs.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/__test__/ProvideBreadcrumbs.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/__test__/UpdateBreadcrumbs.test.js b/x-pack/legacy/plugins/apm/public/components/app/Main/__test__/UpdateBreadcrumbs.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/__test__/UpdateBreadcrumbs.test.js rename to x-pack/legacy/plugins/apm/public/components/app/Main/__test__/UpdateBreadcrumbs.test.js diff --git a/x-pack/plugins/apm/public/components/app/Main/__test__/__snapshots__/Home.test.js.snap b/x-pack/legacy/plugins/apm/public/components/app/Main/__test__/__snapshots__/Home.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/__test__/__snapshots__/Home.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/app/Main/__test__/__snapshots__/Home.test.js.snap diff --git a/x-pack/plugins/apm/public/components/app/Main/__test__/__snapshots__/UpdateBreadcrumbs.test.js.snap b/x-pack/legacy/plugins/apm/public/components/app/Main/__test__/__snapshots__/UpdateBreadcrumbs.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/__test__/__snapshots__/UpdateBreadcrumbs.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/app/Main/__test__/__snapshots__/UpdateBreadcrumbs.test.js.snap diff --git a/x-pack/plugins/apm/public/components/app/Main/routeConfig.tsx b/x-pack/legacy/plugins/apm/public/components/app/Main/routeConfig.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/routeConfig.tsx rename to x-pack/legacy/plugins/apm/public/components/app/Main/routeConfig.tsx diff --git a/x-pack/plugins/apm/public/components/app/Main/useUpdateBadgeEffect.ts b/x-pack/legacy/plugins/apm/public/components/app/Main/useUpdateBadgeEffect.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/Main/useUpdateBadgeEffect.ts rename to x-pack/legacy/plugins/apm/public/components/app/Main/useUpdateBadgeEffect.ts diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/MetricsChart.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/MetricsChart.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/MetricsChart.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/MetricsChart.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceDetailTabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/TransactionSelect.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/TransactionSelect.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/TransactionSelect.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/TransactionSelect.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/view.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/view.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/view.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/MachineLearningFlyout/view.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/WatcherFlyout.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/WatcherFlyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/WatcherFlyout.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/WatcherFlyout.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/__snapshots__/createErrorGroupWatch.test.ts.snap b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/__snapshots__/createErrorGroupWatch.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/__snapshots__/createErrorGroupWatch.test.ts.snap rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/__snapshots__/createErrorGroupWatch.test.ts.snap diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/createErrorGroupWatch.test.ts b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/createErrorGroupWatch.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/createErrorGroupWatch.test.ts rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/createErrorGroupWatch.test.ts diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/esResponse.ts b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/esResponse.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/esResponse.ts rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/__test__/esResponse.ts diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/createErrorGroupWatch.ts b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/createErrorGroupWatch.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/createErrorGroupWatch.ts rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/createErrorGroupWatch.ts diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceIntegrations/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceMetrics.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceMetrics.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/ServiceMetrics.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/ServiceMetrics.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceDetails/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceDetails/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceDetails/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/NoServicesMessage.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/NoServicesMessage.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/NoServicesMessage.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/NoServicesMessage.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/List.test.js b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/List.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/List.test.js rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/List.test.js diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/__snapshots__/List.test.js.snap b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/__snapshots__/List.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/__snapshots__/List.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/__snapshots__/List.test.js.snap diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/props.json b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/props.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/props.json rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/__test__/props.json diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/ServiceList/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/ServiceList/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/NoServicesMessage.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/NoServicesMessage.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/NoServicesMessage.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/NoServicesMessage.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/ServiceOverview.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/ServiceOverview.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/ServiceOverview.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/ServiceOverview.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/NoServicesMessage.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/NoServicesMessage.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/NoServicesMessage.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/NoServicesMessage.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/__test__/__snapshots__/ServiceOverview.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/ServiceOverview/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/ServiceOverview/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/ServiceOverview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TraceOverview/TraceList.tsx b/x-pack/legacy/plugins/apm/public/components/app/TraceOverview/TraceList.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TraceOverview/TraceList.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TraceOverview/TraceList.tsx diff --git a/x-pack/plugins/apm/public/components/app/TraceOverview/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TraceOverview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TraceOverview/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TraceOverview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/__jest__/distribution.test.js b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Distribution/__jest__/distribution.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/__jest__/distribution.test.js rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Distribution/__jest__/distribution.test.js diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/ErrorCountBadge.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/ErrorCountBadge.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/ErrorCountBadge.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/ErrorCountBadge.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/TransactionTabs.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/TransactionTabs.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/TransactionTabs.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/TransactionTabs.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/ServiceLegends.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/ServiceLegends.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/ServiceLegends.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/ServiceLegends.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/FlyoutTopLevelProperties.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/FlyoutTopLevelProperties.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/FlyoutTopLevelProperties.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/FlyoutTopLevelProperties.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/ResponsiveFlyout.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/ResponsiveFlyout.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/ResponsiveFlyout.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/ResponsiveFlyout.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/DatabaseContext.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/DatabaseContext.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/DatabaseContext.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/DatabaseContext.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/HttpContext.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/HttpContext.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/HttpContext.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/HttpContext.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/StickySpanProperties.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/StickySpanProperties.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/StickySpanProperties.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/StickySpanProperties.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/TruncateHeightSection.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/TruncateHeightSection.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/TruncateHeightSection.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/TruncateHeightSection.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/SpanFlyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/DroppedSpansWarning.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/DroppedSpansWarning.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/DroppedSpansWarning.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/DroppedSpansWarning.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/TransactionFlyout/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/WaterfallItem.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/WaterfallItem.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/WaterfallItem.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/WaterfallItem.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/spans.json b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/spans.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/spans.json rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/spans.json diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/transaction.json b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/transaction.json similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/transaction.json rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/mock_responses/transaction.json diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.test.ts diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.test.ts b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.test.ts rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.test.ts diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.ts b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.ts rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/get_agent_marks.ts diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/WaterfallContainer/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/Transaction/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionDetails/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionDetails/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/List/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/List/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionOverview/List/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/List/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/TransactionOverview.test.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/__jest__/TransactionOverview.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/TransactionOverview.test.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/__jest__/TransactionOverview.test.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/__jest__/__snapshots__/TransactionOverview.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx b/x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionOverview/index.tsx rename to x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/index.tsx diff --git a/x-pack/plugins/apm/public/components/app/TransactionOverview/useRedirect.ts b/x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/useRedirect.ts similarity index 100% rename from x-pack/plugins/apm/public/components/app/TransactionOverview/useRedirect.ts rename to x-pack/legacy/plugins/apm/public/components/app/TransactionOverview/useRedirect.ts diff --git a/x-pack/plugins/apm/public/components/shared/ApmHeader/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/ApmHeader/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ApmHeader/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/ApmHeader/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/DatePicker/__test__/DatePicker.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/DatePicker/__test__/DatePicker.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/DatePicker/__test__/DatePicker.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/DatePicker/__test__/DatePicker.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/DatePicker/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/DatePicker/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/FormattedValue.tsx b/x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/FormattedValue.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/FormattedValue.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/FormattedValue.tsx diff --git a/x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/__test__/DottedKeyValueTable.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/__test__/DottedKeyValueTable.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/__test__/DottedKeyValueTable.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/__test__/DottedKeyValueTable.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/DottedKeyValueTable/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/DottedKeyValueTable/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/EmptyMessage.tsx b/x-pack/legacy/plugins/apm/public/components/shared/EmptyMessage.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/EmptyMessage.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/EmptyMessage.tsx diff --git a/x-pack/plugins/apm/public/components/shared/EnvironmentBadge/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/EnvironmentBadge/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/EnvironmentBadge/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/EnvironmentBadge/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/EnvironmentFilter/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/EnvironmentFilter/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/EnvironmentFilter/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/EnvironmentFilter/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/HistoryTabs.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/__test__/HistoryTabs.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/HistoryTabs.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/__test__/HistoryTabs.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/__test__/__snapshots__/HistoryTabs.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/HistoryTabs/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/HistoryTabs/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/HistoryTabs/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Icons.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Icons.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Icons.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Icons.tsx diff --git a/x-pack/plugins/apm/public/components/shared/ImpactBar/__test__/ImpactBar.test.js b/x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/__test__/ImpactBar.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ImpactBar/__test__/ImpactBar.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/__test__/ImpactBar.test.js diff --git a/x-pack/plugins/apm/public/components/shared/ImpactBar/__test__/__snapshots__/ImpactBar.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/__test__/__snapshots__/ImpactBar.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ImpactBar/__test__/__snapshots__/ImpactBar.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/__test__/__snapshots__/ImpactBar.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/ImpactBar/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/ClickOutside.js b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/ClickOutside.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/ClickOutside.js rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/ClickOutside.js diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestion.js b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestion.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestion.js rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestion.js diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestions.js b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestions.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestions.js rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/Suggestions.js diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/index.js b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/Typeahead/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/Typeahead/index.js diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/get_bool_filter.js b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/get_bool_filter.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/get_bool_filter.js rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/get_bool_filter.js diff --git a/x-pack/plugins/apm/public/components/shared/KueryBar/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/KueryBar/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/KueryBar/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/KueryBar/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/APMLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/APMLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/APMLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/APMLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/APMLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/APMLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/APMLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/APMLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverErrorLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverErrorLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverErrorLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverErrorLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverSpanLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverSpanLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverSpanLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverSpanLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverTransactionLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverTransactionLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverTransactionLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/DiscoverTransactionLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorButton.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorButton.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorButton.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorButton.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverErrorLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverLinks.integration.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverLinks.integration.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverLinks.integration.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverLinks.integration.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionButton.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionButton.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionButton.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionButton.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/DiscoverTransactionLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorButton.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorButton.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorButton.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorButton.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorLink.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorLink.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorLink.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverErrorLink.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionButton.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionButton.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionButton.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionButton.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionLink.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionLink.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionLink.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/__snapshots__/DiscoverTransactionLink.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/mockTransaction.json b/x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/mockTransaction.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/mockTransaction.json rename to x-pack/legacy/plugins/apm/public/components/shared/Links/DiscoverLinks/__test__/mockTransaction.json diff --git a/x-pack/plugins/apm/public/components/shared/Links/ElasticDocsLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/ElasticDocsLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/ElasticDocsLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/ElasticDocsLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/InfraLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/InfraLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/InfraLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/InfraLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/InfraLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/InfraLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/InfraLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/InfraLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/KibanaLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/KibanaLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/KibanaLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/KibanaLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/KibanaLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/KibanaLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/KibanaLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/KibanaLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLJobLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/SetupInstructionsLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/SetupInstructionsLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/SetupInstructionsLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/SetupInstructionsLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/TransactionLink.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/TransactionLink.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/TransactionLink.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/TransactionLink.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/rison_helpers.ts b/x-pack/legacy/plugins/apm/public/components/shared/Links/rison_helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/rison_helpers.ts rename to x-pack/legacy/plugins/apm/public/components/shared/Links/rison_helpers.ts diff --git a/x-pack/plugins/apm/public/components/shared/Links/url_helpers.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Links/url_helpers.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/url_helpers.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Links/url_helpers.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Links/url_helpers.ts b/x-pack/legacy/plugins/apm/public/components/shared/Links/url_helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Links/url_helpers.ts rename to x-pack/legacy/plugins/apm/public/components/shared/Links/url_helpers.ts diff --git a/x-pack/plugins/apm/public/components/shared/ManagedTable/__test__/ManagedTable.test.js b/x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/__test__/ManagedTable.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ManagedTable/__test__/ManagedTable.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/__test__/ManagedTable.test.js diff --git a/x-pack/plugins/apm/public/components/shared/ManagedTable/__test__/__snapshots__/ManagedTable.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/__test__/__snapshots__/ManagedTable.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ManagedTable/__test__/__snapshots__/ManagedTable.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/__test__/__snapshots__/ManagedTable.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/ManagedTable/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/ManagedTable/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/ManagedTable/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/__test__/ErrorMetadata.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/__test__/ErrorMetadata.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/__test__/ErrorMetadata.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/__test__/ErrorMetadata.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/__test__/TransactionMetadata.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/__test__/TransactionMetadata.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/__test__/TransactionMetadata.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/__test__/TransactionMetadata.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/sectionLabels.ts b/x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/sectionLabels.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/MetadataTable/sectionLabels.ts rename to x-pack/legacy/plugins/apm/public/components/shared/MetadataTable/sectionLabels.ts diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/Context.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Context.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/Context.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Context.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/FrameHeading.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/FrameHeading.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/FrameHeading.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/FrameHeading.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/LibraryStackFrames.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/LibraryStackFrames.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/LibraryStackFrames.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/LibraryStackFrames.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/Stackframe.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Stackframe.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/Stackframe.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Stackframe.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/Variables.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Variables.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/Variables.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/Variables.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/Stackframe.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/Stackframe.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/Stackframe.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/Stackframe.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/Stackframe.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/Stackframe.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/Stackframe.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/Stackframe.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/index.test.ts.snap b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/index.test.ts.snap rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/index.test.ts b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/index.test.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/index.test.ts rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/index.test.ts diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/stacktraces.json b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/stacktraces.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/__test__/stacktraces.json rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/__test__/stacktraces.json diff --git a/x-pack/plugins/apm/public/components/shared/Stacktrace/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/Stacktrace/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/Stacktrace/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/StickyProperties/StickyProperties.test.js b/x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/StickyProperties.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/StickyProperties/StickyProperties.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/StickyProperties.test.js diff --git a/x-pack/plugins/apm/public/components/shared/StickyProperties/__snapshots__/StickyProperties.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/__snapshots__/StickyProperties.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/StickyProperties/__snapshots__/StickyProperties.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/__snapshots__/StickyProperties.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/StickyProperties/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/StickyProperties/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/StickyProperties/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/TransactionActionMenu.tsx diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/TransactionActionMenu.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/TransactionActionMenu.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/TransactionActionMenu.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/TransactionActionMenu.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap rename to x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/__snapshots__/TransactionActionMenu.test.tsx.snap diff --git a/x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/mockData.ts b/x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/mockData.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/TransactionActionMenu/__test__/mockData.ts rename to x-pack/legacy/plugins/apm/public/components/shared/TransactionActionMenu/__test__/mockData.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/InteractivePlot.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/InteractivePlot.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/InteractivePlot.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/InteractivePlot.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/Legends.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/Legends.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/Legends.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/Legends.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/SelectionMarker.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/SelectionMarker.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/SelectionMarker.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/SelectionMarker.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/StaticPlot.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/StaticPlot.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/StaticPlot.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/StaticPlot.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/StatusText.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/StatusText.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/StatusText.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/StatusText.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/VoronoiPlot.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/VoronoiPlot.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/VoronoiPlot.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/VoronoiPlot.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/getEmptySeries.ts b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/getEmptySeries.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/getEmptySeries.ts rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/getEmptySeries.ts diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/index.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/index.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/plotUtils.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/plotUtils.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/plotUtils.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/plotUtils.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/CustomPlot.test.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/CustomPlot.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/CustomPlot.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/CustomPlot.test.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/__snapshots__/CustomPlot.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/__snapshots__/CustomPlot.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/__snapshots__/CustomPlot.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/__snapshots__/CustomPlot.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/responseWithData.json b/x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/responseWithData.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/CustomPlot/test/responseWithData.json rename to x-pack/legacy/plugins/apm/public/components/shared/charts/CustomPlot/test/responseWithData.json diff --git a/x-pack/plugins/apm/public/components/shared/charts/Histogram/SingleRect.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/SingleRect.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Histogram/SingleRect.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/SingleRect.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/Histogram.test.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/Histogram.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/Histogram.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/Histogram.test.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/__snapshots__/Histogram.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/__snapshots__/Histogram.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/__snapshots__/Histogram.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/__snapshots__/Histogram.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/response.json b/x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/response.json similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Histogram/__test__/response.json rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/__test__/response.json diff --git a/x-pack/plugins/apm/public/components/shared/charts/Histogram/index.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Histogram/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Histogram/index.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Legend/index.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Legend/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Legend/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Legend/index.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/SyncChartGroup/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/charts/SyncChartGroup/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/SyncChartGroup/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/charts/SyncChartGroup/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/AgentMarker.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/AgentMarker.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/AgentMarker.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/AgentMarker.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/LastTickValue.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/LastTickValue.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/LastTickValue.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/LastTickValue.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/TimelineAxis.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/TimelineAxis.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/TimelineAxis.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/TimelineAxis.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/VerticalLines.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/VerticalLines.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/VerticalLines.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/VerticalLines.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/__test__/Timeline.test.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/__test__/Timeline.test.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/__test__/Timeline.test.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/__test__/Timeline.test.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/__test__/__snapshots__/Timeline.test.js.snap b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/__test__/__snapshots__/Timeline.test.js.snap similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/__test__/__snapshots__/Timeline.test.js.snap rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/__test__/__snapshots__/Timeline.test.js.snap diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/index.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/index.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Timeline/plotUtils.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/plotUtils.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Timeline/plotUtils.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Timeline/plotUtils.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/Tooltip/index.js b/x-pack/legacy/plugins/apm/public/components/shared/charts/Tooltip/index.js similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/Tooltip/index.js rename to x-pack/legacy/plugins/apm/public/components/shared/charts/Tooltip/index.js diff --git a/x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/index.tsx b/x-pack/legacy/plugins/apm/public/components/shared/charts/TransactionCharts/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/index.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/charts/TransactionCharts/index.tsx diff --git a/x-pack/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.ts b/x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.ts rename to x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/Delayed/index.ts diff --git a/x-pack/plugins/apm/public/components/shared/useDelayedVisibility/index.test.tsx b/x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/index.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/components/shared/useDelayedVisibility/index.test.tsx rename to x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/index.test.tsx diff --git a/x-pack/plugins/apm/public/components/shared/useDelayedVisibility/index.ts b/x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/index.ts similarity index 100% rename from x-pack/plugins/apm/public/components/shared/useDelayedVisibility/index.ts rename to x-pack/legacy/plugins/apm/public/components/shared/useDelayedVisibility/index.ts diff --git a/x-pack/plugins/apm/public/context/LicenseContext/InvalidLicenseNotification.tsx b/x-pack/legacy/plugins/apm/public/context/LicenseContext/InvalidLicenseNotification.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/LicenseContext/InvalidLicenseNotification.tsx rename to x-pack/legacy/plugins/apm/public/context/LicenseContext/InvalidLicenseNotification.tsx diff --git a/x-pack/plugins/apm/public/context/LicenseContext/index.tsx b/x-pack/legacy/plugins/apm/public/context/LicenseContext/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/LicenseContext/index.tsx rename to x-pack/legacy/plugins/apm/public/context/LicenseContext/index.tsx diff --git a/x-pack/plugins/apm/public/context/LoadingIndicatorContext.tsx b/x-pack/legacy/plugins/apm/public/context/LoadingIndicatorContext.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/LoadingIndicatorContext.tsx rename to x-pack/legacy/plugins/apm/public/context/LoadingIndicatorContext.tsx diff --git a/x-pack/plugins/apm/public/context/LocationContext.tsx b/x-pack/legacy/plugins/apm/public/context/LocationContext.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/LocationContext.tsx rename to x-pack/legacy/plugins/apm/public/context/LocationContext.tsx diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/__tests__/UrlParamsContext.test.tsx b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/__tests__/UrlParamsContext.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/__tests__/UrlParamsContext.test.tsx rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/__tests__/UrlParamsContext.test.tsx diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/constants.ts b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/constants.ts similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/constants.ts rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/constants.ts diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/helpers.ts b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/helpers.ts similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/helpers.ts rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/helpers.ts diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/index.tsx b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/index.tsx rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/index.tsx diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/resolveUrlParams.ts b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/resolveUrlParams.ts similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/resolveUrlParams.ts rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/resolveUrlParams.ts diff --git a/x-pack/plugins/apm/public/context/UrlParamsContext/types.ts b/x-pack/legacy/plugins/apm/public/context/UrlParamsContext/types.ts similarity index 100% rename from x-pack/plugins/apm/public/context/UrlParamsContext/types.ts rename to x-pack/legacy/plugins/apm/public/context/UrlParamsContext/types.ts diff --git a/x-pack/plugins/apm/public/hacks/toggle_app_link_in_nav.ts b/x-pack/legacy/plugins/apm/public/hacks/toggle_app_link_in_nav.ts similarity index 100% rename from x-pack/plugins/apm/public/hacks/toggle_app_link_in_nav.ts rename to x-pack/legacy/plugins/apm/public/hacks/toggle_app_link_in_nav.ts diff --git a/x-pack/plugins/apm/public/hooks/useAPMIndexPattern.tsx b/x-pack/legacy/plugins/apm/public/hooks/useAPMIndexPattern.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useAPMIndexPattern.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useAPMIndexPattern.tsx diff --git a/x-pack/plugins/apm/public/hooks/useComponentId.tsx b/x-pack/legacy/plugins/apm/public/hooks/useComponentId.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useComponentId.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useComponentId.tsx diff --git a/x-pack/plugins/apm/public/hooks/useFetcher.integration.test.tsx b/x-pack/legacy/plugins/apm/public/hooks/useFetcher.integration.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useFetcher.integration.test.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useFetcher.integration.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/useFetcher.test.tsx b/x-pack/legacy/plugins/apm/public/hooks/useFetcher.test.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useFetcher.test.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useFetcher.test.tsx diff --git a/x-pack/plugins/apm/public/hooks/useFetcher.tsx b/x-pack/legacy/plugins/apm/public/hooks/useFetcher.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useFetcher.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useFetcher.tsx diff --git a/x-pack/plugins/apm/public/hooks/useLocation.tsx b/x-pack/legacy/plugins/apm/public/hooks/useLocation.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useLocation.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useLocation.tsx diff --git a/x-pack/plugins/apm/public/hooks/useServiceMetricCharts.ts b/x-pack/legacy/plugins/apm/public/hooks/useServiceMetricCharts.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useServiceMetricCharts.ts rename to x-pack/legacy/plugins/apm/public/hooks/useServiceMetricCharts.ts diff --git a/x-pack/plugins/apm/public/hooks/useTransactionDetailsCharts.ts b/x-pack/legacy/plugins/apm/public/hooks/useTransactionDetailsCharts.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useTransactionDetailsCharts.ts rename to x-pack/legacy/plugins/apm/public/hooks/useTransactionDetailsCharts.ts diff --git a/x-pack/plugins/apm/public/hooks/useTransactionDistribution.ts b/x-pack/legacy/plugins/apm/public/hooks/useTransactionDistribution.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useTransactionDistribution.ts rename to x-pack/legacy/plugins/apm/public/hooks/useTransactionDistribution.ts diff --git a/x-pack/plugins/apm/public/hooks/useTransactionList.ts b/x-pack/legacy/plugins/apm/public/hooks/useTransactionList.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useTransactionList.ts rename to x-pack/legacy/plugins/apm/public/hooks/useTransactionList.ts diff --git a/x-pack/plugins/apm/public/hooks/useTransactionOverviewCharts.ts b/x-pack/legacy/plugins/apm/public/hooks/useTransactionOverviewCharts.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useTransactionOverviewCharts.ts rename to x-pack/legacy/plugins/apm/public/hooks/useTransactionOverviewCharts.ts diff --git a/x-pack/plugins/apm/public/hooks/useUrlParams.tsx b/x-pack/legacy/plugins/apm/public/hooks/useUrlParams.tsx similarity index 100% rename from x-pack/plugins/apm/public/hooks/useUrlParams.tsx rename to x-pack/legacy/plugins/apm/public/hooks/useUrlParams.tsx diff --git a/x-pack/plugins/apm/public/hooks/useWaterfall.ts b/x-pack/legacy/plugins/apm/public/hooks/useWaterfall.ts similarity index 100% rename from x-pack/plugins/apm/public/hooks/useWaterfall.ts rename to x-pack/legacy/plugins/apm/public/hooks/useWaterfall.ts diff --git a/x-pack/plugins/apm/public/icon.svg b/x-pack/legacy/plugins/apm/public/icon.svg similarity index 100% rename from x-pack/plugins/apm/public/icon.svg rename to x-pack/legacy/plugins/apm/public/icon.svg diff --git a/x-pack/plugins/apm/public/images/apm-ml-anomaly-detection-example.png b/x-pack/legacy/plugins/apm/public/images/apm-ml-anomaly-detection-example.png similarity index 100% rename from x-pack/plugins/apm/public/images/apm-ml-anomaly-detection-example.png rename to x-pack/legacy/plugins/apm/public/images/apm-ml-anomaly-detection-example.png diff --git a/x-pack/plugins/apm/public/index.scss b/x-pack/legacy/plugins/apm/public/index.scss similarity index 100% rename from x-pack/plugins/apm/public/index.scss rename to x-pack/legacy/plugins/apm/public/index.scss diff --git a/x-pack/plugins/apm/public/index.tsx b/x-pack/legacy/plugins/apm/public/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/index.tsx rename to x-pack/legacy/plugins/apm/public/index.tsx diff --git a/x-pack/plugins/apm/public/new-platform/index.tsx b/x-pack/legacy/plugins/apm/public/new-platform/index.tsx similarity index 100% rename from x-pack/plugins/apm/public/new-platform/index.tsx rename to x-pack/legacy/plugins/apm/public/new-platform/index.tsx diff --git a/x-pack/plugins/apm/public/new-platform/plugin.tsx b/x-pack/legacy/plugins/apm/public/new-platform/plugin.tsx similarity index 100% rename from x-pack/plugins/apm/public/new-platform/plugin.tsx rename to x-pack/legacy/plugins/apm/public/new-platform/plugin.tsx diff --git a/x-pack/plugins/apm/public/register_feature.js b/x-pack/legacy/plugins/apm/public/register_feature.js similarity index 100% rename from x-pack/plugins/apm/public/register_feature.js rename to x-pack/legacy/plugins/apm/public/register_feature.js diff --git a/x-pack/plugins/apm/public/selectors/__tests__/chartSelectors.test.ts b/x-pack/legacy/plugins/apm/public/selectors/__tests__/chartSelectors.test.ts similarity index 100% rename from x-pack/plugins/apm/public/selectors/__tests__/chartSelectors.test.ts rename to x-pack/legacy/plugins/apm/public/selectors/__tests__/chartSelectors.test.ts diff --git a/x-pack/plugins/apm/public/selectors/__tests__/mockData/anomalyData.ts b/x-pack/legacy/plugins/apm/public/selectors/__tests__/mockData/anomalyData.ts similarity index 100% rename from x-pack/plugins/apm/public/selectors/__tests__/mockData/anomalyData.ts rename to x-pack/legacy/plugins/apm/public/selectors/__tests__/mockData/anomalyData.ts diff --git a/x-pack/plugins/apm/public/selectors/chartSelectors.ts b/x-pack/legacy/plugins/apm/public/selectors/chartSelectors.ts similarity index 100% rename from x-pack/plugins/apm/public/selectors/chartSelectors.ts rename to x-pack/legacy/plugins/apm/public/selectors/chartSelectors.ts diff --git a/x-pack/plugins/apm/public/services/__test__/SessionStorageMock.ts b/x-pack/legacy/plugins/apm/public/services/__test__/SessionStorageMock.ts similarity index 100% rename from x-pack/plugins/apm/public/services/__test__/SessionStorageMock.ts rename to x-pack/legacy/plugins/apm/public/services/__test__/SessionStorageMock.ts diff --git a/x-pack/plugins/apm/public/services/__test__/callApi.test.ts b/x-pack/legacy/plugins/apm/public/services/__test__/callApi.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/__test__/callApi.test.ts rename to x-pack/legacy/plugins/apm/public/services/__test__/callApi.test.ts diff --git a/x-pack/plugins/apm/public/services/kuery.ts b/x-pack/legacy/plugins/apm/public/services/kuery.ts similarity index 100% rename from x-pack/plugins/apm/public/services/kuery.ts rename to x-pack/legacy/plugins/apm/public/services/kuery.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/error_groups.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/error_groups.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/error_groups.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/error_groups.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/metrics.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/metrics.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/metrics.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/metrics.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/services.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/services.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/services.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/services.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/traces.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/traces.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/traces.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/traces.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/transaction_groups.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/transaction_groups.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/transaction_groups.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/transaction_groups.ts diff --git a/x-pack/plugins/apm/public/services/rest/apm/ui_filters.ts b/x-pack/legacy/plugins/apm/public/services/rest/apm/ui_filters.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/apm/ui_filters.ts rename to x-pack/legacy/plugins/apm/public/services/rest/apm/ui_filters.ts diff --git a/x-pack/plugins/apm/public/services/rest/callApi.ts b/x-pack/legacy/plugins/apm/public/services/rest/callApi.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/callApi.ts rename to x-pack/legacy/plugins/apm/public/services/rest/callApi.ts diff --git a/x-pack/plugins/apm/public/services/rest/ml.ts b/x-pack/legacy/plugins/apm/public/services/rest/ml.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/ml.ts rename to x-pack/legacy/plugins/apm/public/services/rest/ml.ts diff --git a/x-pack/plugins/apm/public/services/rest/savedObjects.ts b/x-pack/legacy/plugins/apm/public/services/rest/savedObjects.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/savedObjects.ts rename to x-pack/legacy/plugins/apm/public/services/rest/savedObjects.ts diff --git a/x-pack/plugins/apm/public/services/rest/watcher.js b/x-pack/legacy/plugins/apm/public/services/rest/watcher.js similarity index 100% rename from x-pack/plugins/apm/public/services/rest/watcher.js rename to x-pack/legacy/plugins/apm/public/services/rest/watcher.js diff --git a/x-pack/plugins/apm/public/services/rest/xpack.ts b/x-pack/legacy/plugins/apm/public/services/rest/xpack.ts similarity index 100% rename from x-pack/plugins/apm/public/services/rest/xpack.ts rename to x-pack/legacy/plugins/apm/public/services/rest/xpack.ts diff --git a/x-pack/plugins/apm/public/services/ui_filters/__test__/get_environment_ui_filter_es.test.ts b/x-pack/legacy/plugins/apm/public/services/ui_filters/__test__/get_environment_ui_filter_es.test.ts similarity index 100% rename from x-pack/plugins/apm/public/services/ui_filters/__test__/get_environment_ui_filter_es.test.ts rename to x-pack/legacy/plugins/apm/public/services/ui_filters/__test__/get_environment_ui_filter_es.test.ts diff --git a/x-pack/plugins/apm/public/services/ui_filters/get_environment_ui_filter_es.ts b/x-pack/legacy/plugins/apm/public/services/ui_filters/get_environment_ui_filter_es.ts similarity index 100% rename from x-pack/plugins/apm/public/services/ui_filters/get_environment_ui_filter_es.ts rename to x-pack/legacy/plugins/apm/public/services/ui_filters/get_environment_ui_filter_es.ts diff --git a/x-pack/plugins/apm/public/services/ui_filters/get_kuery_ui_filter_es.ts b/x-pack/legacy/plugins/apm/public/services/ui_filters/get_kuery_ui_filter_es.ts similarity index 100% rename from x-pack/plugins/apm/public/services/ui_filters/get_kuery_ui_filter_es.ts rename to x-pack/legacy/plugins/apm/public/services/ui_filters/get_kuery_ui_filter_es.ts diff --git a/x-pack/plugins/apm/public/services/ui_filters/get_ui_filters_es.ts b/x-pack/legacy/plugins/apm/public/services/ui_filters/get_ui_filters_es.ts similarity index 100% rename from x-pack/plugins/apm/public/services/ui_filters/get_ui_filters_es.ts rename to x-pack/legacy/plugins/apm/public/services/ui_filters/get_ui_filters_es.ts diff --git a/x-pack/plugins/apm/public/style/global_overrides.css b/x-pack/legacy/plugins/apm/public/style/global_overrides.css similarity index 100% rename from x-pack/plugins/apm/public/style/global_overrides.css rename to x-pack/legacy/plugins/apm/public/style/global_overrides.css diff --git a/x-pack/plugins/apm/public/style/variables.ts b/x-pack/legacy/plugins/apm/public/style/variables.ts similarity index 100% rename from x-pack/plugins/apm/public/style/variables.ts rename to x-pack/legacy/plugins/apm/public/style/variables.ts diff --git a/x-pack/plugins/apm/public/templates/index.html b/x-pack/legacy/plugins/apm/public/templates/index.html similarity index 100% rename from x-pack/plugins/apm/public/templates/index.html rename to x-pack/legacy/plugins/apm/public/templates/index.html diff --git a/x-pack/plugins/apm/public/utils/__test__/formatters.test.ts b/x-pack/legacy/plugins/apm/public/utils/__test__/formatters.test.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/__test__/formatters.test.ts rename to x-pack/legacy/plugins/apm/public/utils/__test__/formatters.test.ts diff --git a/x-pack/plugins/apm/public/utils/formatters.ts b/x-pack/legacy/plugins/apm/public/utils/formatters.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/formatters.ts rename to x-pack/legacy/plugins/apm/public/utils/formatters.ts diff --git a/x-pack/plugins/apm/public/utils/history.ts b/x-pack/legacy/plugins/apm/public/utils/history.ts similarity index 100% rename from x-pack/plugins/apm/public/utils/history.ts rename to x-pack/legacy/plugins/apm/public/utils/history.ts diff --git a/x-pack/plugins/apm/public/utils/testHelpers.tsx b/x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx similarity index 100% rename from x-pack/plugins/apm/public/utils/testHelpers.tsx rename to x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx diff --git a/x-pack/plugins/apm/readme.md b/x-pack/legacy/plugins/apm/readme.md similarity index 81% rename from x-pack/plugins/apm/readme.md rename to x-pack/legacy/plugins/apm/readme.md index d82fd0050340c..cb240cce42556 100644 --- a/x-pack/plugins/apm/readme.md +++ b/x-pack/legacy/plugins/apm/readme.md @@ -18,12 +18,12 @@ Note: Run the following commands from `kibana/`. ### Prettier ``` -yarn prettier "./x-pack/plugins/apm/**/*.{tsx,ts,js}" --write +yarn prettier "./x-pack/legacy/plugins/apm/**/*.{tsx,ts,js}" --write ``` ### ESLint ``` -yarn eslint ./x-pack/plugins/apm --fix +yarn eslint ./x-pack/legacy/plugins/apm --fix ``` ### Ensure everything from master has been backported to 6.x diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/__test__/apm_telemetry.test.ts b/x-pack/legacy/plugins/apm/server/lib/apm_telemetry/__test__/apm_telemetry.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/__test__/apm_telemetry.test.ts rename to x-pack/legacy/plugins/apm/server/lib/apm_telemetry/__test__/apm_telemetry.test.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/apm_telemetry.ts b/x-pack/legacy/plugins/apm/server/lib/apm_telemetry/apm_telemetry.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/apm_telemetry.ts rename to x-pack/legacy/plugins/apm/server/lib/apm_telemetry/apm_telemetry.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/index.ts b/x-pack/legacy/plugins/apm/server/lib/apm_telemetry/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/index.ts rename to x-pack/legacy/plugins/apm/server/lib/apm_telemetry/index.ts diff --git a/x-pack/plugins/apm/server/lib/apm_telemetry/make_apm_usage_collector.ts b/x-pack/legacy/plugins/apm/server/lib/apm_telemetry/make_apm_usage_collector.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/apm_telemetry/make_apm_usage_collector.ts rename to x-pack/legacy/plugins/apm/server/lib/apm_telemetry/make_apm_usage_collector.ts diff --git a/x-pack/plugins/apm/server/lib/errors/distribution/__tests__/__snapshots__/get_buckets.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/errors/distribution/__tests__/__snapshots__/get_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/distribution/__tests__/__snapshots__/get_buckets.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/errors/distribution/__tests__/__snapshots__/get_buckets.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/errors/distribution/__tests__/get_buckets.test.ts b/x-pack/legacy/plugins/apm/server/lib/errors/distribution/__tests__/get_buckets.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/distribution/__tests__/get_buckets.test.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/distribution/__tests__/get_buckets.test.ts diff --git a/x-pack/plugins/apm/server/lib/errors/distribution/get_buckets.ts b/x-pack/legacy/plugins/apm/server/lib/errors/distribution/get_buckets.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/distribution/get_buckets.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/distribution/get_buckets.ts diff --git a/x-pack/plugins/apm/server/lib/errors/distribution/get_distribution.ts b/x-pack/legacy/plugins/apm/server/lib/errors/distribution/get_distribution.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/distribution/get_distribution.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/distribution/get_distribution.ts diff --git a/x-pack/plugins/apm/server/lib/errors/get_error_group.ts b/x-pack/legacy/plugins/apm/server/lib/errors/get_error_group.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/get_error_group.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/get_error_group.ts diff --git a/x-pack/plugins/apm/server/lib/errors/get_error_groups.ts b/x-pack/legacy/plugins/apm/server/lib/errors/get_error_groups.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/get_error_groups.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/get_error_groups.ts diff --git a/x-pack/plugins/apm/server/lib/errors/get_trace_errors_per_transaction.ts b/x-pack/legacy/plugins/apm/server/lib/errors/get_trace_errors_per_transaction.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/errors/get_trace_errors_per_transaction.ts rename to x-pack/legacy/plugins/apm/server/lib/errors/get_trace_errors_per_transaction.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/es_client.test.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/es_client.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/es_client.test.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/es_client.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/es_client.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/es_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/es_client.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/es_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/calculate_auto.js b/x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/calculate_auto.js similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_bucket_size/calculate_auto.js rename to x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/calculate_auto.js diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_bucket_size/index.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/index.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/get_bucket_size/unit_to_seconds.js b/x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/unit_to_seconds.js similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/get_bucket_size/unit_to_seconds.js rename to x-pack/legacy/plugins/apm/server/lib/helpers/get_bucket_size/unit_to_seconds.js diff --git a/x-pack/plugins/apm/server/lib/helpers/input_validation.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/input_validation.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/input_validation.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/input_validation.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/metrics.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/metrics.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/metrics.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/range_filter.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/range_filter.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/range_filter.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/range_filter.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/saved_objects_client.test.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/saved_objects_client.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/saved_objects_client.test.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/saved_objects_client.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/saved_objects_client.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/saved_objects_client.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/saved_objects_client.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/saved_objects_client.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/setup_request.test.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/setup_request.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/setup_request.test.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/setup_request.test.ts diff --git a/x-pack/plugins/apm/server/lib/helpers/setup_request.ts b/x-pack/legacy/plugins/apm/server/lib/helpers/setup_request.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/helpers/setup_request.ts rename to x-pack/legacy/plugins/apm/server/lib/helpers/setup_request.ts diff --git a/x-pack/plugins/apm/server/lib/index_pattern/index.ts b/x-pack/legacy/plugins/apm/server/lib/index_pattern/index.ts similarity index 89% rename from x-pack/plugins/apm/server/lib/index_pattern/index.ts rename to x-pack/legacy/plugins/apm/server/lib/index_pattern/index.ts index cb099d11e1dda..aa9e27ed2442a 100644 --- a/x-pack/plugins/apm/server/lib/index_pattern/index.ts +++ b/x-pack/legacy/plugins/apm/server/lib/index_pattern/index.ts @@ -5,7 +5,7 @@ */ import { InternalCoreSetup } from 'src/core/server'; import { getSavedObjectsClient } from '../helpers/saved_objects_client'; -import apmIndexPattern from '../../../../../../src/legacy/core_plugins/kibana/server/tutorials/apm/index_pattern.json'; +import apmIndexPattern from '../../../../../../../src/legacy/core_plugins/kibana/server/tutorials/apm/index_pattern.json'; export async function getIndexPattern(core: InternalCoreSetup) { const { server } = core.http; diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/default.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/default.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/default.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/default.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/heap_memory/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/heap_memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/java/heap_memory/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/heap_memory/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/java/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/non_heap_memory/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/non_heap_memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/java/non_heap_memory/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/non_heap_memory/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/java/thread_count/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/thread_count/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/java/thread_count/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/java/thread_count/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/fetch_and_transform_metrics.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/fetch_and_transform_metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/fetch_and_transform_metrics.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/fetch_and_transform_metrics.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/get_metrics_chart_data_by_agent.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/get_metrics_chart_data_by_agent.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/get_metrics_chart_data_by_agent.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/get_metrics_chart_data_by_agent.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/transform_metrics_chart.test.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/transform_metrics_chart.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/transform_metrics_chart.test.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/transform_metrics_chart.test.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/transform_metrics_chart.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/transform_metrics_chart.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/transform_metrics_chart.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/transform_metrics_chart.ts diff --git a/x-pack/plugins/apm/server/lib/metrics/types.ts b/x-pack/legacy/plugins/apm/server/lib/metrics/types.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/metrics/types.ts rename to x-pack/legacy/plugins/apm/server/lib/metrics/types.ts diff --git a/x-pack/plugins/apm/server/lib/services/get_service.ts b/x-pack/legacy/plugins/apm/server/lib/services/get_service.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/services/get_service.ts rename to x-pack/legacy/plugins/apm/server/lib/services/get_service.ts diff --git a/x-pack/plugins/apm/server/lib/services/get_services/get_agent_status.ts b/x-pack/legacy/plugins/apm/server/lib/services/get_services/get_agent_status.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/services/get_services/get_agent_status.ts rename to x-pack/legacy/plugins/apm/server/lib/services/get_services/get_agent_status.ts diff --git a/x-pack/plugins/apm/server/lib/services/get_services/get_legacy_data_status.ts b/x-pack/legacy/plugins/apm/server/lib/services/get_services/get_legacy_data_status.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/services/get_services/get_legacy_data_status.ts rename to x-pack/legacy/plugins/apm/server/lib/services/get_services/get_legacy_data_status.ts diff --git a/x-pack/plugins/apm/server/lib/services/get_services/get_services_items.ts b/x-pack/legacy/plugins/apm/server/lib/services/get_services/get_services_items.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/services/get_services/get_services_items.ts rename to x-pack/legacy/plugins/apm/server/lib/services/get_services/get_services_items.ts diff --git a/x-pack/plugins/apm/server/lib/services/get_services/index.ts b/x-pack/legacy/plugins/apm/server/lib/services/get_services/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/services/get_services/index.ts rename to x-pack/legacy/plugins/apm/server/lib/services/get_services/index.ts diff --git a/x-pack/plugins/apm/server/lib/traces/get_top_traces.ts b/x-pack/legacy/plugins/apm/server/lib/traces/get_top_traces.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/traces/get_top_traces.ts rename to x-pack/legacy/plugins/apm/server/lib/traces/get_top_traces.ts diff --git a/x-pack/plugins/apm/server/lib/traces/get_trace.ts b/x-pack/legacy/plugins/apm/server/lib/traces/get_trace.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/traces/get_trace.ts rename to x-pack/legacy/plugins/apm/server/lib/traces/get_trace.ts diff --git a/x-pack/plugins/apm/server/lib/traces/get_trace_items.ts b/x-pack/legacy/plugins/apm/server/lib/traces/get_trace_items.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/traces/get_trace_items.ts rename to x-pack/legacy/plugins/apm/server/lib/traces/get_trace_items.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/__snapshots__/fetcher.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/__snapshots__/fetcher.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/__snapshots__/fetcher.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/__snapshots__/fetcher.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/__snapshots__/transform.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/__snapshots__/transform.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/fetcher.test.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/fetcher.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/fetcher.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/fetcher.test.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/fetcher.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/fetcher.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/fetcher.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/fetcher.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/index.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/index.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/mock-responses/transactionGroupsResponse.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/mock-responses/transactionGroupsResponse.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/mock-responses/transactionGroupsResponse.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/mock-responses/transactionGroupsResponse.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/transform.test.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/transform.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/transform.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/transform.test.ts diff --git a/x-pack/plugins/apm/server/lib/transaction_groups/transform.ts b/x-pack/legacy/plugins/apm/server/lib/transaction_groups/transform.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transaction_groups/transform.ts rename to x-pack/legacy/plugins/apm/server/lib/transaction_groups/transform.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/fetcher.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/fetcher.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/fetcher.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/fetcher.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/index.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/index.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/transform.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/transform.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.test.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.test.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/fetcher.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/get_ml_bucket_size.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/get_ml_bucket_size.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/get_ml_bucket_size.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/get_ml_bucket_size.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.test.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.test.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlAnomalyResponse.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlAnomalyResponse.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlAnomalyResponse.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlAnomalyResponse.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlBucketSpanResponse.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlBucketSpanResponse.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlBucketSpanResponse.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/mock-responses/mlBucketSpanResponse.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.test.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.test.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_anomaly_data/transform.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/fetcher.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/fetcher.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/fetcher.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/fetcher.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/transform.test.ts.snap b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/transform.test.ts.snap rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.test.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.test.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/fetcher.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/mock-responses/timeseries_response.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/mock-responses/timeseries_response.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/mock-responses/timeseries_response.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/mock-responses/timeseries_response.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.test.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.test.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.test.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.test.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/get_timeseries_data/transform.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/charts/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/charts/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/charts/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/charts/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/distribution/calculate_bucket_size.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/distribution/calculate_bucket_size.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/distribution/calculate_bucket_size.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/distribution/calculate_bucket_size.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/fetcher.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/fetcher.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/fetcher.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/fetcher.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/transform.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/transform.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/distribution/get_buckets/transform.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/distribution/get_buckets/transform.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/distribution/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/distribution/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/distribution/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/distribution/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/get_top_transactions/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/get_top_transactions/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/get_top_transactions/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/get_top_transactions/index.ts diff --git a/x-pack/plugins/apm/server/lib/transactions/get_transaction/index.ts b/x-pack/legacy/plugins/apm/server/lib/transactions/get_transaction/index.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/transactions/get_transaction/index.ts rename to x-pack/legacy/plugins/apm/server/lib/transactions/get_transaction/index.ts diff --git a/x-pack/plugins/apm/server/lib/ui_filters/get_environments.ts b/x-pack/legacy/plugins/apm/server/lib/ui_filters/get_environments.ts similarity index 100% rename from x-pack/plugins/apm/server/lib/ui_filters/get_environments.ts rename to x-pack/legacy/plugins/apm/server/lib/ui_filters/get_environments.ts diff --git a/x-pack/plugins/apm/server/new-platform/index.ts b/x-pack/legacy/plugins/apm/server/new-platform/index.ts similarity index 100% rename from x-pack/plugins/apm/server/new-platform/index.ts rename to x-pack/legacy/plugins/apm/server/new-platform/index.ts diff --git a/x-pack/plugins/apm/server/new-platform/plugin.ts b/x-pack/legacy/plugins/apm/server/new-platform/plugin.ts similarity index 100% rename from x-pack/plugins/apm/server/new-platform/plugin.ts rename to x-pack/legacy/plugins/apm/server/new-platform/plugin.ts diff --git a/x-pack/plugins/apm/server/routes/__test__/routeFailures.test.ts b/x-pack/legacy/plugins/apm/server/routes/__test__/routeFailures.test.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/__test__/routeFailures.test.ts rename to x-pack/legacy/plugins/apm/server/routes/__test__/routeFailures.test.ts diff --git a/x-pack/plugins/apm/server/routes/errors.ts b/x-pack/legacy/plugins/apm/server/routes/errors.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/errors.ts rename to x-pack/legacy/plugins/apm/server/routes/errors.ts diff --git a/x-pack/plugins/apm/server/routes/index_pattern.ts b/x-pack/legacy/plugins/apm/server/routes/index_pattern.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/index_pattern.ts rename to x-pack/legacy/plugins/apm/server/routes/index_pattern.ts diff --git a/x-pack/plugins/apm/server/routes/metrics.ts b/x-pack/legacy/plugins/apm/server/routes/metrics.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/metrics.ts rename to x-pack/legacy/plugins/apm/server/routes/metrics.ts diff --git a/x-pack/plugins/apm/server/routes/services.ts b/x-pack/legacy/plugins/apm/server/routes/services.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/services.ts rename to x-pack/legacy/plugins/apm/server/routes/services.ts diff --git a/x-pack/plugins/apm/server/routes/traces.ts b/x-pack/legacy/plugins/apm/server/routes/traces.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/traces.ts rename to x-pack/legacy/plugins/apm/server/routes/traces.ts diff --git a/x-pack/plugins/apm/server/routes/transaction_groups.ts b/x-pack/legacy/plugins/apm/server/routes/transaction_groups.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/transaction_groups.ts rename to x-pack/legacy/plugins/apm/server/routes/transaction_groups.ts diff --git a/x-pack/plugins/apm/server/routes/ui_filters.ts b/x-pack/legacy/plugins/apm/server/routes/ui_filters.ts similarity index 100% rename from x-pack/plugins/apm/server/routes/ui_filters.ts rename to x-pack/legacy/plugins/apm/server/routes/ui_filters.ts diff --git a/x-pack/plugins/apm/typings/common.ts b/x-pack/legacy/plugins/apm/typings/common.ts similarity index 100% rename from x-pack/plugins/apm/typings/common.ts rename to x-pack/legacy/plugins/apm/typings/common.ts diff --git a/x-pack/plugins/apm/typings/elasticsearch.ts b/x-pack/legacy/plugins/apm/typings/elasticsearch.ts similarity index 100% rename from x-pack/plugins/apm/typings/elasticsearch.ts rename to x-pack/legacy/plugins/apm/typings/elasticsearch.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/APMBaseDoc.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/APMBaseDoc.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/APMBaseDoc.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/APMBaseDoc.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/ErrorRaw.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/ErrorRaw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/ErrorRaw.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/ErrorRaw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/SpanRaw.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/SpanRaw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/SpanRaw.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/SpanRaw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/TransactionRaw.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/TransactionRaw.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/TransactionRaw.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/TransactionRaw.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Container.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Container.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Container.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Container.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Context.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Context.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Context.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Context.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Host.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Host.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Host.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Host.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Http.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Http.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Http.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Http.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Kubernetes.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Kubernetes.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Kubernetes.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Kubernetes.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Process.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Process.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Process.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Process.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Service.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Service.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Service.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Service.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Stackframe.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Stackframe.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Stackframe.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Stackframe.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/Url.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Url.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/Url.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/Url.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/User.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/User.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/User.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/User.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/fields/UserAgent.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/UserAgent.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/raw/fields/UserAgent.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/raw/fields/UserAgent.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/APMError.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/ui/APMError.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/APMError.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/ui/APMError.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/Span.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/ui/Span.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/Span.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/ui/Span.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/Transaction.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/ui/Transaction.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/Transaction.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/ui/Transaction.ts diff --git a/x-pack/plugins/apm/typings/es_schemas/ui/fields/Agent.ts b/x-pack/legacy/plugins/apm/typings/es_schemas/ui/fields/Agent.ts similarity index 100% rename from x-pack/plugins/apm/typings/es_schemas/ui/fields/Agent.ts rename to x-pack/legacy/plugins/apm/typings/es_schemas/ui/fields/Agent.ts diff --git a/x-pack/plugins/apm/typings/global_types.d.ts b/x-pack/legacy/plugins/apm/typings/global_types.d.ts similarity index 100% rename from x-pack/plugins/apm/typings/global_types.d.ts rename to x-pack/legacy/plugins/apm/typings/global_types.d.ts diff --git a/x-pack/plugins/apm/typings/lodash.mean.d.ts b/x-pack/legacy/plugins/apm/typings/lodash.mean.d.ts similarity index 100% rename from x-pack/plugins/apm/typings/lodash.mean.d.ts rename to x-pack/legacy/plugins/apm/typings/lodash.mean.d.ts diff --git a/x-pack/plugins/apm/typings/numeral.d.ts b/x-pack/legacy/plugins/apm/typings/numeral.d.ts similarity index 100% rename from x-pack/plugins/apm/typings/numeral.d.ts rename to x-pack/legacy/plugins/apm/typings/numeral.d.ts diff --git a/x-pack/plugins/apm/typings/timeseries.ts b/x-pack/legacy/plugins/apm/typings/timeseries.ts similarity index 100% rename from x-pack/plugins/apm/typings/timeseries.ts rename to x-pack/legacy/plugins/apm/typings/timeseries.ts diff --git a/x-pack/plugins/apm/typings/ui-filters.ts b/x-pack/legacy/plugins/apm/typings/ui-filters.ts similarity index 100% rename from x-pack/plugins/apm/typings/ui-filters.ts rename to x-pack/legacy/plugins/apm/typings/ui-filters.ts diff --git a/x-pack/plugins/beats_management/common/config_block_validation.ts b/x-pack/legacy/plugins/beats_management/common/config_block_validation.ts similarity index 100% rename from x-pack/plugins/beats_management/common/config_block_validation.ts rename to x-pack/legacy/plugins/beats_management/common/config_block_validation.ts diff --git a/x-pack/plugins/beats_management/common/config_schemas.ts b/x-pack/legacy/plugins/beats_management/common/config_schemas.ts similarity index 100% rename from x-pack/plugins/beats_management/common/config_schemas.ts rename to x-pack/legacy/plugins/beats_management/common/config_schemas.ts diff --git a/x-pack/plugins/beats_management/common/config_schemas_translations_map.ts b/x-pack/legacy/plugins/beats_management/common/config_schemas_translations_map.ts similarity index 100% rename from x-pack/plugins/beats_management/common/config_schemas_translations_map.ts rename to x-pack/legacy/plugins/beats_management/common/config_schemas_translations_map.ts diff --git a/x-pack/plugins/beats_management/common/constants/configuration_blocks.ts b/x-pack/legacy/plugins/beats_management/common/constants/configuration_blocks.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/configuration_blocks.ts rename to x-pack/legacy/plugins/beats_management/common/constants/configuration_blocks.ts diff --git a/x-pack/plugins/beats_management/common/constants/index.ts b/x-pack/legacy/plugins/beats_management/common/constants/index.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/index.ts rename to x-pack/legacy/plugins/beats_management/common/constants/index.ts diff --git a/x-pack/plugins/beats_management/common/constants/index_names.ts b/x-pack/legacy/plugins/beats_management/common/constants/index_names.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/index_names.ts rename to x-pack/legacy/plugins/beats_management/common/constants/index_names.ts diff --git a/x-pack/plugins/beats_management/common/constants/plugin.ts b/x-pack/legacy/plugins/beats_management/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/plugin.ts rename to x-pack/legacy/plugins/beats_management/common/constants/plugin.ts diff --git a/x-pack/plugins/beats_management/common/constants/security.ts b/x-pack/legacy/plugins/beats_management/common/constants/security.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/security.ts rename to x-pack/legacy/plugins/beats_management/common/constants/security.ts diff --git a/x-pack/plugins/beats_management/common/constants/table.ts b/x-pack/legacy/plugins/beats_management/common/constants/table.ts similarity index 100% rename from x-pack/plugins/beats_management/common/constants/table.ts rename to x-pack/legacy/plugins/beats_management/common/constants/table.ts diff --git a/x-pack/plugins/beats_management/common/domain_types.ts b/x-pack/legacy/plugins/beats_management/common/domain_types.ts similarity index 100% rename from x-pack/plugins/beats_management/common/domain_types.ts rename to x-pack/legacy/plugins/beats_management/common/domain_types.ts diff --git a/x-pack/plugins/beats_management/common/io_ts_types.ts b/x-pack/legacy/plugins/beats_management/common/io_ts_types.ts similarity index 100% rename from x-pack/plugins/beats_management/common/io_ts_types.ts rename to x-pack/legacy/plugins/beats_management/common/io_ts_types.ts diff --git a/x-pack/plugins/beats_management/common/return_types.ts b/x-pack/legacy/plugins/beats_management/common/return_types.ts similarity index 100% rename from x-pack/plugins/beats_management/common/return_types.ts rename to x-pack/legacy/plugins/beats_management/common/return_types.ts diff --git a/x-pack/plugins/beats_management/index.ts b/x-pack/legacy/plugins/beats_management/index.ts similarity index 100% rename from x-pack/plugins/beats_management/index.ts rename to x-pack/legacy/plugins/beats_management/index.ts diff --git a/x-pack/plugins/beats_management/public/components/autocomplete_field/index.tsx b/x-pack/legacy/plugins/beats_management/public/components/autocomplete_field/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/autocomplete_field/index.tsx rename to x-pack/legacy/plugins/beats_management/public/components/autocomplete_field/index.tsx diff --git a/x-pack/plugins/beats_management/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/legacy/plugins/beats_management/public/components/autocomplete_field/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/autocomplete_field/suggestion_item.tsx rename to x-pack/legacy/plugins/beats_management/public/components/autocomplete_field/suggestion_item.tsx diff --git a/x-pack/plugins/beats_management/public/components/config_list.tsx b/x-pack/legacy/plugins/beats_management/public/components/config_list.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/config_list.tsx rename to x-pack/legacy/plugins/beats_management/public/components/config_list.tsx diff --git a/x-pack/plugins/beats_management/public/components/enroll_beats.tsx b/x-pack/legacy/plugins/beats_management/public/components/enroll_beats.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/enroll_beats.tsx rename to x-pack/legacy/plugins/beats_management/public/components/enroll_beats.tsx diff --git a/x-pack/plugins/beats_management/public/components/inputs/code_editor.tsx b/x-pack/legacy/plugins/beats_management/public/components/inputs/code_editor.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/code_editor.tsx rename to x-pack/legacy/plugins/beats_management/public/components/inputs/code_editor.tsx diff --git a/x-pack/plugins/beats_management/public/components/inputs/index.ts b/x-pack/legacy/plugins/beats_management/public/components/inputs/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/index.ts rename to x-pack/legacy/plugins/beats_management/public/components/inputs/index.ts diff --git a/x-pack/plugins/beats_management/public/components/inputs/input.tsx b/x-pack/legacy/plugins/beats_management/public/components/inputs/input.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/input.tsx rename to x-pack/legacy/plugins/beats_management/public/components/inputs/input.tsx diff --git a/x-pack/plugins/beats_management/public/components/inputs/multi_input.tsx b/x-pack/legacy/plugins/beats_management/public/components/inputs/multi_input.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/multi_input.tsx rename to x-pack/legacy/plugins/beats_management/public/components/inputs/multi_input.tsx diff --git a/x-pack/plugins/beats_management/public/components/inputs/password_input.tsx b/x-pack/legacy/plugins/beats_management/public/components/inputs/password_input.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/password_input.tsx rename to x-pack/legacy/plugins/beats_management/public/components/inputs/password_input.tsx diff --git a/x-pack/plugins/beats_management/public/components/inputs/select.tsx b/x-pack/legacy/plugins/beats_management/public/components/inputs/select.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/inputs/select.tsx rename to x-pack/legacy/plugins/beats_management/public/components/inputs/select.tsx diff --git a/x-pack/plugins/beats_management/public/components/layouts/background.tsx b/x-pack/legacy/plugins/beats_management/public/components/layouts/background.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/layouts/background.tsx rename to x-pack/legacy/plugins/beats_management/public/components/layouts/background.tsx diff --git a/x-pack/plugins/beats_management/public/components/layouts/no_data.tsx b/x-pack/legacy/plugins/beats_management/public/components/layouts/no_data.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/layouts/no_data.tsx rename to x-pack/legacy/plugins/beats_management/public/components/layouts/no_data.tsx diff --git a/x-pack/plugins/beats_management/public/components/layouts/primary.tsx b/x-pack/legacy/plugins/beats_management/public/components/layouts/primary.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/layouts/primary.tsx rename to x-pack/legacy/plugins/beats_management/public/components/layouts/primary.tsx diff --git a/x-pack/plugins/beats_management/public/components/layouts/walkthrough.tsx b/x-pack/legacy/plugins/beats_management/public/components/layouts/walkthrough.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/layouts/walkthrough.tsx rename to x-pack/legacy/plugins/beats_management/public/components/layouts/walkthrough.tsx diff --git a/x-pack/plugins/beats_management/public/components/loading.tsx b/x-pack/legacy/plugins/beats_management/public/components/loading.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/loading.tsx rename to x-pack/legacy/plugins/beats_management/public/components/loading.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/breadcrumb.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/breadcrumb.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/breadcrumb.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/breadcrumb.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/consumer.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/consumer.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/consumer.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/consumer.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/context.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/context.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/context.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/context.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/index.ts b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/index.ts rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/index.ts diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/provider.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/provider.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/provider.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/provider.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/breadcrumb/types.d.ts b/x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/types.d.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/breadcrumb/types.d.ts rename to x-pack/legacy/plugins/beats_management/public/components/navigation/breadcrumb/types.d.ts diff --git a/x-pack/plugins/beats_management/public/components/navigation/child_routes.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/child_routes.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/child_routes.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/child_routes.tsx diff --git a/x-pack/plugins/beats_management/public/components/navigation/connected_link.tsx b/x-pack/legacy/plugins/beats_management/public/components/navigation/connected_link.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/navigation/connected_link.tsx rename to x-pack/legacy/plugins/beats_management/public/components/navigation/connected_link.tsx diff --git a/x-pack/plugins/beats_management/public/components/table/action_schema.ts b/x-pack/legacy/plugins/beats_management/public/components/table/action_schema.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/action_schema.ts rename to x-pack/legacy/plugins/beats_management/public/components/table/action_schema.ts diff --git a/x-pack/plugins/beats_management/public/components/table/controls/action_control.tsx b/x-pack/legacy/plugins/beats_management/public/components/table/controls/action_control.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/controls/action_control.tsx rename to x-pack/legacy/plugins/beats_management/public/components/table/controls/action_control.tsx diff --git a/x-pack/plugins/beats_management/public/components/table/controls/index.ts b/x-pack/legacy/plugins/beats_management/public/components/table/controls/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/controls/index.ts rename to x-pack/legacy/plugins/beats_management/public/components/table/controls/index.ts diff --git a/x-pack/plugins/beats_management/public/components/table/controls/option_control.tsx b/x-pack/legacy/plugins/beats_management/public/components/table/controls/option_control.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/controls/option_control.tsx rename to x-pack/legacy/plugins/beats_management/public/components/table/controls/option_control.tsx diff --git a/x-pack/plugins/beats_management/public/components/table/controls/tag_badge_list.tsx b/x-pack/legacy/plugins/beats_management/public/components/table/controls/tag_badge_list.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/controls/tag_badge_list.tsx rename to x-pack/legacy/plugins/beats_management/public/components/table/controls/tag_badge_list.tsx diff --git a/x-pack/plugins/beats_management/public/components/table/index.ts b/x-pack/legacy/plugins/beats_management/public/components/table/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/index.ts rename to x-pack/legacy/plugins/beats_management/public/components/table/index.ts diff --git a/x-pack/plugins/beats_management/public/components/table/table.tsx b/x-pack/legacy/plugins/beats_management/public/components/table/table.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/table.tsx rename to x-pack/legacy/plugins/beats_management/public/components/table/table.tsx diff --git a/x-pack/plugins/beats_management/public/components/table/table_type_configs.tsx b/x-pack/legacy/plugins/beats_management/public/components/table/table_type_configs.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/table/table_type_configs.tsx rename to x-pack/legacy/plugins/beats_management/public/components/table/table_type_configs.tsx diff --git a/x-pack/plugins/beats_management/public/components/tag/config_view/config_form.tsx b/x-pack/legacy/plugins/beats_management/public/components/tag/config_view/config_form.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/tag/config_view/config_form.tsx rename to x-pack/legacy/plugins/beats_management/public/components/tag/config_view/config_form.tsx diff --git a/x-pack/plugins/beats_management/public/components/tag/config_view/index.tsx b/x-pack/legacy/plugins/beats_management/public/components/tag/config_view/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/tag/config_view/index.tsx rename to x-pack/legacy/plugins/beats_management/public/components/tag/config_view/index.tsx diff --git a/x-pack/plugins/beats_management/public/components/tag/index.ts b/x-pack/legacy/plugins/beats_management/public/components/tag/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/components/tag/index.ts rename to x-pack/legacy/plugins/beats_management/public/components/tag/index.ts diff --git a/x-pack/plugins/beats_management/public/components/tag/tag_badge.tsx b/x-pack/legacy/plugins/beats_management/public/components/tag/tag_badge.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/tag/tag_badge.tsx rename to x-pack/legacy/plugins/beats_management/public/components/tag/tag_badge.tsx diff --git a/x-pack/plugins/beats_management/public/components/tag/tag_edit.tsx b/x-pack/legacy/plugins/beats_management/public/components/tag/tag_edit.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/components/tag/tag_edit.tsx rename to x-pack/legacy/plugins/beats_management/public/components/tag/tag_edit.tsx diff --git a/x-pack/plugins/beats_management/public/containers/beats.ts b/x-pack/legacy/plugins/beats_management/public/containers/beats.ts similarity index 100% rename from x-pack/plugins/beats_management/public/containers/beats.ts rename to x-pack/legacy/plugins/beats_management/public/containers/beats.ts diff --git a/x-pack/plugins/beats_management/public/containers/tags.ts b/x-pack/legacy/plugins/beats_management/public/containers/tags.ts similarity index 100% rename from x-pack/plugins/beats_management/public/containers/tags.ts rename to x-pack/legacy/plugins/beats_management/public/containers/tags.ts diff --git a/x-pack/plugins/beats_management/public/containers/with_kuery_autocompletion.tsx b/x-pack/legacy/plugins/beats_management/public/containers/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/containers/with_kuery_autocompletion.tsx rename to x-pack/legacy/plugins/beats_management/public/containers/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/beats_management/public/containers/with_url_state.tsx b/x-pack/legacy/plugins/beats_management/public/containers/with_url_state.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/containers/with_url_state.tsx rename to x-pack/legacy/plugins/beats_management/public/containers/with_url_state.tsx diff --git a/x-pack/plugins/beats_management/public/frontend_types.d.ts b/x-pack/legacy/plugins/beats_management/public/frontend_types.d.ts similarity index 100% rename from x-pack/plugins/beats_management/public/frontend_types.d.ts rename to x-pack/legacy/plugins/beats_management/public/frontend_types.d.ts diff --git a/x-pack/plugins/beats_management/public/index.tsx b/x-pack/legacy/plugins/beats_management/public/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/index.tsx rename to x-pack/legacy/plugins/beats_management/public/index.tsx diff --git a/x-pack/plugins/beats_management/public/lib/__tests__/config_blocks.test.ts b/x-pack/legacy/plugins/beats_management/public/lib/__tests__/config_blocks.test.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/__tests__/config_blocks.test.ts rename to x-pack/legacy/plugins/beats_management/public/lib/__tests__/config_blocks.test.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/beats/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/beats/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/beats/memory_beats_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/memory_beats_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/beats/memory_beats_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/memory_beats_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/beats/rest_beats_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/rest_beats_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/beats/rest_beats_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/beats/rest_beats_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/memory_config_blocks_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/memory_config_blocks_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/memory_config_blocks_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/memory_config_blocks_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/rest_config_blocks_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/rest_config_blocks_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/configuration_blocks/rest_config_blocks_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/configuration_blocks/rest_config_blocks_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/memory.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/memory.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/memory.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/memory.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/framework/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/framework/testing_framework_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/testing_framework_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/framework/testing_framework_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/framework/testing_framework_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/rest_api/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/rest_api/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/rest_api/axios_rest_api_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/axios_rest_api_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/rest_api/axios_rest_api_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/axios_rest_api_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts similarity index 98% rename from x-pack/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts index 9104d8a88b6b8..ffe46e31dd4e8 100644 --- a/x-pack/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts +++ b/x-pack/legacy/plugins/beats_management/public/lib/adapters/rest_api/node_axios_api_adapter.ts @@ -10,7 +10,7 @@ import { join, resolve } from 'path'; import { FlatObject } from '../../../frontend_types'; import { RestAPIAdapter } from './adapter_types'; const pkg = JSON.parse( - fs.readFileSync(resolve(join(__dirname, '../../../../../../../package.json'))).toString() + fs.readFileSync(resolve(join(__dirname, '../../../../../../../../package.json'))).toString() ); let globalAPI: AxiosInstance; diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tags/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tags/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tags/memory_tags_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/memory_tags_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tags/memory_tags_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/memory_tags_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tags/rest_tags_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/rest_tags_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tags/rest_tags_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tags/rest_tags_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tokens/adapter_types.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tokens/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/adapter_types.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tokens/memory_tokens_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/memory_tokens_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tokens/memory_tokens_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/memory_tokens_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/adapters/tokens/rest_tokens_adapter.ts b/x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/rest_tokens_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/adapters/tokens/rest_tokens_adapter.ts rename to x-pack/legacy/plugins/beats_management/public/lib/adapters/tokens/rest_tokens_adapter.ts diff --git a/x-pack/plugins/beats_management/public/lib/beats.ts b/x-pack/legacy/plugins/beats_management/public/lib/beats.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/beats.ts rename to x-pack/legacy/plugins/beats_management/public/lib/beats.ts diff --git a/x-pack/plugins/beats_management/public/lib/compose/kibana.ts b/x-pack/legacy/plugins/beats_management/public/lib/compose/kibana.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/compose/kibana.ts rename to x-pack/legacy/plugins/beats_management/public/lib/compose/kibana.ts diff --git a/x-pack/plugins/beats_management/public/lib/compose/memory.ts b/x-pack/legacy/plugins/beats_management/public/lib/compose/memory.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/compose/memory.ts rename to x-pack/legacy/plugins/beats_management/public/lib/compose/memory.ts diff --git a/x-pack/plugins/beats_management/public/lib/compose/scripts.ts b/x-pack/legacy/plugins/beats_management/public/lib/compose/scripts.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/compose/scripts.ts rename to x-pack/legacy/plugins/beats_management/public/lib/compose/scripts.ts diff --git a/x-pack/plugins/beats_management/public/lib/configuration_blocks.ts b/x-pack/legacy/plugins/beats_management/public/lib/configuration_blocks.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/configuration_blocks.ts rename to x-pack/legacy/plugins/beats_management/public/lib/configuration_blocks.ts diff --git a/x-pack/plugins/beats_management/public/lib/elasticsearch.ts b/x-pack/legacy/plugins/beats_management/public/lib/elasticsearch.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/elasticsearch.ts rename to x-pack/legacy/plugins/beats_management/public/lib/elasticsearch.ts diff --git a/x-pack/plugins/beats_management/public/lib/framework.ts b/x-pack/legacy/plugins/beats_management/public/lib/framework.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/framework.ts rename to x-pack/legacy/plugins/beats_management/public/lib/framework.ts diff --git a/x-pack/plugins/beats_management/public/lib/tags.ts b/x-pack/legacy/plugins/beats_management/public/lib/tags.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/tags.ts rename to x-pack/legacy/plugins/beats_management/public/lib/tags.ts diff --git a/x-pack/plugins/beats_management/public/lib/types.ts b/x-pack/legacy/plugins/beats_management/public/lib/types.ts similarity index 100% rename from x-pack/plugins/beats_management/public/lib/types.ts rename to x-pack/legacy/plugins/beats_management/public/lib/types.ts diff --git a/x-pack/plugins/beats_management/public/pages/__404.tsx b/x-pack/legacy/plugins/beats_management/public/pages/__404.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/__404.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/__404.tsx diff --git a/x-pack/plugins/beats_management/public/pages/beat/details.tsx b/x-pack/legacy/plugins/beats_management/public/pages/beat/details.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/beat/details.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/beat/details.tsx diff --git a/x-pack/plugins/beats_management/public/pages/beat/index.tsx b/x-pack/legacy/plugins/beats_management/public/pages/beat/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/beat/index.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/beat/index.tsx diff --git a/x-pack/plugins/beats_management/public/pages/beat/tags.tsx b/x-pack/legacy/plugins/beats_management/public/pages/beat/tags.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/beat/tags.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/beat/tags.tsx diff --git a/x-pack/plugins/beats_management/public/pages/error/enforce_security.tsx b/x-pack/legacy/plugins/beats_management/public/pages/error/enforce_security.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/error/enforce_security.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/error/enforce_security.tsx diff --git a/x-pack/plugins/beats_management/public/pages/error/invalid_license.tsx b/x-pack/legacy/plugins/beats_management/public/pages/error/invalid_license.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/error/invalid_license.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/error/invalid_license.tsx diff --git a/x-pack/plugins/beats_management/public/pages/error/no_access.tsx b/x-pack/legacy/plugins/beats_management/public/pages/error/no_access.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/error/no_access.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/error/no_access.tsx diff --git a/x-pack/plugins/beats_management/public/pages/index.ts b/x-pack/legacy/plugins/beats_management/public/pages/index.ts similarity index 100% rename from x-pack/plugins/beats_management/public/pages/index.ts rename to x-pack/legacy/plugins/beats_management/public/pages/index.ts diff --git a/x-pack/plugins/beats_management/public/pages/overview/configuration_tags.tsx b/x-pack/legacy/plugins/beats_management/public/pages/overview/configuration_tags.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/overview/configuration_tags.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/overview/configuration_tags.tsx diff --git a/x-pack/plugins/beats_management/public/pages/overview/enrolled_beats.tsx b/x-pack/legacy/plugins/beats_management/public/pages/overview/enrolled_beats.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/overview/enrolled_beats.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/overview/enrolled_beats.tsx diff --git a/x-pack/plugins/beats_management/public/pages/overview/index.tsx b/x-pack/legacy/plugins/beats_management/public/pages/overview/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/overview/index.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/overview/index.tsx diff --git a/x-pack/plugins/beats_management/public/pages/tag/create.tsx b/x-pack/legacy/plugins/beats_management/public/pages/tag/create.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/tag/create.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/tag/create.tsx diff --git a/x-pack/plugins/beats_management/public/pages/tag/edit.tsx b/x-pack/legacy/plugins/beats_management/public/pages/tag/edit.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/tag/edit.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/tag/edit.tsx diff --git a/x-pack/plugins/beats_management/public/pages/walkthrough/initial/beat.tsx b/x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/beat.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/walkthrough/initial/beat.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/beat.tsx diff --git a/x-pack/plugins/beats_management/public/pages/walkthrough/initial/finish.tsx b/x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/finish.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/walkthrough/initial/finish.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/finish.tsx diff --git a/x-pack/plugins/beats_management/public/pages/walkthrough/initial/index.tsx b/x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/index.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/walkthrough/initial/index.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/index.tsx diff --git a/x-pack/plugins/beats_management/public/pages/walkthrough/initial/tag.tsx b/x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/tag.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/pages/walkthrough/initial/tag.tsx rename to x-pack/legacy/plugins/beats_management/public/pages/walkthrough/initial/tag.tsx diff --git a/x-pack/plugins/beats_management/public/router.tsx b/x-pack/legacy/plugins/beats_management/public/router.tsx similarity index 100% rename from x-pack/plugins/beats_management/public/router.tsx rename to x-pack/legacy/plugins/beats_management/public/router.tsx diff --git a/x-pack/plugins/beats_management/public/utils/random_eui_color.ts b/x-pack/legacy/plugins/beats_management/public/utils/random_eui_color.ts similarity index 100% rename from x-pack/plugins/beats_management/public/utils/random_eui_color.ts rename to x-pack/legacy/plugins/beats_management/public/utils/random_eui_color.ts diff --git a/x-pack/plugins/beats_management/public/utils/typed_react.ts b/x-pack/legacy/plugins/beats_management/public/utils/typed_react.ts similarity index 100% rename from x-pack/plugins/beats_management/public/utils/typed_react.ts rename to x-pack/legacy/plugins/beats_management/public/utils/typed_react.ts diff --git a/x-pack/plugins/beats_management/readme.md b/x-pack/legacy/plugins/beats_management/readme.md similarity index 100% rename from x-pack/plugins/beats_management/readme.md rename to x-pack/legacy/plugins/beats_management/readme.md diff --git a/x-pack/plugins/beats_management/scripts/enroll.js b/x-pack/legacy/plugins/beats_management/scripts/enroll.js similarity index 100% rename from x-pack/plugins/beats_management/scripts/enroll.js rename to x-pack/legacy/plugins/beats_management/scripts/enroll.js diff --git a/x-pack/plugins/beats_management/scripts/fake_env.ts b/x-pack/legacy/plugins/beats_management/scripts/fake_env.ts similarity index 100% rename from x-pack/plugins/beats_management/scripts/fake_env.ts rename to x-pack/legacy/plugins/beats_management/scripts/fake_env.ts diff --git a/x-pack/plugins/beats_management/server/index_templates/beats_template.json b/x-pack/legacy/plugins/beats_management/server/index_templates/beats_template.json similarity index 100% rename from x-pack/plugins/beats_management/server/index_templates/beats_template.json rename to x-pack/legacy/plugins/beats_management/server/index_templates/beats_template.json diff --git a/x-pack/plugins/beats_management/server/index_templates/events_template.json b/x-pack/legacy/plugins/beats_management/server/index_templates/events_template.json similarity index 100% rename from x-pack/plugins/beats_management/server/index_templates/events_template.json rename to x-pack/legacy/plugins/beats_management/server/index_templates/events_template.json diff --git a/x-pack/plugins/beats_management/server/index_templates/index.ts b/x-pack/legacy/plugins/beats_management/server/index_templates/index.ts similarity index 100% rename from x-pack/plugins/beats_management/server/index_templates/index.ts rename to x-pack/legacy/plugins/beats_management/server/index_templates/index.ts diff --git a/x-pack/plugins/beats_management/server/kibana.index.ts b/x-pack/legacy/plugins/beats_management/server/kibana.index.ts similarity index 100% rename from x-pack/plugins/beats_management/server/kibana.index.ts rename to x-pack/legacy/plugins/beats_management/server/kibana.index.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/beats/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/beats/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/beats/memory_beats_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/memory_beats_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/beats/memory_beats_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/beats/memory_beats_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/elasticsearch_configuration_block_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/elasticsearch_configuration_block_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/elasticsearch_configuration_block_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/elasticsearch_configuration_block_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/memory_tags_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/memory_tags_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/configuration_blocks/memory_tags_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/configuration_blocks/memory_tags_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts similarity index 93% rename from x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts index daa7735f6f6fa..58e4488647d5b 100644 --- a/x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts +++ b/x-pack/legacy/plugins/beats_management/server/lib/adapters/database/__tests__/kibana.ts @@ -9,7 +9,7 @@ import { createEsTestCluster } from '@kbn/test'; import { Root } from 'src/core/server/root'; // @ts-ignore -import * as kbnTestServer from '../../../../../../../../src/test_utils/kbn_server'; +import * as kbnTestServer from '../../../../../../../../../src/test_utils/kbn_server'; import { DatabaseKbnESPlugin } from '../adapter_types'; import { KibanaDatabaseAdapter } from '../kibana_database_adapter'; import { contractTests } from './test_contract'; diff --git a/x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/test_contract.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/database/__tests__/test_contract.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/database/__tests__/test_contract.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/database/__tests__/test_contract.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/database/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/database/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/database/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/database/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/events/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/events/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/events/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/events/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/events/elasticsearch_beat_events_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/events/elasticsearch_beat_events_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/events/elasticsearch_beat_events_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/events/elasticsearch_beat_events_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/framework/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/framework/hapi_framework_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/hapi_framework_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/framework/hapi_framework_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/hapi_framework_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts similarity index 92% rename from x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts index 5d61c59f0e28a..7a9704f9603a3 100644 --- a/x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts +++ b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/integration_tests/kibana.ts @@ -7,7 +7,7 @@ import { camelCase } from 'lodash'; // @ts-ignore -import * as kbnTestServer from '../../../../../../../../src/test_utils/kbn_server'; +import * as kbnTestServer from '../../../../../../../../../src/test_utils/kbn_server'; // @ts-ignore import { TestKbnServerConfig } from '../../../../../../../test_utils/kbn_server_config'; import { CONFIG_PREFIX } from '../../../../../common/constants/plugin'; diff --git a/x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/test_contract.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/integration_tests/test_contract.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/framework/integration_tests/test_contract.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/integration_tests/test_contract.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tags/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tags/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tags/elasticsearch_tags_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/elasticsearch_tags_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tags/elasticsearch_tags_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/elasticsearch_tags_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tags/memory_tags_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/memory_tags_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tags/memory_tags_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tags/memory_tags_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tokens/adapter_types.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/adapter_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tokens/adapter_types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/adapter_types.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tokens/elasticsearch_tokens_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/elasticsearch_tokens_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tokens/elasticsearch_tokens_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/elasticsearch_tokens_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/adapters/tokens/memory_tokens_adapter.ts b/x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/memory_tokens_adapter.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/adapters/tokens/memory_tokens_adapter.ts rename to x-pack/legacy/plugins/beats_management/server/lib/adapters/tokens/memory_tokens_adapter.ts diff --git a/x-pack/plugins/beats_management/server/lib/beat_events.ts b/x-pack/legacy/plugins/beats_management/server/lib/beat_events.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/beat_events.ts rename to x-pack/legacy/plugins/beats_management/server/lib/beat_events.ts diff --git a/x-pack/plugins/beats_management/server/lib/beats.ts b/x-pack/legacy/plugins/beats_management/server/lib/beats.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/beats.ts rename to x-pack/legacy/plugins/beats_management/server/lib/beats.ts diff --git a/x-pack/plugins/beats_management/server/lib/compose/kibana.ts b/x-pack/legacy/plugins/beats_management/server/lib/compose/kibana.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/compose/kibana.ts rename to x-pack/legacy/plugins/beats_management/server/lib/compose/kibana.ts diff --git a/x-pack/plugins/beats_management/server/lib/compose/testing.ts b/x-pack/legacy/plugins/beats_management/server/lib/compose/testing.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/compose/testing.ts rename to x-pack/legacy/plugins/beats_management/server/lib/compose/testing.ts diff --git a/x-pack/plugins/beats_management/server/lib/configuration_blocks.ts b/x-pack/legacy/plugins/beats_management/server/lib/configuration_blocks.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/configuration_blocks.ts rename to x-pack/legacy/plugins/beats_management/server/lib/configuration_blocks.ts diff --git a/x-pack/plugins/beats_management/server/lib/framework.ts b/x-pack/legacy/plugins/beats_management/server/lib/framework.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/framework.ts rename to x-pack/legacy/plugins/beats_management/server/lib/framework.ts diff --git a/x-pack/plugins/beats_management/server/lib/tags.ts b/x-pack/legacy/plugins/beats_management/server/lib/tags.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/tags.ts rename to x-pack/legacy/plugins/beats_management/server/lib/tags.ts diff --git a/x-pack/plugins/beats_management/server/lib/tokens.ts b/x-pack/legacy/plugins/beats_management/server/lib/tokens.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/tokens.ts rename to x-pack/legacy/plugins/beats_management/server/lib/tokens.ts diff --git a/x-pack/plugins/beats_management/server/lib/types.ts b/x-pack/legacy/plugins/beats_management/server/lib/types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/lib/types.ts rename to x-pack/legacy/plugins/beats_management/server/lib/types.ts diff --git a/x-pack/plugins/beats_management/server/management_server.ts b/x-pack/legacy/plugins/beats_management/server/management_server.ts similarity index 100% rename from x-pack/plugins/beats_management/server/management_server.ts rename to x-pack/legacy/plugins/beats_management/server/management_server.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/__tests__/beats_assignments.test.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/beats_assignments.test.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/__tests__/beats_assignments.test.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/beats_assignments.test.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/__tests__/data.json b/x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/data.json similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/__tests__/data.json rename to x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/data.json diff --git a/x-pack/plugins/beats_management/server/rest_api/__tests__/test_harnes.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/test_harnes.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/__tests__/test_harnes.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/__tests__/test_harnes.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/configuration.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/configuration.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/configuration.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/configuration.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/enroll.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/enroll.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/enroll.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/enroll.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/events.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/events.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/events.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/events.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/get.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/get.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/get.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/get.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/list.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/list.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/list.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/list.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/tag_assignment.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/tag_assignment.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/tag_assignment.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/tag_assignment.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/tag_removal.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/tag_removal.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/tag_removal.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/tag_removal.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/beats/update.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/beats/update.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/beats/update.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/beats/update.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/configurations/delete.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/configurations/delete.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/configurations/delete.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/configurations/delete.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/configurations/get.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/configurations/get.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/configurations/get.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/configurations/get.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/configurations/upsert.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/configurations/upsert.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/configurations/upsert.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/configurations/upsert.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tags/assignable.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tags/assignable.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tags/assignable.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tags/assignable.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tags/delete.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tags/delete.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tags/delete.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tags/delete.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tags/get.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tags/get.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tags/get.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tags/get.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tags/list.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tags/list.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tags/list.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tags/list.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tags/set.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tags/set.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tags/set.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tags/set.ts diff --git a/x-pack/plugins/beats_management/server/rest_api/tokens/create.ts b/x-pack/legacy/plugins/beats_management/server/rest_api/tokens/create.ts similarity index 100% rename from x-pack/plugins/beats_management/server/rest_api/tokens/create.ts rename to x-pack/legacy/plugins/beats_management/server/rest_api/tokens/create.ts diff --git a/x-pack/plugins/beats_management/server/utils/README.md b/x-pack/legacy/plugins/beats_management/server/utils/README.md similarity index 100% rename from x-pack/plugins/beats_management/server/utils/README.md rename to x-pack/legacy/plugins/beats_management/server/utils/README.md diff --git a/x-pack/plugins/beats_management/server/utils/find_non_existent_items.ts b/x-pack/legacy/plugins/beats_management/server/utils/find_non_existent_items.ts similarity index 100% rename from x-pack/plugins/beats_management/server/utils/find_non_existent_items.ts rename to x-pack/legacy/plugins/beats_management/server/utils/find_non_existent_items.ts diff --git a/x-pack/plugins/beats_management/server/utils/helper_types.ts b/x-pack/legacy/plugins/beats_management/server/utils/helper_types.ts similarity index 100% rename from x-pack/plugins/beats_management/server/utils/helper_types.ts rename to x-pack/legacy/plugins/beats_management/server/utils/helper_types.ts diff --git a/x-pack/plugins/beats_management/server/utils/index_templates/beats_template.json b/x-pack/legacy/plugins/beats_management/server/utils/index_templates/beats_template.json similarity index 100% rename from x-pack/plugins/beats_management/server/utils/index_templates/beats_template.json rename to x-pack/legacy/plugins/beats_management/server/utils/index_templates/beats_template.json diff --git a/x-pack/plugins/beats_management/server/utils/polyfills.ts b/x-pack/legacy/plugins/beats_management/server/utils/polyfills.ts similarity index 100% rename from x-pack/plugins/beats_management/server/utils/polyfills.ts rename to x-pack/legacy/plugins/beats_management/server/utils/polyfills.ts diff --git a/x-pack/plugins/beats_management/server/utils/wrap_request.ts b/x-pack/legacy/plugins/beats_management/server/utils/wrap_request.ts similarity index 100% rename from x-pack/plugins/beats_management/server/utils/wrap_request.ts rename to x-pack/legacy/plugins/beats_management/server/utils/wrap_request.ts diff --git a/x-pack/plugins/beats_management/tsconfig.json b/x-pack/legacy/plugins/beats_management/tsconfig.json similarity index 73% rename from x-pack/plugins/beats_management/tsconfig.json rename to x-pack/legacy/plugins/beats_management/tsconfig.json index 67fefc7286ca4..7ade047bad32e 100644 --- a/x-pack/plugins/beats_management/tsconfig.json +++ b/x-pack/legacy/plugins/beats_management/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../../../tsconfig.json", "exclude": ["**/node_modules/**"], "paths": { "react": ["../../../node_modules/@types/react"] diff --git a/x-pack/plugins/beats_management/types/eui.d.ts b/x-pack/legacy/plugins/beats_management/types/eui.d.ts similarity index 100% rename from x-pack/plugins/beats_management/types/eui.d.ts rename to x-pack/legacy/plugins/beats_management/types/eui.d.ts diff --git a/x-pack/plugins/beats_management/types/formsy.d.ts b/x-pack/legacy/plugins/beats_management/types/formsy.d.ts similarity index 100% rename from x-pack/plugins/beats_management/types/formsy.d.ts rename to x-pack/legacy/plugins/beats_management/types/formsy.d.ts diff --git a/x-pack/plugins/beats_management/wallaby.js b/x-pack/legacy/plugins/beats_management/wallaby.js similarity index 100% rename from x-pack/plugins/beats_management/wallaby.js rename to x-pack/legacy/plugins/beats_management/wallaby.js diff --git a/x-pack/plugins/canvas/.gitignore b/x-pack/legacy/plugins/canvas/.gitignore similarity index 100% rename from x-pack/plugins/canvas/.gitignore rename to x-pack/legacy/plugins/canvas/.gitignore diff --git a/x-pack/plugins/canvas/.prettierrc b/x-pack/legacy/plugins/canvas/.prettierrc similarity index 100% rename from x-pack/plugins/canvas/.prettierrc rename to x-pack/legacy/plugins/canvas/.prettierrc diff --git a/x-pack/plugins/canvas/.storybook/.babelrc b/x-pack/legacy/plugins/canvas/.storybook/.babelrc similarity index 100% rename from x-pack/plugins/canvas/.storybook/.babelrc rename to x-pack/legacy/plugins/canvas/.storybook/.babelrc diff --git a/x-pack/plugins/canvas/.storybook/addons.js b/x-pack/legacy/plugins/canvas/.storybook/addons.js similarity index 100% rename from x-pack/plugins/canvas/.storybook/addons.js rename to x-pack/legacy/plugins/canvas/.storybook/addons.js diff --git a/x-pack/plugins/canvas/.storybook/config.js b/x-pack/legacy/plugins/canvas/.storybook/config.js similarity index 96% rename from x-pack/plugins/canvas/.storybook/config.js rename to x-pack/legacy/plugins/canvas/.storybook/config.js index f4fe1bd3e0230..3e1152dc3a611 100644 --- a/x-pack/plugins/canvas/.storybook/config.js +++ b/x-pack/legacy/plugins/canvas/.storybook/config.js @@ -39,7 +39,7 @@ function loadStories() { // Only gather and require CSS files related to Canvas. The other CSS files // are built into the DLL. const css = require.context( - '../../../../built_assets/css', + '../../../../../built_assets/css', true, /plugins\/(?=canvas).*light\.css/ ); @@ -56,7 +56,7 @@ addParameters({ theme: create({ base: 'light', brandTitle: 'Canvas Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas', + brandUrl: 'https://github.com/elastic/kibana/tree/master/x-pack/legacy/plugins/canvas', }), showPanel: true, isFullscreen: false, diff --git a/x-pack/plugins/canvas/.storybook/constants.js b/x-pack/legacy/plugins/canvas/.storybook/constants.js similarity index 100% rename from x-pack/plugins/canvas/.storybook/constants.js rename to x-pack/legacy/plugins/canvas/.storybook/constants.js diff --git a/x-pack/plugins/canvas/.storybook/dll_contexts.js b/x-pack/legacy/plugins/canvas/.storybook/dll_contexts.js similarity index 91% rename from x-pack/plugins/canvas/.storybook/dll_contexts.js rename to x-pack/legacy/plugins/canvas/.storybook/dll_contexts.js index 18d3e61ff61a8..66ef1a192d403 100644 --- a/x-pack/plugins/canvas/.storybook/dll_contexts.js +++ b/x-pack/legacy/plugins/canvas/.storybook/dll_contexts.js @@ -11,7 +11,7 @@ // Pull in the built CSS produced by the Kibana server, but not // the Canvas CSS-- we want that in the HMR service. const css = require.context( - '../../../../built_assets/css', + '../../../../../built_assets/css', true, /\.\/plugins\/(?!canvas).*light\.css/ ); @@ -21,7 +21,7 @@ css.keys().forEach(filename => { // Include Legacy styles const uiStyles = require.context( - '../../../../src/legacy/ui/public/styles', + '../../../../../src/legacy/ui/public/styles', false, /[\/\\](?!mixins|variables|_|\.|bootstrap_(light|dark))[^\/\\]+\.less/ ); diff --git a/x-pack/plugins/canvas/.storybook/middleware.js b/x-pack/legacy/plugins/canvas/.storybook/middleware.js similarity index 81% rename from x-pack/plugins/canvas/.storybook/middleware.js rename to x-pack/legacy/plugins/canvas/.storybook/middleware.js index f4526d68686dc..46ae7ac90f364 100644 --- a/x-pack/plugins/canvas/.storybook/middleware.js +++ b/x-pack/legacy/plugins/canvas/.storybook/middleware.js @@ -9,5 +9,5 @@ const path = require('path'); // Extend the Storybook Middleware to include a route to access Legacy UI assets module.exports = function(router) { - router.get('/ui', serve(path.resolve(__dirname, '../../../../src/legacy/ui/public/assets'))); + router.get('/ui', serve(path.resolve(__dirname, '../../../../../src/legacy/ui/public/assets'))); }; diff --git a/x-pack/plugins/canvas/.storybook/preview-head.html b/x-pack/legacy/plugins/canvas/.storybook/preview-head.html similarity index 100% rename from x-pack/plugins/canvas/.storybook/preview-head.html rename to x-pack/legacy/plugins/canvas/.storybook/preview-head.html diff --git a/x-pack/plugins/canvas/.storybook/storyshots.test.js b/x-pack/legacy/plugins/canvas/.storybook/storyshots.test.js similarity index 100% rename from x-pack/plugins/canvas/.storybook/storyshots.test.js rename to x-pack/legacy/plugins/canvas/.storybook/storyshots.test.js diff --git a/x-pack/plugins/canvas/.storybook/webpack.config.js b/x-pack/legacy/plugins/canvas/.storybook/webpack.config.js similarity index 100% rename from x-pack/plugins/canvas/.storybook/webpack.config.js rename to x-pack/legacy/plugins/canvas/.storybook/webpack.config.js diff --git a/x-pack/plugins/canvas/.storybook/webpack.dll.config.js b/x-pack/legacy/plugins/canvas/.storybook/webpack.dll.config.js similarity index 100% rename from x-pack/plugins/canvas/.storybook/webpack.dll.config.js rename to x-pack/legacy/plugins/canvas/.storybook/webpack.dll.config.js diff --git a/x-pack/plugins/canvas/README.md b/x-pack/legacy/plugins/canvas/README.md similarity index 100% rename from x-pack/plugins/canvas/README.md rename to x-pack/legacy/plugins/canvas/README.md diff --git a/x-pack/plugins/canvas/__tests__/fixtures/elasticsearch.js b/x-pack/legacy/plugins/canvas/__tests__/fixtures/elasticsearch.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/fixtures/elasticsearch.js rename to x-pack/legacy/plugins/canvas/__tests__/fixtures/elasticsearch.js diff --git a/x-pack/plugins/canvas/__tests__/fixtures/elasticsearch_plugin.js b/x-pack/legacy/plugins/canvas/__tests__/fixtures/elasticsearch_plugin.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/fixtures/elasticsearch_plugin.js rename to x-pack/legacy/plugins/canvas/__tests__/fixtures/elasticsearch_plugin.js diff --git a/x-pack/plugins/canvas/__tests__/fixtures/function_specs.js b/x-pack/legacy/plugins/canvas/__tests__/fixtures/function_specs.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/fixtures/function_specs.js rename to x-pack/legacy/plugins/canvas/__tests__/fixtures/function_specs.js diff --git a/x-pack/plugins/canvas/__tests__/fixtures/kibana.js b/x-pack/legacy/plugins/canvas/__tests__/fixtures/kibana.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/fixtures/kibana.js rename to x-pack/legacy/plugins/canvas/__tests__/fixtures/kibana.js diff --git a/x-pack/plugins/canvas/__tests__/fixtures/workpads.js b/x-pack/legacy/plugins/canvas/__tests__/fixtures/workpads.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/fixtures/workpads.js rename to x-pack/legacy/plugins/canvas/__tests__/fixtures/workpads.js diff --git a/x-pack/plugins/canvas/__tests__/helpers/function_wrapper.js b/x-pack/legacy/plugins/canvas/__tests__/helpers/function_wrapper.js similarity index 100% rename from x-pack/plugins/canvas/__tests__/helpers/function_wrapper.js rename to x-pack/legacy/plugins/canvas/__tests__/helpers/function_wrapper.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/area_chart/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/area_chart/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/bubble_chart/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/bubble_chart/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/debug/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/debug/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/debug/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/debug/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/donut/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/donut/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/donut/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/donut/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/donut/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/donut/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/donut/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/donut/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/image/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/image/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/image/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/image/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/line_chart/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/line_chart/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/markdown/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/markdown/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/metric/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/metric/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/metric/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/metric/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/pie/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/pie/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/pie/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/pie/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/plot/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/plot/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/plot/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/plot/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_gauge/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_gauge/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_wheel/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_wheel/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/repeat_image/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/repeat_image/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/reveal_image/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/reveal_image/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/shape/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/shape/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/shape/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/shape/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/shape/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/shape/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/table/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/table/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/table/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/table/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/table/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/table/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/tilted_pie/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/tilted_pie/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/tilted_pie/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/tilted_pie/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/tilted_pie/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/tilted_pie/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/tilted_pie/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/tilted_pie/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/time_filter/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/time_filter/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/types.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/types.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/header.png b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/header.png similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/header.png rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/header.png diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/__tests__/markdown.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/__tests__/markdown.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/__tests__/markdown.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/__tests__/markdown.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/location.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/location.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/all.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/all.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/all.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/all.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/alterColumn.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/alterColumn.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/alterColumn.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/alterColumn.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/any.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/any.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/any.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/any.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/as.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/as.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/as.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/as.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/axis_config.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/axis_config.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/axis_config.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/axis_config.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/case.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/case.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/case.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/case.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/clear.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/clear.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/clear.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/clear.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/columns.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/columns.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/columns.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/columns.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/compare.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/compare.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/compare.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/compare.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/container_style.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/container_style.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/container_style.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/container_style.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/context.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/context.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/context.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/context.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/csv.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/csv.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/csv.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/csv.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/date.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/date.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/date.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/date.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/do.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/do.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/do.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/do.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/dropdown_control.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/dropdown_control.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/dropdown_control.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/dropdown_control.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/eq.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/eq.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/eq.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/eq.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/exactly.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/exactly.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/exactly.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/exactly.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/filterrows.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/filterrows.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/filterrows.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/filterrows.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_filters.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_filters.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_filters.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_filters.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_pointseries.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_pointseries.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_pointseries.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_pointseries.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_styles.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_styles.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_styles.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_styles.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_tables.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_tables.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_tables.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/fixtures/test_tables.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/font.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/font.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/font.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/font.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatdate.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatdate.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatdate.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatdate.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatnumber.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatnumber.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatnumber.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/formatnumber.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/getCell.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/getCell.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/getCell.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/getCell.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_flot_axis_config.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_flot_axis_config.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_flot_axis_config.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_flot_axis_config.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_font_spec.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_font_spec.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_font_spec.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_font_spec.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_tick_hash.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_tick_hash.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_tick_hash.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/get_tick_hash.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gt.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gt.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gt.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gt.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gte.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gte.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gte.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/gte.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/head.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/head.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/head.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/head.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/if.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/if.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/if.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/if.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lt.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lt.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lt.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lt.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lte.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lte.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lte.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/lte.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/mapColumn.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/mapColumn.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/mapColumn.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/mapColumn.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/math.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/math.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/math.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/math.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/metric.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/metric.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/metric.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/metric.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/neq.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/neq.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/neq.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/neq.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/palette.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/palette.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/palette.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/palette.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/pie.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/pie.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/plot.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/plot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/plot.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/plot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/ply.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/ply.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/ply.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/ply.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/progress.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/progress.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/progress.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/progress.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/render.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/render.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/render.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/render.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/repeat_image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/repeat_image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/repeat_image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/repeat_image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/replace.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/replace.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/replace.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/replace.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/reveal_image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/reveal_image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/reveal_image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/reveal_image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rounddate.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rounddate.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rounddate.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rounddate.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rowCount.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rowCount.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rowCount.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/rowCount.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style_to_flot.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style_to_flot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style_to_flot.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/series_style_to_flot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/sort.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/sort.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/sort.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/sort.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/staticColumn.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/staticColumn.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/staticColumn.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/staticColumn.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/string.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/string.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/string.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/string.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/switch.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/switch.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/switch.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/switch.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/table.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/table.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/tail.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/tail.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/tail.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/tail.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter_control.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter_control.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter_control.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/__tests__/timefilter_control.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/all.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/all.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/any.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/any.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/as.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/as.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/case.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/case.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/clear.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/clear.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/columns.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/columns.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/compare.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/compare.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/context.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/context.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/csv.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/csv.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/date.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/date.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/do.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/do.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/eq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/eq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/font.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/font.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/font.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/font.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/gt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/gt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/gte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/gte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/head.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/head.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/if.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/if.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/image.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/image.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/image.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/image.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/lt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/lt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/lte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/lte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/mapColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/mapColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/mapColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/mapColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/math.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/math.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/math.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/math.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/metric.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/metric.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/metric.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/metric.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/neq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/neq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/palette.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/palette.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/palette.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/palette.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/pie.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/pie.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/pie.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/pie.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_flot_axis_config.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_flot_axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_flot_axis_config.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_flot_axis_config.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_font_spec.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_font_spec.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_font_spec.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_font_spec.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_tick_hash.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_tick_hash.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/get_tick_hash.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/get_tick_hash.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/series_style_to_flot.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/series_style_to_flot.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/plot/series_style_to_flot.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/plot/series_style_to_flot.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/ply.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/ply.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/progress.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/progress.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/progress.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/progress.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/render.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/render.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/repeatImage.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/repeatImage.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/repeatImage.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/repeatImage.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/replace.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/replace.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/revealImage.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/revealImage.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/revealImage.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/revealImage.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/shape.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/shape.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/shape.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/shape.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/sort.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/sort.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/string.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/string.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/switch.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/switch.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/table.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/table.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/tail.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/tail.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/demodata.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/demodata.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/demodata.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/demodata.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_expression_type.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_expression_type.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_expression_type.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_expression_type.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_field_names.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_field_names.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_field_names.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/get_field_names.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/is_column_reference.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/is_column_reference.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/is_column_reference.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/is_column_reference.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/pointseries.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/pointseries.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/__tests__/pointseries.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/__tests__/pointseries.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/escount.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/escount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/escount.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/escount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/esdocs.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/esdocs.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/esdocs.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/essql.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/essql.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/essql.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/essql.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/types/common.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/common.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/types/common.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/common.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/types/functions.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/functions.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/types/functions.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/functions.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/types/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/types/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/types/style.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/style.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/types/style.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/types/style.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/elastic_logo.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/elastic_logo.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/elastic_logo.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/elastic_logo.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/elastic_outline.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/elastic_outline.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/elastic_outline.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/elastic_outline.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/API.md b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/API.md similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/API.md rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/API.md diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.colorhelpers.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.colorhelpers.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.colorhelpers.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.colorhelpers.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.canvas.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.canvas.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.canvas.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.canvas.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.categories.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.categories.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.categories.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.categories.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.crosshair.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.crosshair.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.crosshair.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.crosshair.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.errorbars.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.errorbars.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.errorbars.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.errorbars.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.fillbetween.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.fillbetween.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.fillbetween.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.fillbetween.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.navigate.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.navigate.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.navigate.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.navigate.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.resize.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.resize.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.resize.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.resize.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.selection.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.selection.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.selection.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.selection.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.stack.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.stack.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.stack.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.stack.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.symbol.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.symbol.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.symbol.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.symbol.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.threshold.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.threshold.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.threshold.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.threshold.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.time.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.time.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.time.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/jquery.flot.time.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/__snapshots__/advanced_filter.examples.storyshot b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/__snapshots__/advanced_filter.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/__snapshots__/advanced_filter.examples.storyshot rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/__snapshots__/advanced_filter.examples.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/advanced_filter.examples.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/advanced_filter.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/advanced_filter.examples.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/__examples__/advanced_filter.examples.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/advanced_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/index.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/index.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/advanced_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/debug.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/debug.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/debug.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/debug.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/__snapshots__/dropdown_filter.examples.storyshot b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/__snapshots__/dropdown_filter.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/__snapshots__/dropdown_filter.examples.storyshot rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/__snapshots__/dropdown_filter.examples.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/dropdown_filter.examples.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/dropdown_filter.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/dropdown_filter.examples.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/__examples__/dropdown_filter.examples.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/dropdown_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/index.tsx b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/index.tsx rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/dropdown_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/error/error.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/error/error.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/error/error.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/error/error.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/error/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/error/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/error/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/error/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/markdown/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/markdown/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/metric/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/metric/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/metric/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/metric/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/pie/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/pie/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/gauge.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/gauge.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/gauge.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/gauge.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_bar.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_bar.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_bar.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_bar.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_pill.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_pill.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_pill.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/horizontal_pill.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/semicircle.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/semicircle.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/semicircle.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/semicircle.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/unicorn.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/unicorn.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/unicorn.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/unicorn.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_bar.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_bar.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_bar.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_bar.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_pill.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_pill.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_pill.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/vertical_pill.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/wheel.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/wheel.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/wheel.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/progress/shapes/wheel.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/repeat_image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/repeat_image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/repeat_image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/repeat_image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/reveal_image/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/reveal_image/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/reveal_image/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/reveal_image/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/reveal_image/reveal_image.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/reveal_image/reveal_image.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/reveal_image/reveal_image.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/reveal_image/reveal_image.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow_multi.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow_multi.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow_multi.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/arrow_multi.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/bookmark.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/bookmark.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/bookmark.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/bookmark.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/circle.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/circle.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/circle.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/circle.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/cross.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/cross.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/cross.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/cross.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/hexagon.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/hexagon.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/hexagon.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/hexagon.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/kite.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/kite.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/kite.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/kite.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/pentagon.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/pentagon.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/pentagon.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/pentagon.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/rhombus.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/rhombus.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/rhombus.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/rhombus.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/semicircle.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/semicircle.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/semicircle.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/semicircle.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/speech_bubble.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/speech_bubble.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/speech_bubble.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/speech_bubble.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/square.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/square.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/square.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/square.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/star.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/star.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/star.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/star.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/tag.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/tag.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/tag.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/tag.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle_right.svg b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle_right.svg similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle_right.svg rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/shape/shapes/triangle_right.svg diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/table.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/table.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/text.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/text.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/text.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/text.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/datetime_calendar.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_calendar/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/datetime_input.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/datetime_input.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/datetime_input.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/datetime_input.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_input/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/format_duration.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/format_duration.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/format_duration.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/format_duration.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/quick_ranges.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/quick_ranges.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/quick_ranges.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/quick_ranges.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/time_units.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/time_units.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/time_units.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/lib/time_units.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/pretty_duration.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/pretty_duration.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/pretty_duration.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/pretty_duration/pretty_duration.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/time_filter.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/time_filter.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/time_filter.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_filter/time_filter.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker_mini/time_picker_mini.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/time_filter/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/types.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/types.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/apply_strings.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/apply_strings.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/apply_strings.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/element_strings.test.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/element_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/element_strings.test.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/element_strings.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/element_strings.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/element_strings.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/element_strings.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/element_strings.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/all.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/all.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/all.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/all.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/alterColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/alterColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/alterColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/alterColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/any.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/any.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/any.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/any.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/as.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/as.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/as.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/as.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/axisConfig.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/axisConfig.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/axisConfig.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/axisConfig.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/case.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/case.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/case.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/case.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/clear.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/clear.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/clear.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/clear.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/columns.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/columns.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/columns.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/columns.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/compare.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/compare.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/compare.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/compare.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/containerStyle.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/containerStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/containerStyle.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/containerStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/context.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/context.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/context.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/context.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/csv.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/csv.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/csv.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/csv.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/date.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/date.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/date.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/date.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/demodata.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/demodata.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/demodata.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/demodata.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/do.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/do.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/do.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/do.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/dropdownControl.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/dropdownControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/dropdownControl.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/dropdownControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/eq.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/eq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/eq.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/eq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/escount.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/escount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/escount.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/escount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/esdocs.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/esdocs.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/esdocs.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/essql.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/essql.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/essql.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/essql.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/exactly.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/exactly.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/exactly.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/filterrows.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/filterrows.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/filterrows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/font.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/font.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/font.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/font.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/formatdate.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/formatdate.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/formatnumber.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/formatnumber.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/function_errors.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/function_errors.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/function_errors.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/function_errors.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/function_help.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/function_help.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/function_help.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/function_help.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/getCell.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/getCell.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/getCell.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/getCell.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/gt.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/gt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/gt.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/gt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/gte.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/gte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/gte.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/gte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/head.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/head.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/head.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/head.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/if.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/if.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/if.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/if.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/image.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/image.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/image.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/image.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/location.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/location.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/location.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/location.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/lt.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/lt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/lt.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/lt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/lte.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/lte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/lte.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/lte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/mapColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/mapColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/mapColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/mapColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/markdown.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/markdown.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/markdown.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/math.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/math.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/math.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/math.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/metric.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/metric.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/metric.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/metric.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/neq.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/neq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/neq.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/neq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/palette.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/palette.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/palette.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/palette.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/pie.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/pie.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/pie.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/pie.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/plot.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/plot.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/plot.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/plot.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/ply.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/ply.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/ply.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/ply.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/pointseries.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/pointseries.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/pointseries.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/pointseries.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/progress.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/progress.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/progress.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/progress.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/render.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/render.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/render.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/render.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/repeatImage.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/repeatImage.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/repeatImage.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/repeatImage.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/replace.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/replace.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/replace.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/replace.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/revealImage.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/revealImage.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/revealImage.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/revealImage.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/rounddate.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/rounddate.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/rowCount.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/rowCount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/rowCount.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/rowCount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/seriesStyle.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/seriesStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/seriesStyle.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/seriesStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/shape.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/shape.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/shape.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/shape.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/sort.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/sort.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/sort.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/sort.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/staticColumn.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/staticColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/staticColumn.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/staticColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/string.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/string.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/string.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/string.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/switch.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/switch.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/switch.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/switch.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/table.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/table.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/table.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/table.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/tail.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/tail.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/tail.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/tail.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/timefilter.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/timefilter.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/timefilter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/timefilterControl.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/timefilterControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/timefilterControl.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/timefilterControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/functions/urlparam.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/functions/urlparam.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/functions/urlparam.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/strings/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/strings/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/strings/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/dashboard_report.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/dashboard_report.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/dashboard_report.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/dashboard_report.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/pitch_presentation.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/pitch_presentation.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/pitch_presentation.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/pitch_presentation.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/status_report.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/status_report.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/status_report.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/status_report.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/theme_dark.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/theme_dark.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/theme_dark.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/theme_dark.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/templates/theme_light.json b/x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/theme_light.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/templates/theme_light.json rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/templates/theme_light.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/__tests__/get_form_object.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/__tests__/get_form_object.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/__tests__/get_form_object.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/__tests__/get_form_object.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/number.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/number.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/palette.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/palette.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/range.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/range.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/select.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/select.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/string.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/string.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/math.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/math.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/point_series.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/models/point_series.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/chart.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/chart.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/chart.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/chart.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/filter.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/filter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/filter.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/filter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/graphic.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/graphic.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/graphic.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/graphic.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/proportion.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/proportion.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/proportion.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/proportion.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/proportion.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/proportion.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/proportion.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/proportion.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/report.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/report.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/text.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/text.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/text.ts rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/tags/text.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/transforms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/transforms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/getCell.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/getCell.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/markdown.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/markdown.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/metric.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/metric.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/plot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/plot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/progress.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/progress.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/render.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/render.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js b/x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js rename to x-pack/legacy/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js diff --git a/x-pack/plugins/canvas/common/lib/__tests__/autocomplete.js b/x-pack/legacy/plugins/canvas/common/lib/__tests__/autocomplete.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/autocomplete.js rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/autocomplete.js diff --git a/x-pack/plugins/canvas/common/lib/__tests__/dataurl.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/dataurl.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/dataurl.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/dataurl.test.ts diff --git a/x-pack/plugins/canvas/common/lib/__tests__/get_colors_from_palette.js b/x-pack/legacy/plugins/canvas/common/lib/__tests__/get_colors_from_palette.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/get_colors_from_palette.js rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/get_colors_from_palette.js diff --git a/x-pack/plugins/canvas/common/lib/__tests__/get_field_type.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/get_field_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/get_field_type.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/get_field_type.test.ts diff --git a/x-pack/plugins/canvas/common/lib/__tests__/get_legend_config.js b/x-pack/legacy/plugins/canvas/common/lib/__tests__/get_legend_config.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/get_legend_config.js rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/get_legend_config.js diff --git a/x-pack/plugins/canvas/common/lib/__tests__/hex_to_rgb.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/hex_to_rgb.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/hex_to_rgb.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/hex_to_rgb.test.ts diff --git a/x-pack/plugins/canvas/common/lib/__tests__/httpurl.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/httpurl.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/httpurl.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/httpurl.test.ts diff --git a/x-pack/plugins/canvas/common/lib/__tests__/pivot_object_array.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/pivot_object_array.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/pivot_object_array.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/pivot_object_array.test.ts diff --git a/x-pack/plugins/canvas/common/lib/__tests__/unquote_string.test.ts b/x-pack/legacy/plugins/canvas/common/lib/__tests__/unquote_string.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/__tests__/unquote_string.test.ts rename to x-pack/legacy/plugins/canvas/common/lib/__tests__/unquote_string.test.ts diff --git a/x-pack/plugins/canvas/common/lib/autocomplete.js b/x-pack/legacy/plugins/canvas/common/lib/autocomplete.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/autocomplete.js rename to x-pack/legacy/plugins/canvas/common/lib/autocomplete.js diff --git a/x-pack/plugins/canvas/common/lib/constants.ts b/x-pack/legacy/plugins/canvas/common/lib/constants.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/constants.ts rename to x-pack/legacy/plugins/canvas/common/lib/constants.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/index.js b/x-pack/legacy/plugins/canvas/common/lib/datatable/index.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/index.js rename to x-pack/legacy/plugins/canvas/common/lib/datatable/index.js diff --git a/x-pack/plugins/canvas/common/lib/datatable/query.js b/x-pack/legacy/plugins/canvas/common/lib/datatable/query.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/query.js rename to x-pack/legacy/plugins/canvas/common/lib/datatable/query.js diff --git a/x-pack/plugins/canvas/common/lib/dataurl.ts b/x-pack/legacy/plugins/canvas/common/lib/dataurl.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/dataurl.ts rename to x-pack/legacy/plugins/canvas/common/lib/dataurl.ts diff --git a/x-pack/plugins/canvas/common/lib/errors.js b/x-pack/legacy/plugins/canvas/common/lib/errors.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.js rename to x-pack/legacy/plugins/canvas/common/lib/errors.js diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.js b/x-pack/legacy/plugins/canvas/common/lib/expression_form_handlers.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.js rename to x-pack/legacy/plugins/canvas/common/lib/expression_form_handlers.js diff --git a/x-pack/plugins/canvas/common/lib/fetch.js b/x-pack/legacy/plugins/canvas/common/lib/fetch.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.js rename to x-pack/legacy/plugins/canvas/common/lib/fetch.js diff --git a/x-pack/plugins/canvas/common/lib/fonts.ts b/x-pack/legacy/plugins/canvas/common/lib/fonts.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fonts.ts rename to x-pack/legacy/plugins/canvas/common/lib/fonts.ts diff --git a/x-pack/plugins/canvas/common/lib/get_colors_from_palette.js b/x-pack/legacy/plugins/canvas/common/lib/get_colors_from_palette.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_colors_from_palette.js rename to x-pack/legacy/plugins/canvas/common/lib/get_colors_from_palette.js diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.ts b/x-pack/legacy/plugins/canvas/common/lib/get_field_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.ts rename to x-pack/legacy/plugins/canvas/common/lib/get_field_type.ts diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.js b/x-pack/legacy/plugins/canvas/common/lib/get_legend_config.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.js rename to x-pack/legacy/plugins/canvas/common/lib/get_legend_config.js diff --git a/x-pack/plugins/canvas/common/lib/handlebars.js b/x-pack/legacy/plugins/canvas/common/lib/handlebars.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.js rename to x-pack/legacy/plugins/canvas/common/lib/handlebars.js diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.ts b/x-pack/legacy/plugins/canvas/common/lib/hex_to_rgb.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.ts rename to x-pack/legacy/plugins/canvas/common/lib/hex_to_rgb.ts diff --git a/x-pack/plugins/canvas/common/lib/httpurl.ts b/x-pack/legacy/plugins/canvas/common/lib/httpurl.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/httpurl.ts rename to x-pack/legacy/plugins/canvas/common/lib/httpurl.ts diff --git a/x-pack/plugins/canvas/common/lib/index.ts b/x-pack/legacy/plugins/canvas/common/lib/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/index.ts rename to x-pack/legacy/plugins/canvas/common/lib/index.ts diff --git a/x-pack/plugins/canvas/common/lib/missing_asset.js b/x-pack/legacy/plugins/canvas/common/lib/missing_asset.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/missing_asset.js rename to x-pack/legacy/plugins/canvas/common/lib/missing_asset.js diff --git a/x-pack/plugins/canvas/common/lib/palettes.js b/x-pack/legacy/plugins/canvas/common/lib/palettes.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/palettes.js rename to x-pack/legacy/plugins/canvas/common/lib/palettes.js diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.ts b/x-pack/legacy/plugins/canvas/common/lib/pivot_object_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.ts rename to x-pack/legacy/plugins/canvas/common/lib/pivot_object_array.ts diff --git a/x-pack/plugins/canvas/common/lib/resolve_dataurl.js b/x-pack/legacy/plugins/canvas/common/lib/resolve_dataurl.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/resolve_dataurl.js rename to x-pack/legacy/plugins/canvas/common/lib/resolve_dataurl.js diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.ts b/x-pack/legacy/plugins/canvas/common/lib/unquote_string.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.ts rename to x-pack/legacy/plugins/canvas/common/lib/unquote_string.ts diff --git a/x-pack/plugins/canvas/common/lib/url.js b/x-pack/legacy/plugins/canvas/common/lib/url.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/url.js rename to x-pack/legacy/plugins/canvas/common/lib/url.js diff --git a/x-pack/plugins/canvas/images/canvas.png b/x-pack/legacy/plugins/canvas/images/canvas.png similarity index 100% rename from x-pack/plugins/canvas/images/canvas.png rename to x-pack/legacy/plugins/canvas/images/canvas.png diff --git a/x-pack/plugins/canvas/images/canvas.svg b/x-pack/legacy/plugins/canvas/images/canvas.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas.svg rename to x-pack/legacy/plugins/canvas/images/canvas.svg diff --git a/x-pack/plugins/canvas/images/canvas_blank.svg b/x-pack/legacy/plugins/canvas/images/canvas_blank.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas_blank.svg rename to x-pack/legacy/plugins/canvas/images/canvas_blank.svg diff --git a/x-pack/plugins/canvas/images/icon_black.svg b/x-pack/legacy/plugins/canvas/images/icon_black.svg similarity index 100% rename from x-pack/plugins/canvas/images/icon_black.svg rename to x-pack/legacy/plugins/canvas/images/icon_black.svg diff --git a/x-pack/plugins/canvas/images/logo.gif b/x-pack/legacy/plugins/canvas/images/logo.gif similarity index 100% rename from x-pack/plugins/canvas/images/logo.gif rename to x-pack/legacy/plugins/canvas/images/logo.gif diff --git a/x-pack/plugins/canvas/index.js b/x-pack/legacy/plugins/canvas/index.js similarity index 100% rename from x-pack/plugins/canvas/index.js rename to x-pack/legacy/plugins/canvas/index.js diff --git a/x-pack/plugins/canvas/init.js b/x-pack/legacy/plugins/canvas/init.js similarity index 100% rename from x-pack/plugins/canvas/init.js rename to x-pack/legacy/plugins/canvas/init.js diff --git a/x-pack/plugins/canvas/migrations.js b/x-pack/legacy/plugins/canvas/migrations.js similarity index 100% rename from x-pack/plugins/canvas/migrations.js rename to x-pack/legacy/plugins/canvas/migrations.js diff --git a/x-pack/plugins/canvas/migrations.test.js b/x-pack/legacy/plugins/canvas/migrations.test.js similarity index 100% rename from x-pack/plugins/canvas/migrations.test.js rename to x-pack/legacy/plugins/canvas/migrations.test.js diff --git a/x-pack/plugins/canvas/public/__tests__/setup.js b/x-pack/legacy/plugins/canvas/public/__tests__/setup.js similarity index 100% rename from x-pack/plugins/canvas/public/__tests__/setup.js rename to x-pack/legacy/plugins/canvas/public/__tests__/setup.js diff --git a/x-pack/plugins/canvas/public/angular/config/index.js b/x-pack/legacy/plugins/canvas/public/angular/config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/config/index.js rename to x-pack/legacy/plugins/canvas/public/angular/config/index.js diff --git a/x-pack/plugins/canvas/public/angular/config/location_provider.js b/x-pack/legacy/plugins/canvas/public/angular/config/location_provider.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/config/location_provider.js rename to x-pack/legacy/plugins/canvas/public/angular/config/location_provider.js diff --git a/x-pack/plugins/canvas/public/angular/config/state_management.js b/x-pack/legacy/plugins/canvas/public/angular/config/state_management.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/config/state_management.js rename to x-pack/legacy/plugins/canvas/public/angular/config/state_management.js diff --git a/x-pack/plugins/canvas/public/angular/controllers/canvas.js b/x-pack/legacy/plugins/canvas/public/angular/controllers/canvas.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/controllers/canvas.js rename to x-pack/legacy/plugins/canvas/public/angular/controllers/canvas.js diff --git a/x-pack/plugins/canvas/public/angular/controllers/index.js b/x-pack/legacy/plugins/canvas/public/angular/controllers/index.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/controllers/index.js rename to x-pack/legacy/plugins/canvas/public/angular/controllers/index.js diff --git a/x-pack/plugins/canvas/public/angular/services/index.js b/x-pack/legacy/plugins/canvas/public/angular/services/index.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/services/index.js rename to x-pack/legacy/plugins/canvas/public/angular/services/index.js diff --git a/x-pack/plugins/canvas/public/angular/services/store.js b/x-pack/legacy/plugins/canvas/public/angular/services/store.js similarity index 100% rename from x-pack/plugins/canvas/public/angular/services/store.js rename to x-pack/legacy/plugins/canvas/public/angular/services/store.js diff --git a/x-pack/plugins/canvas/public/app.js b/x-pack/legacy/plugins/canvas/public/app.js similarity index 100% rename from x-pack/plugins/canvas/public/app.js rename to x-pack/legacy/plugins/canvas/public/app.js diff --git a/x-pack/plugins/canvas/public/apps/export/export/export_app.js b/x-pack/legacy/plugins/canvas/public/apps/export/export/export_app.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/export/export_app.js rename to x-pack/legacy/plugins/canvas/public/apps/export/export/export_app.js diff --git a/x-pack/plugins/canvas/public/apps/export/export/export_app.scss b/x-pack/legacy/plugins/canvas/public/apps/export/export/export_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/export/export_app.scss rename to x-pack/legacy/plugins/canvas/public/apps/export/export/export_app.scss diff --git a/x-pack/plugins/canvas/public/apps/export/export/index.js b/x-pack/legacy/plugins/canvas/public/apps/export/export/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/export/index.js rename to x-pack/legacy/plugins/canvas/public/apps/export/export/index.js diff --git a/x-pack/plugins/canvas/public/apps/export/export/load_workpad.js b/x-pack/legacy/plugins/canvas/public/apps/export/export/load_workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/export/load_workpad.js rename to x-pack/legacy/plugins/canvas/public/apps/export/export/load_workpad.js diff --git a/x-pack/plugins/canvas/public/apps/export/index.js b/x-pack/legacy/plugins/canvas/public/apps/export/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/index.js rename to x-pack/legacy/plugins/canvas/public/apps/export/index.js diff --git a/x-pack/plugins/canvas/public/apps/export/routes.js b/x-pack/legacy/plugins/canvas/public/apps/export/routes.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/export/routes.js rename to x-pack/legacy/plugins/canvas/public/apps/export/routes.js diff --git a/x-pack/plugins/canvas/public/apps/home/home_app.js b/x-pack/legacy/plugins/canvas/public/apps/home/home_app.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/home/home_app.js rename to x-pack/legacy/plugins/canvas/public/apps/home/home_app.js diff --git a/x-pack/plugins/canvas/public/apps/home/home_app.scss b/x-pack/legacy/plugins/canvas/public/apps/home/home_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/apps/home/home_app.scss rename to x-pack/legacy/plugins/canvas/public/apps/home/home_app.scss diff --git a/x-pack/plugins/canvas/public/apps/home/index.js b/x-pack/legacy/plugins/canvas/public/apps/home/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/home/index.js rename to x-pack/legacy/plugins/canvas/public/apps/home/index.js diff --git a/x-pack/plugins/canvas/public/apps/home/routes.js b/x-pack/legacy/plugins/canvas/public/apps/home/routes.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/home/routes.js rename to x-pack/legacy/plugins/canvas/public/apps/home/routes.js diff --git a/x-pack/plugins/canvas/public/apps/index.js b/x-pack/legacy/plugins/canvas/public/apps/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/index.js rename to x-pack/legacy/plugins/canvas/public/apps/index.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/index.js b/x-pack/legacy/plugins/canvas/public/apps/workpad/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/index.js rename to x-pack/legacy/plugins/canvas/public/apps/workpad/index.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/routes.js b/x-pack/legacy/plugins/canvas/public/apps/workpad/routes.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/routes.js rename to x-pack/legacy/plugins/canvas/public/apps/workpad/routes.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/__tests__/workpad_telemetry.test.tsx b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/__tests__/workpad_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/__tests__/workpad_telemetry.test.tsx rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/__tests__/workpad_telemetry.test.tsx diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/index.js b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/index.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/index.js rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/index.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/load_workpad.js b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/load_workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/load_workpad.js rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/load_workpad.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.js b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.js similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.js rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.js diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_telemetry.tsx b/x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_telemetry.tsx similarity index 100% rename from x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_telemetry.tsx rename to x-pack/legacy/plugins/canvas/public/apps/workpad/workpad_app/workpad_telemetry.tsx diff --git a/x-pack/plugins/canvas/public/browser_functions.js b/x-pack/legacy/plugins/canvas/public/browser_functions.js similarity index 100% rename from x-pack/plugins/canvas/public/browser_functions.js rename to x-pack/legacy/plugins/canvas/public/browser_functions.js diff --git a/x-pack/plugins/canvas/public/components/alignment_guide/alignment_guide.js b/x-pack/legacy/plugins/canvas/public/components/alignment_guide/alignment_guide.js similarity index 100% rename from x-pack/plugins/canvas/public/components/alignment_guide/alignment_guide.js rename to x-pack/legacy/plugins/canvas/public/components/alignment_guide/alignment_guide.js diff --git a/x-pack/plugins/canvas/public/components/alignment_guide/alignment_guide.scss b/x-pack/legacy/plugins/canvas/public/components/alignment_guide/alignment_guide.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/alignment_guide/alignment_guide.scss rename to x-pack/legacy/plugins/canvas/public/components/alignment_guide/alignment_guide.scss diff --git a/x-pack/plugins/canvas/public/components/alignment_guide/index.js b/x-pack/legacy/plugins/canvas/public/components/alignment_guide/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/alignment_guide/index.js rename to x-pack/legacy/plugins/canvas/public/components/alignment_guide/index.js diff --git a/x-pack/plugins/canvas/public/components/app/app.js b/x-pack/legacy/plugins/canvas/public/components/app/app.js similarity index 100% rename from x-pack/plugins/canvas/public/components/app/app.js rename to x-pack/legacy/plugins/canvas/public/components/app/app.js diff --git a/x-pack/plugins/canvas/public/components/app/index.js b/x-pack/legacy/plugins/canvas/public/components/app/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/app/index.js rename to x-pack/legacy/plugins/canvas/public/components/app/index.js diff --git a/x-pack/plugins/canvas/public/components/app/track_route_change.js b/x-pack/legacy/plugins/canvas/public/components/app/track_route_change.js similarity index 100% rename from x-pack/plugins/canvas/public/components/app/track_route_change.js rename to x-pack/legacy/plugins/canvas/public/components/app/track_route_change.js diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.js b/x-pack/legacy/plugins/canvas/public/components/arg_add/arg_add.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.js rename to x-pack/legacy/plugins/canvas/public/components/arg_add/arg_add.js diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.scss b/x-pack/legacy/plugins/canvas/public/components/arg_add/arg_add.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.scss rename to x-pack/legacy/plugins/canvas/public/components/arg_add/arg_add.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add/index.js b/x-pack/legacy/plugins/canvas/public/components/arg_add/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/index.js rename to x-pack/legacy/plugins/canvas/public/components/arg_add/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.js b/x-pack/legacy/plugins/canvas/public/components/arg_add_popover/arg_add_popover.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.js rename to x-pack/legacy/plugins/canvas/public/components/arg_add_popover/arg_add_popover.js diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss b/x-pack/legacy/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss rename to x-pack/legacy/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/index.js b/x-pack/legacy/plugins/canvas/public/components/arg_add_popover/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/index.js rename to x-pack/legacy/plugins/canvas/public/components/arg_add_popover/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/advanced_failure.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/advanced_failure.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/arg_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/arg_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.scss b/x-pack/legacy/plugins/canvas/public/components/arg_form/arg_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.scss rename to x-pack/legacy/plugins/canvas/public/components/arg_form/arg_form.scss diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_label.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/arg_label.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_label.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/arg_label.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/arg_simple_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/arg_simple_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/arg_template_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_template_form.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/arg_template_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/index.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/index.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/pending_arg_value.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/pending_arg_value.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/simple_failure.js b/x-pack/legacy/plugins/canvas/public/components/arg_form/simple_failure.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/simple_failure.js rename to x-pack/legacy/plugins/canvas/public/components/arg_form/simple_failure.js diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset_manager.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset_manager.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset_manager.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/__snapshots__/asset_manager.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__examples__/asset.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/asset.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__examples__/asset.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/asset.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__examples__/asset_manager.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/asset_manager.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__examples__/asset_manager.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/__examples__/asset_manager.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.tsx b/x-pack/legacy/plugins/canvas/public/components/asset_manager/asset.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.tsx rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/asset.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss b/x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_manager.scss diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.tsx b/x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.tsx rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_modal.tsx b/x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_modal.tsx rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/asset_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/index.js b/x-pack/legacy/plugins/canvas/public/components/asset_manager/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/index.js rename to x-pack/legacy/plugins/canvas/public/components/asset_manager/index.js diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.js b/x-pack/legacy/plugins/canvas/public/components/asset_picker/asset_picker.js similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.js rename to x-pack/legacy/plugins/canvas/public/components/asset_picker/asset_picker.js diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss b/x-pack/legacy/plugins/canvas/public/components/asset_picker/asset_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss rename to x-pack/legacy/plugins/canvas/public/components/asset_picker/asset_picker.scss diff --git a/x-pack/plugins/canvas/public/components/asset_picker/index.js b/x-pack/legacy/plugins/canvas/public/components/asset_picker/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/index.js rename to x-pack/legacy/plugins/canvas/public/components/asset_picker/index.js diff --git a/x-pack/plugins/canvas/public/components/autocomplete/autocomplete.js b/x-pack/legacy/plugins/canvas/public/components/autocomplete/autocomplete.js similarity index 100% rename from x-pack/plugins/canvas/public/components/autocomplete/autocomplete.js rename to x-pack/legacy/plugins/canvas/public/components/autocomplete/autocomplete.js diff --git a/x-pack/plugins/canvas/public/components/autocomplete/autocomplete.scss b/x-pack/legacy/plugins/canvas/public/components/autocomplete/autocomplete.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/autocomplete/autocomplete.scss rename to x-pack/legacy/plugins/canvas/public/components/autocomplete/autocomplete.scss diff --git a/x-pack/plugins/canvas/public/components/autocomplete/index.js b/x-pack/legacy/plugins/canvas/public/components/autocomplete/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/autocomplete/index.js rename to x-pack/legacy/plugins/canvas/public/components/autocomplete/index.js diff --git a/x-pack/plugins/canvas/public/components/border_connection/border_connection.js b/x-pack/legacy/plugins/canvas/public/components/border_connection/border_connection.js similarity index 100% rename from x-pack/plugins/canvas/public/components/border_connection/border_connection.js rename to x-pack/legacy/plugins/canvas/public/components/border_connection/border_connection.js diff --git a/x-pack/plugins/canvas/public/components/border_connection/border_connection.scss b/x-pack/legacy/plugins/canvas/public/components/border_connection/border_connection.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/border_connection/border_connection.scss rename to x-pack/legacy/plugins/canvas/public/components/border_connection/border_connection.scss diff --git a/x-pack/plugins/canvas/public/components/border_connection/index.js b/x-pack/legacy/plugins/canvas/public/components/border_connection/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/border_connection/index.js rename to x-pack/legacy/plugins/canvas/public/components/border_connection/index.js diff --git a/x-pack/plugins/canvas/public/components/border_resize_handle/border_resize_handle.js b/x-pack/legacy/plugins/canvas/public/components/border_resize_handle/border_resize_handle.js similarity index 100% rename from x-pack/plugins/canvas/public/components/border_resize_handle/border_resize_handle.js rename to x-pack/legacy/plugins/canvas/public/components/border_resize_handle/border_resize_handle.js diff --git a/x-pack/plugins/canvas/public/components/border_resize_handle/border_resize_handle.scss b/x-pack/legacy/plugins/canvas/public/components/border_resize_handle/border_resize_handle.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/border_resize_handle/border_resize_handle.scss rename to x-pack/legacy/plugins/canvas/public/components/border_resize_handle/border_resize_handle.scss diff --git a/x-pack/plugins/canvas/public/components/border_resize_handle/index.js b/x-pack/legacy/plugins/canvas/public/components/border_resize_handle/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/border_resize_handle/index.js rename to x-pack/legacy/plugins/canvas/public/components/border_resize_handle/index.js diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.scss b/x-pack/legacy/plugins/canvas/public/components/clipboard/clipboard.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.scss rename to x-pack/legacy/plugins/canvas/public/components/clipboard/clipboard.scss diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx b/x-pack/legacy/plugins/canvas/public/components/clipboard/clipboard.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx rename to x-pack/legacy/plugins/canvas/public/components/clipboard/clipboard.tsx diff --git a/x-pack/plugins/canvas/public/components/clipboard/index.ts b/x-pack/legacy/plugins/canvas/public/components/clipboard/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/index.ts rename to x-pack/legacy/plugins/canvas/public/components/clipboard/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_dot/__examples__/color_dot.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/color_dot/__examples__/color_dot.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__examples__/color_dot.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_dot/__examples__/color_dot.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.scss b/x-pack/legacy/plugins/canvas/public/components/color_dot/color_dot.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.scss rename to x-pack/legacy/plugins/canvas/public/components/color_dot/color_dot.scss diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx b/x-pack/legacy/plugins/canvas/public/components/color_dot/color_dot.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_dot/color_dot.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/index.ts b/x-pack/legacy/plugins/canvas/public/components/color_dot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/index.ts rename to x-pack/legacy/plugins/canvas/public/components/color_dot/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_manager/__examples__/color_manager.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/color_manager/__examples__/color_manager.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__examples__/color_manager.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_manager/__examples__/color_manager.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx b/x-pack/legacy/plugins/canvas/public/components/color_manager/color_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_manager/color_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/index.ts b/x-pack/legacy/plugins/canvas/public/components/color_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/index.ts rename to x-pack/legacy/plugins/canvas/public/components/color_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_palette/__examples__/color_palette.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/color_palette/__examples__/color_palette.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__examples__/color_palette.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_palette/__examples__/color_palette.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.scss b/x-pack/legacy/plugins/canvas/public/components/color_palette/color_palette.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.scss rename to x-pack/legacy/plugins/canvas/public/components/color_palette/color_palette.scss diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx b/x-pack/legacy/plugins/canvas/public/components/color_palette/color_palette.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_palette/color_palette.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/index.ts b/x-pack/legacy/plugins/canvas/public/components/color_palette/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/index.ts rename to x-pack/legacy/plugins/canvas/public/components/color_palette/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker/__examples__/color_picker.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/color_picker/__examples__/color_picker.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__examples__/color_picker.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_picker/__examples__/color_picker.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx b/x-pack/legacy/plugins/canvas/public/components/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/index.ts b/x-pack/legacy/plugins/canvas/public/components/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/index.ts rename to x-pack/legacy/plugins/canvas/public/components/color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__examples__/__snapshots__/color_picker_popover.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/color_picker_popover/__examples__/__snapshots__/color_picker_popover.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__examples__/__snapshots__/color_picker_popover.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/color_picker_popover/__examples__/__snapshots__/color_picker_popover.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__examples__/color_picker_popover.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/color_picker_popover/__examples__/color_picker_popover.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__examples__/color_picker_popover.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_picker_popover/__examples__/color_picker_popover.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss b/x-pack/legacy/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss rename to x-pack/legacy/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx b/x-pack/legacy/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx rename to x-pack/legacy/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/index.ts b/x-pack/legacy/plugins/canvas/public/components/color_picker_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/index.ts rename to x-pack/legacy/plugins/canvas/public/components/color_picker_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx b/x-pack/legacy/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx rename to x-pack/legacy/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/index.ts b/x-pack/legacy/plugins/canvas/public/components/confirm_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/index.ts rename to x-pack/legacy/plugins/canvas/public/components/confirm_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/custom_element_modal.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/custom_element_modal.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/custom_element_modal.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/custom_element_modal.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss rename to x-pack/legacy/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx rename to x-pack/legacy/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/custom_element_modal/index.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.js b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.scss b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.scss rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_component.js b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource_component.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_component.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource_component.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_selector.js b/x-pack/legacy/plugins/canvas/public/components/datasource/datasource_selector.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_selector.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/datasource_selector.js diff --git a/x-pack/plugins/canvas/public/components/datasource/index.js b/x-pack/legacy/plugins/canvas/public/components/datasource/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/index.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/no_datasource.js b/x-pack/legacy/plugins/canvas/public/components/datasource/no_datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/no_datasource.js rename to x-pack/legacy/plugins/canvas/public/components/datasource/no_datasource.js diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.js b/x-pack/legacy/plugins/canvas/public/components/datatable/datatable.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.js rename to x-pack/legacy/plugins/canvas/public/components/datatable/datatable.js diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.scss b/x-pack/legacy/plugins/canvas/public/components/datatable/datatable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.scss rename to x-pack/legacy/plugins/canvas/public/components/datatable/datatable.scss diff --git a/x-pack/plugins/canvas/public/components/datatable/index.js b/x-pack/legacy/plugins/canvas/public/components/datatable/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/index.js rename to x-pack/legacy/plugins/canvas/public/components/datatable/index.js diff --git a/x-pack/plugins/canvas/public/components/debug/debug.js b/x-pack/legacy/plugins/canvas/public/components/debug/debug.js similarity index 100% rename from x-pack/plugins/canvas/public/components/debug/debug.js rename to x-pack/legacy/plugins/canvas/public/components/debug/debug.js diff --git a/x-pack/plugins/canvas/public/components/debug/debug.scss b/x-pack/legacy/plugins/canvas/public/components/debug/debug.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/debug/debug.scss rename to x-pack/legacy/plugins/canvas/public/components/debug/debug.scss diff --git a/x-pack/plugins/canvas/public/components/debug/index.js b/x-pack/legacy/plugins/canvas/public/components/debug/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/debug/index.js rename to x-pack/legacy/plugins/canvas/public/components/debug/index.js diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.js b/x-pack/legacy/plugins/canvas/public/components/dom_preview/dom_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.js rename to x-pack/legacy/plugins/canvas/public/components/dom_preview/dom_preview.js diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss b/x-pack/legacy/plugins/canvas/public/components/dom_preview/dom_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss rename to x-pack/legacy/plugins/canvas/public/components/dom_preview/dom_preview.scss diff --git a/x-pack/plugins/canvas/public/components/dom_preview/index.js b/x-pack/legacy/plugins/canvas/public/components/dom_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/index.js rename to x-pack/legacy/plugins/canvas/public/components/dom_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/download/__tests__/download.test.tsx b/x-pack/legacy/plugins/canvas/public/components/download/__tests__/download.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/__tests__/download.test.tsx rename to x-pack/legacy/plugins/canvas/public/components/download/__tests__/download.test.tsx diff --git a/x-pack/plugins/canvas/public/components/download/download.tsx b/x-pack/legacy/plugins/canvas/public/components/download/download.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.tsx rename to x-pack/legacy/plugins/canvas/public/components/download/download.tsx diff --git a/x-pack/plugins/canvas/public/components/download/index.ts b/x-pack/legacy/plugins/canvas/public/components/download/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/download/index.ts rename to x-pack/legacy/plugins/canvas/public/components/download/index.ts diff --git a/x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_card.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_card.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_card.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_card.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_controls.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_controls.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_controls.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_controls.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_grid.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_grid.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_grid.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/__snapshots__/element_grid.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__examples__/element_card.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/element_card.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__examples__/element_card.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_card/__examples__/element_card.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.scss b/x-pack/legacy/plugins/canvas/public/components/element_card/element_card.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.scss rename to x-pack/legacy/plugins/canvas/public/components/element_card/element_card.scss diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.tsx b/x-pack/legacy/plugins/canvas/public/components/element_card/element_card.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_card/element_card.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/index.tsx b/x-pack/legacy/plugins/canvas/public/components/element_card/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_card/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/element_config.js b/x-pack/legacy/plugins/canvas/public/components/element_config/element_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/element_config.js rename to x-pack/legacy/plugins/canvas/public/components/element_config/element_config.js diff --git a/x-pack/plugins/canvas/public/components/element_config/index.js b/x-pack/legacy/plugins/canvas/public/components/element_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/index.js rename to x-pack/legacy/plugins/canvas/public/components/element_config/index.js diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.js b/x-pack/legacy/plugins/canvas/public/components/element_content/element_content.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.js rename to x-pack/legacy/plugins/canvas/public/components/element_content/element_content.js diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.scss b/x-pack/legacy/plugins/canvas/public/components/element_content/element_content.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.scss rename to x-pack/legacy/plugins/canvas/public/components/element_content/element_content.scss diff --git a/x-pack/plugins/canvas/public/components/element_content/index.js b/x-pack/legacy/plugins/canvas/public/components/element_content/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/index.js rename to x-pack/legacy/plugins/canvas/public/components/element_content/index.js diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_element_type.js b/x-pack/legacy/plugins/canvas/public/components/element_content/invalid_element_type.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_element_type.js rename to x-pack/legacy/plugins/canvas/public/components/element_content/invalid_element_type.js diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_expression.js b/x-pack/legacy/plugins/canvas/public/components/element_content/invalid_expression.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_expression.js rename to x-pack/legacy/plugins/canvas/public/components/element_content/invalid_expression.js diff --git a/x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js b/x-pack/legacy/plugins/canvas/public/components/element_share_container/element_share_container.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js rename to x-pack/legacy/plugins/canvas/public/components/element_share_container/element_share_container.js diff --git a/x-pack/plugins/canvas/public/components/element_share_container/index.js b/x-pack/legacy/plugins/canvas/public/components/element_share_container/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/index.js rename to x-pack/legacy/plugins/canvas/public/components/element_share_container/index.js diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_controls.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_controls.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_controls.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_controls.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/element_controls.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/element_controls.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/__examples__/element_controls.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/element_controls.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/element_grid.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/element_grid.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/__examples__/element_grid.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/element_grid.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/fixtures/test_elements.tsx b/x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/fixtures/test_elements.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/__examples__/fixtures/test_elements.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_types/__examples__/fixtures/test_elements.tsx diff --git a/x-pack/plugins/canvas/public/components/element_types/element_controls.tsx b/x-pack/legacy/plugins/canvas/public/components/element_types/element_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/element_controls.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_types/element_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/element_types/element_grid.tsx b/x-pack/legacy/plugins/canvas/public/components/element_types/element_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/element_grid.tsx rename to x-pack/legacy/plugins/canvas/public/components/element_types/element_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/element_types/element_types.js b/x-pack/legacy/plugins/canvas/public/components/element_types/element_types.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/element_types.js rename to x-pack/legacy/plugins/canvas/public/components/element_types/element_types.js diff --git a/x-pack/plugins/canvas/public/components/element_types/index.js b/x-pack/legacy/plugins/canvas/public/components/element_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_types/index.js rename to x-pack/legacy/plugins/canvas/public/components/element_types/index.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js b/x-pack/legacy/plugins/canvas/public/components/element_wrapper/element_wrapper.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js rename to x-pack/legacy/plugins/canvas/public/components/element_wrapper/element_wrapper.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/index.js b/x-pack/legacy/plugins/canvas/public/components/element_wrapper/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/index.js rename to x-pack/legacy/plugins/canvas/public/components/element_wrapper/index.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/lib/handlers.js b/x-pack/legacy/plugins/canvas/public/components/element_wrapper/lib/handlers.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/lib/handlers.js rename to x-pack/legacy/plugins/canvas/public/components/element_wrapper/lib/handlers.js diff --git a/x-pack/plugins/canvas/public/components/enhance/error_boundary.js b/x-pack/legacy/plugins/canvas/public/components/enhance/error_boundary.js similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/error_boundary.js rename to x-pack/legacy/plugins/canvas/public/components/enhance/error_boundary.js diff --git a/x-pack/plugins/canvas/public/components/enhance/stateful_prop.js b/x-pack/legacy/plugins/canvas/public/components/enhance/stateful_prop.js similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/stateful_prop.js rename to x-pack/legacy/plugins/canvas/public/components/enhance/stateful_prop.js diff --git a/x-pack/plugins/canvas/public/components/error/error.js b/x-pack/legacy/plugins/canvas/public/components/error/error.js similarity index 100% rename from x-pack/plugins/canvas/public/components/error/error.js rename to x-pack/legacy/plugins/canvas/public/components/error/error.js diff --git a/x-pack/plugins/canvas/public/components/error/index.js b/x-pack/legacy/plugins/canvas/public/components/error/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/error/index.js rename to x-pack/legacy/plugins/canvas/public/components/error/index.js diff --git a/x-pack/plugins/canvas/public/components/error/show_debugging.js b/x-pack/legacy/plugins/canvas/public/components/error/show_debugging.js similarity index 100% rename from x-pack/plugins/canvas/public/components/error/show_debugging.js rename to x-pack/legacy/plugins/canvas/public/components/error/show_debugging.js diff --git a/x-pack/plugins/canvas/public/components/es_field_select/es_field_select.js b/x-pack/legacy/plugins/canvas/public/components/es_field_select/es_field_select.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/es_field_select.js rename to x-pack/legacy/plugins/canvas/public/components/es_field_select/es_field_select.js diff --git a/x-pack/plugins/canvas/public/components/es_field_select/index.js b/x-pack/legacy/plugins/canvas/public/components/es_field_select/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/index.js rename to x-pack/legacy/plugins/canvas/public/components/es_field_select/index.js diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.js b/x-pack/legacy/plugins/canvas/public/components/es_fields_select/es_fields_select.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.js rename to x-pack/legacy/plugins/canvas/public/components/es_fields_select/es_fields_select.js diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/index.js b/x-pack/legacy/plugins/canvas/public/components/es_fields_select/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/index.js rename to x-pack/legacy/plugins/canvas/public/components/es_fields_select/index.js diff --git a/x-pack/plugins/canvas/public/components/es_index_select/es_index_select.js b/x-pack/legacy/plugins/canvas/public/components/es_index_select/es_index_select.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_index_select/es_index_select.js rename to x-pack/legacy/plugins/canvas/public/components/es_index_select/es_index_select.js diff --git a/x-pack/plugins/canvas/public/components/es_index_select/index.js b/x-pack/legacy/plugins/canvas/public/components/es_index_select/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/es_index_select/index.js rename to x-pack/legacy/plugins/canvas/public/components/es_index_select/index.js diff --git a/x-pack/plugins/canvas/public/components/expression/element_not_selected.js b/x-pack/legacy/plugins/canvas/public/components/expression/element_not_selected.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/element_not_selected.js rename to x-pack/legacy/plugins/canvas/public/components/expression/element_not_selected.js diff --git a/x-pack/plugins/canvas/public/components/expression/expression.js b/x-pack/legacy/plugins/canvas/public/components/expression/expression.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.js rename to x-pack/legacy/plugins/canvas/public/components/expression/expression.js diff --git a/x-pack/plugins/canvas/public/components/expression/expression.scss b/x-pack/legacy/plugins/canvas/public/components/expression/expression.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.scss rename to x-pack/legacy/plugins/canvas/public/components/expression/expression.scss diff --git a/x-pack/plugins/canvas/public/components/expression/index.js b/x-pack/legacy/plugins/canvas/public/components/expression/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/index.js rename to x-pack/legacy/plugins/canvas/public/components/expression/index.js diff --git a/x-pack/plugins/canvas/public/components/expression_input/argument_reference.js b/x-pack/legacy/plugins/canvas/public/components/expression_input/argument_reference.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/argument_reference.js rename to x-pack/legacy/plugins/canvas/public/components/expression_input/argument_reference.js diff --git a/x-pack/plugins/canvas/public/components/expression_input/expression_input.js b/x-pack/legacy/plugins/canvas/public/components/expression_input/expression_input.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/expression_input.js rename to x-pack/legacy/plugins/canvas/public/components/expression_input/expression_input.js diff --git a/x-pack/plugins/canvas/public/components/expression_input/function_reference.js b/x-pack/legacy/plugins/canvas/public/components/expression_input/function_reference.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/function_reference.js rename to x-pack/legacy/plugins/canvas/public/components/expression_input/function_reference.js diff --git a/x-pack/plugins/canvas/public/components/expression_input/index.js b/x-pack/legacy/plugins/canvas/public/components/expression_input/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/index.js rename to x-pack/legacy/plugins/canvas/public/components/expression_input/index.js diff --git a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/file_upload/file_upload.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/file_upload/file_upload.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx b/x-pack/legacy/plugins/canvas/public/components/file_upload/file_upload.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx rename to x-pack/legacy/plugins/canvas/public/components/file_upload/file_upload.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/font_picker/font_picker.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/font_picker/font_picker.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/font_picker.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/font_picker/font_picker.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx b/x-pack/legacy/plugins/canvas/public/components/font_picker/font_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx rename to x-pack/legacy/plugins/canvas/public/components/font_picker/font_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/index.js b/x-pack/legacy/plugins/canvas/public/components/font_picker/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/index.js rename to x-pack/legacy/plugins/canvas/public/components/font_picker/index.js diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.js b/x-pack/legacy/plugins/canvas/public/components/fullscreen/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.js rename to x-pack/legacy/plugins/canvas/public/components/fullscreen/fullscreen.js diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss b/x-pack/legacy/plugins/canvas/public/components/fullscreen/fullscreen.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss rename to x-pack/legacy/plugins/canvas/public/components/fullscreen/fullscreen.scss diff --git a/x-pack/plugins/canvas/public/components/fullscreen/index.js b/x-pack/legacy/plugins/canvas/public/components/fullscreen/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/index.js rename to x-pack/legacy/plugins/canvas/public/components/fullscreen/index.js diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.js b/x-pack/legacy/plugins/canvas/public/components/function_form/function_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_form.js diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.scss b/x-pack/legacy/plugins/canvas/public/components/function_form/function_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.scss rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_form.scss diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.js b/x-pack/legacy/plugins/canvas/public/components/function_form/function_form_component.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_component.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_form_component.js diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.js b/x-pack/legacy/plugins/canvas/public/components/function_form/function_form_context_error.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_error.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_form_context_error.js diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.js b/x-pack/legacy/plugins/canvas/public/components/function_form/function_form_context_pending.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_form_context_pending.js diff --git a/x-pack/plugins/canvas/public/components/function_form/function_unknown.js b/x-pack/legacy/plugins/canvas/public/components/function_form/function_unknown.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_unknown.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/function_unknown.js diff --git a/x-pack/plugins/canvas/public/components/function_form/index.js b/x-pack/legacy/plugins/canvas/public/components/function_form/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/index.js rename to x-pack/legacy/plugins/canvas/public/components/function_form/index.js diff --git a/x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js b/x-pack/legacy/plugins/canvas/public/components/function_form_list/function_form_list.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js rename to x-pack/legacy/plugins/canvas/public/components/function_form_list/function_form_list.js diff --git a/x-pack/plugins/canvas/public/components/function_form_list/index.js b/x-pack/legacy/plugins/canvas/public/components/function_form_list/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/index.js rename to x-pack/legacy/plugins/canvas/public/components/function_form_list/index.js diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.js b/x-pack/legacy/plugins/canvas/public/components/help_menu/help_menu.js similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.js rename to x-pack/legacy/plugins/canvas/public/components/help_menu/help_menu.js diff --git a/x-pack/plugins/canvas/public/components/help_menu/index.js b/x-pack/legacy/plugins/canvas/public/components/help_menu/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/index.js rename to x-pack/legacy/plugins/canvas/public/components/help_menu/index.js diff --git a/x-pack/plugins/canvas/public/components/hover_annotation/hover_annotation.js b/x-pack/legacy/plugins/canvas/public/components/hover_annotation/hover_annotation.js similarity index 100% rename from x-pack/plugins/canvas/public/components/hover_annotation/hover_annotation.js rename to x-pack/legacy/plugins/canvas/public/components/hover_annotation/hover_annotation.js diff --git a/x-pack/plugins/canvas/public/components/hover_annotation/hover_annotation.scss b/x-pack/legacy/plugins/canvas/public/components/hover_annotation/hover_annotation.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/hover_annotation/hover_annotation.scss rename to x-pack/legacy/plugins/canvas/public/components/hover_annotation/hover_annotation.scss diff --git a/x-pack/plugins/canvas/public/components/hover_annotation/index.js b/x-pack/legacy/plugins/canvas/public/components/hover_annotation/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/hover_annotation/index.js rename to x-pack/legacy/plugins/canvas/public/components/hover_annotation/index.js diff --git a/x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/item_grid/index.ts b/x-pack/legacy/plugins/canvas/public/components/item_grid/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/index.ts rename to x-pack/legacy/plugins/canvas/public/components/item_grid/index.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx b/x-pack/legacy/plugins/canvas/public/components/item_grid/item_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx rename to x-pack/legacy/plugins/canvas/public/components/item_grid/item_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/keyboard_shortcuts_doc.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/keyboard_shortcuts_doc.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/keyboard_shortcuts_doc.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/keyboard_shortcuts_doc.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts b/x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts rename to x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx b/x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx rename to x-pack/legacy/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx diff --git a/x-pack/plugins/canvas/public/components/link/index.js b/x-pack/legacy/plugins/canvas/public/components/link/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/link/index.js rename to x-pack/legacy/plugins/canvas/public/components/link/index.js diff --git a/x-pack/plugins/canvas/public/components/link/link.js b/x-pack/legacy/plugins/canvas/public/components/link/link.js similarity index 100% rename from x-pack/plugins/canvas/public/components/link/link.js rename to x-pack/legacy/plugins/canvas/public/components/link/link.js diff --git a/x-pack/plugins/canvas/public/components/loading/__tests__/loading.js b/x-pack/legacy/plugins/canvas/public/components/loading/__tests__/loading.js similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/__tests__/loading.js rename to x-pack/legacy/plugins/canvas/public/components/loading/__tests__/loading.js diff --git a/x-pack/plugins/canvas/public/components/loading/index.ts b/x-pack/legacy/plugins/canvas/public/components/loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/index.ts rename to x-pack/legacy/plugins/canvas/public/components/loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/loading/loading.scss b/x-pack/legacy/plugins/canvas/public/components/loading/loading.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.scss rename to x-pack/legacy/plugins/canvas/public/components/loading/loading.scss diff --git a/x-pack/plugins/canvas/public/components/loading/loading.tsx b/x-pack/legacy/plugins/canvas/public/components/loading/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.tsx rename to x-pack/legacy/plugins/canvas/public/components/loading/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/navbar/index.js b/x-pack/legacy/plugins/canvas/public/components/navbar/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/navbar/index.js rename to x-pack/legacy/plugins/canvas/public/components/navbar/index.js diff --git a/x-pack/plugins/canvas/public/components/navbar/navbar.js b/x-pack/legacy/plugins/canvas/public/components/navbar/navbar.js similarity index 100% rename from x-pack/plugins/canvas/public/components/navbar/navbar.js rename to x-pack/legacy/plugins/canvas/public/components/navbar/navbar.js diff --git a/x-pack/plugins/canvas/public/components/navbar/navbar.scss b/x-pack/legacy/plugins/canvas/public/components/navbar/navbar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/navbar/navbar.scss rename to x-pack/legacy/plugins/canvas/public/components/navbar/navbar.scss diff --git a/x-pack/plugins/canvas/public/components/page_config/index.js b/x-pack/legacy/plugins/canvas/public/components/page_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/index.js rename to x-pack/legacy/plugins/canvas/public/components/page_config/index.js diff --git a/x-pack/plugins/canvas/public/components/page_config/page_config.js b/x-pack/legacy/plugins/canvas/public/components/page_config/page_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/page_config.js rename to x-pack/legacy/plugins/canvas/public/components/page_config/page_config.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/index.js b/x-pack/legacy/plugins/canvas/public/components/page_manager/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/index.js rename to x-pack/legacy/plugins/canvas/public/components/page_manager/index.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.js b/x-pack/legacy/plugins/canvas/public/components/page_manager/page_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.js rename to x-pack/legacy/plugins/canvas/public/components/page_manager/page_manager.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.scss b/x-pack/legacy/plugins/canvas/public/components/page_manager/page_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.scss rename to x-pack/legacy/plugins/canvas/public/components/page_manager/page_manager.scss diff --git a/x-pack/plugins/canvas/public/components/page_preview/index.js b/x-pack/legacy/plugins/canvas/public/components/page_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/index.js rename to x-pack/legacy/plugins/canvas/public/components/page_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_controls.js b/x-pack/legacy/plugins/canvas/public/components/page_preview/page_controls.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_controls.js rename to x-pack/legacy/plugins/canvas/public/components/page_preview/page_controls.js diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.js b/x-pack/legacy/plugins/canvas/public/components/page_preview/page_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.js rename to x-pack/legacy/plugins/canvas/public/components/page_preview/page_preview.js diff --git a/x-pack/plugins/canvas/public/components/paginate/index.js b/x-pack/legacy/plugins/canvas/public/components/paginate/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/index.js rename to x-pack/legacy/plugins/canvas/public/components/paginate/index.js diff --git a/x-pack/plugins/canvas/public/components/paginate/paginate.js b/x-pack/legacy/plugins/canvas/public/components/paginate/paginate.js similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/paginate.js rename to x-pack/legacy/plugins/canvas/public/components/paginate/paginate.js diff --git a/x-pack/plugins/canvas/public/components/palette_picker/index.js b/x-pack/legacy/plugins/canvas/public/components/palette_picker/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/index.js rename to x-pack/legacy/plugins/canvas/public/components/palette_picker/index.js diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker.js b/x-pack/legacy/plugins/canvas/public/components/palette_picker/palette_picker.js similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker.js rename to x-pack/legacy/plugins/canvas/public/components/palette_picker/palette_picker.js diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker.scss b/x-pack/legacy/plugins/canvas/public/components/palette_picker/palette_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker.scss rename to x-pack/legacy/plugins/canvas/public/components/palette_picker/palette_picker.scss diff --git a/x-pack/plugins/canvas/public/components/palette_swatch/index.js b/x-pack/legacy/plugins/canvas/public/components/palette_swatch/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_swatch/index.js rename to x-pack/legacy/plugins/canvas/public/components/palette_swatch/index.js diff --git a/x-pack/plugins/canvas/public/components/palette_swatch/palette_swatch.js b/x-pack/legacy/plugins/canvas/public/components/palette_swatch/palette_swatch.js similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_swatch/palette_swatch.js rename to x-pack/legacy/plugins/canvas/public/components/palette_swatch/palette_swatch.js diff --git a/x-pack/plugins/canvas/public/components/palette_swatch/palette_swatch.scss b/x-pack/legacy/plugins/canvas/public/components/palette_swatch/palette_swatch.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_swatch/palette_swatch.scss rename to x-pack/legacy/plugins/canvas/public/components/palette_swatch/palette_swatch.scss diff --git a/x-pack/plugins/canvas/public/components/popover/index.js b/x-pack/legacy/plugins/canvas/public/components/popover/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/index.js rename to x-pack/legacy/plugins/canvas/public/components/popover/index.js diff --git a/x-pack/plugins/canvas/public/components/popover/popover.js b/x-pack/legacy/plugins/canvas/public/components/popover/popover.js similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/popover.js rename to x-pack/legacy/plugins/canvas/public/components/popover/popover.js diff --git a/x-pack/plugins/canvas/public/components/positionable/index.js b/x-pack/legacy/plugins/canvas/public/components/positionable/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/index.js rename to x-pack/legacy/plugins/canvas/public/components/positionable/index.js diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.js b/x-pack/legacy/plugins/canvas/public/components/positionable/positionable.js similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.js rename to x-pack/legacy/plugins/canvas/public/components/positionable/positionable.js diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.scss b/x-pack/legacy/plugins/canvas/public/components/positionable/positionable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.scss rename to x-pack/legacy/plugins/canvas/public/components/positionable/positionable.scss diff --git a/x-pack/plugins/canvas/public/components/remove_icon/index.js b/x-pack/legacy/plugins/canvas/public/components/remove_icon/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/remove_icon/index.js rename to x-pack/legacy/plugins/canvas/public/components/remove_icon/index.js diff --git a/x-pack/plugins/canvas/public/components/remove_icon/remove_icon.js b/x-pack/legacy/plugins/canvas/public/components/remove_icon/remove_icon.js similarity index 100% rename from x-pack/plugins/canvas/public/components/remove_icon/remove_icon.js rename to x-pack/legacy/plugins/canvas/public/components/remove_icon/remove_icon.js diff --git a/x-pack/plugins/canvas/public/components/remove_icon/remove_icon.scss b/x-pack/legacy/plugins/canvas/public/components/remove_icon/remove_icon.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/remove_icon/remove_icon.scss rename to x-pack/legacy/plugins/canvas/public/components/remove_icon/remove_icon.scss diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/index.js b/x-pack/legacy/plugins/canvas/public/components/render_to_dom/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/index.js rename to x-pack/legacy/plugins/canvas/public/components/render_to_dom/index.js diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.js b/x-pack/legacy/plugins/canvas/public/components/render_to_dom/render_to_dom.js similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.js rename to x-pack/legacy/plugins/canvas/public/components/render_to_dom/render_to_dom.js diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/index.js b/x-pack/legacy/plugins/canvas/public/components/render_with_fn/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/index.js rename to x-pack/legacy/plugins/canvas/public/components/render_with_fn/index.js diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/lib/handlers.js b/x-pack/legacy/plugins/canvas/public/components/render_with_fn/lib/handlers.js similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/lib/handlers.js rename to x-pack/legacy/plugins/canvas/public/components/render_with_fn/lib/handlers.js diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.js b/x-pack/legacy/plugins/canvas/public/components/render_with_fn/render_with_fn.js similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.js rename to x-pack/legacy/plugins/canvas/public/components/render_with_fn/render_with_fn.js diff --git a/x-pack/plugins/canvas/public/components/rotation_handle/index.js b/x-pack/legacy/plugins/canvas/public/components/rotation_handle/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/rotation_handle/index.js rename to x-pack/legacy/plugins/canvas/public/components/rotation_handle/index.js diff --git a/x-pack/plugins/canvas/public/components/rotation_handle/rotation_handle.js b/x-pack/legacy/plugins/canvas/public/components/rotation_handle/rotation_handle.js similarity index 100% rename from x-pack/plugins/canvas/public/components/rotation_handle/rotation_handle.js rename to x-pack/legacy/plugins/canvas/public/components/rotation_handle/rotation_handle.js diff --git a/x-pack/plugins/canvas/public/components/rotation_handle/rotation_handle.scss b/x-pack/legacy/plugins/canvas/public/components/rotation_handle/rotation_handle.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/rotation_handle/rotation_handle.scss rename to x-pack/legacy/plugins/canvas/public/components/rotation_handle/rotation_handle.scss diff --git a/x-pack/plugins/canvas/public/components/router/canvas_loading.js b/x-pack/legacy/plugins/canvas/public/components/router/canvas_loading.js similarity index 100% rename from x-pack/plugins/canvas/public/components/router/canvas_loading.js rename to x-pack/legacy/plugins/canvas/public/components/router/canvas_loading.js diff --git a/x-pack/plugins/canvas/public/components/router/index.js b/x-pack/legacy/plugins/canvas/public/components/router/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/router/index.js rename to x-pack/legacy/plugins/canvas/public/components/router/index.js diff --git a/x-pack/plugins/canvas/public/components/router/router.js b/x-pack/legacy/plugins/canvas/public/components/router/router.js similarity index 100% rename from x-pack/plugins/canvas/public/components/router/router.js rename to x-pack/legacy/plugins/canvas/public/components/router/router.js diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__examples__/__snapshots__/shape_picker.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/shape_picker/__examples__/__snapshots__/shape_picker.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__examples__/__snapshots__/shape_picker.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/shape_picker/__examples__/__snapshots__/shape_picker.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__examples__/shape_picker.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_picker/__examples__/shape_picker.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__examples__/shape_picker.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_picker/__examples__/shape_picker.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/index.ts b/x-pack/legacy/plugins/canvas/public/components/shape_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/index.ts rename to x-pack/legacy/plugins/canvas/public/components/shape_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss b/x-pack/legacy/plugins/canvas/public/components/shape_picker/shape_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss rename to x-pack/legacy/plugins/canvas/public/components/shape_picker/shape_picker.scss diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_picker/shape_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_picker/shape_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__examples__/__snapshots__/shape_picker_popover.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/__examples__/__snapshots__/shape_picker_popover.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__examples__/__snapshots__/shape_picker_popover.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/__examples__/__snapshots__/shape_picker_popover.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__examples__/shape_picker_popover.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/__examples__/shape_picker_popover.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__examples__/shape_picker_popover.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/__examples__/shape_picker_popover.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/index.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__examples__/__snapshots__/shape_preview.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/shape_preview/__examples__/__snapshots__/shape_preview.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__examples__/__snapshots__/shape_preview.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/shape_preview/__examples__/__snapshots__/shape_preview.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__examples__/shape_preview.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_preview/__examples__/shape_preview.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__examples__/shape_preview.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_preview/__examples__/shape_preview.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/index.ts b/x-pack/legacy/plugins/canvas/public/components/shape_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/index.ts rename to x-pack/legacy/plugins/canvas/public/components/shape_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss b/x-pack/legacy/plugins/canvas/public/components/shape_preview/shape_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss rename to x-pack/legacy/plugins/canvas/public/components/shape_preview/shape_preview.scss diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx b/x-pack/legacy/plugins/canvas/public/components/shape_preview/shape_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx rename to x-pack/legacy/plugins/canvas/public/components/shape_preview/shape_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/group_settings.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/group_settings.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/group_settings.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/group_settings.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/multi_element_settings.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/multi_element_settings.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/multi_element_settings.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/__snapshots__/multi_element_settings.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__examples__/group_settings.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/group_settings.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__examples__/group_settings.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/group_settings.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__examples__/multi_element_settings.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/multi_element_settings.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__examples__/multi_element_settings.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/__examples__/multi_element_settings.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/index.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/element_settings/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/element_settings/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/global_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/global_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/group_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/group_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/index.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/multi_element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/multi_element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss b/x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.scss rename to x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content.js b/x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_content.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content.js rename to x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_content.js diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js b/x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_section.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js rename to x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_section.js diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js b/x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_section_title.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js rename to x-pack/legacy/plugins/canvas/public/components/sidebar/sidebar_section_title.js diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__examples__/__snapshots__/sidebar_header.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/sidebar_header/__examples__/__snapshots__/sidebar_header.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__examples__/__snapshots__/sidebar_header.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/sidebar_header/__examples__/__snapshots__/sidebar_header.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__examples__/sidebar_header.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar_header/__examples__/sidebar_header.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__examples__/sidebar_header.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar_header/__examples__/sidebar_header.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.js b/x-pack/legacy/plugins/canvas/public/components/sidebar_header/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/index.js rename to x-pack/legacy/plugins/canvas/public/components/sidebar_header/index.js diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss b/x-pack/legacy/plugins/canvas/public/components/sidebar_header/sidebar_header.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss rename to x-pack/legacy/plugins/canvas/public/components/sidebar_header/sidebar_header.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx b/x-pack/legacy/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx rename to x-pack/legacy/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag/__examples__/tag.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/tag/__examples__/tag.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__examples__/tag.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag/__examples__/tag.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/index.tsx b/x-pack/legacy/plugins/canvas/public/components/tag/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/tag.tsx b/x-pack/legacy/plugins/canvas/public/components/tag/tag.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/tag.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag/tag.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/__examples__/__snapshots__/tag_list.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/tag_list/__examples__/__snapshots__/tag_list.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__examples__/__snapshots__/tag_list.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/tag_list/__examples__/__snapshots__/tag_list.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag_list/__examples__/tag_list.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/tag_list/__examples__/tag_list.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__examples__/tag_list.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag_list/__examples__/tag_list.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/index.tsx b/x-pack/legacy/plugins/canvas/public/components/tag_list/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag_list/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx b/x-pack/legacy/plugins/canvas/public/components/tag_list/tag_list.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx rename to x-pack/legacy/plugins/canvas/public/components/tag_list/tag_list.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.js b/x-pack/legacy/plugins/canvas/public/components/text_style_picker/font_sizes.js similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.js rename to x-pack/legacy/plugins/canvas/public/components/text_style_picker/font_sizes.js diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/index.js b/x-pack/legacy/plugins/canvas/public/components/text_style_picker/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/index.js rename to x-pack/legacy/plugins/canvas/public/components/text_style_picker/index.js diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.js b/x-pack/legacy/plugins/canvas/public/components/text_style_picker/text_style_picker.js similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.js rename to x-pack/legacy/plugins/canvas/public/components/text_style_picker/text_style_picker.js diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__examples__/__snapshots__/tool_tip_shortcut.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/__examples__/__snapshots__/tool_tip_shortcut.examples.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__examples__/__snapshots__/tool_tip_shortcut.examples.storyshot rename to x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/__examples__/__snapshots__/tool_tip_shortcut.examples.storyshot diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__examples__/tool_tip_shortcut.examples.tsx b/x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/__examples__/tool_tip_shortcut.examples.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__examples__/tool_tip_shortcut.examples.tsx rename to x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/__examples__/tool_tip_shortcut.examples.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx b/x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx b/x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx rename to x-pack/legacy/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/index.js b/x-pack/legacy/plugins/canvas/public/components/toolbar/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/index.js rename to x-pack/legacy/plugins/canvas/public/components/toolbar/index.js diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.js b/x-pack/legacy/plugins/canvas/public/components/toolbar/toolbar.js similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.js rename to x-pack/legacy/plugins/canvas/public/components/toolbar/toolbar.js diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.scss b/x-pack/legacy/plugins/canvas/public/components/toolbar/toolbar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.scss rename to x-pack/legacy/plugins/canvas/public/components/toolbar/toolbar.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/index.js b/x-pack/legacy/plugins/canvas/public/components/toolbar/tray/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/index.js rename to x-pack/legacy/plugins/canvas/public/components/toolbar/tray/index.js diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.js b/x-pack/legacy/plugins/canvas/public/components/toolbar/tray/tray.js similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.js rename to x-pack/legacy/plugins/canvas/public/components/toolbar/tray/tray.js diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss b/x-pack/legacy/plugins/canvas/public/components/toolbar/tray/tray.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss rename to x-pack/legacy/plugins/canvas/public/components/toolbar/tray/tray.scss diff --git a/x-pack/plugins/canvas/public/components/tooltip_annotation/index.js b/x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_annotation/index.js rename to x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/index.js diff --git a/x-pack/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.js b/x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.js similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.js rename to x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.js diff --git a/x-pack/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.scss b/x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.scss rename to x-pack/legacy/plugins/canvas/public/components/tooltip_annotation/tooltip_annotation.scss diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/index.js b/x-pack/legacy/plugins/canvas/public/components/tooltip_icon/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/index.js rename to x-pack/legacy/plugins/canvas/public/components/tooltip_icon/index.js diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.js b/x-pack/legacy/plugins/canvas/public/components/tooltip_icon/tooltip_icon.js similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.js rename to x-pack/legacy/plugins/canvas/public/components/tooltip_icon/tooltip_icon.js diff --git a/x-pack/plugins/canvas/public/components/workpad/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.js b/x-pack/legacy/plugins/canvas/public/components/workpad/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.js rename to x-pack/legacy/plugins/canvas/public/components/workpad/workpad.js diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.scss b/x-pack/legacy/plugins/canvas/public/components/workpad/workpad.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad/workpad.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts b/x-pack/legacy/plugins/canvas/public/components/workpad_color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts rename to x-pack/legacy/plugins/canvas/public/components/workpad_color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.tsx b/x-pack/legacy/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.tsx rename to x-pack/legacy/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_config/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_config/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.js b/x-pack/legacy/plugins/canvas/public/components/workpad_config/workpad_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_config/workpad_config.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/auto_refresh_controls.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/auto_refresh_controls.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/auto_refresh_controls.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/auto_refresh_controls.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/control_settings.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/control_settings.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/control_settings.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/control_settings.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/control_settings.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/control_settings.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/control_settings.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/control_settings.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/custom_interval.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/custom_interval.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/custom_interval.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/custom_interval.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/control_settings/kiosk_controls.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/kiosk_controls.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/control_settings/kiosk_controls.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/control_settings/kiosk_controls.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/refresh_control/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/refresh_control/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_export/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_export/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_export/utils.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/utils.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_export/utils.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/utils.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_export/workpad_export.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.js b/x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_header.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_header/workpad_header.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/upload_workpad.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/upload_workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/upload_workpad.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/upload_workpad.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_create.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_create.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_create.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_create.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_dropzone/workpad_dropzone.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_loader.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_loader.js diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_loader.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_loader.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_search.js b/x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_search.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_loader/workpad_search.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_loader/workpad_search.js diff --git a/x-pack/plugins/canvas/public/components/workpad_manager/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_manager/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_manager/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_manager/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_manager/workpad_manager.js b/x-pack/legacy/plugins/canvas/public/components/workpad_manager/workpad_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_manager/workpad_manager.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_manager/workpad_manager.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/integration_utils.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/integration_utils.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/prop_types.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/prop_types.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/prop_types.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/prop_types.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss b/x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss rename to x-pack/legacy/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx b/x-pack/legacy/plugins/canvas/public/components/workpad_shortcuts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx rename to x-pack/legacy/plugins/canvas/public/components/workpad_shortcuts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx b/x-pack/legacy/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx rename to x-pack/legacy/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_templates/index.js b/x-pack/legacy/plugins/canvas/public/components/workpad_templates/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_templates/index.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_templates/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_templates/workpad_templates.js b/x-pack/legacy/plugins/canvas/public/components/workpad_templates/workpad_templates.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_templates/workpad_templates.js rename to x-pack/legacy/plugins/canvas/public/components/workpad_templates/workpad_templates.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_type.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_type.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/color.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/color.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/color.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/color.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/border_form.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/border_form.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/font.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/font.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/font.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/font.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/index.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/index.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.js b/x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.js rename to x-pack/legacy/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.js diff --git a/x-pack/plugins/canvas/public/expression_types/base_form.js b/x-pack/legacy/plugins/canvas/public/expression_types/base_form.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/base_form.js rename to x-pack/legacy/plugins/canvas/public/expression_types/base_form.js diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.js b/x-pack/legacy/plugins/canvas/public/expression_types/datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource.js rename to x-pack/legacy/plugins/canvas/public/expression_types/datasource.js diff --git a/x-pack/plugins/canvas/public/expression_types/datasources/esdocs.js b/x-pack/legacy/plugins/canvas/public/expression_types/datasources/esdocs.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasources/esdocs.js rename to x-pack/legacy/plugins/canvas/public/expression_types/datasources/esdocs.js diff --git a/x-pack/plugins/canvas/public/expression_types/datasources/index.js b/x-pack/legacy/plugins/canvas/public/expression_types/datasources/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasources/index.js rename to x-pack/legacy/plugins/canvas/public/expression_types/datasources/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.js b/x-pack/legacy/plugins/canvas/public/expression_types/function_form.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/function_form.js rename to x-pack/legacy/plugins/canvas/public/expression_types/function_form.js diff --git a/x-pack/plugins/canvas/public/expression_types/index.js b/x-pack/legacy/plugins/canvas/public/expression_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/index.js rename to x-pack/legacy/plugins/canvas/public/expression_types/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/model.js b/x-pack/legacy/plugins/canvas/public/expression_types/model.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model.js rename to x-pack/legacy/plugins/canvas/public/expression_types/model.js diff --git a/x-pack/plugins/canvas/public/expression_types/transform.js b/x-pack/legacy/plugins/canvas/public/expression_types/transform.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform.js rename to x-pack/legacy/plugins/canvas/public/expression_types/transform.js diff --git a/x-pack/plugins/canvas/public/expression_types/view.js b/x-pack/legacy/plugins/canvas/public/expression_types/view.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view.js rename to x-pack/legacy/plugins/canvas/public/expression_types/view.js diff --git a/x-pack/plugins/canvas/public/functions/__tests__/asset.js b/x-pack/legacy/plugins/canvas/public/functions/__tests__/asset.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/__tests__/asset.js rename to x-pack/legacy/plugins/canvas/public/functions/__tests__/asset.js diff --git a/x-pack/plugins/canvas/public/functions/asset.js b/x-pack/legacy/plugins/canvas/public/functions/asset.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/asset.js rename to x-pack/legacy/plugins/canvas/public/functions/asset.js diff --git a/x-pack/plugins/canvas/public/functions/filters.js b/x-pack/legacy/plugins/canvas/public/functions/filters.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/filters.js rename to x-pack/legacy/plugins/canvas/public/functions/filters.js diff --git a/x-pack/plugins/canvas/public/functions/index.js b/x-pack/legacy/plugins/canvas/public/functions/index.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/index.js rename to x-pack/legacy/plugins/canvas/public/functions/index.js diff --git a/x-pack/plugins/canvas/public/functions/timelion.js b/x-pack/legacy/plugins/canvas/public/functions/timelion.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/timelion.js rename to x-pack/legacy/plugins/canvas/public/functions/timelion.js diff --git a/x-pack/plugins/canvas/public/functions/to.js b/x-pack/legacy/plugins/canvas/public/functions/to.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/to.js rename to x-pack/legacy/plugins/canvas/public/functions/to.js diff --git a/x-pack/plugins/canvas/public/icon.svg b/x-pack/legacy/plugins/canvas/public/icon.svg similarity index 100% rename from x-pack/plugins/canvas/public/icon.svg rename to x-pack/legacy/plugins/canvas/public/icon.svg diff --git a/x-pack/plugins/canvas/public/lib/__tests__/clipboard.js b/x-pack/legacy/plugins/canvas/public/lib/__tests__/clipboard.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/clipboard.js rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/clipboard.js diff --git a/x-pack/plugins/canvas/public/lib/__tests__/find_expression_type.js b/x-pack/legacy/plugins/canvas/public/lib/__tests__/find_expression_type.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/find_expression_type.js rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/find_expression_type.js diff --git a/x-pack/plugins/canvas/public/lib/__tests__/get_pretty_shortcut.test.ts b/x-pack/legacy/plugins/canvas/public/lib/__tests__/get_pretty_shortcut.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/get_pretty_shortcut.test.ts rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/get_pretty_shortcut.test.ts diff --git a/x-pack/plugins/canvas/public/lib/__tests__/history_provider.js b/x-pack/legacy/plugins/canvas/public/lib/__tests__/history_provider.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/history_provider.js rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/history_provider.js diff --git a/x-pack/plugins/canvas/public/lib/__tests__/modify_path.js b/x-pack/legacy/plugins/canvas/public/lib/__tests__/modify_path.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/modify_path.js rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/modify_path.js diff --git a/x-pack/plugins/canvas/public/lib/__tests__/readable_color.test.ts b/x-pack/legacy/plugins/canvas/public/lib/__tests__/readable_color.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/readable_color.test.ts rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/readable_color.test.ts diff --git a/x-pack/plugins/canvas/public/lib/__tests__/resolved_arg.js b/x-pack/legacy/plugins/canvas/public/lib/__tests__/resolved_arg.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/__tests__/resolved_arg.js rename to x-pack/legacy/plugins/canvas/public/lib/__tests__/resolved_arg.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/__fixtures__/typescript/typespec_tests.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/__fixtures__/typescript/typespec_tests.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/__fixtures__/typescript/typespec_tests.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/__fixtures__/typescript/typespec_tests.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/common.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/common.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/common.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/common.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/functional.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/functional.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/functional.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/functional.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/geometry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/geometry.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/gestures.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/gestures.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/index.d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/index.d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/layout.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/layout.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/layout_functions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/layout_functions.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/matrix.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/matrix.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/matrix2d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/matrix2d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/select.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/select.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/select.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/select.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/store.ts b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/store.ts rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/store.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/tsconfig.json b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/tsconfig.json similarity index 87% rename from x-pack/plugins/canvas/public/lib/aeroelastic/tsconfig.json rename to x-pack/legacy/plugins/canvas/public/lib/aeroelastic/tsconfig.json index 3b61e4b414626..ae5eb9321a59f 100644 --- a/x-pack/plugins/canvas/public/lib/aeroelastic/tsconfig.json +++ b/x-pack/legacy/plugins/canvas/public/lib/aeroelastic/tsconfig.json @@ -15,7 +15,7 @@ "paths": { "layout/*": ["aeroelastic/*"] }, - "types": ["@kbn/x-pack/plugins/canvas/public/lib/aeroelastic"] + "types": ["@kbn/x-pack/legacy/plugins/canvas/public/lib/aeroelastic"] }, "exclude": ["node_modules", "**/*.spec.ts", "node_modules/@types/mocha"] } diff --git a/x-pack/plugins/canvas/public/lib/arg_helpers.js b/x-pack/legacy/plugins/canvas/public/lib/arg_helpers.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/arg_helpers.js rename to x-pack/legacy/plugins/canvas/public/lib/arg_helpers.js diff --git a/x-pack/plugins/canvas/public/lib/breadcrumbs.js b/x-pack/legacy/plugins/canvas/public/lib/breadcrumbs.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/breadcrumbs.js rename to x-pack/legacy/plugins/canvas/public/lib/breadcrumbs.js diff --git a/x-pack/plugins/canvas/public/lib/clipboard.js b/x-pack/legacy/plugins/canvas/public/lib/clipboard.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.js rename to x-pack/legacy/plugins/canvas/public/lib/clipboard.js diff --git a/x-pack/plugins/canvas/public/lib/clone_subgraphs.js b/x-pack/legacy/plugins/canvas/public/lib/clone_subgraphs.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/clone_subgraphs.js rename to x-pack/legacy/plugins/canvas/public/lib/clone_subgraphs.js diff --git a/x-pack/plugins/canvas/public/lib/custom_element.ts b/x-pack/legacy/plugins/canvas/public/lib/custom_element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/custom_element.ts rename to x-pack/legacy/plugins/canvas/public/lib/custom_element.ts diff --git a/x-pack/plugins/canvas/public/lib/custom_element_service.ts b/x-pack/legacy/plugins/canvas/public/lib/custom_element_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/custom_element_service.ts rename to x-pack/legacy/plugins/canvas/public/lib/custom_element_service.ts diff --git a/x-pack/plugins/canvas/public/lib/default_header.png b/x-pack/legacy/plugins/canvas/public/lib/default_header.png similarity index 100% rename from x-pack/plugins/canvas/public/lib/default_header.png rename to x-pack/legacy/plugins/canvas/public/lib/default_header.png diff --git a/x-pack/plugins/canvas/public/lib/doc_title.js b/x-pack/legacy/plugins/canvas/public/lib/doc_title.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/doc_title.js rename to x-pack/legacy/plugins/canvas/public/lib/doc_title.js diff --git a/x-pack/plugins/canvas/public/lib/documentation_links.js b/x-pack/legacy/plugins/canvas/public/lib/documentation_links.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/documentation_links.js rename to x-pack/legacy/plugins/canvas/public/lib/documentation_links.js diff --git a/x-pack/plugins/canvas/public/lib/dom.ts b/x-pack/legacy/plugins/canvas/public/lib/dom.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/dom.ts rename to x-pack/legacy/plugins/canvas/public/lib/dom.ts diff --git a/x-pack/plugins/canvas/public/lib/download_workpad.js b/x-pack/legacy/plugins/canvas/public/lib/download_workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/download_workpad.js rename to x-pack/legacy/plugins/canvas/public/lib/download_workpad.js diff --git a/x-pack/plugins/canvas/public/lib/elastic_logo.ts b/x-pack/legacy/plugins/canvas/public/lib/elastic_logo.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/elastic_logo.ts rename to x-pack/legacy/plugins/canvas/public/lib/elastic_logo.ts diff --git a/x-pack/plugins/canvas/public/lib/elastic_outline.js b/x-pack/legacy/plugins/canvas/public/lib/elastic_outline.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/elastic_outline.js rename to x-pack/legacy/plugins/canvas/public/lib/elastic_outline.js diff --git a/x-pack/plugins/canvas/public/lib/element.ts b/x-pack/legacy/plugins/canvas/public/lib/element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element.ts rename to x-pack/legacy/plugins/canvas/public/lib/element.ts diff --git a/x-pack/plugins/canvas/public/lib/element_handler_creators.ts b/x-pack/legacy/plugins/canvas/public/lib/element_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element_handler_creators.ts rename to x-pack/legacy/plugins/canvas/public/lib/element_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/elements_registry.js b/x-pack/legacy/plugins/canvas/public/lib/elements_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/elements_registry.js rename to x-pack/legacy/plugins/canvas/public/lib/elements_registry.js diff --git a/x-pack/plugins/canvas/public/lib/es_service.js b/x-pack/legacy/plugins/canvas/public/lib/es_service.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/es_service.js rename to x-pack/legacy/plugins/canvas/public/lib/es_service.js diff --git a/x-pack/plugins/canvas/public/lib/extract_search.js b/x-pack/legacy/plugins/canvas/public/lib/extract_search.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/extract_search.js rename to x-pack/legacy/plugins/canvas/public/lib/extract_search.js diff --git a/x-pack/plugins/canvas/public/lib/find_existing_asset.js b/x-pack/legacy/plugins/canvas/public/lib/find_existing_asset.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_existing_asset.js rename to x-pack/legacy/plugins/canvas/public/lib/find_existing_asset.js diff --git a/x-pack/plugins/canvas/public/lib/find_expression_type.js b/x-pack/legacy/plugins/canvas/public/lib/find_expression_type.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_expression_type.js rename to x-pack/legacy/plugins/canvas/public/lib/find_expression_type.js diff --git a/x-pack/plugins/canvas/public/lib/fullscreen.js b/x-pack/legacy/plugins/canvas/public/lib/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/fullscreen.js rename to x-pack/legacy/plugins/canvas/public/lib/fullscreen.js diff --git a/x-pack/plugins/canvas/public/lib/function_definitions.js b/x-pack/legacy/plugins/canvas/public/lib/function_definitions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/function_definitions.js rename to x-pack/legacy/plugins/canvas/public/lib/function_definitions.js diff --git a/x-pack/plugins/canvas/public/lib/get_client_platform.ts b/x-pack/legacy/plugins/canvas/public/lib/get_client_platform.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_client_platform.ts rename to x-pack/legacy/plugins/canvas/public/lib/get_client_platform.ts diff --git a/x-pack/plugins/canvas/public/lib/get_id.ts b/x-pack/legacy/plugins/canvas/public/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_id.ts rename to x-pack/legacy/plugins/canvas/public/lib/get_id.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts b/x-pack/legacy/plugins/canvas/public/lib/get_pretty_shortcut.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts rename to x-pack/legacy/plugins/canvas/public/lib/get_pretty_shortcut.ts diff --git a/x-pack/plugins/canvas/public/lib/get_tags_filter.tsx b/x-pack/legacy/plugins/canvas/public/lib/get_tags_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_tags_filter.tsx rename to x-pack/legacy/plugins/canvas/public/lib/get_tags_filter.tsx diff --git a/x-pack/plugins/canvas/public/lib/get_window.js b/x-pack/legacy/plugins/canvas/public/lib/get_window.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_window.js rename to x-pack/legacy/plugins/canvas/public/lib/get_window.js diff --git a/x-pack/plugins/canvas/public/lib/history_provider.js b/x-pack/legacy/plugins/canvas/public/lib/history_provider.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/history_provider.js rename to x-pack/legacy/plugins/canvas/public/lib/history_provider.js diff --git a/x-pack/plugins/canvas/public/lib/is_text_input.ts b/x-pack/legacy/plugins/canvas/public/lib/is_text_input.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/is_text_input.ts rename to x-pack/legacy/plugins/canvas/public/lib/is_text_input.ts diff --git a/x-pack/plugins/canvas/public/lib/keymap.ts b/x-pack/legacy/plugins/canvas/public/lib/keymap.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/keymap.ts rename to x-pack/legacy/plugins/canvas/public/lib/keymap.ts diff --git a/x-pack/plugins/canvas/public/lib/legend_options.js b/x-pack/legacy/plugins/canvas/public/lib/legend_options.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/legend_options.js rename to x-pack/legacy/plugins/canvas/public/lib/legend_options.js diff --git a/x-pack/plugins/canvas/public/lib/load_expression_types.js b/x-pack/legacy/plugins/canvas/public/lib/load_expression_types.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_expression_types.js rename to x-pack/legacy/plugins/canvas/public/lib/load_expression_types.js diff --git a/x-pack/plugins/canvas/public/lib/load_transitions.js b/x-pack/legacy/plugins/canvas/public/lib/load_transitions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_transitions.js rename to x-pack/legacy/plugins/canvas/public/lib/load_transitions.js diff --git a/x-pack/plugins/canvas/public/lib/loading_indicator.ts b/x-pack/legacy/plugins/canvas/public/lib/loading_indicator.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/loading_indicator.ts rename to x-pack/legacy/plugins/canvas/public/lib/loading_indicator.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.js b/x-pack/legacy/plugins/canvas/public/lib/modify_path.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.js rename to x-pack/legacy/plugins/canvas/public/lib/modify_path.js diff --git a/x-pack/plugins/canvas/public/lib/notify.js b/x-pack/legacy/plugins/canvas/public/lib/notify.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/notify.js rename to x-pack/legacy/plugins/canvas/public/lib/notify.js diff --git a/x-pack/plugins/canvas/public/lib/parse_single_function_chain.js b/x-pack/legacy/plugins/canvas/public/lib/parse_single_function_chain.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/parse_single_function_chain.js rename to x-pack/legacy/plugins/canvas/public/lib/parse_single_function_chain.js diff --git a/x-pack/plugins/canvas/public/lib/positioned_element.ts b/x-pack/legacy/plugins/canvas/public/lib/positioned_element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/positioned_element.ts rename to x-pack/legacy/plugins/canvas/public/lib/positioned_element.ts diff --git a/x-pack/plugins/canvas/public/lib/readable_color.ts b/x-pack/legacy/plugins/canvas/public/lib/readable_color.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.ts rename to x-pack/legacy/plugins/canvas/public/lib/readable_color.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.js b/x-pack/legacy/plugins/canvas/public/lib/resolved_arg.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.js rename to x-pack/legacy/plugins/canvas/public/lib/resolved_arg.js diff --git a/x-pack/plugins/canvas/public/lib/router_provider.js b/x-pack/legacy/plugins/canvas/public/lib/router_provider.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/router_provider.js rename to x-pack/legacy/plugins/canvas/public/lib/router_provider.js diff --git a/x-pack/plugins/canvas/public/lib/run_interpreter.js b/x-pack/legacy/plugins/canvas/public/lib/run_interpreter.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/run_interpreter.js rename to x-pack/legacy/plugins/canvas/public/lib/run_interpreter.js diff --git a/x-pack/plugins/canvas/public/lib/shortcut_manager.js b/x-pack/legacy/plugins/canvas/public/lib/shortcut_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/shortcut_manager.js rename to x-pack/legacy/plugins/canvas/public/lib/shortcut_manager.js diff --git a/x-pack/plugins/canvas/public/lib/sync_filter_expression.ts b/x-pack/legacy/plugins/canvas/public/lib/sync_filter_expression.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/sync_filter_expression.ts rename to x-pack/legacy/plugins/canvas/public/lib/sync_filter_expression.ts diff --git a/x-pack/plugins/canvas/public/lib/tag.ts b/x-pack/legacy/plugins/canvas/public/lib/tag.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tag.ts rename to x-pack/legacy/plugins/canvas/public/lib/tag.ts diff --git a/x-pack/plugins/canvas/public/lib/tags_registry.ts b/x-pack/legacy/plugins/canvas/public/lib/tags_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tags_registry.ts rename to x-pack/legacy/plugins/canvas/public/lib/tags_registry.ts diff --git a/x-pack/plugins/canvas/public/lib/template.js b/x-pack/legacy/plugins/canvas/public/lib/template.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/template.js rename to x-pack/legacy/plugins/canvas/public/lib/template.js diff --git a/x-pack/plugins/canvas/public/lib/template_from_react_component.js b/x-pack/legacy/plugins/canvas/public/lib/template_from_react_component.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_from_react_component.js rename to x-pack/legacy/plugins/canvas/public/lib/template_from_react_component.js diff --git a/x-pack/plugins/canvas/public/lib/templates_registry.js b/x-pack/legacy/plugins/canvas/public/lib/templates_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/templates_registry.js rename to x-pack/legacy/plugins/canvas/public/lib/templates_registry.js diff --git a/x-pack/plugins/canvas/public/lib/time_duration.js b/x-pack/legacy/plugins/canvas/public/lib/time_duration.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_duration.js rename to x-pack/legacy/plugins/canvas/public/lib/time_duration.js diff --git a/x-pack/plugins/canvas/public/lib/transitions_registry.js b/x-pack/legacy/plugins/canvas/public/lib/transitions_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/transitions_registry.js rename to x-pack/legacy/plugins/canvas/public/lib/transitions_registry.js diff --git a/x-pack/plugins/canvas/public/lib/ui_metric.js b/x-pack/legacy/plugins/canvas/public/lib/ui_metric.js similarity index 79% rename from x-pack/plugins/canvas/public/lib/ui_metric.js rename to x-pack/legacy/plugins/canvas/public/lib/ui_metric.js index 95f2180910f82..57ec5b03356c9 100644 --- a/x-pack/plugins/canvas/public/lib/ui_metric.js +++ b/x-pack/legacy/plugins/canvas/public/lib/ui_metric.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { trackUiMetric } from '../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; const APP = 'canvas'; export const trackCanvasUiMetric = uiMetrics => { diff --git a/x-pack/plugins/canvas/public/lib/window_error_handler.js b/x-pack/legacy/plugins/canvas/public/lib/window_error_handler.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/window_error_handler.js rename to x-pack/legacy/plugins/canvas/public/lib/window_error_handler.js diff --git a/x-pack/plugins/canvas/public/lib/workpad_service.js b/x-pack/legacy/plugins/canvas/public/lib/workpad_service.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/workpad_service.js rename to x-pack/legacy/plugins/canvas/public/lib/workpad_service.js diff --git a/x-pack/plugins/canvas/public/register_feature.js b/x-pack/legacy/plugins/canvas/public/register_feature.js similarity index 100% rename from x-pack/plugins/canvas/public/register_feature.js rename to x-pack/legacy/plugins/canvas/public/register_feature.js diff --git a/x-pack/plugins/canvas/public/renderers.js b/x-pack/legacy/plugins/canvas/public/renderers.js similarity index 100% rename from x-pack/plugins/canvas/public/renderers.js rename to x-pack/legacy/plugins/canvas/public/renderers.js diff --git a/x-pack/plugins/canvas/public/state/actions/__tests__/elements.get_sibling_context.js b/x-pack/legacy/plugins/canvas/public/state/actions/__tests__/elements.get_sibling_context.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/__tests__/elements.get_sibling_context.js rename to x-pack/legacy/plugins/canvas/public/state/actions/__tests__/elements.get_sibling_context.js diff --git a/x-pack/plugins/canvas/public/state/actions/app.js b/x-pack/legacy/plugins/canvas/public/state/actions/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/app.js rename to x-pack/legacy/plugins/canvas/public/state/actions/app.js diff --git a/x-pack/plugins/canvas/public/state/actions/assets.js b/x-pack/legacy/plugins/canvas/public/state/actions/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/assets.js rename to x-pack/legacy/plugins/canvas/public/state/actions/assets.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.js b/x-pack/legacy/plugins/canvas/public/state/actions/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.js rename to x-pack/legacy/plugins/canvas/public/state/actions/elements.js diff --git a/x-pack/plugins/canvas/public/state/actions/history.js b/x-pack/legacy/plugins/canvas/public/state/actions/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/history.js rename to x-pack/legacy/plugins/canvas/public/state/actions/history.js diff --git a/x-pack/plugins/canvas/public/state/actions/pages.js b/x-pack/legacy/plugins/canvas/public/state/actions/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/pages.js rename to x-pack/legacy/plugins/canvas/public/state/actions/pages.js diff --git a/x-pack/plugins/canvas/public/state/actions/resolved_args.ts b/x-pack/legacy/plugins/canvas/public/state/actions/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/resolved_args.ts rename to x-pack/legacy/plugins/canvas/public/state/actions/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/actions/transient.js b/x-pack/legacy/plugins/canvas/public/state/actions/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/transient.js rename to x-pack/legacy/plugins/canvas/public/state/actions/transient.js diff --git a/x-pack/plugins/canvas/public/state/actions/workpad.js b/x-pack/legacy/plugins/canvas/public/state/actions/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/workpad.js rename to x-pack/legacy/plugins/canvas/public/state/actions/workpad.js diff --git a/x-pack/plugins/canvas/public/state/defaults.js b/x-pack/legacy/plugins/canvas/public/state/defaults.js similarity index 100% rename from x-pack/plugins/canvas/public/state/defaults.js rename to x-pack/legacy/plugins/canvas/public/state/defaults.js diff --git a/x-pack/plugins/canvas/public/state/initial_state.js b/x-pack/legacy/plugins/canvas/public/state/initial_state.js similarity index 100% rename from x-pack/plugins/canvas/public/state/initial_state.js rename to x-pack/legacy/plugins/canvas/public/state/initial_state.js diff --git a/x-pack/plugins/canvas/public/state/middleware/__tests__/in_flight.test.ts b/x-pack/legacy/plugins/canvas/public/state/middleware/__tests__/in_flight.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/__tests__/in_flight.test.ts rename to x-pack/legacy/plugins/canvas/public/state/middleware/__tests__/in_flight.test.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/app_ready.js b/x-pack/legacy/plugins/canvas/public/state/middleware/app_ready.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/app_ready.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/app_ready.js diff --git a/x-pack/plugins/canvas/public/state/middleware/breadcrumbs.js b/x-pack/legacy/plugins/canvas/public/state/middleware/breadcrumbs.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/breadcrumbs.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/breadcrumbs.js diff --git a/x-pack/plugins/canvas/public/state/middleware/element_stats.js b/x-pack/legacy/plugins/canvas/public/state/middleware/element_stats.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/element_stats.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/element_stats.js diff --git a/x-pack/plugins/canvas/public/state/middleware/es_persist.js b/x-pack/legacy/plugins/canvas/public/state/middleware/es_persist.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/es_persist.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/es_persist.js diff --git a/x-pack/plugins/canvas/public/state/middleware/fullscreen.js b/x-pack/legacy/plugins/canvas/public/state/middleware/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/fullscreen.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/fullscreen.js diff --git a/x-pack/plugins/canvas/public/state/middleware/history.js b/x-pack/legacy/plugins/canvas/public/state/middleware/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/history.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/history.js diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.ts b/x-pack/legacy/plugins/canvas/public/state/middleware/in_flight.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.ts rename to x-pack/legacy/plugins/canvas/public/state/middleware/in_flight.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/index.js b/x-pack/legacy/plugins/canvas/public/state/middleware/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/index.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/index.js diff --git a/x-pack/plugins/canvas/public/state/middleware/resolved_args.js b/x-pack/legacy/plugins/canvas/public/state/middleware/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/resolved_args.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_autoplay.js b/x-pack/legacy/plugins/canvas/public/state/middleware/workpad_autoplay.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_autoplay.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/workpad_autoplay.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_refresh.js b/x-pack/legacy/plugins/canvas/public/state/middleware/workpad_refresh.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_refresh.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/workpad_refresh.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_update.js b/x-pack/legacy/plugins/canvas/public/state/middleware/workpad_update.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_update.js rename to x-pack/legacy/plugins/canvas/public/state/middleware/workpad_update.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__tests__/elements.js b/x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__tests__/elements.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/elements.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__tests__/fixtures/action_creator.js b/x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/fixtures/action_creator.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__tests__/fixtures/action_creator.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/fixtures/action_creator.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__tests__/resolved_args.js b/x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__tests__/resolved_args.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/__tests__/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/reducers/app.js b/x-pack/legacy/plugins/canvas/public/state/reducers/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/app.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/app.js diff --git a/x-pack/plugins/canvas/public/state/reducers/assets.js b/x-pack/legacy/plugins/canvas/public/state/reducers/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/assets.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/assets.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.js b/x-pack/legacy/plugins/canvas/public/state/reducers/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/elements.js diff --git a/x-pack/plugins/canvas/public/state/reducers/history.js b/x-pack/legacy/plugins/canvas/public/state/reducers/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/history.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/history.js diff --git a/x-pack/plugins/canvas/public/state/reducers/index.js b/x-pack/legacy/plugins/canvas/public/state/reducers/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/index.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/index.js diff --git a/x-pack/plugins/canvas/public/state/reducers/pages.js b/x-pack/legacy/plugins/canvas/public/state/reducers/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/pages.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/pages.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.js b/x-pack/legacy/plugins/canvas/public/state/reducers/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/reducers/transient.js b/x-pack/legacy/plugins/canvas/public/state/reducers/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/transient.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/transient.js diff --git a/x-pack/plugins/canvas/public/state/reducers/workpad.js b/x-pack/legacy/plugins/canvas/public/state/reducers/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/workpad.js rename to x-pack/legacy/plugins/canvas/public/state/reducers/workpad.js diff --git a/x-pack/plugins/canvas/public/state/selectors/__tests__/resolved_args.js b/x-pack/legacy/plugins/canvas/public/state/selectors/__tests__/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/__tests__/resolved_args.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/__tests__/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/selectors/__tests__/workpad.js b/x-pack/legacy/plugins/canvas/public/state/selectors/__tests__/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/__tests__/workpad.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/__tests__/workpad.js diff --git a/x-pack/plugins/canvas/public/state/selectors/app.js b/x-pack/legacy/plugins/canvas/public/state/selectors/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/app.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/app.js diff --git a/x-pack/plugins/canvas/public/state/selectors/assets.js b/x-pack/legacy/plugins/canvas/public/state/selectors/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/assets.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/assets.js diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.js b/x-pack/legacy/plugins/canvas/public/state/selectors/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.js b/x-pack/legacy/plugins/canvas/public/state/selectors/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.js rename to x-pack/legacy/plugins/canvas/public/state/selectors/workpad.js diff --git a/x-pack/plugins/canvas/public/state/store.js b/x-pack/legacy/plugins/canvas/public/state/store.js similarity index 100% rename from x-pack/plugins/canvas/public/state/store.js rename to x-pack/legacy/plugins/canvas/public/state/store.js diff --git a/x-pack/plugins/canvas/public/style/hackery.scss b/x-pack/legacy/plugins/canvas/public/style/hackery.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/hackery.scss rename to x-pack/legacy/plugins/canvas/public/style/hackery.scss diff --git a/x-pack/plugins/canvas/public/style/index.scss b/x-pack/legacy/plugins/canvas/public/style/index.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/index.scss rename to x-pack/legacy/plugins/canvas/public/style/index.scss diff --git a/x-pack/plugins/canvas/public/style/main.scss b/x-pack/legacy/plugins/canvas/public/style/main.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/main.scss rename to x-pack/legacy/plugins/canvas/public/style/main.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/fade.css b/x-pack/legacy/plugins/canvas/public/transitions/fade/fade.css similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/fade.css rename to x-pack/legacy/plugins/canvas/public/transitions/fade/fade.css diff --git a/x-pack/plugins/canvas/public/transitions/fade/index.js b/x-pack/legacy/plugins/canvas/public/transitions/fade/index.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/index.js rename to x-pack/legacy/plugins/canvas/public/transitions/fade/index.js diff --git a/x-pack/plugins/canvas/public/transitions/index.js b/x-pack/legacy/plugins/canvas/public/transitions/index.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/index.js rename to x-pack/legacy/plugins/canvas/public/transitions/index.js diff --git a/x-pack/plugins/canvas/public/transitions/rotate/index.js b/x-pack/legacy/plugins/canvas/public/transitions/rotate/index.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/index.js rename to x-pack/legacy/plugins/canvas/public/transitions/rotate/index.js diff --git a/x-pack/plugins/canvas/public/transitions/rotate/rotate.css b/x-pack/legacy/plugins/canvas/public/transitions/rotate/rotate.css similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/rotate.css rename to x-pack/legacy/plugins/canvas/public/transitions/rotate/rotate.css diff --git a/x-pack/plugins/canvas/public/transitions/slide/index.js b/x-pack/legacy/plugins/canvas/public/transitions/slide/index.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/index.js rename to x-pack/legacy/plugins/canvas/public/transitions/slide/index.js diff --git a/x-pack/plugins/canvas/public/transitions/slide/slide.css b/x-pack/legacy/plugins/canvas/public/transitions/slide/slide.css similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/slide.css rename to x-pack/legacy/plugins/canvas/public/transitions/slide/slide.css diff --git a/x-pack/plugins/canvas/public/transitions/transition.js b/x-pack/legacy/plugins/canvas/public/transitions/transition.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/transition.js rename to x-pack/legacy/plugins/canvas/public/transitions/transition.js diff --git a/x-pack/plugins/canvas/public/transitions/zoom/index.js b/x-pack/legacy/plugins/canvas/public/transitions/zoom/index.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/index.js rename to x-pack/legacy/plugins/canvas/public/transitions/zoom/index.js diff --git a/x-pack/plugins/canvas/public/transitions/zoom/zoom.css b/x-pack/legacy/plugins/canvas/public/transitions/zoom/zoom.css similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/zoom.css rename to x-pack/legacy/plugins/canvas/public/transitions/zoom/zoom.css diff --git a/x-pack/plugins/canvas/scripts/_helpers.js b/x-pack/legacy/plugins/canvas/scripts/_helpers.js similarity index 100% rename from x-pack/plugins/canvas/scripts/_helpers.js rename to x-pack/legacy/plugins/canvas/scripts/_helpers.js diff --git a/x-pack/plugins/canvas/scripts/clean_storybook_dll.js b/x-pack/legacy/plugins/canvas/scripts/clean_storybook_dll.js similarity index 100% rename from x-pack/plugins/canvas/scripts/clean_storybook_dll.js rename to x-pack/legacy/plugins/canvas/scripts/clean_storybook_dll.js diff --git a/x-pack/plugins/canvas/scripts/jest.js b/x-pack/legacy/plugins/canvas/scripts/jest.js similarity index 100% rename from x-pack/plugins/canvas/scripts/jest.js rename to x-pack/legacy/plugins/canvas/scripts/jest.js diff --git a/x-pack/plugins/canvas/scripts/kbn.js b/x-pack/legacy/plugins/canvas/scripts/kbn.js similarity index 100% rename from x-pack/plugins/canvas/scripts/kbn.js rename to x-pack/legacy/plugins/canvas/scripts/kbn.js diff --git a/x-pack/plugins/canvas/scripts/lint.js b/x-pack/legacy/plugins/canvas/scripts/lint.js similarity index 71% rename from x-pack/plugins/canvas/scripts/lint.js rename to x-pack/legacy/plugins/canvas/scripts/lint.js index 336c8be96a231..f0f462b2041c5 100644 --- a/x-pack/plugins/canvas/scripts/lint.js +++ b/x-pack/legacy/plugins/canvas/scripts/lint.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -require('./_helpers').runKibanaScript('eslint', ['x-pack/plugins/canvas/**/*.{js,jsx}']); +require('./_helpers').runKibanaScript('eslint', ['x-pack/legacy/plugins/canvas/**/*.{js,jsx}']); diff --git a/x-pack/plugins/canvas/scripts/storybook.js b/x-pack/legacy/plugins/canvas/scripts/storybook.js similarity index 100% rename from x-pack/plugins/canvas/scripts/storybook.js rename to x-pack/legacy/plugins/canvas/scripts/storybook.js diff --git a/x-pack/plugins/canvas/scripts/storybook_dll.js b/x-pack/legacy/plugins/canvas/scripts/storybook_dll.js similarity index 93% rename from x-pack/plugins/canvas/scripts/storybook_dll.js rename to x-pack/legacy/plugins/canvas/scripts/storybook_dll.js index 2e1ac9694faca..f7afa1b29991b 100644 --- a/x-pack/plugins/canvas/scripts/storybook_dll.js +++ b/x-pack/legacy/plugins/canvas/scripts/storybook_dll.js @@ -24,7 +24,7 @@ if (fs.existsSync(DLL_OUTPUT)) { [ 'webpack', '--config', - 'x-pack/plugins/canvas/.storybook/webpack.dll.config.js', + 'x-pack/legacy/plugins/canvas/.storybook/webpack.dll.config.js', '--progress', '--hide-modules', '--display-entrypoints', diff --git a/x-pack/plugins/canvas/scripts/storybook_static.js b/x-pack/legacy/plugins/canvas/scripts/storybook_static.js similarity index 100% rename from x-pack/plugins/canvas/scripts/storybook_static.js rename to x-pack/legacy/plugins/canvas/scripts/storybook_static.js diff --git a/x-pack/plugins/canvas/scripts/test.js b/x-pack/legacy/plugins/canvas/scripts/test.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test.js rename to x-pack/legacy/plugins/canvas/scripts/test.js diff --git a/x-pack/plugins/canvas/scripts/test_browser.js b/x-pack/legacy/plugins/canvas/scripts/test_browser.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test_browser.js rename to x-pack/legacy/plugins/canvas/scripts/test_browser.js diff --git a/x-pack/plugins/canvas/scripts/test_common.js b/x-pack/legacy/plugins/canvas/scripts/test_common.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test_common.js rename to x-pack/legacy/plugins/canvas/scripts/test_common.js diff --git a/x-pack/plugins/canvas/scripts/test_dev.js b/x-pack/legacy/plugins/canvas/scripts/test_dev.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test_dev.js rename to x-pack/legacy/plugins/canvas/scripts/test_dev.js diff --git a/x-pack/plugins/canvas/scripts/test_plugins.js b/x-pack/legacy/plugins/canvas/scripts/test_plugins.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test_plugins.js rename to x-pack/legacy/plugins/canvas/scripts/test_plugins.js diff --git a/x-pack/plugins/canvas/scripts/test_server.js b/x-pack/legacy/plugins/canvas/scripts/test_server.js similarity index 100% rename from x-pack/plugins/canvas/scripts/test_server.js rename to x-pack/legacy/plugins/canvas/scripts/test_server.js diff --git a/x-pack/plugins/canvas/server/lib/build_bool_array.js b/x-pack/legacy/plugins/canvas/server/lib/build_bool_array.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/build_bool_array.js rename to x-pack/legacy/plugins/canvas/server/lib/build_bool_array.js diff --git a/x-pack/plugins/canvas/server/lib/build_es_request.js b/x-pack/legacy/plugins/canvas/server/lib/build_es_request.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/build_es_request.js rename to x-pack/legacy/plugins/canvas/server/lib/build_es_request.js diff --git a/x-pack/plugins/canvas/server/lib/filters.js b/x-pack/legacy/plugins/canvas/server/lib/filters.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/filters.js rename to x-pack/legacy/plugins/canvas/server/lib/filters.js diff --git a/x-pack/plugins/canvas/server/lib/format_response.js b/x-pack/legacy/plugins/canvas/server/lib/format_response.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/format_response.js rename to x-pack/legacy/plugins/canvas/server/lib/format_response.js diff --git a/x-pack/plugins/canvas/server/lib/get_es_filter.js b/x-pack/legacy/plugins/canvas/server/lib/get_es_filter.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/get_es_filter.js rename to x-pack/legacy/plugins/canvas/server/lib/get_es_filter.js diff --git a/x-pack/plugins/canvas/server/lib/normalize_type.js b/x-pack/legacy/plugins/canvas/server/lib/normalize_type.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/normalize_type.js rename to x-pack/legacy/plugins/canvas/server/lib/normalize_type.js diff --git a/x-pack/plugins/canvas/server/lib/query_es_sql.js b/x-pack/legacy/plugins/canvas/server/lib/query_es_sql.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/query_es_sql.js rename to x-pack/legacy/plugins/canvas/server/lib/query_es_sql.js diff --git a/x-pack/plugins/canvas/server/lib/sanitize_name.js b/x-pack/legacy/plugins/canvas/server/lib/sanitize_name.js similarity index 100% rename from x-pack/plugins/canvas/server/lib/sanitize_name.js rename to x-pack/legacy/plugins/canvas/server/lib/sanitize_name.js diff --git a/x-pack/plugins/canvas/server/mappings.ts b/x-pack/legacy/plugins/canvas/server/mappings.ts similarity index 100% rename from x-pack/plugins/canvas/server/mappings.ts rename to x-pack/legacy/plugins/canvas/server/mappings.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements.js b/x-pack/legacy/plugins/canvas/server/routes/custom_elements.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements.js rename to x-pack/legacy/plugins/canvas/server/routes/custom_elements.js diff --git a/x-pack/plugins/canvas/server/routes/es_fields/get_es_field_types.js b/x-pack/legacy/plugins/canvas/server/routes/es_fields/get_es_field_types.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/es_fields/get_es_field_types.js rename to x-pack/legacy/plugins/canvas/server/routes/es_fields/get_es_field_types.js diff --git a/x-pack/plugins/canvas/server/routes/es_fields/index.js b/x-pack/legacy/plugins/canvas/server/routes/es_fields/index.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/es_fields/index.js rename to x-pack/legacy/plugins/canvas/server/routes/es_fields/index.js diff --git a/x-pack/plugins/canvas/server/routes/index.js b/x-pack/legacy/plugins/canvas/server/routes/index.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/index.js rename to x-pack/legacy/plugins/canvas/server/routes/index.js diff --git a/x-pack/plugins/canvas/server/routes/workpad.js b/x-pack/legacy/plugins/canvas/server/routes/workpad.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad.js rename to x-pack/legacy/plugins/canvas/server/routes/workpad.js diff --git a/x-pack/plugins/canvas/server/routes/workpad.test.js b/x-pack/legacy/plugins/canvas/server/routes/workpad.test.js similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad.test.js rename to x-pack/legacy/plugins/canvas/server/routes/workpad.test.js diff --git a/x-pack/plugins/canvas/server/sample_data/ecommerce_saved_objects.json b/x-pack/legacy/plugins/canvas/server/sample_data/ecommerce_saved_objects.json similarity index 100% rename from x-pack/plugins/canvas/server/sample_data/ecommerce_saved_objects.json rename to x-pack/legacy/plugins/canvas/server/sample_data/ecommerce_saved_objects.json diff --git a/x-pack/plugins/canvas/server/sample_data/flights_saved_objects.json b/x-pack/legacy/plugins/canvas/server/sample_data/flights_saved_objects.json similarity index 100% rename from x-pack/plugins/canvas/server/sample_data/flights_saved_objects.json rename to x-pack/legacy/plugins/canvas/server/sample_data/flights_saved_objects.json diff --git a/x-pack/plugins/canvas/server/sample_data/index.js b/x-pack/legacy/plugins/canvas/server/sample_data/index.js similarity index 100% rename from x-pack/plugins/canvas/server/sample_data/index.js rename to x-pack/legacy/plugins/canvas/server/sample_data/index.js diff --git a/x-pack/plugins/canvas/server/sample_data/load_sample_data.js b/x-pack/legacy/plugins/canvas/server/sample_data/load_sample_data.js similarity index 100% rename from x-pack/plugins/canvas/server/sample_data/load_sample_data.js rename to x-pack/legacy/plugins/canvas/server/sample_data/load_sample_data.js diff --git a/x-pack/plugins/canvas/server/sample_data/web_logs_saved_objects.json b/x-pack/legacy/plugins/canvas/server/sample_data/web_logs_saved_objects.json similarity index 100% rename from x-pack/plugins/canvas/server/sample_data/web_logs_saved_objects.json rename to x-pack/legacy/plugins/canvas/server/sample_data/web_logs_saved_objects.json diff --git a/x-pack/plugins/canvas/server/usage/__tests__/custom_element_collector.ts b/x-pack/legacy/plugins/canvas/server/usage/__tests__/custom_element_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/__tests__/custom_element_collector.ts rename to x-pack/legacy/plugins/canvas/server/usage/__tests__/custom_element_collector.ts diff --git a/x-pack/plugins/canvas/server/usage/__tests__/workpad_collector.ts b/x-pack/legacy/plugins/canvas/server/usage/__tests__/workpad_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/__tests__/workpad_collector.ts rename to x-pack/legacy/plugins/canvas/server/usage/__tests__/workpad_collector.ts diff --git a/x-pack/plugins/canvas/server/usage/collector.ts b/x-pack/legacy/plugins/canvas/server/usage/collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/collector.ts rename to x-pack/legacy/plugins/canvas/server/usage/collector.ts diff --git a/x-pack/plugins/canvas/server/usage/collector_helpers.ts b/x-pack/legacy/plugins/canvas/server/usage/collector_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/collector_helpers.ts rename to x-pack/legacy/plugins/canvas/server/usage/collector_helpers.ts diff --git a/x-pack/plugins/canvas/server/usage/custom_element_collector.ts b/x-pack/legacy/plugins/canvas/server/usage/custom_element_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/custom_element_collector.ts rename to x-pack/legacy/plugins/canvas/server/usage/custom_element_collector.ts diff --git a/x-pack/plugins/canvas/server/usage/index.js b/x-pack/legacy/plugins/canvas/server/usage/index.js similarity index 100% rename from x-pack/plugins/canvas/server/usage/index.js rename to x-pack/legacy/plugins/canvas/server/usage/index.js diff --git a/x-pack/plugins/canvas/server/usage/workpad_collector.ts b/x-pack/legacy/plugins/canvas/server/usage/workpad_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/usage/workpad_collector.ts rename to x-pack/legacy/plugins/canvas/server/usage/workpad_collector.ts diff --git a/x-pack/plugins/canvas/tasks/helpers/babelhook.js b/x-pack/legacy/plugins/canvas/tasks/helpers/babelhook.js similarity index 100% rename from x-pack/plugins/canvas/tasks/helpers/babelhook.js rename to x-pack/legacy/plugins/canvas/tasks/helpers/babelhook.js diff --git a/x-pack/plugins/canvas/tasks/helpers/dom_setup.js b/x-pack/legacy/plugins/canvas/tasks/helpers/dom_setup.js similarity index 100% rename from x-pack/plugins/canvas/tasks/helpers/dom_setup.js rename to x-pack/legacy/plugins/canvas/tasks/helpers/dom_setup.js diff --git a/x-pack/plugins/canvas/tasks/helpers/enzyme_setup.js b/x-pack/legacy/plugins/canvas/tasks/helpers/enzyme_setup.js similarity index 100% rename from x-pack/plugins/canvas/tasks/helpers/enzyme_setup.js rename to x-pack/legacy/plugins/canvas/tasks/helpers/enzyme_setup.js diff --git a/x-pack/plugins/canvas/tasks/index.js b/x-pack/legacy/plugins/canvas/tasks/index.js similarity index 100% rename from x-pack/plugins/canvas/tasks/index.js rename to x-pack/legacy/plugins/canvas/tasks/index.js diff --git a/x-pack/plugins/canvas/tasks/mocks/absoluteToParsedUrl.js b/x-pack/legacy/plugins/canvas/tasks/mocks/absoluteToParsedUrl.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/absoluteToParsedUrl.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/absoluteToParsedUrl.js diff --git a/x-pack/plugins/canvas/tasks/mocks/noop.js b/x-pack/legacy/plugins/canvas/tasks/mocks/noop.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/noop.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/noop.js diff --git a/x-pack/plugins/canvas/tasks/mocks/stateStore.js b/x-pack/legacy/plugins/canvas/tasks/mocks/stateStore.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/stateStore.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/stateStore.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiChrome.js b/x-pack/legacy/plugins/canvas/tasks/mocks/uiChrome.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiChrome.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/uiChrome.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotify.js b/x-pack/legacy/plugins/canvas/tasks/mocks/uiNotify.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotify.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/uiNotify.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js b/x-pack/legacy/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiStorage.js b/x-pack/legacy/plugins/canvas/tasks/mocks/uiStorage.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiStorage.js rename to x-pack/legacy/plugins/canvas/tasks/mocks/uiStorage.js diff --git a/x-pack/plugins/canvas/tasks/test.js b/x-pack/legacy/plugins/canvas/tasks/test.js similarity index 100% rename from x-pack/plugins/canvas/tasks/test.js rename to x-pack/legacy/plugins/canvas/tasks/test.js diff --git a/x-pack/plugins/canvas/types/global.d.ts b/x-pack/legacy/plugins/canvas/types/global.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/global.d.ts rename to x-pack/legacy/plugins/canvas/types/global.d.ts diff --git a/x-pack/plugins/canvas/types/webpack.d.ts b/x-pack/legacy/plugins/canvas/types/webpack.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/webpack.d.ts rename to x-pack/legacy/plugins/canvas/types/webpack.d.ts diff --git a/x-pack/plugins/canvas/webpackShims/moment.js b/x-pack/legacy/plugins/canvas/webpackShims/moment.js similarity index 100% rename from x-pack/plugins/canvas/webpackShims/moment.js rename to x-pack/legacy/plugins/canvas/webpackShims/moment.js diff --git a/x-pack/plugins/cloud/constants.ts b/x-pack/legacy/plugins/cloud/constants.ts similarity index 100% rename from x-pack/plugins/cloud/constants.ts rename to x-pack/legacy/plugins/cloud/constants.ts diff --git a/x-pack/plugins/cloud/get_cloud_usage_collector.test.ts b/x-pack/legacy/plugins/cloud/get_cloud_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/cloud/get_cloud_usage_collector.test.ts rename to x-pack/legacy/plugins/cloud/get_cloud_usage_collector.test.ts diff --git a/x-pack/plugins/cloud/get_cloud_usage_collector.ts b/x-pack/legacy/plugins/cloud/get_cloud_usage_collector.ts similarity index 100% rename from x-pack/plugins/cloud/get_cloud_usage_collector.ts rename to x-pack/legacy/plugins/cloud/get_cloud_usage_collector.ts diff --git a/x-pack/plugins/cloud/index.d.ts b/x-pack/legacy/plugins/cloud/index.d.ts similarity index 100% rename from x-pack/plugins/cloud/index.d.ts rename to x-pack/legacy/plugins/cloud/index.d.ts diff --git a/x-pack/plugins/cloud/index.js b/x-pack/legacy/plugins/cloud/index.js similarity index 100% rename from x-pack/plugins/cloud/index.js rename to x-pack/legacy/plugins/cloud/index.js diff --git a/x-pack/plugins/code/common/constants.ts b/x-pack/legacy/plugins/code/common/constants.ts similarity index 100% rename from x-pack/plugins/code/common/constants.ts rename to x-pack/legacy/plugins/code/common/constants.ts diff --git a/x-pack/plugins/code/common/file.ts b/x-pack/legacy/plugins/code/common/file.ts similarity index 100% rename from x-pack/plugins/code/common/file.ts rename to x-pack/legacy/plugins/code/common/file.ts diff --git a/x-pack/plugins/code/common/git_blame.ts b/x-pack/legacy/plugins/code/common/git_blame.ts similarity index 100% rename from x-pack/plugins/code/common/git_blame.ts rename to x-pack/legacy/plugins/code/common/git_blame.ts diff --git a/x-pack/plugins/code/common/git_diff.ts b/x-pack/legacy/plugins/code/common/git_diff.ts similarity index 100% rename from x-pack/plugins/code/common/git_diff.ts rename to x-pack/legacy/plugins/code/common/git_diff.ts diff --git a/x-pack/plugins/code/common/git_url_utils.test.ts b/x-pack/legacy/plugins/code/common/git_url_utils.test.ts similarity index 100% rename from x-pack/plugins/code/common/git_url_utils.test.ts rename to x-pack/legacy/plugins/code/common/git_url_utils.test.ts diff --git a/x-pack/plugins/code/common/git_url_utils.ts b/x-pack/legacy/plugins/code/common/git_url_utils.ts similarity index 100% rename from x-pack/plugins/code/common/git_url_utils.ts rename to x-pack/legacy/plugins/code/common/git_url_utils.ts diff --git a/x-pack/plugins/code/common/installation.ts b/x-pack/legacy/plugins/code/common/installation.ts similarity index 100% rename from x-pack/plugins/code/common/installation.ts rename to x-pack/legacy/plugins/code/common/installation.ts diff --git a/x-pack/plugins/code/common/language_server.ts b/x-pack/legacy/plugins/code/common/language_server.ts similarity index 100% rename from x-pack/plugins/code/common/language_server.ts rename to x-pack/legacy/plugins/code/common/language_server.ts diff --git a/x-pack/plugins/code/common/line_mapper.ts b/x-pack/legacy/plugins/code/common/line_mapper.ts similarity index 100% rename from x-pack/plugins/code/common/line_mapper.ts rename to x-pack/legacy/plugins/code/common/line_mapper.ts diff --git a/x-pack/plugins/code/common/lsp_client.ts b/x-pack/legacy/plugins/code/common/lsp_client.ts similarity index 100% rename from x-pack/plugins/code/common/lsp_client.ts rename to x-pack/legacy/plugins/code/common/lsp_client.ts diff --git a/x-pack/plugins/code/common/lsp_error_codes.ts b/x-pack/legacy/plugins/code/common/lsp_error_codes.ts similarity index 100% rename from x-pack/plugins/code/common/lsp_error_codes.ts rename to x-pack/legacy/plugins/code/common/lsp_error_codes.ts diff --git a/x-pack/plugins/code/common/lsp_method.ts b/x-pack/legacy/plugins/code/common/lsp_method.ts similarity index 100% rename from x-pack/plugins/code/common/lsp_method.ts rename to x-pack/legacy/plugins/code/common/lsp_method.ts diff --git a/x-pack/plugins/code/common/repository_utils.test.ts b/x-pack/legacy/plugins/code/common/repository_utils.test.ts similarity index 100% rename from x-pack/plugins/code/common/repository_utils.test.ts rename to x-pack/legacy/plugins/code/common/repository_utils.test.ts diff --git a/x-pack/plugins/code/common/repository_utils.ts b/x-pack/legacy/plugins/code/common/repository_utils.ts similarity index 100% rename from x-pack/plugins/code/common/repository_utils.ts rename to x-pack/legacy/plugins/code/common/repository_utils.ts diff --git a/x-pack/plugins/code/common/text_document_methods.ts b/x-pack/legacy/plugins/code/common/text_document_methods.ts similarity index 100% rename from x-pack/plugins/code/common/text_document_methods.ts rename to x-pack/legacy/plugins/code/common/text_document_methods.ts diff --git a/x-pack/plugins/code/common/uri_util.test.ts b/x-pack/legacy/plugins/code/common/uri_util.test.ts similarity index 100% rename from x-pack/plugins/code/common/uri_util.test.ts rename to x-pack/legacy/plugins/code/common/uri_util.test.ts diff --git a/x-pack/plugins/code/common/uri_util.ts b/x-pack/legacy/plugins/code/common/uri_util.ts similarity index 100% rename from x-pack/plugins/code/common/uri_util.ts rename to x-pack/legacy/plugins/code/common/uri_util.ts diff --git a/x-pack/plugins/code/index.ts b/x-pack/legacy/plugins/code/index.ts similarity index 100% rename from x-pack/plugins/code/index.ts rename to x-pack/legacy/plugins/code/index.ts diff --git a/x-pack/plugins/code/model/commit.ts b/x-pack/legacy/plugins/code/model/commit.ts similarity index 100% rename from x-pack/plugins/code/model/commit.ts rename to x-pack/legacy/plugins/code/model/commit.ts diff --git a/x-pack/plugins/code/model/highlight.ts b/x-pack/legacy/plugins/code/model/highlight.ts similarity index 100% rename from x-pack/plugins/code/model/highlight.ts rename to x-pack/legacy/plugins/code/model/highlight.ts diff --git a/x-pack/plugins/code/model/index.ts b/x-pack/legacy/plugins/code/model/index.ts similarity index 100% rename from x-pack/plugins/code/model/index.ts rename to x-pack/legacy/plugins/code/model/index.ts diff --git a/x-pack/plugins/code/model/lsp.ts b/x-pack/legacy/plugins/code/model/lsp.ts similarity index 100% rename from x-pack/plugins/code/model/lsp.ts rename to x-pack/legacy/plugins/code/model/lsp.ts diff --git a/x-pack/plugins/code/model/repository.ts b/x-pack/legacy/plugins/code/model/repository.ts similarity index 100% rename from x-pack/plugins/code/model/repository.ts rename to x-pack/legacy/plugins/code/model/repository.ts diff --git a/x-pack/plugins/code/model/search.ts b/x-pack/legacy/plugins/code/model/search.ts similarity index 100% rename from x-pack/plugins/code/model/search.ts rename to x-pack/legacy/plugins/code/model/search.ts diff --git a/x-pack/plugins/code/model/socket.ts b/x-pack/legacy/plugins/code/model/socket.ts similarity index 100% rename from x-pack/plugins/code/model/socket.ts rename to x-pack/legacy/plugins/code/model/socket.ts diff --git a/x-pack/plugins/code/model/task.ts b/x-pack/legacy/plugins/code/model/task.ts similarity index 100% rename from x-pack/plugins/code/model/task.ts rename to x-pack/legacy/plugins/code/model/task.ts diff --git a/x-pack/plugins/code/model/test_config.ts b/x-pack/legacy/plugins/code/model/test_config.ts similarity index 100% rename from x-pack/plugins/code/model/test_config.ts rename to x-pack/legacy/plugins/code/model/test_config.ts diff --git a/x-pack/plugins/code/model/workspace.ts b/x-pack/legacy/plugins/code/model/workspace.ts similarity index 100% rename from x-pack/plugins/code/model/workspace.ts rename to x-pack/legacy/plugins/code/model/workspace.ts diff --git a/x-pack/plugins/code/public/actions/blame.ts b/x-pack/legacy/plugins/code/public/actions/blame.ts similarity index 100% rename from x-pack/plugins/code/public/actions/blame.ts rename to x-pack/legacy/plugins/code/public/actions/blame.ts diff --git a/x-pack/plugins/code/public/actions/commit.ts b/x-pack/legacy/plugins/code/public/actions/commit.ts similarity index 100% rename from x-pack/plugins/code/public/actions/commit.ts rename to x-pack/legacy/plugins/code/public/actions/commit.ts diff --git a/x-pack/plugins/code/public/actions/editor.ts b/x-pack/legacy/plugins/code/public/actions/editor.ts similarity index 100% rename from x-pack/plugins/code/public/actions/editor.ts rename to x-pack/legacy/plugins/code/public/actions/editor.ts diff --git a/x-pack/plugins/code/public/actions/file.ts b/x-pack/legacy/plugins/code/public/actions/file.ts similarity index 100% rename from x-pack/plugins/code/public/actions/file.ts rename to x-pack/legacy/plugins/code/public/actions/file.ts diff --git a/x-pack/plugins/code/public/actions/index.ts b/x-pack/legacy/plugins/code/public/actions/index.ts similarity index 100% rename from x-pack/plugins/code/public/actions/index.ts rename to x-pack/legacy/plugins/code/public/actions/index.ts diff --git a/x-pack/plugins/code/public/actions/language_server.ts b/x-pack/legacy/plugins/code/public/actions/language_server.ts similarity index 100% rename from x-pack/plugins/code/public/actions/language_server.ts rename to x-pack/legacy/plugins/code/public/actions/language_server.ts diff --git a/x-pack/plugins/code/public/actions/project_config.ts b/x-pack/legacy/plugins/code/public/actions/project_config.ts similarity index 100% rename from x-pack/plugins/code/public/actions/project_config.ts rename to x-pack/legacy/plugins/code/public/actions/project_config.ts diff --git a/x-pack/plugins/code/public/actions/recent_projects.ts b/x-pack/legacy/plugins/code/public/actions/recent_projects.ts similarity index 100% rename from x-pack/plugins/code/public/actions/recent_projects.ts rename to x-pack/legacy/plugins/code/public/actions/recent_projects.ts diff --git a/x-pack/plugins/code/public/actions/repository.ts b/x-pack/legacy/plugins/code/public/actions/repository.ts similarity index 100% rename from x-pack/plugins/code/public/actions/repository.ts rename to x-pack/legacy/plugins/code/public/actions/repository.ts diff --git a/x-pack/plugins/code/public/actions/search.ts b/x-pack/legacy/plugins/code/public/actions/search.ts similarity index 100% rename from x-pack/plugins/code/public/actions/search.ts rename to x-pack/legacy/plugins/code/public/actions/search.ts diff --git a/x-pack/plugins/code/public/actions/shortcuts.ts b/x-pack/legacy/plugins/code/public/actions/shortcuts.ts similarity index 100% rename from x-pack/plugins/code/public/actions/shortcuts.ts rename to x-pack/legacy/plugins/code/public/actions/shortcuts.ts diff --git a/x-pack/plugins/code/public/actions/status.ts b/x-pack/legacy/plugins/code/public/actions/status.ts similarity index 100% rename from x-pack/plugins/code/public/actions/status.ts rename to x-pack/legacy/plugins/code/public/actions/status.ts diff --git a/x-pack/plugins/code/public/actions/structure.ts b/x-pack/legacy/plugins/code/public/actions/structure.ts similarity index 100% rename from x-pack/plugins/code/public/actions/structure.ts rename to x-pack/legacy/plugins/code/public/actions/structure.ts diff --git a/x-pack/plugins/code/public/app.tsx b/x-pack/legacy/plugins/code/public/app.tsx similarity index 100% rename from x-pack/plugins/code/public/app.tsx rename to x-pack/legacy/plugins/code/public/app.tsx diff --git a/x-pack/plugins/code/public/common/types.ts b/x-pack/legacy/plugins/code/public/common/types.ts similarity index 100% rename from x-pack/plugins/code/public/common/types.ts rename to x-pack/legacy/plugins/code/public/common/types.ts diff --git a/x-pack/plugins/code/public/components/admin_page/admin.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/admin.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/admin.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/admin.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/empty_project.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/empty_project.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/empty_project.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/empty_project.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/import_project.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/import_project.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/import_project.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/import_project.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/language_server_tab.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/language_server_tab.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/language_server_tab.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/language_server_tab.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/project_item.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/project_item.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/project_item.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/project_item.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/project_settings.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/project_settings.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/project_settings.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/project_settings.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/project_tab.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/project_tab.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/project_tab.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/project_tab.tsx diff --git a/x-pack/plugins/code/public/components/admin_page/setup_guide.tsx b/x-pack/legacy/plugins/code/public/components/admin_page/setup_guide.tsx similarity index 100% rename from x-pack/plugins/code/public/components/admin_page/setup_guide.tsx rename to x-pack/legacy/plugins/code/public/components/admin_page/setup_guide.tsx diff --git a/x-pack/plugins/code/public/components/app.tsx b/x-pack/legacy/plugins/code/public/components/app.tsx similarity index 100% rename from x-pack/plugins/code/public/components/app.tsx rename to x-pack/legacy/plugins/code/public/components/app.tsx diff --git a/x-pack/plugins/code/public/components/codeblock/codeblock.tsx b/x-pack/legacy/plugins/code/public/components/codeblock/codeblock.tsx similarity index 100% rename from x-pack/plugins/code/public/components/codeblock/codeblock.tsx rename to x-pack/legacy/plugins/code/public/components/codeblock/codeblock.tsx diff --git a/x-pack/plugins/code/public/components/diff_page/commit_link.tsx b/x-pack/legacy/plugins/code/public/components/diff_page/commit_link.tsx similarity index 100% rename from x-pack/plugins/code/public/components/diff_page/commit_link.tsx rename to x-pack/legacy/plugins/code/public/components/diff_page/commit_link.tsx diff --git a/x-pack/plugins/code/public/components/diff_page/diff.scss b/x-pack/legacy/plugins/code/public/components/diff_page/diff.scss similarity index 100% rename from x-pack/plugins/code/public/components/diff_page/diff.scss rename to x-pack/legacy/plugins/code/public/components/diff_page/diff.scss diff --git a/x-pack/plugins/code/public/components/diff_page/diff.tsx b/x-pack/legacy/plugins/code/public/components/diff_page/diff.tsx similarity index 100% rename from x-pack/plugins/code/public/components/diff_page/diff.tsx rename to x-pack/legacy/plugins/code/public/components/diff_page/diff.tsx diff --git a/x-pack/plugins/code/public/components/diff_page/diff_editor.tsx b/x-pack/legacy/plugins/code/public/components/diff_page/diff_editor.tsx similarity index 100% rename from x-pack/plugins/code/public/components/diff_page/diff_editor.tsx rename to x-pack/legacy/plugins/code/public/components/diff_page/diff_editor.tsx diff --git a/x-pack/plugins/code/public/components/editor/editor.tsx b/x-pack/legacy/plugins/code/public/components/editor/editor.tsx similarity index 100% rename from x-pack/plugins/code/public/components/editor/editor.tsx rename to x-pack/legacy/plugins/code/public/components/editor/editor.tsx diff --git a/x-pack/plugins/code/public/components/editor/references_panel.scss b/x-pack/legacy/plugins/code/public/components/editor/references_panel.scss similarity index 100% rename from x-pack/plugins/code/public/components/editor/references_panel.scss rename to x-pack/legacy/plugins/code/public/components/editor/references_panel.scss diff --git a/x-pack/plugins/code/public/components/editor/references_panel.tsx b/x-pack/legacy/plugins/code/public/components/editor/references_panel.tsx similarity index 100% rename from x-pack/plugins/code/public/components/editor/references_panel.tsx rename to x-pack/legacy/plugins/code/public/components/editor/references_panel.tsx diff --git a/x-pack/plugins/code/public/components/file_tree/__fixtures__/props.json b/x-pack/legacy/plugins/code/public/components/file_tree/__fixtures__/props.json similarity index 100% rename from x-pack/plugins/code/public/components/file_tree/__fixtures__/props.json rename to x-pack/legacy/plugins/code/public/components/file_tree/__fixtures__/props.json diff --git a/x-pack/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap similarity index 100% rename from x-pack/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap rename to x-pack/legacy/plugins/code/public/components/file_tree/__snapshots__/file_tree.test.tsx.snap diff --git a/x-pack/plugins/code/public/components/file_tree/file_tree.test.tsx b/x-pack/legacy/plugins/code/public/components/file_tree/file_tree.test.tsx similarity index 100% rename from x-pack/plugins/code/public/components/file_tree/file_tree.test.tsx rename to x-pack/legacy/plugins/code/public/components/file_tree/file_tree.test.tsx diff --git a/x-pack/plugins/code/public/components/file_tree/file_tree.tsx b/x-pack/legacy/plugins/code/public/components/file_tree/file_tree.tsx similarity index 100% rename from x-pack/plugins/code/public/components/file_tree/file_tree.tsx rename to x-pack/legacy/plugins/code/public/components/file_tree/file_tree.tsx diff --git a/x-pack/plugins/code/public/components/help_menu/help_menu.tsx b/x-pack/legacy/plugins/code/public/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/code/public/components/help_menu/help_menu.tsx rename to x-pack/legacy/plugins/code/public/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/code/public/components/help_menu/index.ts b/x-pack/legacy/plugins/code/public/components/help_menu/index.ts similarity index 100% rename from x-pack/plugins/code/public/components/help_menu/index.ts rename to x-pack/legacy/plugins/code/public/components/help_menu/index.ts diff --git a/x-pack/plugins/code/public/components/hover/hover_buttons.tsx b/x-pack/legacy/plugins/code/public/components/hover/hover_buttons.tsx similarity index 100% rename from x-pack/plugins/code/public/components/hover/hover_buttons.tsx rename to x-pack/legacy/plugins/code/public/components/hover/hover_buttons.tsx diff --git a/x-pack/plugins/code/public/components/hover/hover_widget.tsx b/x-pack/legacy/plugins/code/public/components/hover/hover_widget.tsx similarity index 100% rename from x-pack/plugins/code/public/components/hover/hover_widget.tsx rename to x-pack/legacy/plugins/code/public/components/hover/hover_widget.tsx diff --git a/x-pack/plugins/code/public/components/main/blame.tsx b/x-pack/legacy/plugins/code/public/components/main/blame.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/blame.tsx rename to x-pack/legacy/plugins/code/public/components/main/blame.tsx diff --git a/x-pack/plugins/code/public/components/main/breadcrumb.tsx b/x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/breadcrumb.tsx rename to x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx diff --git a/x-pack/plugins/code/public/components/main/clone_status.tsx b/x-pack/legacy/plugins/code/public/components/main/clone_status.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/clone_status.tsx rename to x-pack/legacy/plugins/code/public/components/main/clone_status.tsx diff --git a/x-pack/plugins/code/public/components/main/commit_history.tsx b/x-pack/legacy/plugins/code/public/components/main/commit_history.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/commit_history.tsx rename to x-pack/legacy/plugins/code/public/components/main/commit_history.tsx diff --git a/x-pack/plugins/code/public/components/main/content.tsx b/x-pack/legacy/plugins/code/public/components/main/content.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/content.tsx rename to x-pack/legacy/plugins/code/public/components/main/content.tsx diff --git a/x-pack/plugins/code/public/components/main/directory.tsx b/x-pack/legacy/plugins/code/public/components/main/directory.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/directory.tsx rename to x-pack/legacy/plugins/code/public/components/main/directory.tsx diff --git a/x-pack/plugins/code/public/components/main/error_panel.tsx b/x-pack/legacy/plugins/code/public/components/main/error_panel.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/error_panel.tsx rename to x-pack/legacy/plugins/code/public/components/main/error_panel.tsx diff --git a/x-pack/plugins/code/public/components/main/main.scss b/x-pack/legacy/plugins/code/public/components/main/main.scss similarity index 100% rename from x-pack/plugins/code/public/components/main/main.scss rename to x-pack/legacy/plugins/code/public/components/main/main.scss diff --git a/x-pack/plugins/code/public/components/main/main.tsx b/x-pack/legacy/plugins/code/public/components/main/main.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/main.tsx rename to x-pack/legacy/plugins/code/public/components/main/main.tsx diff --git a/x-pack/plugins/code/public/components/main/not_found.tsx b/x-pack/legacy/plugins/code/public/components/main/not_found.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/not_found.tsx rename to x-pack/legacy/plugins/code/public/components/main/not_found.tsx diff --git a/x-pack/plugins/code/public/components/main/side_tabs.tsx b/x-pack/legacy/plugins/code/public/components/main/side_tabs.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/side_tabs.tsx rename to x-pack/legacy/plugins/code/public/components/main/side_tabs.tsx diff --git a/x-pack/plugins/code/public/components/main/top_bar.tsx b/x-pack/legacy/plugins/code/public/components/main/top_bar.tsx similarity index 100% rename from x-pack/plugins/code/public/components/main/top_bar.tsx rename to x-pack/legacy/plugins/code/public/components/main/top_bar.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/__fixtures__/props.json b/x-pack/legacy/plugins/code/public/components/query_bar/components/__fixtures__/props.json similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/__fixtures__/props.json rename to x-pack/legacy/plugins/code/public/components/query_bar/components/__fixtures__/props.json diff --git a/x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap rename to x-pack/legacy/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap diff --git a/x-pack/plugins/code/public/components/query_bar/components/index.ts b/x-pack/legacy/plugins/code/public/components/query_bar/components/index.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/index.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/components/index.ts diff --git a/x-pack/plugins/code/public/components/query_bar/components/options.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/options.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/options.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/options.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/query_bar.test.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/query_bar.test.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/query_bar.test.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/query_bar.test.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/query_bar.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/query_bar.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/query_bar.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/query_bar.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/scope_selector.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/scope_selector.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/scope_selector.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/scope_selector.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.test.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.test.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.test.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.test.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestion_component.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.test.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.test.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.test.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.test.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.tsx b/x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.tsx similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.tsx rename to x-pack/legacy/plugins/code/public/components/query_bar/components/typeahead/suggestions_component.tsx diff --git a/x-pack/plugins/code/public/components/query_bar/index.ts b/x-pack/legacy/plugins/code/public/components/query_bar/index.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/index.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/index.ts diff --git a/x-pack/plugins/code/public/components/query_bar/lib/match_pairs.ts b/x-pack/legacy/plugins/code/public/components/query_bar/lib/match_pairs.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/lib/match_pairs.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/lib/match_pairs.ts diff --git a/x-pack/plugins/code/public/components/query_bar/suggestions/file_suggestions_provider.ts b/x-pack/legacy/plugins/code/public/components/query_bar/suggestions/file_suggestions_provider.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/suggestions/file_suggestions_provider.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/suggestions/file_suggestions_provider.ts diff --git a/x-pack/plugins/code/public/components/query_bar/suggestions/index.ts b/x-pack/legacy/plugins/code/public/components/query_bar/suggestions/index.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/suggestions/index.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/suggestions/index.ts diff --git a/x-pack/plugins/code/public/components/query_bar/suggestions/repository_suggestions_provider.ts b/x-pack/legacy/plugins/code/public/components/query_bar/suggestions/repository_suggestions_provider.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/suggestions/repository_suggestions_provider.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/suggestions/repository_suggestions_provider.ts diff --git a/x-pack/plugins/code/public/components/query_bar/suggestions/suggestions_provider.ts b/x-pack/legacy/plugins/code/public/components/query_bar/suggestions/suggestions_provider.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/suggestions/suggestions_provider.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/suggestions/suggestions_provider.ts diff --git a/x-pack/plugins/code/public/components/query_bar/suggestions/symbol_suggestions_provider.ts b/x-pack/legacy/plugins/code/public/components/query_bar/suggestions/symbol_suggestions_provider.ts similarity index 100% rename from x-pack/plugins/code/public/components/query_bar/suggestions/symbol_suggestions_provider.ts rename to x-pack/legacy/plugins/code/public/components/query_bar/suggestions/symbol_suggestions_provider.ts diff --git a/x-pack/plugins/code/public/components/route.ts b/x-pack/legacy/plugins/code/public/components/route.ts similarity index 100% rename from x-pack/plugins/code/public/components/route.ts rename to x-pack/legacy/plugins/code/public/components/route.ts diff --git a/x-pack/plugins/code/public/components/routes.ts b/x-pack/legacy/plugins/code/public/components/routes.ts similarity index 100% rename from x-pack/plugins/code/public/components/routes.ts rename to x-pack/legacy/plugins/code/public/components/routes.ts diff --git a/x-pack/plugins/code/public/components/search_bar/index.ts b/x-pack/legacy/plugins/code/public/components/search_bar/index.ts similarity index 100% rename from x-pack/plugins/code/public/components/search_bar/index.ts rename to x-pack/legacy/plugins/code/public/components/search_bar/index.ts diff --git a/x-pack/plugins/code/public/components/search_bar/search_bar.tsx b/x-pack/legacy/plugins/code/public/components/search_bar/search_bar.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_bar/search_bar.tsx rename to x-pack/legacy/plugins/code/public/components/search_bar/search_bar.tsx diff --git a/x-pack/plugins/code/public/components/search_page/code_result.tsx b/x-pack/legacy/plugins/code/public/components/search_page/code_result.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/code_result.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/code_result.tsx diff --git a/x-pack/plugins/code/public/components/search_page/empty_placeholder.tsx b/x-pack/legacy/plugins/code/public/components/search_page/empty_placeholder.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/empty_placeholder.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/empty_placeholder.tsx diff --git a/x-pack/plugins/code/public/components/search_page/pagination.tsx b/x-pack/legacy/plugins/code/public/components/search_page/pagination.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/pagination.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/pagination.tsx diff --git a/x-pack/plugins/code/public/components/search_page/scope_tabs.tsx b/x-pack/legacy/plugins/code/public/components/search_page/scope_tabs.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/scope_tabs.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/scope_tabs.tsx diff --git a/x-pack/plugins/code/public/components/search_page/search.tsx b/x-pack/legacy/plugins/code/public/components/search_page/search.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/search.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/search.tsx diff --git a/x-pack/plugins/code/public/components/search_page/side_bar.tsx b/x-pack/legacy/plugins/code/public/components/search_page/side_bar.tsx similarity index 100% rename from x-pack/plugins/code/public/components/search_page/side_bar.tsx rename to x-pack/legacy/plugins/code/public/components/search_page/side_bar.tsx diff --git a/x-pack/plugins/code/public/components/shared/icons.tsx b/x-pack/legacy/plugins/code/public/components/shared/icons.tsx similarity index 100% rename from x-pack/plugins/code/public/components/shared/icons.tsx rename to x-pack/legacy/plugins/code/public/components/shared/icons.tsx diff --git a/x-pack/plugins/code/public/components/shortcuts/index.tsx b/x-pack/legacy/plugins/code/public/components/shortcuts/index.tsx similarity index 100% rename from x-pack/plugins/code/public/components/shortcuts/index.tsx rename to x-pack/legacy/plugins/code/public/components/shortcuts/index.tsx diff --git a/x-pack/plugins/code/public/components/shortcuts/shortcut.tsx b/x-pack/legacy/plugins/code/public/components/shortcuts/shortcut.tsx similarity index 100% rename from x-pack/plugins/code/public/components/shortcuts/shortcut.tsx rename to x-pack/legacy/plugins/code/public/components/shortcuts/shortcut.tsx diff --git a/x-pack/plugins/code/public/components/shortcuts/shortcuts_provider.tsx b/x-pack/legacy/plugins/code/public/components/shortcuts/shortcuts_provider.tsx similarity index 100% rename from x-pack/plugins/code/public/components/shortcuts/shortcuts_provider.tsx rename to x-pack/legacy/plugins/code/public/components/shortcuts/shortcuts_provider.tsx diff --git a/x-pack/plugins/code/public/components/symbol_tree/__test__/__fixtures__/props.ts b/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__fixtures__/props.ts similarity index 100% rename from x-pack/plugins/code/public/components/symbol_tree/__test__/__fixtures__/props.ts rename to x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__fixtures__/props.ts diff --git a/x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap similarity index 100% rename from x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap rename to x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap diff --git a/x-pack/plugins/code/public/components/symbol_tree/__test__/symbol_tree.test.tsx b/x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/symbol_tree.test.tsx similarity index 100% rename from x-pack/plugins/code/public/components/symbol_tree/__test__/symbol_tree.test.tsx rename to x-pack/legacy/plugins/code/public/components/symbol_tree/__test__/symbol_tree.test.tsx diff --git a/x-pack/plugins/code/public/components/symbol_tree/code_symbol_tree.tsx b/x-pack/legacy/plugins/code/public/components/symbol_tree/code_symbol_tree.tsx similarity index 100% rename from x-pack/plugins/code/public/components/symbol_tree/code_symbol_tree.tsx rename to x-pack/legacy/plugins/code/public/components/symbol_tree/code_symbol_tree.tsx diff --git a/x-pack/plugins/code/public/components/symbol_tree/symbol_tree.tsx b/x-pack/legacy/plugins/code/public/components/symbol_tree/symbol_tree.tsx similarity index 100% rename from x-pack/plugins/code/public/components/symbol_tree/symbol_tree.tsx rename to x-pack/legacy/plugins/code/public/components/symbol_tree/symbol_tree.tsx diff --git a/x-pack/plugins/code/public/hacks/toggle_app_link_in_nav.ts b/x-pack/legacy/plugins/code/public/hacks/toggle_app_link_in_nav.ts similarity index 100% rename from x-pack/plugins/code/public/hacks/toggle_app_link_in_nav.ts rename to x-pack/legacy/plugins/code/public/hacks/toggle_app_link_in_nav.ts diff --git a/x-pack/plugins/code/public/index.scss b/x-pack/legacy/plugins/code/public/index.scss similarity index 100% rename from x-pack/plugins/code/public/index.scss rename to x-pack/legacy/plugins/code/public/index.scss diff --git a/x-pack/plugins/code/public/lib/documentation_links.ts b/x-pack/legacy/plugins/code/public/lib/documentation_links.ts similarity index 100% rename from x-pack/plugins/code/public/lib/documentation_links.ts rename to x-pack/legacy/plugins/code/public/lib/documentation_links.ts diff --git a/x-pack/plugins/code/public/monaco/blame/blame_widget.ts b/x-pack/legacy/plugins/code/public/monaco/blame/blame_widget.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/blame/blame_widget.ts rename to x-pack/legacy/plugins/code/public/monaco/blame/blame_widget.ts diff --git a/x-pack/plugins/code/public/monaco/computer.ts b/x-pack/legacy/plugins/code/public/monaco/computer.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/computer.ts rename to x-pack/legacy/plugins/code/public/monaco/computer.ts diff --git a/x-pack/plugins/code/public/monaco/content_widget.ts b/x-pack/legacy/plugins/code/public/monaco/content_widget.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/content_widget.ts rename to x-pack/legacy/plugins/code/public/monaco/content_widget.ts diff --git a/x-pack/plugins/code/public/monaco/definition/definition_provider.ts b/x-pack/legacy/plugins/code/public/monaco/definition/definition_provider.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/definition/definition_provider.ts rename to x-pack/legacy/plugins/code/public/monaco/definition/definition_provider.ts diff --git a/x-pack/plugins/code/public/monaco/disposable.ts b/x-pack/legacy/plugins/code/public/monaco/disposable.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/disposable.ts rename to x-pack/legacy/plugins/code/public/monaco/disposable.ts diff --git a/x-pack/plugins/code/public/monaco/editor_service.ts b/x-pack/legacy/plugins/code/public/monaco/editor_service.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/editor_service.ts rename to x-pack/legacy/plugins/code/public/monaco/editor_service.ts diff --git a/x-pack/plugins/code/public/monaco/hover/content_hover_widget.ts b/x-pack/legacy/plugins/code/public/monaco/hover/content_hover_widget.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/hover/content_hover_widget.ts rename to x-pack/legacy/plugins/code/public/monaco/hover/content_hover_widget.ts diff --git a/x-pack/plugins/code/public/monaco/hover/hover_computer.ts b/x-pack/legacy/plugins/code/public/monaco/hover/hover_computer.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/hover/hover_computer.ts rename to x-pack/legacy/plugins/code/public/monaco/hover/hover_computer.ts diff --git a/x-pack/plugins/code/public/monaco/hover/hover_controller.ts b/x-pack/legacy/plugins/code/public/monaco/hover/hover_controller.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/hover/hover_controller.ts rename to x-pack/legacy/plugins/code/public/monaco/hover/hover_controller.ts diff --git a/x-pack/plugins/code/public/monaco/immortal_reference.ts b/x-pack/legacy/plugins/code/public/monaco/immortal_reference.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/immortal_reference.ts rename to x-pack/legacy/plugins/code/public/monaco/immortal_reference.ts diff --git a/x-pack/plugins/code/public/monaco/monaco.ts b/x-pack/legacy/plugins/code/public/monaco/monaco.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/monaco.ts rename to x-pack/legacy/plugins/code/public/monaco/monaco.ts diff --git a/x-pack/plugins/code/public/monaco/monaco_diff_editor.ts b/x-pack/legacy/plugins/code/public/monaco/monaco_diff_editor.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/monaco_diff_editor.ts rename to x-pack/legacy/plugins/code/public/monaco/monaco_diff_editor.ts diff --git a/x-pack/plugins/code/public/monaco/monaco_helper.ts b/x-pack/legacy/plugins/code/public/monaco/monaco_helper.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/monaco_helper.ts rename to x-pack/legacy/plugins/code/public/monaco/monaco_helper.ts diff --git a/x-pack/plugins/code/public/monaco/operation.ts b/x-pack/legacy/plugins/code/public/monaco/operation.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/operation.ts rename to x-pack/legacy/plugins/code/public/monaco/operation.ts diff --git a/x-pack/plugins/code/public/monaco/override_monaco_styles.scss b/x-pack/legacy/plugins/code/public/monaco/override_monaco_styles.scss similarity index 100% rename from x-pack/plugins/code/public/monaco/override_monaco_styles.scss rename to x-pack/legacy/plugins/code/public/monaco/override_monaco_styles.scss diff --git a/x-pack/plugins/code/public/monaco/references/references_action.ts b/x-pack/legacy/plugins/code/public/monaco/references/references_action.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/references/references_action.ts rename to x-pack/legacy/plugins/code/public/monaco/references/references_action.ts diff --git a/x-pack/plugins/code/public/monaco/single_selection_helper.ts b/x-pack/legacy/plugins/code/public/monaco/single_selection_helper.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/single_selection_helper.ts rename to x-pack/legacy/plugins/code/public/monaco/single_selection_helper.ts diff --git a/x-pack/plugins/code/public/monaco/textmodel_resolver.ts b/x-pack/legacy/plugins/code/public/monaco/textmodel_resolver.ts similarity index 100% rename from x-pack/plugins/code/public/monaco/textmodel_resolver.ts rename to x-pack/legacy/plugins/code/public/monaco/textmodel_resolver.ts diff --git a/x-pack/plugins/code/public/reducers/__tests__/match_container_name.test.ts b/x-pack/legacy/plugins/code/public/reducers/__tests__/match_container_name.test.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/__tests__/match_container_name.test.ts rename to x-pack/legacy/plugins/code/public/reducers/__tests__/match_container_name.test.ts diff --git a/x-pack/plugins/code/public/reducers/blame.ts b/x-pack/legacy/plugins/code/public/reducers/blame.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/blame.ts rename to x-pack/legacy/plugins/code/public/reducers/blame.ts diff --git a/x-pack/plugins/code/public/reducers/commit.ts b/x-pack/legacy/plugins/code/public/reducers/commit.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/commit.ts rename to x-pack/legacy/plugins/code/public/reducers/commit.ts diff --git a/x-pack/plugins/code/public/reducers/editor.ts b/x-pack/legacy/plugins/code/public/reducers/editor.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/editor.ts rename to x-pack/legacy/plugins/code/public/reducers/editor.ts diff --git a/x-pack/plugins/code/public/reducers/file.ts b/x-pack/legacy/plugins/code/public/reducers/file.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/file.ts rename to x-pack/legacy/plugins/code/public/reducers/file.ts diff --git a/x-pack/plugins/code/public/reducers/index.ts b/x-pack/legacy/plugins/code/public/reducers/index.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/index.ts rename to x-pack/legacy/plugins/code/public/reducers/index.ts diff --git a/x-pack/plugins/code/public/reducers/language_server.ts b/x-pack/legacy/plugins/code/public/reducers/language_server.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/language_server.ts rename to x-pack/legacy/plugins/code/public/reducers/language_server.ts diff --git a/x-pack/plugins/code/public/reducers/repository.ts b/x-pack/legacy/plugins/code/public/reducers/repository.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/repository.ts rename to x-pack/legacy/plugins/code/public/reducers/repository.ts diff --git a/x-pack/plugins/code/public/reducers/route.ts b/x-pack/legacy/plugins/code/public/reducers/route.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/route.ts rename to x-pack/legacy/plugins/code/public/reducers/route.ts diff --git a/x-pack/plugins/code/public/reducers/search.ts b/x-pack/legacy/plugins/code/public/reducers/search.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/search.ts rename to x-pack/legacy/plugins/code/public/reducers/search.ts diff --git a/x-pack/plugins/code/public/reducers/setup.ts b/x-pack/legacy/plugins/code/public/reducers/setup.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/setup.ts rename to x-pack/legacy/plugins/code/public/reducers/setup.ts diff --git a/x-pack/plugins/code/public/reducers/shortcuts.ts b/x-pack/legacy/plugins/code/public/reducers/shortcuts.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/shortcuts.ts rename to x-pack/legacy/plugins/code/public/reducers/shortcuts.ts diff --git a/x-pack/plugins/code/public/reducers/status.ts b/x-pack/legacy/plugins/code/public/reducers/status.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/status.ts rename to x-pack/legacy/plugins/code/public/reducers/status.ts diff --git a/x-pack/plugins/code/public/reducers/symbol.ts b/x-pack/legacy/plugins/code/public/reducers/symbol.ts similarity index 100% rename from x-pack/plugins/code/public/reducers/symbol.ts rename to x-pack/legacy/plugins/code/public/reducers/symbol.ts diff --git a/x-pack/plugins/code/public/sagas/blame.ts b/x-pack/legacy/plugins/code/public/sagas/blame.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/blame.ts rename to x-pack/legacy/plugins/code/public/sagas/blame.ts diff --git a/x-pack/plugins/code/public/sagas/commit.ts b/x-pack/legacy/plugins/code/public/sagas/commit.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/commit.ts rename to x-pack/legacy/plugins/code/public/sagas/commit.ts diff --git a/x-pack/plugins/code/public/sagas/editor.ts b/x-pack/legacy/plugins/code/public/sagas/editor.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/editor.ts rename to x-pack/legacy/plugins/code/public/sagas/editor.ts diff --git a/x-pack/plugins/code/public/sagas/file.ts b/x-pack/legacy/plugins/code/public/sagas/file.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/file.ts rename to x-pack/legacy/plugins/code/public/sagas/file.ts diff --git a/x-pack/plugins/code/public/sagas/index.ts b/x-pack/legacy/plugins/code/public/sagas/index.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/index.ts rename to x-pack/legacy/plugins/code/public/sagas/index.ts diff --git a/x-pack/plugins/code/public/sagas/language_server.ts b/x-pack/legacy/plugins/code/public/sagas/language_server.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/language_server.ts rename to x-pack/legacy/plugins/code/public/sagas/language_server.ts diff --git a/x-pack/plugins/code/public/sagas/patterns.ts b/x-pack/legacy/plugins/code/public/sagas/patterns.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/patterns.ts rename to x-pack/legacy/plugins/code/public/sagas/patterns.ts diff --git a/x-pack/plugins/code/public/sagas/project_config.ts b/x-pack/legacy/plugins/code/public/sagas/project_config.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/project_config.ts rename to x-pack/legacy/plugins/code/public/sagas/project_config.ts diff --git a/x-pack/plugins/code/public/sagas/project_status.ts b/x-pack/legacy/plugins/code/public/sagas/project_status.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/project_status.ts rename to x-pack/legacy/plugins/code/public/sagas/project_status.ts diff --git a/x-pack/plugins/code/public/sagas/repository.ts b/x-pack/legacy/plugins/code/public/sagas/repository.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/repository.ts rename to x-pack/legacy/plugins/code/public/sagas/repository.ts diff --git a/x-pack/plugins/code/public/sagas/search.ts b/x-pack/legacy/plugins/code/public/sagas/search.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/search.ts rename to x-pack/legacy/plugins/code/public/sagas/search.ts diff --git a/x-pack/plugins/code/public/sagas/setup.ts b/x-pack/legacy/plugins/code/public/sagas/setup.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/setup.ts rename to x-pack/legacy/plugins/code/public/sagas/setup.ts diff --git a/x-pack/plugins/code/public/sagas/status.ts b/x-pack/legacy/plugins/code/public/sagas/status.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/status.ts rename to x-pack/legacy/plugins/code/public/sagas/status.ts diff --git a/x-pack/plugins/code/public/sagas/structure.ts b/x-pack/legacy/plugins/code/public/sagas/structure.ts similarity index 100% rename from x-pack/plugins/code/public/sagas/structure.ts rename to x-pack/legacy/plugins/code/public/sagas/structure.ts diff --git a/x-pack/plugins/code/public/selectors/index.ts b/x-pack/legacy/plugins/code/public/selectors/index.ts similarity index 100% rename from x-pack/plugins/code/public/selectors/index.ts rename to x-pack/legacy/plugins/code/public/selectors/index.ts diff --git a/x-pack/plugins/code/public/stores/index.ts b/x-pack/legacy/plugins/code/public/stores/index.ts similarity index 100% rename from x-pack/plugins/code/public/stores/index.ts rename to x-pack/legacy/plugins/code/public/stores/index.ts diff --git a/x-pack/plugins/code/public/style/_buttons.scss b/x-pack/legacy/plugins/code/public/style/_buttons.scss similarity index 100% rename from x-pack/plugins/code/public/style/_buttons.scss rename to x-pack/legacy/plugins/code/public/style/_buttons.scss diff --git a/x-pack/plugins/code/public/style/_filetree.scss b/x-pack/legacy/plugins/code/public/style/_filetree.scss similarity index 100% rename from x-pack/plugins/code/public/style/_filetree.scss rename to x-pack/legacy/plugins/code/public/style/_filetree.scss diff --git a/x-pack/plugins/code/public/style/_filters.scss b/x-pack/legacy/plugins/code/public/style/_filters.scss similarity index 100% rename from x-pack/plugins/code/public/style/_filters.scss rename to x-pack/legacy/plugins/code/public/style/_filters.scss diff --git a/x-pack/plugins/code/public/style/_layout.scss b/x-pack/legacy/plugins/code/public/style/_layout.scss similarity index 100% rename from x-pack/plugins/code/public/style/_layout.scss rename to x-pack/legacy/plugins/code/public/style/_layout.scss diff --git a/x-pack/plugins/code/public/style/_markdown.scss b/x-pack/legacy/plugins/code/public/style/_markdown.scss similarity index 100% rename from x-pack/plugins/code/public/style/_markdown.scss rename to x-pack/legacy/plugins/code/public/style/_markdown.scss diff --git a/x-pack/plugins/code/public/style/_monaco.scss b/x-pack/legacy/plugins/code/public/style/_monaco.scss similarity index 100% rename from x-pack/plugins/code/public/style/_monaco.scss rename to x-pack/legacy/plugins/code/public/style/_monaco.scss diff --git a/x-pack/plugins/code/public/style/_query_bar.scss b/x-pack/legacy/plugins/code/public/style/_query_bar.scss similarity index 100% rename from x-pack/plugins/code/public/style/_query_bar.scss rename to x-pack/legacy/plugins/code/public/style/_query_bar.scss diff --git a/x-pack/plugins/code/public/style/_shortcuts.scss b/x-pack/legacy/plugins/code/public/style/_shortcuts.scss similarity index 100% rename from x-pack/plugins/code/public/style/_shortcuts.scss rename to x-pack/legacy/plugins/code/public/style/_shortcuts.scss diff --git a/x-pack/plugins/code/public/style/_sidebar.scss b/x-pack/legacy/plugins/code/public/style/_sidebar.scss similarity index 100% rename from x-pack/plugins/code/public/style/_sidebar.scss rename to x-pack/legacy/plugins/code/public/style/_sidebar.scss diff --git a/x-pack/plugins/code/public/style/_utilities.scss b/x-pack/legacy/plugins/code/public/style/_utilities.scss similarity index 100% rename from x-pack/plugins/code/public/style/_utilities.scss rename to x-pack/legacy/plugins/code/public/style/_utilities.scss diff --git a/x-pack/plugins/code/public/style/variables.ts b/x-pack/legacy/plugins/code/public/style/variables.ts similarity index 100% rename from x-pack/plugins/code/public/style/variables.ts rename to x-pack/legacy/plugins/code/public/style/variables.ts diff --git a/x-pack/plugins/code/public/utils/symbol_utils.ts b/x-pack/legacy/plugins/code/public/utils/symbol_utils.ts similarity index 100% rename from x-pack/plugins/code/public/utils/symbol_utils.ts rename to x-pack/legacy/plugins/code/public/utils/symbol_utils.ts diff --git a/x-pack/plugins/code/public/utils/test_utils.ts b/x-pack/legacy/plugins/code/public/utils/test_utils.ts similarity index 100% rename from x-pack/plugins/code/public/utils/test_utils.ts rename to x-pack/legacy/plugins/code/public/utils/test_utils.ts diff --git a/x-pack/plugins/code/public/utils/url.ts b/x-pack/legacy/plugins/code/public/utils/url.ts similarity index 100% rename from x-pack/plugins/code/public/utils/url.ts rename to x-pack/legacy/plugins/code/public/utils/url.ts diff --git a/x-pack/plugins/code/scripts/_helpers.js b/x-pack/legacy/plugins/code/scripts/_helpers.js similarity index 100% rename from x-pack/plugins/code/scripts/_helpers.js rename to x-pack/legacy/plugins/code/scripts/_helpers.js diff --git a/x-pack/plugins/code/scripts/all_test.js b/x-pack/legacy/plugins/code/scripts/all_test.js similarity index 100% rename from x-pack/plugins/code/scripts/all_test.js rename to x-pack/legacy/plugins/code/scripts/all_test.js diff --git a/x-pack/plugins/code/scripts/api_integration_test.js b/x-pack/legacy/plugins/code/scripts/api_integration_test.js similarity index 100% rename from x-pack/plugins/code/scripts/api_integration_test.js rename to x-pack/legacy/plugins/code/scripts/api_integration_test.js diff --git a/x-pack/plugins/code/scripts/check.js b/x-pack/legacy/plugins/code/scripts/check.js similarity index 100% rename from x-pack/plugins/code/scripts/check.js rename to x-pack/legacy/plugins/code/scripts/check.js diff --git a/x-pack/plugins/code/scripts/functional_test.js b/x-pack/legacy/plugins/code/scripts/functional_test.js similarity index 100% rename from x-pack/plugins/code/scripts/functional_test.js rename to x-pack/legacy/plugins/code/scripts/functional_test.js diff --git a/x-pack/plugins/code/scripts/jest.js b/x-pack/legacy/plugins/code/scripts/jest.js similarity index 100% rename from x-pack/plugins/code/scripts/jest.js rename to x-pack/legacy/plugins/code/scripts/jest.js diff --git a/x-pack/plugins/code/scripts/lint.js b/x-pack/legacy/plugins/code/scripts/lint.js similarity index 68% rename from x-pack/plugins/code/scripts/lint.js rename to x-pack/legacy/plugins/code/scripts/lint.js index 8ac435e604c02..393b9088b15e2 100644 --- a/x-pack/plugins/code/scripts/lint.js +++ b/x-pack/legacy/plugins/code/scripts/lint.js @@ -4,4 +4,4 @@ * you may not use this file except in compliance with the Elastic License. */ -require('./_helpers').runKibanaScript('eslint', ['x-pack/plugins/code/**/*.{js,jsx,ts,tsx}', '--fix']); +require('./_helpers').runKibanaScript('eslint', ['x-pack/legacy/plugins/code/**/*.{js,jsx,ts,tsx}', '--fix']); diff --git a/x-pack/plugins/code/scripts/mocha.js b/x-pack/legacy/plugins/code/scripts/mocha.js similarity index 100% rename from x-pack/plugins/code/scripts/mocha.js rename to x-pack/legacy/plugins/code/scripts/mocha.js diff --git a/x-pack/plugins/code/scripts/test.js b/x-pack/legacy/plugins/code/scripts/test.js similarity index 100% rename from x-pack/plugins/code/scripts/test.js rename to x-pack/legacy/plugins/code/scripts/test.js diff --git a/x-pack/plugins/code/scripts/type_check.js b/x-pack/legacy/plugins/code/scripts/type_check.js similarity index 100% rename from x-pack/plugins/code/scripts/type_check.js rename to x-pack/legacy/plugins/code/scripts/type_check.js diff --git a/x-pack/plugins/code/server/__tests__/clone_worker.ts b/x-pack/legacy/plugins/code/server/__tests__/clone_worker.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/clone_worker.ts rename to x-pack/legacy/plugins/code/server/__tests__/clone_worker.ts diff --git a/x-pack/plugins/code/server/__tests__/git_operations.ts b/x-pack/legacy/plugins/code/server/__tests__/git_operations.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/git_operations.ts rename to x-pack/legacy/plugins/code/server/__tests__/git_operations.ts diff --git a/x-pack/plugins/code/server/__tests__/lsp_incremental_indexer.ts b/x-pack/legacy/plugins/code/server/__tests__/lsp_incremental_indexer.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/lsp_incremental_indexer.ts rename to x-pack/legacy/plugins/code/server/__tests__/lsp_incremental_indexer.ts diff --git a/x-pack/plugins/code/server/__tests__/lsp_indexer.ts b/x-pack/legacy/plugins/code/server/__tests__/lsp_indexer.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/lsp_indexer.ts rename to x-pack/legacy/plugins/code/server/__tests__/lsp_indexer.ts diff --git a/x-pack/plugins/code/server/__tests__/lsp_service.ts b/x-pack/legacy/plugins/code/server/__tests__/lsp_service.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/lsp_service.ts rename to x-pack/legacy/plugins/code/server/__tests__/lsp_service.ts diff --git a/x-pack/plugins/code/server/__tests__/multi_node.ts b/x-pack/legacy/plugins/code/server/__tests__/multi_node.ts similarity index 98% rename from x-pack/plugins/code/server/__tests__/multi_node.ts rename to x-pack/legacy/plugins/code/server/__tests__/multi_node.ts index 9748e3cffd784..8613178da9075 100644 --- a/x-pack/plugins/code/server/__tests__/multi_node.ts +++ b/x-pack/legacy/plugins/code/server/__tests__/multi_node.ts @@ -13,7 +13,7 @@ import { getKbnServer, request, startTestServers, -} from '../../../../../src/test_utils/kbn_server'; +} from '../../../../../../src/test_utils/kbn_server'; const xpackOption = { upgrade_assistant: { diff --git a/x-pack/plugins/code/server/__tests__/repository_service.ts b/x-pack/legacy/plugins/code/server/__tests__/repository_service.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/repository_service.ts rename to x-pack/legacy/plugins/code/server/__tests__/repository_service.ts diff --git a/x-pack/plugins/code/server/__tests__/workspace_handler.ts b/x-pack/legacy/plugins/code/server/__tests__/workspace_handler.ts similarity index 100% rename from x-pack/plugins/code/server/__tests__/workspace_handler.ts rename to x-pack/legacy/plugins/code/server/__tests__/workspace_handler.ts diff --git a/x-pack/plugins/code/server/check_repos.ts b/x-pack/legacy/plugins/code/server/check_repos.ts similarity index 100% rename from x-pack/plugins/code/server/check_repos.ts rename to x-pack/legacy/plugins/code/server/check_repos.ts diff --git a/x-pack/plugins/code/server/git_operations.ts b/x-pack/legacy/plugins/code/server/git_operations.ts similarity index 100% rename from x-pack/plugins/code/server/git_operations.ts rename to x-pack/legacy/plugins/code/server/git_operations.ts diff --git a/x-pack/plugins/code/server/indexer/abstract_indexer.ts b/x-pack/legacy/plugins/code/server/indexer/abstract_indexer.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/abstract_indexer.ts rename to x-pack/legacy/plugins/code/server/indexer/abstract_indexer.ts diff --git a/x-pack/plugins/code/server/indexer/batch_index_helper.test.ts b/x-pack/legacy/plugins/code/server/indexer/batch_index_helper.test.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/batch_index_helper.test.ts rename to x-pack/legacy/plugins/code/server/indexer/batch_index_helper.test.ts diff --git a/x-pack/plugins/code/server/indexer/batch_index_helper.ts b/x-pack/legacy/plugins/code/server/indexer/batch_index_helper.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/batch_index_helper.ts rename to x-pack/legacy/plugins/code/server/indexer/batch_index_helper.ts diff --git a/x-pack/plugins/code/server/indexer/es_exception.ts b/x-pack/legacy/plugins/code/server/indexer/es_exception.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/es_exception.ts rename to x-pack/legacy/plugins/code/server/indexer/es_exception.ts diff --git a/x-pack/plugins/code/server/indexer/index.ts b/x-pack/legacy/plugins/code/server/indexer/index.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index.ts rename to x-pack/legacy/plugins/code/server/indexer/index.ts diff --git a/x-pack/plugins/code/server/indexer/index_creation_request.ts b/x-pack/legacy/plugins/code/server/indexer/index_creation_request.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_creation_request.ts rename to x-pack/legacy/plugins/code/server/indexer/index_creation_request.ts diff --git a/x-pack/plugins/code/server/indexer/index_creator.test.ts b/x-pack/legacy/plugins/code/server/indexer/index_creator.test.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_creator.test.ts rename to x-pack/legacy/plugins/code/server/indexer/index_creator.test.ts diff --git a/x-pack/plugins/code/server/indexer/index_creator.ts b/x-pack/legacy/plugins/code/server/indexer/index_creator.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_creator.ts rename to x-pack/legacy/plugins/code/server/indexer/index_creator.ts diff --git a/x-pack/plugins/code/server/indexer/index_migrator.test.ts b/x-pack/legacy/plugins/code/server/indexer/index_migrator.test.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_migrator.test.ts rename to x-pack/legacy/plugins/code/server/indexer/index_migrator.test.ts diff --git a/x-pack/plugins/code/server/indexer/index_migrator.ts b/x-pack/legacy/plugins/code/server/indexer/index_migrator.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_migrator.ts rename to x-pack/legacy/plugins/code/server/indexer/index_migrator.ts diff --git a/x-pack/plugins/code/server/indexer/index_version_controller.test.ts b/x-pack/legacy/plugins/code/server/indexer/index_version_controller.test.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_version_controller.test.ts rename to x-pack/legacy/plugins/code/server/indexer/index_version_controller.test.ts diff --git a/x-pack/plugins/code/server/indexer/index_version_controller.ts b/x-pack/legacy/plugins/code/server/indexer/index_version_controller.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/index_version_controller.ts rename to x-pack/legacy/plugins/code/server/indexer/index_version_controller.ts diff --git a/x-pack/plugins/code/server/indexer/indexer.ts b/x-pack/legacy/plugins/code/server/indexer/indexer.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/indexer.ts rename to x-pack/legacy/plugins/code/server/indexer/indexer.ts diff --git a/x-pack/plugins/code/server/indexer/lsp_incremental_indexer.ts b/x-pack/legacy/plugins/code/server/indexer/lsp_incremental_indexer.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/lsp_incremental_indexer.ts rename to x-pack/legacy/plugins/code/server/indexer/lsp_incremental_indexer.ts diff --git a/x-pack/plugins/code/server/indexer/lsp_indexer.ts b/x-pack/legacy/plugins/code/server/indexer/lsp_indexer.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/lsp_indexer.ts rename to x-pack/legacy/plugins/code/server/indexer/lsp_indexer.ts diff --git a/x-pack/plugins/code/server/indexer/lsp_indexer_factory.ts b/x-pack/legacy/plugins/code/server/indexer/lsp_indexer_factory.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/lsp_indexer_factory.ts rename to x-pack/legacy/plugins/code/server/indexer/lsp_indexer_factory.ts diff --git a/x-pack/plugins/code/server/indexer/repository_index_initializer.test.ts b/x-pack/legacy/plugins/code/server/indexer/repository_index_initializer.test.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/repository_index_initializer.test.ts rename to x-pack/legacy/plugins/code/server/indexer/repository_index_initializer.test.ts diff --git a/x-pack/plugins/code/server/indexer/repository_index_initializer.ts b/x-pack/legacy/plugins/code/server/indexer/repository_index_initializer.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/repository_index_initializer.ts rename to x-pack/legacy/plugins/code/server/indexer/repository_index_initializer.ts diff --git a/x-pack/plugins/code/server/indexer/repository_index_initializer_factory.ts b/x-pack/legacy/plugins/code/server/indexer/repository_index_initializer_factory.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/repository_index_initializer_factory.ts rename to x-pack/legacy/plugins/code/server/indexer/repository_index_initializer_factory.ts diff --git a/x-pack/plugins/code/server/indexer/schema/document.ts b/x-pack/legacy/plugins/code/server/indexer/schema/document.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/document.ts rename to x-pack/legacy/plugins/code/server/indexer/schema/document.ts diff --git a/x-pack/plugins/code/server/indexer/schema/index.ts b/x-pack/legacy/plugins/code/server/indexer/schema/index.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/index.ts rename to x-pack/legacy/plugins/code/server/indexer/schema/index.ts diff --git a/x-pack/plugins/code/server/indexer/schema/reference.ts b/x-pack/legacy/plugins/code/server/indexer/schema/reference.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/reference.ts rename to x-pack/legacy/plugins/code/server/indexer/schema/reference.ts diff --git a/x-pack/plugins/code/server/indexer/schema/repository.ts b/x-pack/legacy/plugins/code/server/indexer/schema/repository.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/repository.ts rename to x-pack/legacy/plugins/code/server/indexer/schema/repository.ts diff --git a/x-pack/plugins/code/server/indexer/schema/symbol.ts b/x-pack/legacy/plugins/code/server/indexer/schema/symbol.ts similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/symbol.ts rename to x-pack/legacy/plugins/code/server/indexer/schema/symbol.ts diff --git a/x-pack/plugins/code/server/indexer/schema/version.json b/x-pack/legacy/plugins/code/server/indexer/schema/version.json similarity index 100% rename from x-pack/plugins/code/server/indexer/schema/version.json rename to x-pack/legacy/plugins/code/server/indexer/schema/version.json diff --git a/x-pack/plugins/code/server/init.ts b/x-pack/legacy/plugins/code/server/init.ts similarity index 100% rename from x-pack/plugins/code/server/init.ts rename to x-pack/legacy/plugins/code/server/init.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/default_settings.js b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/default_settings.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/default_settings.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/default_settings.js diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/events.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/events.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/events.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/events.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/events.js b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/events.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/events.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/events.js diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/index.js b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/index.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/index.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/index.js diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/statuses.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/statuses.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/statuses.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/statuses.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/constants/statuses.js b/x-pack/legacy/plugins/code/server/lib/esqueue/constants/statuses.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/constants/statuses.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/constants/statuses.js diff --git a/x-pack/plugins/code/server/lib/esqueue/esqueue.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/esqueue.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/esqueue.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/esqueue.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/esqueue.js b/x-pack/legacy/plugins/code/server/lib/esqueue/esqueue.js similarity index 97% rename from x-pack/plugins/code/server/lib/esqueue/esqueue.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/esqueue.js index 4320a6d781cef..360a2aebf6305 100644 --- a/x-pack/plugins/code/server/lib/esqueue/esqueue.js +++ b/x-pack/legacy/plugins/code/server/lib/esqueue/esqueue.js @@ -5,7 +5,7 @@ */ /* - * Borrowed from https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/lib/esqueue + * Borrowed from https://github.com/elastic/kibana/tree/master/x-pack/legacy/plugins/reporting/server/lib/esqueue * TODO(mengwei): need to abstract this esqueue as a common library when merging into kibana's main repo. */ diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/cancellation_token.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/cancellation_token.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/helpers/cancellation_token.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/cancellation_token.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/cancellation_token.js b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/cancellation_token.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/helpers/cancellation_token.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/cancellation_token.js diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/create_index.js b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/create_index.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/helpers/create_index.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/create_index.js diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/errors.js b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/errors.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/helpers/errors.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/errors.js diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/index_timestamp.js b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/index_timestamp.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/helpers/index_timestamp.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/index_timestamp.js diff --git a/x-pack/plugins/code/server/lib/esqueue/helpers/poller.js b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/poller.js similarity index 98% rename from x-pack/plugins/code/server/lib/esqueue/helpers/poller.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/helpers/poller.js index 1f33f02a0fb25..fd6a878b4e7d6 100644 --- a/x-pack/plugins/code/server/lib/esqueue/helpers/poller.js +++ b/x-pack/legacy/plugins/code/server/lib/esqueue/helpers/poller.js @@ -5,7 +5,7 @@ */ /* - * Borrowed from https://github.com/elastic/kibana/blob/master/x-pack/common/poller.js + * Borrowed from https://github.com/elastic/kibana/blob/master/x-pack/legacy/common/poller.js */ import _ from 'lodash'; diff --git a/x-pack/plugins/code/server/lib/esqueue/index.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/index.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/index.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/index.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/index.js b/x-pack/legacy/plugins/code/server/lib/esqueue/index.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/index.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/index.js diff --git a/x-pack/plugins/code/server/lib/esqueue/job.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/job.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/job.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/job.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/job.js b/x-pack/legacy/plugins/code/server/lib/esqueue/job.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/job.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/job.js diff --git a/x-pack/plugins/code/server/lib/esqueue/misc.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/misc.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/misc.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/misc.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/worker.d.ts b/x-pack/legacy/plugins/code/server/lib/esqueue/worker.d.ts similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/worker.d.ts rename to x-pack/legacy/plugins/code/server/lib/esqueue/worker.d.ts diff --git a/x-pack/plugins/code/server/lib/esqueue/worker.js b/x-pack/legacy/plugins/code/server/lib/esqueue/worker.js similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/worker.js rename to x-pack/legacy/plugins/code/server/lib/esqueue/worker.js diff --git a/x-pack/plugins/code/server/lib/esqueue/yarn.lock b/x-pack/legacy/plugins/code/server/lib/esqueue/yarn.lock similarity index 100% rename from x-pack/plugins/code/server/lib/esqueue/yarn.lock rename to x-pack/legacy/plugins/code/server/lib/esqueue/yarn.lock diff --git a/x-pack/plugins/code/server/log.ts b/x-pack/legacy/plugins/code/server/log.ts similarity index 100% rename from x-pack/plugins/code/server/log.ts rename to x-pack/legacy/plugins/code/server/log.ts diff --git a/x-pack/plugins/code/server/lsp/abstract_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/abstract_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/abstract_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/abstract_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/controller.test.ts b/x-pack/legacy/plugins/code/server/lsp/controller.test.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/controller.test.ts rename to x-pack/legacy/plugins/code/server/lsp/controller.test.ts diff --git a/x-pack/plugins/code/server/lsp/controller.ts b/x-pack/legacy/plugins/code/server/lsp/controller.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/controller.ts rename to x-pack/legacy/plugins/code/server/lsp/controller.ts diff --git a/x-pack/plugins/code/server/lsp/ctags_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/ctags_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/ctags_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/ctags_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/go_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/go_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/go_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/go_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/install_manager.test.ts b/x-pack/legacy/plugins/code/server/lsp/install_manager.test.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/install_manager.test.ts rename to x-pack/legacy/plugins/code/server/lsp/install_manager.test.ts diff --git a/x-pack/plugins/code/server/lsp/install_manager.ts b/x-pack/legacy/plugins/code/server/lsp/install_manager.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/install_manager.ts rename to x-pack/legacy/plugins/code/server/lsp/install_manager.ts diff --git a/x-pack/plugins/code/server/lsp/java_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/java_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/java_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/java_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/language_server_launcher.test.ts b/x-pack/legacy/plugins/code/server/lsp/language_server_launcher.test.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/language_server_launcher.test.ts rename to x-pack/legacy/plugins/code/server/lsp/language_server_launcher.test.ts diff --git a/x-pack/plugins/code/server/lsp/language_server_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/language_server_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/language_server_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/language_server_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/language_servers.ts b/x-pack/legacy/plugins/code/server/lsp/language_servers.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/language_servers.ts rename to x-pack/legacy/plugins/code/server/lsp/language_servers.ts diff --git a/x-pack/plugins/code/server/lsp/lsp_benchmark.ts b/x-pack/legacy/plugins/code/server/lsp/lsp_benchmark.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/lsp_benchmark.ts rename to x-pack/legacy/plugins/code/server/lsp/lsp_benchmark.ts diff --git a/x-pack/plugins/code/server/lsp/lsp_service.ts b/x-pack/legacy/plugins/code/server/lsp/lsp_service.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/lsp_service.ts rename to x-pack/legacy/plugins/code/server/lsp/lsp_service.ts diff --git a/x-pack/plugins/code/server/lsp/lsp_test_runner.ts b/x-pack/legacy/plugins/code/server/lsp/lsp_test_runner.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/lsp_test_runner.ts rename to x-pack/legacy/plugins/code/server/lsp/lsp_test_runner.ts diff --git a/x-pack/plugins/code/server/lsp/mock_lang_server.js b/x-pack/legacy/plugins/code/server/lsp/mock_lang_server.js similarity index 100% rename from x-pack/plugins/code/server/lsp/mock_lang_server.js rename to x-pack/legacy/plugins/code/server/lsp/mock_lang_server.js diff --git a/x-pack/plugins/code/server/lsp/proxy.ts b/x-pack/legacy/plugins/code/server/lsp/proxy.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/proxy.ts rename to x-pack/legacy/plugins/code/server/lsp/proxy.ts diff --git a/x-pack/plugins/code/server/lsp/replies_map.ts b/x-pack/legacy/plugins/code/server/lsp/replies_map.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/replies_map.ts rename to x-pack/legacy/plugins/code/server/lsp/replies_map.ts diff --git a/x-pack/plugins/code/server/lsp/request_expander.test.ts b/x-pack/legacy/plugins/code/server/lsp/request_expander.test.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/request_expander.test.ts rename to x-pack/legacy/plugins/code/server/lsp/request_expander.test.ts diff --git a/x-pack/plugins/code/server/lsp/request_expander.ts b/x-pack/legacy/plugins/code/server/lsp/request_expander.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/request_expander.ts rename to x-pack/legacy/plugins/code/server/lsp/request_expander.ts diff --git a/x-pack/plugins/code/server/lsp/test_config.yml b/x-pack/legacy/plugins/code/server/lsp/test_config.yml similarity index 100% rename from x-pack/plugins/code/server/lsp/test_config.yml rename to x-pack/legacy/plugins/code/server/lsp/test_config.yml diff --git a/x-pack/plugins/code/server/lsp/test_repo_manager.ts b/x-pack/legacy/plugins/code/server/lsp/test_repo_manager.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/test_repo_manager.ts rename to x-pack/legacy/plugins/code/server/lsp/test_repo_manager.ts diff --git a/x-pack/plugins/code/server/lsp/ts_launcher.ts b/x-pack/legacy/plugins/code/server/lsp/ts_launcher.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/ts_launcher.ts rename to x-pack/legacy/plugins/code/server/lsp/ts_launcher.ts diff --git a/x-pack/plugins/code/server/lsp/workspace_command.ts b/x-pack/legacy/plugins/code/server/lsp/workspace_command.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/workspace_command.ts rename to x-pack/legacy/plugins/code/server/lsp/workspace_command.ts diff --git a/x-pack/plugins/code/server/lsp/workspace_handler.test.ts b/x-pack/legacy/plugins/code/server/lsp/workspace_handler.test.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/workspace_handler.test.ts rename to x-pack/legacy/plugins/code/server/lsp/workspace_handler.test.ts diff --git a/x-pack/plugins/code/server/lsp/workspace_handler.ts b/x-pack/legacy/plugins/code/server/lsp/workspace_handler.ts similarity index 100% rename from x-pack/plugins/code/server/lsp/workspace_handler.ts rename to x-pack/legacy/plugins/code/server/lsp/workspace_handler.ts diff --git a/x-pack/plugins/code/server/poller.ts b/x-pack/legacy/plugins/code/server/poller.ts similarity index 99% rename from x-pack/plugins/code/server/poller.ts rename to x-pack/legacy/plugins/code/server/poller.ts index 22599d46016bf..e2803e9cf4b8a 100644 --- a/x-pack/plugins/code/server/poller.ts +++ b/x-pack/legacy/plugins/code/server/poller.ts @@ -5,7 +5,7 @@ */ /* - * Borrowed from https://github.com/elastic/kibana/blob/master/x-pack/common/poller.js + * Borrowed from https://github.com/elastic/kibana/blob/master/x-pack/legacy/common/poller.js */ // Because the timers lib is global for Nodejs, it's not necessary to explicit import it. diff --git a/x-pack/plugins/code/server/queue/abstract_git_worker.ts b/x-pack/legacy/plugins/code/server/queue/abstract_git_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/abstract_git_worker.ts rename to x-pack/legacy/plugins/code/server/queue/abstract_git_worker.ts diff --git a/x-pack/plugins/code/server/queue/abstract_worker.ts b/x-pack/legacy/plugins/code/server/queue/abstract_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/abstract_worker.ts rename to x-pack/legacy/plugins/code/server/queue/abstract_worker.ts diff --git a/x-pack/plugins/code/server/queue/cancellation_service.test.ts b/x-pack/legacy/plugins/code/server/queue/cancellation_service.test.ts similarity index 100% rename from x-pack/plugins/code/server/queue/cancellation_service.test.ts rename to x-pack/legacy/plugins/code/server/queue/cancellation_service.test.ts diff --git a/x-pack/plugins/code/server/queue/cancellation_service.ts b/x-pack/legacy/plugins/code/server/queue/cancellation_service.ts similarity index 100% rename from x-pack/plugins/code/server/queue/cancellation_service.ts rename to x-pack/legacy/plugins/code/server/queue/cancellation_service.ts diff --git a/x-pack/plugins/code/server/queue/clone_worker.ts b/x-pack/legacy/plugins/code/server/queue/clone_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/clone_worker.ts rename to x-pack/legacy/plugins/code/server/queue/clone_worker.ts diff --git a/x-pack/plugins/code/server/queue/delete_worker.test.ts b/x-pack/legacy/plugins/code/server/queue/delete_worker.test.ts similarity index 100% rename from x-pack/plugins/code/server/queue/delete_worker.test.ts rename to x-pack/legacy/plugins/code/server/queue/delete_worker.test.ts diff --git a/x-pack/plugins/code/server/queue/delete_worker.ts b/x-pack/legacy/plugins/code/server/queue/delete_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/delete_worker.ts rename to x-pack/legacy/plugins/code/server/queue/delete_worker.ts diff --git a/x-pack/plugins/code/server/queue/index.ts b/x-pack/legacy/plugins/code/server/queue/index.ts similarity index 100% rename from x-pack/plugins/code/server/queue/index.ts rename to x-pack/legacy/plugins/code/server/queue/index.ts diff --git a/x-pack/plugins/code/server/queue/index_worker.test.ts b/x-pack/legacy/plugins/code/server/queue/index_worker.test.ts similarity index 100% rename from x-pack/plugins/code/server/queue/index_worker.test.ts rename to x-pack/legacy/plugins/code/server/queue/index_worker.test.ts diff --git a/x-pack/plugins/code/server/queue/index_worker.ts b/x-pack/legacy/plugins/code/server/queue/index_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/index_worker.ts rename to x-pack/legacy/plugins/code/server/queue/index_worker.ts diff --git a/x-pack/plugins/code/server/queue/job.ts b/x-pack/legacy/plugins/code/server/queue/job.ts similarity index 100% rename from x-pack/plugins/code/server/queue/job.ts rename to x-pack/legacy/plugins/code/server/queue/job.ts diff --git a/x-pack/plugins/code/server/queue/update_worker.test.ts b/x-pack/legacy/plugins/code/server/queue/update_worker.test.ts similarity index 100% rename from x-pack/plugins/code/server/queue/update_worker.test.ts rename to x-pack/legacy/plugins/code/server/queue/update_worker.test.ts diff --git a/x-pack/plugins/code/server/queue/update_worker.ts b/x-pack/legacy/plugins/code/server/queue/update_worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/update_worker.ts rename to x-pack/legacy/plugins/code/server/queue/update_worker.ts diff --git a/x-pack/plugins/code/server/queue/worker.ts b/x-pack/legacy/plugins/code/server/queue/worker.ts similarity index 100% rename from x-pack/plugins/code/server/queue/worker.ts rename to x-pack/legacy/plugins/code/server/queue/worker.ts diff --git a/x-pack/plugins/code/server/repository_config_controller.ts b/x-pack/legacy/plugins/code/server/repository_config_controller.ts similarity index 100% rename from x-pack/plugins/code/server/repository_config_controller.ts rename to x-pack/legacy/plugins/code/server/repository_config_controller.ts diff --git a/x-pack/plugins/code/server/repository_service.ts b/x-pack/legacy/plugins/code/server/repository_service.ts similarity index 100% rename from x-pack/plugins/code/server/repository_service.ts rename to x-pack/legacy/plugins/code/server/repository_service.ts diff --git a/x-pack/plugins/code/server/repository_service_factory.ts b/x-pack/legacy/plugins/code/server/repository_service_factory.ts similarity index 100% rename from x-pack/plugins/code/server/repository_service_factory.ts rename to x-pack/legacy/plugins/code/server/repository_service_factory.ts diff --git a/x-pack/plugins/code/server/routes/check.ts b/x-pack/legacy/plugins/code/server/routes/check.ts similarity index 100% rename from x-pack/plugins/code/server/routes/check.ts rename to x-pack/legacy/plugins/code/server/routes/check.ts diff --git a/x-pack/plugins/code/server/routes/file.ts b/x-pack/legacy/plugins/code/server/routes/file.ts similarity index 100% rename from x-pack/plugins/code/server/routes/file.ts rename to x-pack/legacy/plugins/code/server/routes/file.ts diff --git a/x-pack/plugins/code/server/routes/install.ts b/x-pack/legacy/plugins/code/server/routes/install.ts similarity index 100% rename from x-pack/plugins/code/server/routes/install.ts rename to x-pack/legacy/plugins/code/server/routes/install.ts diff --git a/x-pack/plugins/code/server/routes/lsp.ts b/x-pack/legacy/plugins/code/server/routes/lsp.ts similarity index 100% rename from x-pack/plugins/code/server/routes/lsp.ts rename to x-pack/legacy/plugins/code/server/routes/lsp.ts diff --git a/x-pack/plugins/code/server/routes/redirect.ts b/x-pack/legacy/plugins/code/server/routes/redirect.ts similarity index 100% rename from x-pack/plugins/code/server/routes/redirect.ts rename to x-pack/legacy/plugins/code/server/routes/redirect.ts diff --git a/x-pack/plugins/code/server/routes/repository.ts b/x-pack/legacy/plugins/code/server/routes/repository.ts similarity index 100% rename from x-pack/plugins/code/server/routes/repository.ts rename to x-pack/legacy/plugins/code/server/routes/repository.ts diff --git a/x-pack/plugins/code/server/routes/search.ts b/x-pack/legacy/plugins/code/server/routes/search.ts similarity index 100% rename from x-pack/plugins/code/server/routes/search.ts rename to x-pack/legacy/plugins/code/server/routes/search.ts diff --git a/x-pack/plugins/code/server/routes/setup.ts b/x-pack/legacy/plugins/code/server/routes/setup.ts similarity index 100% rename from x-pack/plugins/code/server/routes/setup.ts rename to x-pack/legacy/plugins/code/server/routes/setup.ts diff --git a/x-pack/plugins/code/server/routes/workspace.ts b/x-pack/legacy/plugins/code/server/routes/workspace.ts similarity index 100% rename from x-pack/plugins/code/server/routes/workspace.ts rename to x-pack/legacy/plugins/code/server/routes/workspace.ts diff --git a/x-pack/plugins/code/server/scheduler/abstract_scheduler.ts b/x-pack/legacy/plugins/code/server/scheduler/abstract_scheduler.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/abstract_scheduler.ts rename to x-pack/legacy/plugins/code/server/scheduler/abstract_scheduler.ts diff --git a/x-pack/plugins/code/server/scheduler/index.ts b/x-pack/legacy/plugins/code/server/scheduler/index.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/index.ts rename to x-pack/legacy/plugins/code/server/scheduler/index.ts diff --git a/x-pack/plugins/code/server/scheduler/index_scheduler.test.ts b/x-pack/legacy/plugins/code/server/scheduler/index_scheduler.test.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/index_scheduler.test.ts rename to x-pack/legacy/plugins/code/server/scheduler/index_scheduler.test.ts diff --git a/x-pack/plugins/code/server/scheduler/index_scheduler.ts b/x-pack/legacy/plugins/code/server/scheduler/index_scheduler.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/index_scheduler.ts rename to x-pack/legacy/plugins/code/server/scheduler/index_scheduler.ts diff --git a/x-pack/plugins/code/server/scheduler/update_scheduler.test.ts b/x-pack/legacy/plugins/code/server/scheduler/update_scheduler.test.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/update_scheduler.test.ts rename to x-pack/legacy/plugins/code/server/scheduler/update_scheduler.test.ts diff --git a/x-pack/plugins/code/server/scheduler/update_scheduler.ts b/x-pack/legacy/plugins/code/server/scheduler/update_scheduler.ts similarity index 100% rename from x-pack/plugins/code/server/scheduler/update_scheduler.ts rename to x-pack/legacy/plugins/code/server/scheduler/update_scheduler.ts diff --git a/x-pack/plugins/code/server/search/abstract_search_client.ts b/x-pack/legacy/plugins/code/server/search/abstract_search_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/abstract_search_client.ts rename to x-pack/legacy/plugins/code/server/search/abstract_search_client.ts diff --git a/x-pack/plugins/code/server/search/document_search_client.test.ts b/x-pack/legacy/plugins/code/server/search/document_search_client.test.ts similarity index 100% rename from x-pack/plugins/code/server/search/document_search_client.test.ts rename to x-pack/legacy/plugins/code/server/search/document_search_client.test.ts diff --git a/x-pack/plugins/code/server/search/document_search_client.ts b/x-pack/legacy/plugins/code/server/search/document_search_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/document_search_client.ts rename to x-pack/legacy/plugins/code/server/search/document_search_client.ts diff --git a/x-pack/plugins/code/server/search/index.ts b/x-pack/legacy/plugins/code/server/search/index.ts similarity index 100% rename from x-pack/plugins/code/server/search/index.ts rename to x-pack/legacy/plugins/code/server/search/index.ts diff --git a/x-pack/plugins/code/server/search/repository_object_client.test.ts b/x-pack/legacy/plugins/code/server/search/repository_object_client.test.ts similarity index 100% rename from x-pack/plugins/code/server/search/repository_object_client.test.ts rename to x-pack/legacy/plugins/code/server/search/repository_object_client.test.ts diff --git a/x-pack/plugins/code/server/search/repository_object_client.ts b/x-pack/legacy/plugins/code/server/search/repository_object_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/repository_object_client.ts rename to x-pack/legacy/plugins/code/server/search/repository_object_client.ts diff --git a/x-pack/plugins/code/server/search/repository_search_client.test.ts b/x-pack/legacy/plugins/code/server/search/repository_search_client.test.ts similarity index 100% rename from x-pack/plugins/code/server/search/repository_search_client.test.ts rename to x-pack/legacy/plugins/code/server/search/repository_search_client.test.ts diff --git a/x-pack/plugins/code/server/search/repository_search_client.ts b/x-pack/legacy/plugins/code/server/search/repository_search_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/repository_search_client.ts rename to x-pack/legacy/plugins/code/server/search/repository_search_client.ts diff --git a/x-pack/plugins/code/server/search/search_client.ts b/x-pack/legacy/plugins/code/server/search/search_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/search_client.ts rename to x-pack/legacy/plugins/code/server/search/search_client.ts diff --git a/x-pack/plugins/code/server/search/symbol_search_client.test.ts b/x-pack/legacy/plugins/code/server/search/symbol_search_client.test.ts similarity index 100% rename from x-pack/plugins/code/server/search/symbol_search_client.test.ts rename to x-pack/legacy/plugins/code/server/search/symbol_search_client.test.ts diff --git a/x-pack/plugins/code/server/search/symbol_search_client.ts b/x-pack/legacy/plugins/code/server/search/symbol_search_client.ts similarity index 100% rename from x-pack/plugins/code/server/search/symbol_search_client.ts rename to x-pack/legacy/plugins/code/server/search/symbol_search_client.ts diff --git a/x-pack/plugins/code/server/security.ts b/x-pack/legacy/plugins/code/server/security.ts similarity index 100% rename from x-pack/plugins/code/server/security.ts rename to x-pack/legacy/plugins/code/server/security.ts diff --git a/x-pack/plugins/code/server/server_options.ts b/x-pack/legacy/plugins/code/server/server_options.ts similarity index 100% rename from x-pack/plugins/code/server/server_options.ts rename to x-pack/legacy/plugins/code/server/server_options.ts diff --git a/x-pack/plugins/code/server/test_utils.ts b/x-pack/legacy/plugins/code/server/test_utils.ts similarity index 100% rename from x-pack/plugins/code/server/test_utils.ts rename to x-pack/legacy/plugins/code/server/test_utils.ts diff --git a/x-pack/plugins/code/server/utils/buffer.test.ts b/x-pack/legacy/plugins/code/server/utils/buffer.test.ts similarity index 100% rename from x-pack/plugins/code/server/utils/buffer.test.ts rename to x-pack/legacy/plugins/code/server/utils/buffer.test.ts diff --git a/x-pack/plugins/code/server/utils/buffer.ts b/x-pack/legacy/plugins/code/server/utils/buffer.ts similarity index 100% rename from x-pack/plugins/code/server/utils/buffer.ts rename to x-pack/legacy/plugins/code/server/utils/buffer.ts diff --git a/x-pack/plugins/code/server/utils/cancelable.ts b/x-pack/legacy/plugins/code/server/utils/cancelable.ts similarity index 100% rename from x-pack/plugins/code/server/utils/cancelable.ts rename to x-pack/legacy/plugins/code/server/utils/cancelable.ts diff --git a/x-pack/plugins/code/server/utils/composite_source_merger.test.ts b/x-pack/legacy/plugins/code/server/utils/composite_source_merger.test.ts similarity index 100% rename from x-pack/plugins/code/server/utils/composite_source_merger.test.ts rename to x-pack/legacy/plugins/code/server/utils/composite_source_merger.test.ts diff --git a/x-pack/plugins/code/server/utils/composite_source_merger.ts b/x-pack/legacy/plugins/code/server/utils/composite_source_merger.ts similarity index 100% rename from x-pack/plugins/code/server/utils/composite_source_merger.ts rename to x-pack/legacy/plugins/code/server/utils/composite_source_merger.ts diff --git a/x-pack/plugins/code/server/utils/console_logger.ts b/x-pack/legacy/plugins/code/server/utils/console_logger.ts similarity index 100% rename from x-pack/plugins/code/server/utils/console_logger.ts rename to x-pack/legacy/plugins/code/server/utils/console_logger.ts diff --git a/x-pack/plugins/code/server/utils/console_logger_factory.ts b/x-pack/legacy/plugins/code/server/utils/console_logger_factory.ts similarity index 100% rename from x-pack/plugins/code/server/utils/console_logger_factory.ts rename to x-pack/legacy/plugins/code/server/utils/console_logger_factory.ts diff --git a/x-pack/plugins/code/server/utils/detect_language.ts b/x-pack/legacy/plugins/code/server/utils/detect_language.ts similarity index 100% rename from x-pack/plugins/code/server/utils/detect_language.ts rename to x-pack/legacy/plugins/code/server/utils/detect_language.ts diff --git a/x-pack/plugins/code/server/utils/es_index_client.ts b/x-pack/legacy/plugins/code/server/utils/es_index_client.ts similarity index 100% rename from x-pack/plugins/code/server/utils/es_index_client.ts rename to x-pack/legacy/plugins/code/server/utils/es_index_client.ts diff --git a/x-pack/plugins/code/server/utils/esclient_with_internal_request.ts b/x-pack/legacy/plugins/code/server/utils/esclient_with_internal_request.ts similarity index 100% rename from x-pack/plugins/code/server/utils/esclient_with_internal_request.ts rename to x-pack/legacy/plugins/code/server/utils/esclient_with_internal_request.ts diff --git a/x-pack/plugins/code/server/utils/esclient_with_request.ts b/x-pack/legacy/plugins/code/server/utils/esclient_with_request.ts similarity index 100% rename from x-pack/plugins/code/server/utils/esclient_with_request.ts rename to x-pack/legacy/plugins/code/server/utils/esclient_with_request.ts diff --git a/x-pack/plugins/code/server/utils/extensions.json b/x-pack/legacy/plugins/code/server/utils/extensions.json similarity index 100% rename from x-pack/plugins/code/server/utils/extensions.json rename to x-pack/legacy/plugins/code/server/utils/extensions.json diff --git a/x-pack/plugins/code/server/utils/index_stats_aggregator.ts b/x-pack/legacy/plugins/code/server/utils/index_stats_aggregator.ts similarity index 100% rename from x-pack/plugins/code/server/utils/index_stats_aggregator.ts rename to x-pack/legacy/plugins/code/server/utils/index_stats_aggregator.ts diff --git a/x-pack/plugins/code/server/utils/log_factory.ts b/x-pack/legacy/plugins/code/server/utils/log_factory.ts similarity index 100% rename from x-pack/plugins/code/server/utils/log_factory.ts rename to x-pack/legacy/plugins/code/server/utils/log_factory.ts diff --git a/x-pack/plugins/code/server/utils/server_logger_factory.ts b/x-pack/legacy/plugins/code/server/utils/server_logger_factory.ts similarity index 100% rename from x-pack/plugins/code/server/utils/server_logger_factory.ts rename to x-pack/legacy/plugins/code/server/utils/server_logger_factory.ts diff --git a/x-pack/plugins/code/server/utils/timeout.ts b/x-pack/legacy/plugins/code/server/utils/timeout.ts similarity index 100% rename from x-pack/plugins/code/server/utils/timeout.ts rename to x-pack/legacy/plugins/code/server/utils/timeout.ts diff --git a/x-pack/plugins/code/server/utils/with_internal_request.ts b/x-pack/legacy/plugins/code/server/utils/with_internal_request.ts similarity index 100% rename from x-pack/plugins/code/server/utils/with_internal_request.ts rename to x-pack/legacy/plugins/code/server/utils/with_internal_request.ts diff --git a/x-pack/plugins/code/server/utils/with_request.ts b/x-pack/legacy/plugins/code/server/utils/with_request.ts similarity index 100% rename from x-pack/plugins/code/server/utils/with_request.ts rename to x-pack/legacy/plugins/code/server/utils/with_request.ts diff --git a/x-pack/plugins/code/tasks/nodegit_info.ts b/x-pack/legacy/plugins/code/tasks/nodegit_info.ts similarity index 100% rename from x-pack/plugins/code/tasks/nodegit_info.ts rename to x-pack/legacy/plugins/code/tasks/nodegit_info.ts diff --git a/x-pack/plugins/code/webpackShims/stats-lite.d.ts b/x-pack/legacy/plugins/code/webpackShims/stats-lite.d.ts similarity index 100% rename from x-pack/plugins/code/webpackShims/stats-lite.d.ts rename to x-pack/legacy/plugins/code/webpackShims/stats-lite.d.ts diff --git a/x-pack/plugins/console_extensions/index.js b/x-pack/legacy/plugins/console_extensions/index.js similarity index 100% rename from x-pack/plugins/console_extensions/index.js rename to x-pack/legacy/plugins/console_extensions/index.js diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.delete_auto_follow_pattern.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.delete_auto_follow_pattern.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.delete_auto_follow_pattern.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.delete_auto_follow_pattern.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.follow.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_info.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow_info.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.follow_info.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow_info.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow_stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.follow_stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.follow_stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.get_auto_follow_pattern.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.get_auto_follow_pattern.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.get_auto_follow_pattern.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.get_auto_follow_pattern.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.pause_follow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.pause_follow.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.pause_follow.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.put_auto_follow_pattern.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.put_auto_follow_pattern.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.put_auto_follow_pattern.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.put_auto_follow_pattern.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.resume_follow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.resume_follow.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.resume_follow.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ccr.unfollow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ccr.unfollow.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ccr.unfollow.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.delete_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.delete_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.delete_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.delete_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform_stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform_stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform_stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.get_data_frame_transform_stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.preview_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.preview_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.preview_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.preview_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.put_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.put_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.put_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.put_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.start_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.start_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.start_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.start_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/data_frame.stop_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.stop_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/data_frame.stop_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/data_frame.stop_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.delete_lifecycle.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.delete_lifecycle.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.delete_lifecycle.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.delete_lifecycle.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.explain_lifecycle.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.explain_lifecycle.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.explain_lifecycle.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.explain_lifecycle.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.get_lifecycle.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.get_lifecycle.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.get_lifecycle.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.get_lifecycle.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.get_status.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.get_status.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.get_status.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.get_status.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.move_to_step.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.move_to_step.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.move_to_step.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.move_to_step.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.put_lifecycle.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.put_lifecycle.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.put_lifecycle.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.put_lifecycle.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.remove_policy.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.remove_policy.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.remove_policy.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.retry.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.retry.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.retry.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.retry.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.set_policy.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.set_policy.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.set_policy.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.start.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.start.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.start.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.start.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ilm.stop.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ilm.stop.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ilm.stop.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ilm.stop.json diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.freeze.json b/x-pack/legacy/plugins/console_extensions/spec/generated/indices.freeze.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/indices.freeze.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/indices.freeze.json diff --git a/x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json b/x-pack/legacy/plugins/console_extensions/spec/generated/indices.unfreeze.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/indices.unfreeze.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/indices.unfreeze.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.close_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.close_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.close_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.close_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar_event.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_calendar_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_expired_data.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_expired_data.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_expired_data.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_filter.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_filter.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_filter.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_forecast.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_forecast.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_forecast.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.delete_model_snapshot.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.find_file_structure.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.find_file_structure.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.find_file_structure.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.flush_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.flush_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.flush_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.forecast.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.forecast.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.forecast.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.forecast.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_buckets.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_buckets.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_buckets.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_calendar_events.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_calendar_events.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_calendar_events.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_calendars.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_calendars.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_calendars.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_categories.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_categories.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_categories.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_datafeed_stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_datafeeds.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_datafeeds.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_datafeeds.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_filters.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_filters.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_filters.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_influencers.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_influencers.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_influencers.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_job_stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_job_stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_job_stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_jobs.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_jobs.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_jobs.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_model_snapshots.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_overall_buckets.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.get_records.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_records.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.get_records.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.get_records.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.info.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.info.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.info.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.info.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.open_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.open_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.open_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.open_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.post_calendar_events.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.post_calendar_events.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.post_calendar_events.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.post_data.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.post_data.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.post_data.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.post_data.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.preview_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.preview_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.preview_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_calendar.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_calendar.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_calendar.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_calendar_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_calendar_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_calendar_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_filter.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_filter.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_filter.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.put_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.put_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.put_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.revert_model_snapshot.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.set_upgrade_mode.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.start_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.start_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.start_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.stop_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.stop_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.stop_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_filter.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_filter.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_filter.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.update_model_snapshot.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.upgrade.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.upgrade.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.upgrade.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.upgrade.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.validate.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.validate.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.validate.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ml.validate_detector.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ml.validate_detector.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ml.validate_detector.json diff --git a/x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json b/x-pack/legacy/plugins/console_extensions/spec/generated/monitoring.bulk.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/monitoring.bulk.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/monitoring.bulk.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.authenticate.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.authenticate.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.authenticate.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.authenticate.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.change_password.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.change_password.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.change_password.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.change_password.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.clear_cached_realms.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.clear_cached_realms.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.clear_cached_realms.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.clear_cached_realms.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.clear_cached_roles.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.clear_cached_roles.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.clear_cached_roles.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.clear_cached_roles.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.delete_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_role.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_role.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.delete_role.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_role.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_role_mapping.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_role_mapping.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.delete_role_mapping.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_role_mapping.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.delete_user.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.delete_user.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.delete_user.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.disable_user.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.disable_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.disable_user.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.disable_user.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.enable_user.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.enable_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.enable_user.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.enable_user.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_role.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_role.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_role.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_role.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_role_mapping.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_role_mapping.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_role_mapping.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_role_mapping.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_token.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_token.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_token.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_user.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_user.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_user.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.get_user_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.get_user_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.get_user_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.has_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.has_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.has_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.has_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.invalidate_token.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.invalidate_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.invalidate_token.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.invalidate_token.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.put_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.put_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.put_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_role.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.put_role.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.put_role.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.put_role.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_role_mapping.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.put_role_mapping.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.put_role_mapping.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.put_role_mapping.json diff --git a/x-pack/plugins/console_extensions/spec/generated/security.put_user.json b/x-pack/legacy/plugins/console_extensions/spec/generated/security.put_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/security.put_user.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/security.put_user.json diff --git a/x-pack/plugins/console_extensions/spec/generated/ssl.certificates.json b/x-pack/legacy/plugins/console_extensions/spec/generated/ssl.certificates.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/ssl.certificates.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/ssl.certificates.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.graph.explore.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.graph.explore.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.graph.explore.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.info.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.info.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.info.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.info.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.delete.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.delete.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.delete.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.get.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get_basic_status.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.get_trial_status.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.post.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post_start_basic.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.license.post_start_trial.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.deprecations.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.get_assistance.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.migration.upgrade.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.delete_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_jobs.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_caps.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.get_rollup_index_caps.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.put_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.rollup_search.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.start_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.rollup.stop_job.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.clear_cursor.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.query.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.sql.query.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.query.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.translate.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.sql.translate.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.sql.translate.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.ssl.certificates.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.usage.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.usage.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.usage.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.usage.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.ack_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.activate_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.deactivate_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.delete_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.execute_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.get_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.put_watch.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.start.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.start.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.start.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.stats.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stats.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.stats.json diff --git a/x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json b/x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.stop.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/generated/xpack.watcher.stop.json rename to x-pack/legacy/plugins/console_extensions/spec/generated/xpack.watcher.stop.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ccr.follow.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.follow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ccr.follow.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.follow.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ccr.put_auto_follow_pattern.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.put_auto_follow_pattern.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ccr.put_auto_follow_pattern.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.put_auto_follow_pattern.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ccr.resume_follow.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.resume_follow.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ccr.resume_follow.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ccr.resume_follow.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/data_frame.preview_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/data_frame.preview_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/data_frame.preview_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/data_frame.preview_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/data_frame.put_data_frame_transform.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/data_frame.put_data_frame_transform.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/data_frame.put_data_frame_transform.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/data_frame.put_data_frame_transform.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ilm.move_to_step.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ilm.move_to_step.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ilm.move_to_step.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ilm.move_to_step.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ilm.put_lifecycle.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ilm.put_lifecycle.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ilm.put_lifecycle.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ilm.put_lifecycle.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_buckets.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_buckets.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_buckets.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_calendar_events.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_calendars.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_calendars.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_calendars.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_categories.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_categories.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_categories.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_influencers.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_influencers.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_influencers.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_model_snapshots.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_overall_buckets.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_records.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.get_records.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.get_records.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.post_calendar_events.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_calendar.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_calendar.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_calendar.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.put_job.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.put_job.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.revert_model_snapshot.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_datafeed.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_datafeed.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_datafeed.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_job.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_job.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/ml.update_model_snapshot.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.authenticate.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.authenticate.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.authenticate.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.authenticate.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.change_password.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.change_password.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.change_password.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.change_password.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.get_token.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.get_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.get_token.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.get_token.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.has_privileges.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.has_privileges.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.has_privileges.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.has_privileges.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.invalidate_token.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.invalidate_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.invalidate_token.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.invalidate_token.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.put_role.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_role.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.put_role.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_role.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.put_role_mapping.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_role_mapping.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.put_role_mapping.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_role_mapping.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/security.put_user.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/security.put_user.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/security.put_user.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.graph.explore.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.graph.explore.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.graph.explore.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.graph.explore.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.info.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.info.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.info.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.info.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.license.post.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.license.post.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.license.post.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.license.post.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.delete_job.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.delete_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.delete_job.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.delete_job.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.put_job.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.put_job.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.put_job.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.put_job.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.rollup_search.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.rollup_search.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.rollup.rollup_search.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.rollup.rollup_search.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.authenticate.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.change_password.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.change_password.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.change_password.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.get_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.get_token.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.get_token.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.invalidate_token.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_role.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_role.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_role_mapping.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_user.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.security.put_user.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.security.put_user.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.watcher.execute_watch.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.watcher.execute_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.watcher.execute_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.watcher.execute_watch.json diff --git a/x-pack/plugins/console_extensions/spec/overrides/xpack.watcher.put_watch.json b/x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.watcher.put_watch.json similarity index 100% rename from x-pack/plugins/console_extensions/spec/overrides/xpack.watcher.put_watch.json rename to x-pack/legacy/plugins/console_extensions/spec/overrides/xpack.watcher.put_watch.json diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js similarity index 97% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js index 860ed4f0d5f03..258b2df79b5b8 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_add.test.js @@ -5,7 +5,7 @@ */ import { setupEnvironment, pageHelpers, nextTick, getRandomString } from './helpers'; -import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../src/legacy/ui/public/index_patterns'; +import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../../src/legacy/ui/public/index_patterns'; jest.mock('ui/chrome', () => ({ addBasePath: (path) => path || 'api/cross_cluster_replication', @@ -23,9 +23,9 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); const { validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE, validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES }; }); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js similarity index 95% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js index a0f27ef4eba3c..f34dd8a14c936 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_edit.test.js @@ -24,9 +24,9 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); const { validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE, validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES }; }); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js similarity index 98% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js index bcc44520ecf69..0430cfbdb68c8 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/auto_follow_pattern_list.test.js @@ -15,11 +15,11 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); -jest.mock('../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ +jest.mock('../../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ trackUiMetric: jest.fn(), })); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js similarity index 97% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js index bfd2e264fe97f..73cc1e217aaf0 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_add.test.js @@ -7,7 +7,7 @@ import { setupEnvironment, pageHelpers, nextTick } from './helpers'; import { RemoteClustersFormField } from '../../public/app/components'; -import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../src/legacy/ui/public/index_patterns'; +import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../../src/legacy/ui/public/index_patterns'; jest.mock('ui/chrome', () => ({ addBasePath: (path) => path || 'api/cross_cluster_replication', @@ -25,9 +25,9 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); const { validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE, validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES }; }); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js similarity index 96% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js index 25331e1267e3d..0f118cb797044 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_index_edit.test.js @@ -25,9 +25,9 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); const { validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES } = - jest.requireActual('../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); + jest.requireActual('../../../../../../src/legacy/ui/public/index_patterns/validate/validate_index_pattern'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE, validateIndexPattern, ILLEGAL_CHARACTERS, CONTAINS_SPACES }; }); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js similarity index 98% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js index 5f5460de5ae99..5e9ea387cda59 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/follower_indices_list.test.js @@ -15,11 +15,11 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); -jest.mock('../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ +jest.mock('../../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ trackUiMetric: jest.fn(), })); diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js similarity index 93% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js index 40243566c1bf3..40f9538741b46 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_add.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { AutoFollowPatternAdd } from '../../../public/app/sections/auto_follow_pattern_add'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js similarity index 95% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js index 7bc6d918c47e8..1565effc4327c 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_edit.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { AutoFollowPatternEdit } from '../../../public/app/sections/auto_follow_pattern_edit'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js similarity index 99% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js index 57f1d20619d74..6f64ccce54f58 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/auto_follow_pattern_list.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed, findTestSubject } from '../../../../../test_utils'; +import { registerTestBed, findTestSubject } from '../../../../../../test_utils'; import { AutoFollowPatternList } from '../../../public/app/sections/home/auto_follow_pattern_list'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/constants.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/constants.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/constants.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/constants.js diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js similarity index 94% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js index 9791fa0b732a5..bb8c882bf490f 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_add.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { FollowerIndexAdd } from '../../../public/app/sections/follower_index_add'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js similarity index 95% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js index 3e2922d942d40..41fa2bba40dba 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_edit.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { FollowerIndexEdit } from '../../../public/app/sections/follower_index_edit'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js similarity index 99% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js index 85f372fc97e3f..494cdb0f408bf 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/follower_index_list.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed, findTestSubject } from '../../../../../test_utils'; +import { registerTestBed, findTestSubject } from '../../../../../../test_utils'; import { FollowerIndicesList } from '../../../public/app/sections/home/follower_indices_list'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js similarity index 92% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js index 2372e1f31d507..424302fe84e7c 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/home.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { CrossClusterReplicationHome } from '../../../public/app/sections/home/home'; import { ccrStore } from '../../../public/app/store'; import routing from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/http_requests.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/http_requests.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/http_requests.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/http_requests.js diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js similarity index 98% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js index 9ecc8ba8beaf1..fdcc3ccb08876 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/index.js @@ -12,7 +12,7 @@ import { setup as followerIndexAddSetup } from './follower_index_add.helpers'; import { setup as followerIndexEditSetup } from './follower_index_edit.helpers'; import { setup as homeSetup } from './home.helpers'; -export { nextTick, getRandomString, findTestSubject } from '../../../../../test_utils'; +export { nextTick, getRandomString, findTestSubject } from '../../../../../../test_utils'; export { setupEnvironment } from './setup_environment'; diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/setup_environment.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/setup_environment.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/helpers/setup_environment.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/helpers/setup_environment.js diff --git a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js similarity index 94% rename from x-pack/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js index 6c4935f1d3d84..a4b559dc24d2f 100644 --- a/x-pack/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/__jest__/client_integration/home.test.js @@ -24,11 +24,11 @@ jest.mock('ui/chrome', () => ({ jest.mock('ui/index_patterns', () => { const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = - require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); + require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); -jest.mock('../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ +jest.mock('../../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ trackUiMetric: jest.fn(), })); diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/app.js b/x-pack/legacy/plugins/cross_cluster_replication/common/constants/app.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/constants/app.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/constants/app.js diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/base_path.js b/x-pack/legacy/plugins/cross_cluster_replication/common/constants/base_path.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/constants/base_path.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/constants/base_path.js diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/index.js b/x-pack/legacy/plugins/cross_cluster_replication/common/constants/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/constants/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/constants/index.js diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/plugin.js b/x-pack/legacy/plugins/cross_cluster_replication/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/constants/plugin.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/constants/plugin.js diff --git a/x-pack/plugins/cross_cluster_replication/common/constants/settings.js b/x-pack/legacy/plugins/cross_cluster_replication/common/constants/settings.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/constants/settings.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/constants/settings.js diff --git a/x-pack/plugins/cross_cluster_replication/common/services/utils.js b/x-pack/legacy/plugins/cross_cluster_replication/common/services/utils.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/services/utils.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/services/utils.js diff --git a/x-pack/plugins/cross_cluster_replication/common/services/utils.test.js b/x-pack/legacy/plugins/cross_cluster_replication/common/services/utils.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/common/services/utils.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/common/services/utils.test.js diff --git a/x-pack/plugins/cross_cluster_replication/cross_cluster_replication_data.js b/x-pack/legacy/plugins/cross_cluster_replication/cross_cluster_replication_data.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/cross_cluster_replication_data.js rename to x-pack/legacy/plugins/cross_cluster_replication/cross_cluster_replication_data.js diff --git a/x-pack/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js similarity index 95% rename from x-pack/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js rename to x-pack/legacy/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js index cfedad5c1c072..80f77ae67cfaf 100644 --- a/x-pack/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/auto_follow_pattern.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { getRandomString } from '../../../test_utils'; +import { getRandomString } from '../../../../test_utils'; export const getAutoFollowPatternMock = ( name = getRandomString(), diff --git a/x-pack/plugins/cross_cluster_replication/fixtures/es_errors.js b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/es_errors.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/fixtures/es_errors.js rename to x-pack/legacy/plugins/cross_cluster_replication/fixtures/es_errors.js diff --git a/x-pack/plugins/cross_cluster_replication/fixtures/follower_index.js b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/follower_index.js similarity index 99% rename from x-pack/plugins/cross_cluster_replication/fixtures/follower_index.js rename to x-pack/legacy/plugins/cross_cluster_replication/fixtures/follower_index.js index e873c1a394f44..d77f498c3d3b6 100644 --- a/x-pack/plugins/cross_cluster_replication/fixtures/follower_index.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/follower_index.js @@ -6,7 +6,7 @@ const Chance = require('chance'); // eslint-disable-line import/no-extraneous-dependencies const chance = new Chance(); -import { getRandomString } from '../../../test_utils'; +import { getRandomString } from '../../../../test_utils'; const serializeShard = ({ id, diff --git a/x-pack/plugins/cross_cluster_replication/fixtures/index.js b/x-pack/legacy/plugins/cross_cluster_replication/fixtures/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/fixtures/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/fixtures/index.js diff --git a/x-pack/plugins/cross_cluster_replication/index.js b/x-pack/legacy/plugins/cross_cluster_replication/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/_app.scss b/x-pack/legacy/plugins/cross_cluster_replication/public/app/_app.scss similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/_app.scss rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/_app.scss diff --git a/x-pack/plugins/cross_cluster_replication/public/app/app.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/app.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/app.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/app.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/__snapshots__/auto_follow_pattern_form.test.js.snap b/x-pack/legacy/plugins/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/legacy/plugins/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_delete_provider.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/components/auto_follow_pattern_page_title.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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_page_title.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_pause_provider.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_pause_provider.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_pause_provider.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_pause_provider.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_resume_provider.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_resume_provider.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_resume_provider.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_resume_provider.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_unfollow_provider.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_unfollow_provider.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/components/follower_index_unfollow_provider.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/components/follower_index_unfollow_provider.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/form_entry_row.js b/x-pack/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/components/form_entry_row.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/components/section_unauthorized.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/api.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/api.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/constants/api.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/api.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/index.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/constants/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/sections.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/sections.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/constants/sections.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/sections.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/constants/ui_metric.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/ui_metric.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/constants/ui_metric.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/constants/ui_metric.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/index.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/index.js 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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/sections/home/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/breadcrumbs.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/services/breadcrumbs.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/services/breadcrumbs.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/documentation_links.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/documentation_links.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/services/documentation_links.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/services/documentation_links.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/follower_index_default_settings.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/services/input_validation.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/license.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/license.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/services/license.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/services/license.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/query_params.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/query_params.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/app/services/query_params.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/services/query_params.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/routing.js b/x-pack/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/services/routing.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js similarity index 88% rename from x-pack/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js index 2824644e6f08f..7b2f0d0407862 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js +++ b/x-pack/legacy/plugins/cross_cluster_replication/public/app/services/track_ui_metric.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { trackUiMetric as track } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../../../src/legacy/core_plugins/ui_metric/public'; import { UIM_APP_NAME } from '../constants'; export function trackUiMetric(actionType) { diff --git a/x-pack/plugins/cross_cluster_replication/public/app/services/utils.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/store/actions/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/app/store/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/cross_cluster_replication/public/app/store/store.js diff --git a/x-pack/plugins/cross_cluster_replication/public/extend_index_management/index.js b/x-pack/legacy/plugins/cross_cluster_replication/public/extend_index_management/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/extend_index_management/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/extend_index_management/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/index.js b/x-pack/legacy/plugins/cross_cluster_replication/public/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/index.js diff --git a/x-pack/plugins/cross_cluster_replication/public/index.scss b/x-pack/legacy/plugins/cross_cluster_replication/public/index.scss similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/index.scss rename to x-pack/legacy/plugins/cross_cluster_replication/public/index.scss diff --git a/x-pack/plugins/cross_cluster_replication/public/main.html b/x-pack/legacy/plugins/cross_cluster_replication/public/main.html similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/main.html rename to x-pack/legacy/plugins/cross_cluster_replication/public/main.html diff --git a/x-pack/plugins/cross_cluster_replication/public/register_routes.js b/x-pack/legacy/plugins/cross_cluster_replication/public/register_routes.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/public/register_routes.js rename to x-pack/legacy/plugins/cross_cluster_replication/public/register_routes.js diff --git a/x-pack/plugins/cross_cluster_replication/server/client/elasticsearch_ccr.js b/x-pack/legacy/plugins/cross_cluster_replication/server/client/elasticsearch_ccr.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/client/elasticsearch_ccr.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/client/elasticsearch_ccr.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.js.snap b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.js.snap similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.js.snap rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/__snapshots__/ccr_stats_serialization.test.js.snap diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/follower_index_serialization.test.js.snap b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/__snapshots__/follower_index_serialization.test.js.snap similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/__snapshots__/follower_index_serialization.test.js.snap rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/__snapshots__/follower_index_serialization.test.js.snap diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.test.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/auto_follow_pattern_serialization.test.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/ccr_stats_serialization.test.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/check_license/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/check_license/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/check_license/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_custom_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_custom_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/follower_index_serialization.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/follower_index_serialization.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/follower_index_serialization.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/follower_index_serialization.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/follower_index_serialization.test.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/follower_index_serialization.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/follower_index_serialization.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/follower_index_serialization.test.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/is_es_error_factory.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/is_es_error_factory/is_es_error_factory.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/is_es_error_factory/is_es_error_factory.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/cross_cluster_replication/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.test.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.test.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/ccr.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/ccr.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/api/ccr.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/ccr.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/follower_index.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/follower_index.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index.test.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/follower_index.test.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/api/follower_index.test.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/api/follower_index.test.js diff --git a/x-pack/plugins/cross_cluster_replication/server/routes/register_routes.js b/x-pack/legacy/plugins/cross_cluster_replication/server/routes/register_routes.js similarity index 100% rename from x-pack/plugins/cross_cluster_replication/server/routes/register_routes.js rename to x-pack/legacy/plugins/cross_cluster_replication/server/routes/register_routes.js diff --git a/x-pack/plugins/dashboard_mode/common/constants.js b/x-pack/legacy/plugins/dashboard_mode/common/constants.js similarity index 100% rename from x-pack/plugins/dashboard_mode/common/constants.js rename to x-pack/legacy/plugins/dashboard_mode/common/constants.js diff --git a/x-pack/plugins/dashboard_mode/common/index.js b/x-pack/legacy/plugins/dashboard_mode/common/index.js similarity index 100% rename from x-pack/plugins/dashboard_mode/common/index.js rename to x-pack/legacy/plugins/dashboard_mode/common/index.js diff --git a/x-pack/plugins/dashboard_mode/index.js b/x-pack/legacy/plugins/dashboard_mode/index.js similarity index 100% rename from x-pack/plugins/dashboard_mode/index.js rename to x-pack/legacy/plugins/dashboard_mode/index.js diff --git a/x-pack/plugins/dashboard_mode/public/dashboard_viewer.js b/x-pack/legacy/plugins/dashboard_mode/public/dashboard_viewer.js similarity index 100% rename from x-pack/plugins/dashboard_mode/public/dashboard_viewer.js rename to x-pack/legacy/plugins/dashboard_mode/public/dashboard_viewer.js diff --git a/x-pack/plugins/dashboard_mode/server/__tests__/dashboard_mode_request_interceptor.js b/x-pack/legacy/plugins/dashboard_mode/server/__tests__/dashboard_mode_request_interceptor.js similarity index 100% rename from x-pack/plugins/dashboard_mode/server/__tests__/dashboard_mode_request_interceptor.js rename to x-pack/legacy/plugins/dashboard_mode/server/__tests__/dashboard_mode_request_interceptor.js diff --git a/x-pack/plugins/dashboard_mode/server/dashboard_mode_request_interceptor.js b/x-pack/legacy/plugins/dashboard_mode/server/dashboard_mode_request_interceptor.js similarity index 100% rename from x-pack/plugins/dashboard_mode/server/dashboard_mode_request_interceptor.js rename to x-pack/legacy/plugins/dashboard_mode/server/dashboard_mode_request_interceptor.js diff --git a/x-pack/plugins/dashboard_mode/server/index.js b/x-pack/legacy/plugins/dashboard_mode/server/index.js similarity index 100% rename from x-pack/plugins/dashboard_mode/server/index.js rename to x-pack/legacy/plugins/dashboard_mode/server/index.js diff --git a/x-pack/plugins/encrypted_saved_objects/README.md b/x-pack/legacy/plugins/encrypted_saved_objects/README.md similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/README.md rename to x-pack/legacy/plugins/encrypted_saved_objects/README.md diff --git a/x-pack/plugins/encrypted_saved_objects/__snapshots__/index.test.ts.snap b/x-pack/legacy/plugins/encrypted_saved_objects/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/__snapshots__/index.test.ts.snap rename to x-pack/legacy/plugins/encrypted_saved_objects/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/encrypted_saved_objects/index.test.ts b/x-pack/legacy/plugins/encrypted_saved_objects/index.test.ts similarity index 92% rename from x-pack/plugins/encrypted_saved_objects/index.test.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/index.test.ts index 41db8958f9225..26c0166186c4c 100644 --- a/x-pack/plugins/encrypted_saved_objects/index.test.ts +++ b/x-pack/legacy/plugins/encrypted_saved_objects/index.test.ts @@ -5,7 +5,7 @@ */ import { encryptedSavedObjects } from './index'; -import { getConfigSchema } from '../../test_utils'; +import { getConfigSchema } from '../../../test_utils'; const describeWithContext = describe.each([[{ dist: false }], [{ dist: true }]]); diff --git a/x-pack/plugins/encrypted_saved_objects/index.ts b/x-pack/legacy/plugins/encrypted_saved_objects/index.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/index.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/index.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.test.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.test.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.test.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.test.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_audit_logger.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.test.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.test.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.test.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.test.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_client_wrapper.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.mock.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.mock.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.mock.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.mock.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.test.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.test.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.test.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.test.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encrypted_saved_objects_service.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encryption_error.test.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encryption_error.test.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encryption_error.test.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encryption_error.test.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/encryption_error.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encryption_error.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/encryption_error.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/encryption_error.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/lib/index.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/lib/index.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/lib/index.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/lib/index.ts diff --git a/x-pack/plugins/encrypted_saved_objects/server/plugin.ts b/x-pack/legacy/plugins/encrypted_saved_objects/server/plugin.ts similarity index 100% rename from x-pack/plugins/encrypted_saved_objects/server/plugin.ts rename to x-pack/legacy/plugins/encrypted_saved_objects/server/plugin.ts diff --git a/x-pack/plugins/file_upload/common/constants/file_import.ts b/x-pack/legacy/plugins/file_upload/common/constants/file_import.ts similarity index 100% rename from x-pack/plugins/file_upload/common/constants/file_import.ts rename to x-pack/legacy/plugins/file_upload/common/constants/file_import.ts diff --git a/x-pack/plugins/file_upload/index.js b/x-pack/legacy/plugins/file_upload/index.js similarity index 100% rename from x-pack/plugins/file_upload/index.js rename to x-pack/legacy/plugins/file_upload/index.js diff --git a/x-pack/plugins/file_upload/mappings.json b/x-pack/legacy/plugins/file_upload/mappings.json similarity index 100% rename from x-pack/plugins/file_upload/mappings.json rename to x-pack/legacy/plugins/file_upload/mappings.json diff --git a/x-pack/plugins/file_upload/public/components/index_settings.js b/x-pack/legacy/plugins/file_upload/public/components/index_settings.js similarity index 100% rename from x-pack/plugins/file_upload/public/components/index_settings.js rename to x-pack/legacy/plugins/file_upload/public/components/index_settings.js diff --git a/x-pack/plugins/file_upload/public/components/json_import_progress.js b/x-pack/legacy/plugins/file_upload/public/components/json_import_progress.js similarity index 100% rename from x-pack/plugins/file_upload/public/components/json_import_progress.js rename to x-pack/legacy/plugins/file_upload/public/components/json_import_progress.js diff --git a/x-pack/plugins/file_upload/public/components/json_index_file_picker.js b/x-pack/legacy/plugins/file_upload/public/components/json_index_file_picker.js similarity index 100% rename from x-pack/plugins/file_upload/public/components/json_index_file_picker.js rename to x-pack/legacy/plugins/file_upload/public/components/json_index_file_picker.js diff --git a/x-pack/plugins/file_upload/public/components/json_upload_and_parse.js b/x-pack/legacy/plugins/file_upload/public/components/json_upload_and_parse.js similarity index 100% rename from x-pack/plugins/file_upload/public/components/json_upload_and_parse.js rename to x-pack/legacy/plugins/file_upload/public/components/json_upload_and_parse.js diff --git a/x-pack/plugins/file_upload/public/index.js b/x-pack/legacy/plugins/file_upload/public/index.js similarity index 100% rename from x-pack/plugins/file_upload/public/index.js rename to x-pack/legacy/plugins/file_upload/public/index.js diff --git a/x-pack/plugins/file_upload/public/kibana_services.js b/x-pack/legacy/plugins/file_upload/public/kibana_services.js similarity index 100% rename from x-pack/plugins/file_upload/public/kibana_services.js rename to x-pack/legacy/plugins/file_upload/public/kibana_services.js diff --git a/x-pack/plugins/file_upload/public/util/file_parser.js b/x-pack/legacy/plugins/file_upload/public/util/file_parser.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/file_parser.js rename to x-pack/legacy/plugins/file_upload/public/util/file_parser.js diff --git a/x-pack/plugins/file_upload/public/util/geo_json_clean_and_validate.js b/x-pack/legacy/plugins/file_upload/public/util/geo_json_clean_and_validate.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/geo_json_clean_and_validate.js rename to x-pack/legacy/plugins/file_upload/public/util/geo_json_clean_and_validate.js diff --git a/x-pack/plugins/file_upload/public/util/geo_json_clean_and_validate.test.js b/x-pack/legacy/plugins/file_upload/public/util/geo_json_clean_and_validate.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/geo_json_clean_and_validate.test.js rename to x-pack/legacy/plugins/file_upload/public/util/geo_json_clean_and_validate.test.js diff --git a/x-pack/plugins/file_upload/public/util/geo_processing.js b/x-pack/legacy/plugins/file_upload/public/util/geo_processing.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/geo_processing.js rename to x-pack/legacy/plugins/file_upload/public/util/geo_processing.js diff --git a/x-pack/plugins/file_upload/public/util/geo_processing.test.js b/x-pack/legacy/plugins/file_upload/public/util/geo_processing.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/geo_processing.test.js rename to x-pack/legacy/plugins/file_upload/public/util/geo_processing.test.js diff --git a/x-pack/plugins/file_upload/public/util/http_service.js b/x-pack/legacy/plugins/file_upload/public/util/http_service.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/http_service.js rename to x-pack/legacy/plugins/file_upload/public/util/http_service.js diff --git a/x-pack/plugins/file_upload/public/util/indexing_service.js b/x-pack/legacy/plugins/file_upload/public/util/indexing_service.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/indexing_service.js rename to x-pack/legacy/plugins/file_upload/public/util/indexing_service.js diff --git a/x-pack/plugins/file_upload/public/util/size_limited_chunking.js b/x-pack/legacy/plugins/file_upload/public/util/size_limited_chunking.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/size_limited_chunking.js rename to x-pack/legacy/plugins/file_upload/public/util/size_limited_chunking.js diff --git a/x-pack/plugins/file_upload/public/util/size_limited_chunking.test.js b/x-pack/legacy/plugins/file_upload/public/util/size_limited_chunking.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/util/size_limited_chunking.test.js rename to x-pack/legacy/plugins/file_upload/public/util/size_limited_chunking.test.js diff --git a/x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.d.ts b/x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.d.ts similarity index 100% rename from x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.d.ts rename to x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.d.ts diff --git a/x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.js b/x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.js similarity index 100% rename from x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.js rename to x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.js diff --git a/x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.test.ts b/x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/client/call_with_internal_user_factory.test.ts rename to x-pack/legacy/plugins/file_upload/server/client/call_with_internal_user_factory.test.ts diff --git a/x-pack/plugins/file_upload/server/client/call_with_request_factory.js b/x-pack/legacy/plugins/file_upload/server/client/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/file_upload/server/client/call_with_request_factory.js rename to x-pack/legacy/plugins/file_upload/server/client/call_with_request_factory.js diff --git a/x-pack/plugins/file_upload/server/client/errors.js b/x-pack/legacy/plugins/file_upload/server/client/errors.js similarity index 100% rename from x-pack/plugins/file_upload/server/client/errors.js rename to x-pack/legacy/plugins/file_upload/server/client/errors.js diff --git a/x-pack/plugins/file_upload/server/models/import_data/import_data.js b/x-pack/legacy/plugins/file_upload/server/models/import_data/import_data.js similarity index 100% rename from x-pack/plugins/file_upload/server/models/import_data/import_data.js rename to x-pack/legacy/plugins/file_upload/server/models/import_data/import_data.js diff --git a/x-pack/plugins/file_upload/server/models/import_data/index.js b/x-pack/legacy/plugins/file_upload/server/models/import_data/index.js similarity index 100% rename from x-pack/plugins/file_upload/server/models/import_data/index.js rename to x-pack/legacy/plugins/file_upload/server/models/import_data/index.js diff --git a/x-pack/plugins/file_upload/server/routes/file_upload.js b/x-pack/legacy/plugins/file_upload/server/routes/file_upload.js similarity index 100% rename from x-pack/plugins/file_upload/server/routes/file_upload.js rename to x-pack/legacy/plugins/file_upload/server/routes/file_upload.js diff --git a/x-pack/plugins/file_upload/server/telemetry/index.ts b/x-pack/legacy/plugins/file_upload/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/index.ts rename to x-pack/legacy/plugins/file_upload/server/telemetry/index.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/make_usage_collector.ts b/x-pack/legacy/plugins/file_upload/server/telemetry/make_usage_collector.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/make_usage_collector.ts rename to x-pack/legacy/plugins/file_upload/server/telemetry/make_usage_collector.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts b/x-pack/legacy/plugins/file_upload/server/telemetry/telemetry.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts rename to x-pack/legacy/plugins/file_upload/server/telemetry/telemetry.test.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.ts b/x-pack/legacy/plugins/file_upload/server/telemetry/telemetry.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.ts rename to x-pack/legacy/plugins/file_upload/server/telemetry/telemetry.ts diff --git a/x-pack/plugins/graph/index.js b/x-pack/legacy/plugins/graph/index.js similarity index 100% rename from x-pack/plugins/graph/index.js rename to x-pack/legacy/plugins/graph/index.js diff --git a/x-pack/plugins/graph/mappings.json b/x-pack/legacy/plugins/graph/mappings.json similarity index 100% rename from x-pack/plugins/graph/mappings.json rename to x-pack/legacy/plugins/graph/mappings.json diff --git a/x-pack/plugins/graph/migrations.js b/x-pack/legacy/plugins/graph/migrations.js similarity index 100% rename from x-pack/plugins/graph/migrations.js rename to x-pack/legacy/plugins/graph/migrations.js diff --git a/x-pack/plugins/graph/migrations.test.js b/x-pack/legacy/plugins/graph/migrations.test.js similarity index 100% rename from x-pack/plugins/graph/migrations.test.js rename to x-pack/legacy/plugins/graph/migrations.test.js diff --git a/x-pack/plugins/graph/public/__tests__/workspace.js b/x-pack/legacy/plugins/graph/public/__tests__/workspace.js similarity index 100% rename from x-pack/plugins/graph/public/__tests__/workspace.js rename to x-pack/legacy/plugins/graph/public/__tests__/workspace.js diff --git a/x-pack/plugins/graph/public/_main.scss b/x-pack/legacy/plugins/graph/public/_main.scss similarity index 100% rename from x-pack/plugins/graph/public/_main.scss rename to x-pack/legacy/plugins/graph/public/_main.scss diff --git a/x-pack/plugins/graph/public/angular-venn-simple.js b/x-pack/legacy/plugins/graph/public/angular-venn-simple.js similarity index 100% rename from x-pack/plugins/graph/public/angular-venn-simple.js rename to x-pack/legacy/plugins/graph/public/angular-venn-simple.js diff --git a/x-pack/plugins/graph/public/app.js b/x-pack/legacy/plugins/graph/public/app.js similarity index 100% rename from x-pack/plugins/graph/public/app.js rename to x-pack/legacy/plugins/graph/public/app.js diff --git a/x-pack/plugins/graph/public/app_with_autoload.js b/x-pack/legacy/plugins/graph/public/app_with_autoload.js similarity index 100% rename from x-pack/plugins/graph/public/app_with_autoload.js rename to x-pack/legacy/plugins/graph/public/app_with_autoload.js diff --git a/x-pack/plugins/graph/public/badge.js b/x-pack/legacy/plugins/graph/public/badge.js similarity index 100% rename from x-pack/plugins/graph/public/badge.js rename to x-pack/legacy/plugins/graph/public/badge.js diff --git a/x-pack/plugins/graph/public/breadcrumbs.js b/x-pack/legacy/plugins/graph/public/breadcrumbs.js similarity index 100% rename from x-pack/plugins/graph/public/breadcrumbs.js rename to x-pack/legacy/plugins/graph/public/breadcrumbs.js diff --git a/x-pack/plugins/graph/public/graphClientWorkspace.js b/x-pack/legacy/plugins/graph/public/graphClientWorkspace.js similarity index 100% rename from x-pack/plugins/graph/public/graphClientWorkspace.js rename to x-pack/legacy/plugins/graph/public/graphClientWorkspace.js diff --git a/x-pack/plugins/graph/public/hacks/toggle_app_link_in_nav.js b/x-pack/legacy/plugins/graph/public/hacks/toggle_app_link_in_nav.js similarity index 100% rename from x-pack/plugins/graph/public/hacks/toggle_app_link_in_nav.js rename to x-pack/legacy/plugins/graph/public/hacks/toggle_app_link_in_nav.js diff --git a/x-pack/plugins/graph/public/icon.png b/x-pack/legacy/plugins/graph/public/icon.png similarity index 100% rename from x-pack/plugins/graph/public/icon.png rename to x-pack/legacy/plugins/graph/public/icon.png diff --git a/x-pack/plugins/graph/public/index.scss b/x-pack/legacy/plugins/graph/public/index.scss similarity index 100% rename from x-pack/plugins/graph/public/index.scss rename to x-pack/legacy/plugins/graph/public/index.scss diff --git a/x-pack/plugins/graph/public/register_feature.js b/x-pack/legacy/plugins/graph/public/register_feature.js similarity index 100% rename from x-pack/plugins/graph/public/register_feature.js rename to x-pack/legacy/plugins/graph/public/register_feature.js diff --git a/x-pack/plugins/graph/public/services/outlink_encoders.js b/x-pack/legacy/plugins/graph/public/services/outlink_encoders.js similarity index 100% rename from x-pack/plugins/graph/public/services/outlink_encoders.js rename to x-pack/legacy/plugins/graph/public/services/outlink_encoders.js diff --git a/x-pack/plugins/graph/public/services/saved_workspace.js b/x-pack/legacy/plugins/graph/public/services/saved_workspace.js similarity index 100% rename from x-pack/plugins/graph/public/services/saved_workspace.js rename to x-pack/legacy/plugins/graph/public/services/saved_workspace.js diff --git a/x-pack/plugins/graph/public/services/saved_workspace_references.js b/x-pack/legacy/plugins/graph/public/services/saved_workspace_references.js similarity index 100% rename from x-pack/plugins/graph/public/services/saved_workspace_references.js rename to x-pack/legacy/plugins/graph/public/services/saved_workspace_references.js diff --git a/x-pack/plugins/graph/public/services/saved_workspace_references.test.js b/x-pack/legacy/plugins/graph/public/services/saved_workspace_references.test.js similarity index 100% rename from x-pack/plugins/graph/public/services/saved_workspace_references.test.js rename to x-pack/legacy/plugins/graph/public/services/saved_workspace_references.test.js diff --git a/x-pack/plugins/graph/public/services/saved_workspaces.js b/x-pack/legacy/plugins/graph/public/services/saved_workspaces.js similarity index 100% rename from x-pack/plugins/graph/public/services/saved_workspaces.js rename to x-pack/legacy/plugins/graph/public/services/saved_workspaces.js diff --git a/x-pack/plugins/graph/public/style_choices.js b/x-pack/legacy/plugins/graph/public/style_choices.js similarity index 100% rename from x-pack/plugins/graph/public/style_choices.js rename to x-pack/legacy/plugins/graph/public/style_choices.js diff --git a/x-pack/plugins/graph/public/templates/_graph.scss b/x-pack/legacy/plugins/graph/public/templates/_graph.scss similarity index 100% rename from x-pack/plugins/graph/public/templates/_graph.scss rename to x-pack/legacy/plugins/graph/public/templates/_graph.scss diff --git a/x-pack/plugins/graph/public/templates/_index.scss b/x-pack/legacy/plugins/graph/public/templates/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/templates/_index.scss rename to x-pack/legacy/plugins/graph/public/templates/_index.scss diff --git a/x-pack/plugins/graph/public/templates/_settings.scss b/x-pack/legacy/plugins/graph/public/templates/_settings.scss similarity index 100% rename from x-pack/plugins/graph/public/templates/_settings.scss rename to x-pack/legacy/plugins/graph/public/templates/_settings.scss diff --git a/x-pack/plugins/graph/public/templates/_sidebar.scss b/x-pack/legacy/plugins/graph/public/templates/_sidebar.scss similarity index 100% rename from x-pack/plugins/graph/public/templates/_sidebar.scss rename to x-pack/legacy/plugins/graph/public/templates/_sidebar.scss diff --git a/x-pack/plugins/graph/public/templates/index.html b/x-pack/legacy/plugins/graph/public/templates/index.html similarity index 100% rename from x-pack/plugins/graph/public/templates/index.html rename to x-pack/legacy/plugins/graph/public/templates/index.html diff --git a/x-pack/plugins/graph/public/templates/load_workspace.html b/x-pack/legacy/plugins/graph/public/templates/load_workspace.html similarity index 100% rename from x-pack/plugins/graph/public/templates/load_workspace.html rename to x-pack/legacy/plugins/graph/public/templates/load_workspace.html diff --git a/x-pack/plugins/graph/public/templates/save_workspace.html b/x-pack/legacy/plugins/graph/public/templates/save_workspace.html similarity index 100% rename from x-pack/plugins/graph/public/templates/save_workspace.html rename to x-pack/legacy/plugins/graph/public/templates/save_workspace.html diff --git a/x-pack/plugins/graph/public/templates/settings.html b/x-pack/legacy/plugins/graph/public/templates/settings.html similarity index 100% rename from x-pack/plugins/graph/public/templates/settings.html rename to x-pack/legacy/plugins/graph/public/templates/settings.html diff --git a/x-pack/plugins/graph/public/utils.js b/x-pack/legacy/plugins/graph/public/utils.js similarity index 100% rename from x-pack/plugins/graph/public/utils.js rename to x-pack/legacy/plugins/graph/public/utils.js diff --git a/x-pack/plugins/graph/server/index.js b/x-pack/legacy/plugins/graph/server/index.js similarity index 100% rename from x-pack/plugins/graph/server/index.js rename to x-pack/legacy/plugins/graph/server/index.js diff --git a/x-pack/plugins/graph/server/init_server.js b/x-pack/legacy/plugins/graph/server/init_server.js similarity index 100% rename from x-pack/plugins/graph/server/init_server.js rename to x-pack/legacy/plugins/graph/server/init_server.js diff --git a/x-pack/plugins/graph/server/lib/__tests__/check_license.js b/x-pack/legacy/plugins/graph/server/lib/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/graph/server/lib/__tests__/check_license.js rename to x-pack/legacy/plugins/graph/server/lib/__tests__/check_license.js diff --git a/x-pack/plugins/graph/server/lib/check_license.js b/x-pack/legacy/plugins/graph/server/lib/check_license.js similarity index 100% rename from x-pack/plugins/graph/server/lib/check_license.js rename to x-pack/legacy/plugins/graph/server/lib/check_license.js diff --git a/x-pack/plugins/graph/server/lib/es/call_es_graph_explore_api.js b/x-pack/legacy/plugins/graph/server/lib/es/call_es_graph_explore_api.js similarity index 100% rename from x-pack/plugins/graph/server/lib/es/call_es_graph_explore_api.js rename to x-pack/legacy/plugins/graph/server/lib/es/call_es_graph_explore_api.js diff --git a/x-pack/plugins/graph/server/lib/es/call_es_search_api.js b/x-pack/legacy/plugins/graph/server/lib/es/call_es_search_api.js similarity index 100% rename from x-pack/plugins/graph/server/lib/es/call_es_search_api.js rename to x-pack/legacy/plugins/graph/server/lib/es/call_es_search_api.js diff --git a/x-pack/plugins/graph/server/lib/es/index.js b/x-pack/legacy/plugins/graph/server/lib/es/index.js similarity index 100% rename from x-pack/plugins/graph/server/lib/es/index.js rename to x-pack/legacy/plugins/graph/server/lib/es/index.js diff --git a/x-pack/plugins/graph/server/lib/index.js b/x-pack/legacy/plugins/graph/server/lib/index.js similarity index 100% rename from x-pack/plugins/graph/server/lib/index.js rename to x-pack/legacy/plugins/graph/server/lib/index.js diff --git a/x-pack/plugins/graph/server/lib/pre/get_call_cluster_pre.js b/x-pack/legacy/plugins/graph/server/lib/pre/get_call_cluster_pre.js similarity index 100% rename from x-pack/plugins/graph/server/lib/pre/get_call_cluster_pre.js rename to x-pack/legacy/plugins/graph/server/lib/pre/get_call_cluster_pre.js diff --git a/x-pack/plugins/graph/server/lib/pre/index.js b/x-pack/legacy/plugins/graph/server/lib/pre/index.js similarity index 100% rename from x-pack/plugins/graph/server/lib/pre/index.js rename to x-pack/legacy/plugins/graph/server/lib/pre/index.js diff --git a/x-pack/plugins/graph/server/lib/pre/verify_api_access_pre.js b/x-pack/legacy/plugins/graph/server/lib/pre/verify_api_access_pre.js similarity index 100% rename from x-pack/plugins/graph/server/lib/pre/verify_api_access_pre.js rename to x-pack/legacy/plugins/graph/server/lib/pre/verify_api_access_pre.js diff --git a/x-pack/plugins/graph/server/routes/graph_explore.js b/x-pack/legacy/plugins/graph/server/routes/graph_explore.js similarity index 100% rename from x-pack/plugins/graph/server/routes/graph_explore.js rename to x-pack/legacy/plugins/graph/server/routes/graph_explore.js diff --git a/x-pack/plugins/graph/server/routes/index.js b/x-pack/legacy/plugins/graph/server/routes/index.js similarity index 100% rename from x-pack/plugins/graph/server/routes/index.js rename to x-pack/legacy/plugins/graph/server/routes/index.js diff --git a/x-pack/plugins/graph/server/routes/search_proxy.js b/x-pack/legacy/plugins/graph/server/routes/search_proxy.js similarity index 100% rename from x-pack/plugins/graph/server/routes/search_proxy.js rename to x-pack/legacy/plugins/graph/server/routes/search_proxy.js diff --git a/x-pack/plugins/grokdebugger/README.md b/x-pack/legacy/plugins/grokdebugger/README.md similarity index 100% rename from x-pack/plugins/grokdebugger/README.md rename to x-pack/legacy/plugins/grokdebugger/README.md diff --git a/x-pack/plugins/grokdebugger/common/constants/editor.js b/x-pack/legacy/plugins/grokdebugger/common/constants/editor.js similarity index 100% rename from x-pack/plugins/grokdebugger/common/constants/editor.js rename to x-pack/legacy/plugins/grokdebugger/common/constants/editor.js diff --git a/x-pack/plugins/grokdebugger/common/constants/index.js b/x-pack/legacy/plugins/grokdebugger/common/constants/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/common/constants/index.js rename to x-pack/legacy/plugins/grokdebugger/common/constants/index.js diff --git a/x-pack/plugins/grokdebugger/common/constants/plugin.js b/x-pack/legacy/plugins/grokdebugger/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/grokdebugger/common/constants/plugin.js rename to x-pack/legacy/plugins/grokdebugger/common/constants/plugin.js diff --git a/x-pack/plugins/grokdebugger/common/constants/routes.js b/x-pack/legacy/plugins/grokdebugger/common/constants/routes.js similarity index 100% rename from x-pack/plugins/grokdebugger/common/constants/routes.js rename to x-pack/legacy/plugins/grokdebugger/common/constants/routes.js diff --git a/x-pack/plugins/grokdebugger/index.js b/x-pack/legacy/plugins/grokdebugger/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/index.js rename to x-pack/legacy/plugins/grokdebugger/index.js diff --git a/x-pack/plugins/grokdebugger/public/lib/ace/grok_highlight_rules.js b/x-pack/legacy/plugins/grokdebugger/public/lib/ace/grok_highlight_rules.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/lib/ace/grok_highlight_rules.js rename to x-pack/legacy/plugins/grokdebugger/public/lib/ace/grok_highlight_rules.js diff --git a/x-pack/plugins/grokdebugger/public/lib/ace/grok_mode.js b/x-pack/legacy/plugins/grokdebugger/public/lib/ace/grok_mode.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/lib/ace/grok_mode.js rename to x-pack/legacy/plugins/grokdebugger/public/lib/ace/grok_mode.js diff --git a/x-pack/plugins/grokdebugger/public/lib/ace/index.js b/x-pack/legacy/plugins/grokdebugger/public/lib/ace/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/lib/ace/index.js rename to x-pack/legacy/plugins/grokdebugger/public/lib/ace/index.js diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/public/models/grokdebugger_request/grokdebugger_request.js diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_request/index.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/public/models/grokdebugger_request/index.js diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/public/models/grokdebugger_response/grokdebugger_response.js diff --git a/x-pack/plugins/grokdebugger/public/models/grokdebugger_response/index.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/public/models/grokdebugger_response/index.js diff --git a/x-pack/plugins/grokdebugger/public/register_feature.js b/x-pack/legacy/plugins/grokdebugger/public/register_feature.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/register_feature.js rename to x-pack/legacy/plugins/grokdebugger/public/register_feature.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/custom_patterns_input.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/custom_patterns_input.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/custom_patterns_input.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/custom_patterns_input.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/custom_patterns_input/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/event_input.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/event_input.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/event_input.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/event_input.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_input/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/event_output.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/event_output.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/event_output.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/event_output.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/event_output/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/grok_debugger.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/grok_debugger.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/grok_debugger.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/grok_debugger.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/grok_debugger/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/pattern_input.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/pattern_input.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/pattern_input.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/components/pattern_input/pattern_input.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/grokdebugger.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/grokdebugger.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/grokdebugger.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/grokdebugger.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/directives/grokdebugger/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.html b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.html similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.html rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.html diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/grokdebugger_route.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/index.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/index.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/index.js diff --git a/x-pack/plugins/grokdebugger/public/sections/grokdebugger/register.js b/x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/register.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/sections/grokdebugger/register.js rename to x-pack/legacy/plugins/grokdebugger/public/sections/grokdebugger/register.js diff --git a/x-pack/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.factory.js b/x-pack/legacy/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.factory.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.factory.js rename to x-pack/legacy/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.factory.js diff --git a/x-pack/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/public/services/grokdebugger/grokdebugger_service.js diff --git a/x-pack/plugins/grokdebugger/public/services/grokdebugger/index.js b/x-pack/legacy/plugins/grokdebugger/public/services/grokdebugger/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/public/services/grokdebugger/index.js rename to x-pack/legacy/plugins/grokdebugger/public/services/grokdebugger/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/grokdebugger/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/grokdebugger/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/grokdebugger/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/grokdebugger/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/grokdebugger/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/grokdebugger/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/grokdebugger/server/lib/check_license/index.js b/x-pack/legacy/plugins/grokdebugger/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/check_license/index.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/check_license/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/grokdebugger/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/grokdebugger/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/grokdebugger/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/grokdebugger/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/grokdebugger/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/grokdebugger/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/grokdebugger/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/__tests__/grokdebugger_request.js b/x-pack/legacy/plugins/grokdebugger/server/models/grokdebugger_request/__tests__/grokdebugger_request.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_request/__tests__/grokdebugger_request.js rename to x-pack/legacy/plugins/grokdebugger/server/models/grokdebugger_request/__tests__/grokdebugger_request.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/models/grokdebugger_request/grokdebugger_request.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_request/index.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/models/grokdebugger_request/index.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/__tests__/grokdebugger_response.js b/x-pack/legacy/plugins/grokdebugger/server/models/grokdebugger_response/__tests__/grokdebugger_response.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/models/grokdebugger_response/__tests__/grokdebugger_response.js rename to x-pack/legacy/plugins/grokdebugger/server/models/grokdebugger_response/__tests__/grokdebugger_response.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/models/grokdebugger_response/grokdebugger_response.js diff --git a/x-pack/plugins/grokdebugger/server/models/grokdebugger_response/index.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/models/grokdebugger_response/index.js diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/index.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/routes/api/grokdebugger/index.js diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.js b/x-pack/legacy/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.js similarity index 100% rename from x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.js rename to x-pack/legacy/plugins/grokdebugger/server/routes/api/grokdebugger/register_grok_simulate_route.js diff --git a/x-pack/plugins/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js b/x-pack/legacy/plugins/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/legacy/plugins/grokdebugger/server/routes/api/grokdebugger/register_grokdebugger_routes.js diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap similarity index 100% rename from x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap rename to x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/components/__snapshots__/policy_table.test.js.snap b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/__snapshots__/policy_table.test.js.snap similarity index 100% rename from x-pack/plugins/index_lifecycle_management/__jest__/components/__snapshots__/policy_table.test.js.snap rename to x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/__snapshots__/policy_table.test.js.snap diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js similarity index 99% rename from x-pack/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js rename to x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js index 7e6f28ba0dc42..2b19669e288f8 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js +++ b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/edit_policy.test.js @@ -9,7 +9,7 @@ import moment from 'moment-timezone'; import { Provider } from 'react-redux'; import { fetchedPolicies, fetchedNodes } from '../../public/store/actions'; import { indexLifecycleManagementStore } from '../../public/store'; -import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../test_utils/enzyme_helpers'; import { EditPolicy } from '../../public/sections/edit_policy'; // axios has a $http like interface so using it to simulate $http import axios from 'axios'; diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js similarity index 98% rename from x-pack/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js rename to x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js index 513826c76f2ba..e96fc79967316 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js +++ b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/components/policy_table.test.js @@ -8,7 +8,7 @@ import React from 'react'; import { Provider } from 'react-redux'; import { fetchedPolicies } from '../../public/store/actions'; import { indexLifecycleManagementStore } from '../../public/store'; -import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../test_utils/enzyme_helpers'; import { PolicyTable } from '../../public/sections/policy_table'; import { findTestSubject, takeMountedSnapshot } from '@elastic/eui/lib/test'; // axios has a $http like interface so using it to simulate $http diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js similarity index 99% rename from x-pack/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js rename to x-pack/legacy/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js index ffb7212d59dd4..ed5069a56141c 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js +++ b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/extend_index_management.test.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { mountWithIntl } from '../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; import moment from 'moment-timezone'; import { retryLifecycleActionExtension, diff --git a/x-pack/plugins/index_lifecycle_management/common/constants/index.js b/x-pack/legacy/plugins/index_lifecycle_management/common/constants/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/common/constants/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/common/constants/index.js diff --git a/x-pack/plugins/index_lifecycle_management/common/constants/ui_metric.js b/x-pack/legacy/plugins/index_lifecycle_management/common/constants/ui_metric.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/common/constants/ui_metric.js rename to x-pack/legacy/plugins/index_lifecycle_management/common/constants/ui_metric.js diff --git a/x-pack/plugins/index_lifecycle_management/index.js b/x-pack/legacy/plugins/index_lifecycle_management/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/index.js diff --git a/x-pack/plugins/index_lifecycle_management/index_lifecycle_data.js b/x-pack/legacy/plugins/index_lifecycle_management/index_lifecycle_data.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/index_lifecycle_data.js rename to x-pack/legacy/plugins/index_lifecycle_management/index_lifecycle_data.js diff --git a/x-pack/plugins/index_lifecycle_management/public/_index_lifecycle_management.scss b/x-pack/legacy/plugins/index_lifecycle_management/public/_index_lifecycle_management.scss similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/_index_lifecycle_management.scss rename to x-pack/legacy/plugins/index_lifecycle_management/public/_index_lifecycle_management.scss diff --git a/x-pack/plugins/index_lifecycle_management/public/app.js b/x-pack/legacy/plugins/index_lifecycle_management/public/app.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/app.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/app.js diff --git a/x-pack/plugins/index_lifecycle_management/public/constants/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/constants/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/constants/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/constants/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.js b/x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/add_lifecycle_confirm_modal.js diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.js b/x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/index_lifecycle_summary.js diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.js b/x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/components/remove_lifecycle_confirm_modal.js diff --git a/x-pack/plugins/index_lifecycle_management/public/extend_index_management/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/extend_index_management/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/extend_index_management/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/index.scss b/x-pack/legacy/plugins/index_lifecycle_management/public/index.scss similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/index.scss rename to x-pack/legacy/plugins/index_lifecycle_management/public/index.scss diff --git a/x-pack/plugins/index_lifecycle_management/public/main.html b/x-pack/legacy/plugins/index_lifecycle_management/public/main.html similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/main.html rename to x-pack/legacy/plugins/index_lifecycle_management/public/main.html diff --git a/x-pack/plugins/index_lifecycle_management/public/register_management_section.js b/x-pack/legacy/plugins/index_lifecycle_management/public/register_management_section.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/register_management_section.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/register_management_section.js diff --git a/x-pack/plugins/index_lifecycle_management/public/register_routes.js b/x-pack/legacy/plugins/index_lifecycle_management/public/register_routes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/register_routes.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/register_routes.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/active_badge.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/active_badge.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/components/active_badge.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/active_badge.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/components/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/learn_more_link.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/optional_label.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/optional_label.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/components/optional_label.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/optional_label.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/components/phase_error_message.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/cold_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/cold_phase/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/delete_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/delete_phase/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/hot_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/hot_phase/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/min_age_input.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/min_age_input.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/min_age_input.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/min_age_input.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_allocation/node_allocation.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/node_attrs_details/node_attrs_details.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/policy_json_flyout.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/policy_json_flyout.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/policy_json_flyout.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/policy_json_flyout.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/set_priority_input.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/components/warm_phase/warm_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/edit_policy.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/form_errors.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/form_errors.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/form_errors.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/form_errors.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/edit_policy/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/edit_policy/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/no_match.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/no_match.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/no_match.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/components/no_match/no_match.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/no_match/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/add_policy_to_template_confirm_modal.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/add_policy_to_template_confirm_modal.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/add_policy_to_template_confirm_modal.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/add_policy_to_template_confirm_modal.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/confirm_delete.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/confirm_delete.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/confirm_delete.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/confirm_delete.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.container.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.container.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.container.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.container.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/components/policy_table/policy_table.js diff --git a/x-pack/plugins/index_lifecycle_management/public/sections/policy_table/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/sections/policy_table/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/sections/policy_table/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/api.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/api.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/api.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/api.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/api_errors.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/api_errors.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/api_errors.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/api_errors.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/filter_items.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/filter_items.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/filter_items.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/filter_items.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/find_errors.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/find_errors.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/find_errors.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/find_errors.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/flatten_panel_tree.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/flatten_panel_tree.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/flatten_panel_tree.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/flatten_panel_tree.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/manage_angular_lifecycle.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/manage_angular_lifecycle.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/manage_angular_lifecycle.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/manage_angular_lifecycle.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/navigation.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/navigation.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/navigation.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/navigation.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/sort_table.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/sort_table.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/sort_table.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/sort_table.js diff --git a/x-pack/plugins/index_lifecycle_management/public/services/ui_metric.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/ui_metric.js similarity index 95% rename from x-pack/plugins/index_lifecycle_management/public/services/ui_metric.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/ui_metric.js index 408c70636c3d9..8382d16596d8f 100644 --- a/x-pack/plugins/index_lifecycle_management/public/services/ui_metric.js +++ b/x-pack/legacy/plugins/index_lifecycle_management/public/services/ui_metric.js @@ -6,7 +6,7 @@ import { get } from 'lodash'; -import { trackUiMetric as track } from '../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; import { UIM_APP_NAME, diff --git a/x-pack/plugins/index_lifecycle_management/public/services/ui_metric.test.js b/x-pack/legacy/plugins/index_lifecycle_management/public/services/ui_metric.test.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/services/ui_metric.test.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/services/ui_metric.test.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/actions/general.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/general.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/actions/general.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/general.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/actions/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/actions/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/actions/lifecycle.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/lifecycle.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/actions/lifecycle.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/lifecycle.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/actions/nodes.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/nodes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/actions/nodes.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/nodes.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/actions/policies.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/policies.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/actions/policies.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/actions/policies.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/cold_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/delete_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/hot_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/defaults/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/defaults/warm_phase.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/reducers/general.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/general.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/reducers/general.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/general.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/reducers/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/reducers/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/reducers/nodes.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/nodes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/reducers/nodes.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/nodes.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/reducers/policies.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/policies.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/reducers/policies.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/reducers/policies.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/selectors/general.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/general.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/selectors/general.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/general.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/selectors/index.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/selectors/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/index.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/selectors/lifecycle.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/lifecycle.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/selectors/lifecycle.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/lifecycle.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/selectors/nodes.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/nodes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/selectors/nodes.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/nodes.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/selectors/policies.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/policies.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/selectors/policies.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/selectors/policies.js diff --git a/x-pack/plugins/index_lifecycle_management/public/store/store.js b/x-pack/legacy/plugins/index_lifecycle_management/public/store/store.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/public/store/store.js rename to x-pack/legacy/plugins/index_lifecycle_management/public/store/store.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/check_license/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/check_license/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/check_license/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_custom_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_custom_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/is_es_error_factory.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/is_es_error_factory/is_es_error_factory.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/is_es_error_factory/is_es_error_factory.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/index_lifecycle_management/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_add_policy_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_index_routes.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_index_routes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_index_routes.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_index_routes.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_remove_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/index/register_retry_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/constants.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/constants.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/constants.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/constants.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_details_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_list_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_nodes_routes.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_nodes_routes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/nodes/register_nodes_routes.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/nodes/register_nodes_routes.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_create_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_delete_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_fetch_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_policies_routes.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_policies_routes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/policies/register_policies_routes.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/policies/register_policies_routes.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/index.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/index.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/index.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/index.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_fetch_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_get_route.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_get_route.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_get_route.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_get_route.js diff --git a/x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_templates_routes.js b/x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_templates_routes.js similarity index 100% rename from x-pack/plugins/index_lifecycle_management/server/routes/api/templates/register_templates_routes.js rename to x-pack/legacy/plugins/index_lifecycle_management/server/routes/api/templates/register_templates_routes.js diff --git a/x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap b/x-pack/legacy/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap similarity index 100% rename from x-pack/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap rename to x-pack/legacy/plugins/index_management/__jest__/components/__snapshots__/index_table.test.js.snap diff --git a/x-pack/plugins/index_management/__jest__/components/index_table.test.js b/x-pack/legacy/plugins/index_management/__jest__/components/index_table.test.js similarity index 99% rename from x-pack/plugins/index_management/__jest__/components/index_table.test.js rename to x-pack/legacy/plugins/index_management/__jest__/components/index_table.test.js index 754d88cc92295..fb3c6f1443ce4 100644 --- a/x-pack/plugins/index_management/__jest__/components/index_table.test.js +++ b/x-pack/legacy/plugins/index_management/__jest__/components/index_table.test.js @@ -11,7 +11,7 @@ import { Provider } from 'react-redux'; import { loadIndicesSuccess } from '../../public/store/actions'; import { indexManagementStore } from '../../public/store'; import { BASE_PATH } from '../../common/constants'; -import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../test_utils/enzyme_helpers'; // axios has a $http like interface so using it to simulate $http import axios from 'axios'; import axiosXhrAdapter from 'axios/lib/adapters/xhr'; diff --git a/x-pack/plugins/index_management/__jest__/lib/__snapshots__/flatten_object.test.js.snap b/x-pack/legacy/plugins/index_management/__jest__/lib/__snapshots__/flatten_object.test.js.snap similarity index 100% rename from x-pack/plugins/index_management/__jest__/lib/__snapshots__/flatten_object.test.js.snap rename to x-pack/legacy/plugins/index_management/__jest__/lib/__snapshots__/flatten_object.test.js.snap diff --git a/x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js b/x-pack/legacy/plugins/index_management/__jest__/lib/flatten_object.test.js similarity index 100% rename from x-pack/plugins/index_management/__jest__/lib/flatten_object.test.js rename to x-pack/legacy/plugins/index_management/__jest__/lib/flatten_object.test.js diff --git a/x-pack/plugins/index_management/__mocks__/ace.js b/x-pack/legacy/plugins/index_management/__mocks__/ace.js similarity index 100% rename from x-pack/plugins/index_management/__mocks__/ace.js rename to x-pack/legacy/plugins/index_management/__mocks__/ace.js diff --git a/x-pack/plugins/index_management/__mocks__/ui/documentation_links.js b/x-pack/legacy/plugins/index_management/__mocks__/ui/documentation_links.js similarity index 100% rename from x-pack/plugins/index_management/__mocks__/ui/documentation_links.js rename to x-pack/legacy/plugins/index_management/__mocks__/ui/documentation_links.js diff --git a/x-pack/plugins/index_management/__mocks__/ui/notify.js b/x-pack/legacy/plugins/index_management/__mocks__/ui/notify.js similarity index 100% rename from x-pack/plugins/index_management/__mocks__/ui/notify.js rename to x-pack/legacy/plugins/index_management/__mocks__/ui/notify.js diff --git a/x-pack/plugins/index_management/common/constants/base_path.js b/x-pack/legacy/plugins/index_management/common/constants/base_path.js similarity index 100% rename from x-pack/plugins/index_management/common/constants/base_path.js rename to x-pack/legacy/plugins/index_management/common/constants/base_path.js diff --git a/x-pack/plugins/index_management/common/constants/index.js b/x-pack/legacy/plugins/index_management/common/constants/index.js similarity index 100% rename from x-pack/plugins/index_management/common/constants/index.js rename to x-pack/legacy/plugins/index_management/common/constants/index.js diff --git a/x-pack/plugins/index_management/common/constants/index_statuses.js b/x-pack/legacy/plugins/index_management/common/constants/index_statuses.js similarity index 100% rename from x-pack/plugins/index_management/common/constants/index_statuses.js rename to x-pack/legacy/plugins/index_management/common/constants/index_statuses.js diff --git a/x-pack/plugins/index_management/common/constants/plugin.js b/x-pack/legacy/plugins/index_management/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/index_management/common/constants/plugin.js rename to x-pack/legacy/plugins/index_management/common/constants/plugin.js diff --git a/x-pack/plugins/index_management/common/constants/ui_metric.js b/x-pack/legacy/plugins/index_management/common/constants/ui_metric.js similarity index 100% rename from x-pack/plugins/index_management/common/constants/ui_metric.js rename to x-pack/legacy/plugins/index_management/common/constants/ui_metric.js diff --git a/x-pack/plugins/index_management/index.js b/x-pack/legacy/plugins/index_management/index.js similarity index 100% rename from x-pack/plugins/index_management/index.js rename to x-pack/legacy/plugins/index_management/index.js diff --git a/x-pack/plugins/index_management/index_management_data.js b/x-pack/legacy/plugins/index_management/index_management_data.js similarity index 100% rename from x-pack/plugins/index_management/index_management_data.js rename to x-pack/legacy/plugins/index_management/index_management_data.js diff --git a/x-pack/plugins/index_management/public/_index_management.scss b/x-pack/legacy/plugins/index_management/public/_index_management.scss similarity index 100% rename from x-pack/plugins/index_management/public/_index_management.scss rename to x-pack/legacy/plugins/index_management/public/_index_management.scss diff --git a/x-pack/plugins/index_management/public/app.js b/x-pack/legacy/plugins/index_management/public/app.js similarity index 100% rename from x-pack/plugins/index_management/public/app.js rename to x-pack/legacy/plugins/index_management/public/app.js diff --git a/x-pack/plugins/index_management/public/constants/detail_panel_tabs.js b/x-pack/legacy/plugins/index_management/public/constants/detail_panel_tabs.js similarity index 100% rename from x-pack/plugins/index_management/public/constants/detail_panel_tabs.js rename to x-pack/legacy/plugins/index_management/public/constants/detail_panel_tabs.js diff --git a/x-pack/plugins/index_management/public/constants/index.js b/x-pack/legacy/plugins/index_management/public/constants/index.js similarity index 100% rename from x-pack/plugins/index_management/public/constants/index.js rename to x-pack/legacy/plugins/index_management/public/constants/index.js diff --git a/x-pack/plugins/index_management/public/constants/refresh_intervals.js b/x-pack/legacy/plugins/index_management/public/constants/refresh_intervals.js similarity index 100% rename from x-pack/plugins/index_management/public/constants/refresh_intervals.js rename to x-pack/legacy/plugins/index_management/public/constants/refresh_intervals.js diff --git a/x-pack/plugins/index_management/public/index.js b/x-pack/legacy/plugins/index_management/public/index.js similarity index 100% rename from x-pack/plugins/index_management/public/index.js rename to x-pack/legacy/plugins/index_management/public/index.js diff --git a/x-pack/plugins/index_management/public/index.scss b/x-pack/legacy/plugins/index_management/public/index.scss similarity index 100% rename from x-pack/plugins/index_management/public/index.scss rename to x-pack/legacy/plugins/index_management/public/index.scss diff --git a/x-pack/plugins/index_management/public/index_management_extensions.js b/x-pack/legacy/plugins/index_management/public/index_management_extensions.js similarity index 100% rename from x-pack/plugins/index_management/public/index_management_extensions.js rename to x-pack/legacy/plugins/index_management/public/index_management_extensions.js diff --git a/x-pack/plugins/index_management/public/lib/ace.js b/x-pack/legacy/plugins/index_management/public/lib/ace.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/ace.js rename to x-pack/legacy/plugins/index_management/public/lib/ace.js diff --git a/x-pack/plugins/index_management/public/lib/documentation_links.js b/x-pack/legacy/plugins/index_management/public/lib/documentation_links.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/documentation_links.js rename to x-pack/legacy/plugins/index_management/public/lib/documentation_links.js diff --git a/x-pack/plugins/index_management/public/lib/editSettings.js b/x-pack/legacy/plugins/index_management/public/lib/editSettings.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/editSettings.js rename to x-pack/legacy/plugins/index_management/public/lib/editSettings.js diff --git a/x-pack/plugins/index_management/public/lib/flatten_object.js b/x-pack/legacy/plugins/index_management/public/lib/flatten_object.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/flatten_object.js rename to x-pack/legacy/plugins/index_management/public/lib/flatten_object.js diff --git a/x-pack/plugins/index_management/public/lib/flatten_panel_tree.js b/x-pack/legacy/plugins/index_management/public/lib/flatten_panel_tree.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/flatten_panel_tree.js rename to x-pack/legacy/plugins/index_management/public/lib/flatten_panel_tree.js diff --git a/x-pack/plugins/index_management/public/lib/index_status_labels.js b/x-pack/legacy/plugins/index_management/public/lib/index_status_labels.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/index_status_labels.js rename to x-pack/legacy/plugins/index_management/public/lib/index_status_labels.js diff --git a/x-pack/plugins/index_management/public/lib/manage_angular_lifecycle.js b/x-pack/legacy/plugins/index_management/public/lib/manage_angular_lifecycle.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/manage_angular_lifecycle.js rename to x-pack/legacy/plugins/index_management/public/lib/manage_angular_lifecycle.js diff --git a/x-pack/plugins/index_management/public/lib/render_badges.js b/x-pack/legacy/plugins/index_management/public/lib/render_badges.js similarity index 100% rename from x-pack/plugins/index_management/public/lib/render_badges.js rename to x-pack/legacy/plugins/index_management/public/lib/render_badges.js diff --git a/x-pack/plugins/index_management/public/main.html b/x-pack/legacy/plugins/index_management/public/main.html similarity index 100% rename from x-pack/plugins/index_management/public/main.html rename to x-pack/legacy/plugins/index_management/public/main.html diff --git a/x-pack/plugins/index_management/public/register_management_section.js b/x-pack/legacy/plugins/index_management/public/register_management_section.js similarity index 100% rename from x-pack/plugins/index_management/public/register_management_section.js rename to x-pack/legacy/plugins/index_management/public/register_management_section.js diff --git a/x-pack/plugins/index_management/public/register_routes.js b/x-pack/legacy/plugins/index_management/public/register_routes.js similarity index 100% rename from x-pack/plugins/index_management/public/register_routes.js rename to x-pack/legacy/plugins/index_management/public/register_routes.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.container.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.container.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/detail_panel.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.container.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.container.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/edit_settings_json.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/edit_settings_json/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.container.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.container.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/show_json/show_json.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.container.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.container.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/detail_panel/summary/summary.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js similarity index 92% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js index 369141337d4ef..45e51734f930b 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js +++ b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.container.js @@ -30,18 +30,24 @@ import { import { getIndexStatusByIndexName, - getIndicesByName + getIndicesByName, + getIsSystemIndexByName, + hasSystemIndex, } from '../../../../store/selectors'; const mapStateToProps = (state, ownProps) => { const indexStatusByName = {}; const { indexNames } = ownProps; + indexNames.forEach((indexName) => { indexStatusByName[indexName] = getIndexStatusByIndexName(state, indexName); }); + return { indexStatusByName, - indices: getIndicesByName(state, indexNames) + indices: getIndicesByName(state, indexNames), + isSystemIndexByName: getIsSystemIndexByName(indexNames), + hasSystemIndex: hasSystemIndex(indexNames), }; }; diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js similarity index 72% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js index 780d0dd9b9e26..92295094c88a7 100644 --- a/x-pack/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js +++ b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_actions_context_menu/index_actions_context_menu.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import React, { Component } from 'react'; +import React, { Component, Fragment } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; import { i18n } from '@kbn/i18n'; import { all } from 'lodash'; @@ -18,13 +18,13 @@ import { EuiPopover, EuiSpacer, EuiConfirmModal, - EuiOverlayMask + EuiOverlayMask, + EuiCheckbox } from '@elastic/eui'; import { flattenPanelTree } from '../../../../lib/flatten_panel_tree'; import { INDEX_OPEN } from '../../../../../common/constants'; import { getActionExtensions } from '../../../../index_management_extensions'; import { getHttpClient } from '../../../../services/api'; - export class IndexActionsContextMenu extends Component { constructor(props) { super(props); @@ -32,6 +32,7 @@ export class IndexActionsContextMenu extends Component { this.state = { isPopoverOpen: false, renderConfirmModal: null, + isActionConfirmed: false, }; } closeConfirmModal = () => { @@ -40,6 +41,9 @@ export class IndexActionsContextMenu extends Component { }); this.props.resetSelection && this.props.resetSelection(); } + confirmAction = isActionConfirmed => { + this.setState({ isActionConfirmed }); + } panels() { const { closeIndices, @@ -58,6 +62,7 @@ export class IndexActionsContextMenu extends Component { indices, reloadIndices, unfreezeIndices, + hasSystemIndex, } = this.props; const allOpen = all(indexNames, indexName => { return indexStatusByName[indexName] === INDEX_OPEN; @@ -113,6 +118,11 @@ export class IndexActionsContextMenu extends Component { values: { selectedIndexCount } }), onClick: () => { + if (hasSystemIndex) { + this.closePopover(); + this.setState({ renderConfirmModal: this.renderConfirmCloseModal }); + return; + } this.closePopoverAndExecute(closeIndices); } }); @@ -370,19 +380,154 @@ export class IndexActionsContextMenu extends Component { }; renderConfirmDeleteModal = () => { - const { deleteIndices, indexNames } = this.props; + const { deleteIndices, indexNames, hasSystemIndex, isSystemIndexByName } = this.props; + const { isActionConfirmed } = this.state; const selectedIndexCount = indexNames.length; + + const standardIndexModalBody = ( +
+

+ +

+
    + {indexNames.map(indexName => ( +
  • + {indexName} +
  • + ))} +
+

+ +

+
+ ); + + const systemIndexModalBody = ( +
+ +

+ +

+
    + {indexNames.map(indexName => ( +
  • + {indexName} + {isSystemIndexByName[indexName] ? ( + + {' '} + + + ) : ''} +
  • + ))} +
+ +

+ +

+ + } + checked={isActionConfirmed} + onChange={e => this.confirmAction(e.target.checked)} + /> +
+
+ ); + return ( { + this.confirmAction(false); + this.closeConfirmModal(); + }} onConfirm={() => this.closePopoverAndExecute(deleteIndices)} + buttonColor="danger" + confirmButtonDisabled={hasSystemIndex ? !isActionConfirmed : false} + cancelButtonText={ + i18n.translate( + 'xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.cancelButtonText', + { + defaultMessage: 'Cancel' + } + ) + } + confirmButtonText={i18n.translate( + 'xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.confirmButtonText', + { + defaultMessage: 'Delete {selectedIndexCount, plural, one {index} other {indices} }', + values: { selectedIndexCount } + } + )} + > + {hasSystemIndex ? systemIndexModalBody : standardIndexModalBody} + + + ); + }; + + renderConfirmCloseModal = () => { + const { closeIndices, indexNames, isSystemIndexByName } = this.props; + const { isActionConfirmed } = this.state; + const selectedIndexCount = indexNames.length; + + return ( + + { + this.confirmAction(false); + this.closeConfirmModal(); + }} + onConfirm={() => this.closePopoverAndExecute(closeIndices)} + buttonColor="danger" + confirmButtonDisabled={!isActionConfirmed} cancelButtonText={ i18n.translate( 'xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.cancelButtonText', @@ -393,50 +538,76 @@ export class IndexActionsContextMenu extends Component { } confirmButtonText={ i18n.translate( - 'xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.confirmButtonText', + 'xpack.idxMgmt.indexActionsMenu.closeIndex.confirmModal.confirmButtonText', { - defaultMessage: 'Confirm' + defaultMessage: 'Close {selectedIndexCount, plural, one {index} other {indices} }', + values: { selectedIndexCount } } ) } >
+

    {indexNames.map(indexName => ( -
  • {indexName}
  • +
  • + {indexName} + {isSystemIndexByName[indexName] ? ( + + {' '} + + + ) : ''} +
  • ))}

+ + } + checked={isActionConfirmed} + onChange={e => this.confirmAction(e.target.checked)} + />
); }; + renderConfirmFreezeModal = () => { const oneIndexSelected = this.oneIndexSelected(); const entity = this.getEntity(oneIndexSelected); diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_list/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_list/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_list/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_list/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_list/index_list.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_list/index_list.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_list/index_list.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_list/index_list.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_table/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_table/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_table/index_table.container.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index_table.container.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_table/index_table.container.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index_table.container.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/components/index_table/index_table.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index_table.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/components/index_table/index_table.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/components/index_table/index_table.js diff --git a/x-pack/plugins/index_management/public/sections/index_list/index.js b/x-pack/legacy/plugins/index_management/public/sections/index_list/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/index_list/index.js rename to x-pack/legacy/plugins/index_management/public/sections/index_list/index.js diff --git a/x-pack/plugins/index_management/public/sections/no_match/components/no_match/index.js b/x-pack/legacy/plugins/index_management/public/sections/no_match/components/no_match/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/no_match/components/no_match/index.js rename to x-pack/legacy/plugins/index_management/public/sections/no_match/components/no_match/index.js diff --git a/x-pack/plugins/index_management/public/sections/no_match/components/no_match/no_match.js b/x-pack/legacy/plugins/index_management/public/sections/no_match/components/no_match/no_match.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/no_match/components/no_match/no_match.js rename to x-pack/legacy/plugins/index_management/public/sections/no_match/components/no_match/no_match.js diff --git a/x-pack/plugins/index_management/public/sections/no_match/index.js b/x-pack/legacy/plugins/index_management/public/sections/no_match/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/no_match/index.js rename to x-pack/legacy/plugins/index_management/public/sections/no_match/index.js diff --git a/x-pack/plugins/index_management/public/sections/page_error/components/index.js b/x-pack/legacy/plugins/index_management/public/sections/page_error/components/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/page_error/components/index.js rename to x-pack/legacy/plugins/index_management/public/sections/page_error/components/index.js diff --git a/x-pack/plugins/index_management/public/sections/page_error/components/page_error_forbidden.js b/x-pack/legacy/plugins/index_management/public/sections/page_error/components/page_error_forbidden.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/page_error/components/page_error_forbidden.js rename to x-pack/legacy/plugins/index_management/public/sections/page_error/components/page_error_forbidden.js diff --git a/x-pack/plugins/index_management/public/sections/page_error/index.js b/x-pack/legacy/plugins/index_management/public/sections/page_error/index.js similarity index 100% rename from x-pack/plugins/index_management/public/sections/page_error/index.js rename to x-pack/legacy/plugins/index_management/public/sections/page_error/index.js diff --git a/x-pack/plugins/index_management/public/services/api.js b/x-pack/legacy/plugins/index_management/public/services/api.js similarity index 100% rename from x-pack/plugins/index_management/public/services/api.js rename to x-pack/legacy/plugins/index_management/public/services/api.js diff --git a/x-pack/plugins/index_management/public/services/filter_items.js b/x-pack/legacy/plugins/index_management/public/services/filter_items.js similarity index 100% rename from x-pack/plugins/index_management/public/services/filter_items.js rename to x-pack/legacy/plugins/index_management/public/services/filter_items.js diff --git a/x-pack/plugins/index_management/public/services/health_to_color.js b/x-pack/legacy/plugins/index_management/public/services/health_to_color.js similarity index 100% rename from x-pack/plugins/index_management/public/services/health_to_color.js rename to x-pack/legacy/plugins/index_management/public/services/health_to_color.js diff --git a/x-pack/plugins/index_management/public/services/index.js b/x-pack/legacy/plugins/index_management/public/services/index.js similarity index 100% rename from x-pack/plugins/index_management/public/services/index.js rename to x-pack/legacy/plugins/index_management/public/services/index.js diff --git a/x-pack/plugins/index_management/public/services/navigation.js b/x-pack/legacy/plugins/index_management/public/services/navigation.js similarity index 100% rename from x-pack/plugins/index_management/public/services/navigation.js rename to x-pack/legacy/plugins/index_management/public/services/navigation.js diff --git a/x-pack/plugins/index_management/public/services/sort_table.js b/x-pack/legacy/plugins/index_management/public/services/sort_table.js similarity index 100% rename from x-pack/plugins/index_management/public/services/sort_table.js rename to x-pack/legacy/plugins/index_management/public/services/sort_table.js diff --git a/x-pack/plugins/index_management/public/services/track_ui_metric.js b/x-pack/legacy/plugins/index_management/public/services/track_ui_metric.js similarity index 79% rename from x-pack/plugins/index_management/public/services/track_ui_metric.js rename to x-pack/legacy/plugins/index_management/public/services/track_ui_metric.js index 443d218ae7b7c..5533fc7ba8201 100644 --- a/x-pack/plugins/index_management/public/services/track_ui_metric.js +++ b/x-pack/legacy/plugins/index_management/public/services/track_ui_metric.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { trackUiMetric as track } from '../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; import { UIM_APP_NAME } from '../../common/constants'; export function trackUiMetric(metricType) { diff --git a/x-pack/plugins/index_management/public/store/actions/clear_cache_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/clear_cache_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/clear_cache_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/clear_cache_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/clear_row_status.js b/x-pack/legacy/plugins/index_management/public/store/actions/clear_row_status.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/clear_row_status.js rename to x-pack/legacy/plugins/index_management/public/store/actions/clear_row_status.js diff --git a/x-pack/plugins/index_management/public/store/actions/close_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/close_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/close_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/close_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/delete_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/delete_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/delete_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/delete_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/detail_panel.js b/x-pack/legacy/plugins/index_management/public/store/actions/detail_panel.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/detail_panel.js rename to x-pack/legacy/plugins/index_management/public/store/actions/detail_panel.js diff --git a/x-pack/plugins/index_management/public/store/actions/edit_index_settings.js b/x-pack/legacy/plugins/index_management/public/store/actions/edit_index_settings.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/edit_index_settings.js rename to x-pack/legacy/plugins/index_management/public/store/actions/edit_index_settings.js diff --git a/x-pack/plugins/index_management/public/store/actions/extension_action.js b/x-pack/legacy/plugins/index_management/public/store/actions/extension_action.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/extension_action.js rename to x-pack/legacy/plugins/index_management/public/store/actions/extension_action.js diff --git a/x-pack/plugins/index_management/public/store/actions/flush_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/flush_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/flush_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/flush_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/forcemerge_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/forcemerge_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/forcemerge_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/forcemerge_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/freeze_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/freeze_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/freeze_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/freeze_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/index.js b/x-pack/legacy/plugins/index_management/public/store/actions/index.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/index.js rename to x-pack/legacy/plugins/index_management/public/store/actions/index.js diff --git a/x-pack/plugins/index_management/public/store/actions/load_index_data.js b/x-pack/legacy/plugins/index_management/public/store/actions/load_index_data.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/load_index_data.js rename to x-pack/legacy/plugins/index_management/public/store/actions/load_index_data.js diff --git a/x-pack/plugins/index_management/public/store/actions/load_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/load_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/load_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/load_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/open_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/open_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/open_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/open_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/refresh_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/refresh_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/refresh_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/refresh_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/reload_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/reload_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/reload_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/reload_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/table_state.js b/x-pack/legacy/plugins/index_management/public/store/actions/table_state.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/table_state.js rename to x-pack/legacy/plugins/index_management/public/store/actions/table_state.js diff --git a/x-pack/plugins/index_management/public/store/actions/unfreeze_indices.js b/x-pack/legacy/plugins/index_management/public/store/actions/unfreeze_indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/unfreeze_indices.js rename to x-pack/legacy/plugins/index_management/public/store/actions/unfreeze_indices.js diff --git a/x-pack/plugins/index_management/public/store/actions/update_index_settings.js b/x-pack/legacy/plugins/index_management/public/store/actions/update_index_settings.js similarity index 100% rename from x-pack/plugins/index_management/public/store/actions/update_index_settings.js rename to x-pack/legacy/plugins/index_management/public/store/actions/update_index_settings.js diff --git a/x-pack/plugins/index_management/public/store/index.js b/x-pack/legacy/plugins/index_management/public/store/index.js similarity index 100% rename from x-pack/plugins/index_management/public/store/index.js rename to x-pack/legacy/plugins/index_management/public/store/index.js diff --git a/x-pack/plugins/index_management/public/store/reducers/detail_panel.js b/x-pack/legacy/plugins/index_management/public/store/reducers/detail_panel.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/detail_panel.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/detail_panel.js diff --git a/x-pack/plugins/index_management/public/store/reducers/index.js b/x-pack/legacy/plugins/index_management/public/store/reducers/index.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/index.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/index.js diff --git a/x-pack/plugins/index_management/public/store/reducers/index_management.js b/x-pack/legacy/plugins/index_management/public/store/reducers/index_management.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/index_management.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/index_management.js diff --git a/x-pack/plugins/index_management/public/store/reducers/indices.js b/x-pack/legacy/plugins/index_management/public/store/reducers/indices.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/indices.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/indices.js diff --git a/x-pack/plugins/index_management/public/store/reducers/row_status.js b/x-pack/legacy/plugins/index_management/public/store/reducers/row_status.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/row_status.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/row_status.js diff --git a/x-pack/plugins/index_management/public/store/reducers/table_state.js b/x-pack/legacy/plugins/index_management/public/store/reducers/table_state.js similarity index 100% rename from x-pack/plugins/index_management/public/store/reducers/table_state.js rename to x-pack/legacy/plugins/index_management/public/store/reducers/table_state.js diff --git a/x-pack/plugins/index_management/public/store/selectors/index.js b/x-pack/legacy/plugins/index_management/public/store/selectors/index.js similarity index 94% rename from x-pack/plugins/index_management/public/store/selectors/index.js rename to x-pack/legacy/plugins/index_management/public/store/selectors/index.js index 903d636f61430..7c90532e8cf43 100644 --- a/x-pack/plugins/index_management/public/store/selectors/index.js +++ b/x-pack/legacy/plugins/index_management/public/store/selectors/index.js @@ -33,6 +33,16 @@ export const getIndexStatusByIndexName = (state, indexName) => { const { status } = indices[indexName] || {}; return status; }; +export const getIsSystemIndexByName = (indexNames) => { + return indexNames.reduce((obj, indexName) => { + obj[indexName] = indexName.startsWith('.'); + return obj; + }, {}); +}; +export const hasSystemIndex = (indexNames) => { + return Boolean(indexNames.find(indexName => indexName.startsWith('.'))); +}; + const defaultFilterFields = ['name']; const filterByToggles = (indices, toggleNameToVisibleMap) => { diff --git a/x-pack/plugins/index_management/public/store/store.js b/x-pack/legacy/plugins/index_management/public/store/store.js similarity index 100% rename from x-pack/plugins/index_management/public/store/store.js rename to x-pack/legacy/plugins/index_management/public/store/store.js diff --git a/x-pack/plugins/index_management/server/lib/fetch_aliases.js b/x-pack/legacy/plugins/index_management/server/lib/fetch_aliases.js similarity index 100% rename from x-pack/plugins/index_management/server/lib/fetch_aliases.js rename to x-pack/legacy/plugins/index_management/server/lib/fetch_aliases.js diff --git a/x-pack/plugins/index_management/server/lib/fetch_aliases.test.js b/x-pack/legacy/plugins/index_management/server/lib/fetch_aliases.test.js similarity index 100% rename from x-pack/plugins/index_management/server/lib/fetch_aliases.test.js rename to x-pack/legacy/plugins/index_management/server/lib/fetch_aliases.test.js diff --git a/x-pack/plugins/index_management/server/lib/fetch_indices.js b/x-pack/legacy/plugins/index_management/server/lib/fetch_indices.js similarity index 100% rename from x-pack/plugins/index_management/server/lib/fetch_indices.js rename to x-pack/legacy/plugins/index_management/server/lib/fetch_indices.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/index.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/index.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/index.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/index.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_clear_cache_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_clear_cache_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_clear_cache_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_close_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_close_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_close_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_close_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_delete_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_delete_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_delete_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_flush_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_flush_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_flush_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_forcemerge_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_freeze_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_freeze_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_freeze_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_freeze_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_indices_routes.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_indices_routes.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_indices_routes.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_list_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_list_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_list_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_open_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_open_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_open_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_open_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_refresh_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_refresh_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_refresh_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_reload_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_reload_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/indices/register_unfreeze_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/index.js b/x-pack/legacy/plugins/index_management/server/routes/api/mapping/index.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/index.js rename to x-pack/legacy/plugins/index_management/server/routes/api/mapping/index.js diff --git a/x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/mapping/register_mapping_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/mapping/register_mapping_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/mapping/register_mapping_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/settings/index.js b/x-pack/legacy/plugins/index_management/server/routes/api/settings/index.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/index.js rename to x-pack/legacy/plugins/index_management/server/routes/api/settings/index.js diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_load_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/settings/register_load_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_load_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/settings/register_load_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.js b/x-pack/legacy/plugins/index_management/server/routes/api/settings/register_settings_routes.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_settings_routes.js rename to x-pack/legacy/plugins/index_management/server/routes/api/settings/register_settings_routes.js diff --git a/x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/settings/register_update_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/settings/register_update_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/settings/register_update_route.js diff --git a/x-pack/plugins/index_management/server/routes/api/stats/index.js b/x-pack/legacy/plugins/index_management/server/routes/api/stats/index.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/stats/index.js rename to x-pack/legacy/plugins/index_management/server/routes/api/stats/index.js diff --git a/x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js b/x-pack/legacy/plugins/index_management/server/routes/api/stats/register_stats_route.js similarity index 100% rename from x-pack/plugins/index_management/server/routes/api/stats/register_stats_route.js rename to x-pack/legacy/plugins/index_management/server/routes/api/stats/register_stats_route.js diff --git a/x-pack/plugins/infra/README.md b/x-pack/legacy/plugins/infra/README.md similarity index 100% rename from x-pack/plugins/infra/README.md rename to x-pack/legacy/plugins/infra/README.md diff --git a/x-pack/plugins/infra/common/color_palette.test.ts b/x-pack/legacy/plugins/infra/common/color_palette.test.ts similarity index 100% rename from x-pack/plugins/infra/common/color_palette.test.ts rename to x-pack/legacy/plugins/infra/common/color_palette.test.ts diff --git a/x-pack/plugins/infra/common/color_palette.ts b/x-pack/legacy/plugins/infra/common/color_palette.ts similarity index 100% rename from x-pack/plugins/infra/common/color_palette.ts rename to x-pack/legacy/plugins/infra/common/color_palette.ts diff --git a/x-pack/plugins/infra/common/errors/index.ts b/x-pack/legacy/plugins/infra/common/errors/index.ts similarity index 100% rename from x-pack/plugins/infra/common/errors/index.ts rename to x-pack/legacy/plugins/infra/common/errors/index.ts diff --git a/x-pack/plugins/infra/common/errors/metrics.ts b/x-pack/legacy/plugins/infra/common/errors/metrics.ts similarity index 100% rename from x-pack/plugins/infra/common/errors/metrics.ts rename to x-pack/legacy/plugins/infra/common/errors/metrics.ts diff --git a/x-pack/plugins/infra/common/graphql/root/index.ts b/x-pack/legacy/plugins/infra/common/graphql/root/index.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/root/index.ts rename to x-pack/legacy/plugins/infra/common/graphql/root/index.ts diff --git a/x-pack/plugins/infra/common/graphql/root/schema.gql.ts b/x-pack/legacy/plugins/infra/common/graphql/root/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/root/schema.gql.ts rename to x-pack/legacy/plugins/infra/common/graphql/root/schema.gql.ts diff --git a/x-pack/plugins/infra/common/graphql/shared/fragments.gql_query.ts b/x-pack/legacy/plugins/infra/common/graphql/shared/fragments.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/shared/fragments.gql_query.ts rename to x-pack/legacy/plugins/infra/common/graphql/shared/fragments.gql_query.ts diff --git a/x-pack/plugins/infra/common/graphql/shared/index.ts b/x-pack/legacy/plugins/infra/common/graphql/shared/index.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/shared/index.ts rename to x-pack/legacy/plugins/infra/common/graphql/shared/index.ts diff --git a/x-pack/plugins/infra/common/graphql/shared/schema.gql.ts b/x-pack/legacy/plugins/infra/common/graphql/shared/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/shared/schema.gql.ts rename to x-pack/legacy/plugins/infra/common/graphql/shared/schema.gql.ts diff --git a/x-pack/plugins/infra/common/graphql/types.ts b/x-pack/legacy/plugins/infra/common/graphql/types.ts similarity index 100% rename from x-pack/plugins/infra/common/graphql/types.ts rename to x-pack/legacy/plugins/infra/common/graphql/types.ts diff --git a/x-pack/plugins/infra/common/http_api/index.ts b/x-pack/legacy/plugins/infra/common/http_api/index.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/index.ts rename to x-pack/legacy/plugins/infra/common/http_api/index.ts diff --git a/x-pack/plugins/infra/common/http_api/search_results_api.ts b/x-pack/legacy/plugins/infra/common/http_api/search_results_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/search_results_api.ts rename to x-pack/legacy/plugins/infra/common/http_api/search_results_api.ts diff --git a/x-pack/plugins/infra/common/http_api/search_summary_api.ts b/x-pack/legacy/plugins/infra/common/http_api/search_summary_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/search_summary_api.ts rename to x-pack/legacy/plugins/infra/common/http_api/search_summary_api.ts diff --git a/x-pack/plugins/infra/common/http_api/timed_api.ts b/x-pack/legacy/plugins/infra/common/http_api/timed_api.ts similarity index 100% rename from x-pack/plugins/infra/common/http_api/timed_api.ts rename to x-pack/legacy/plugins/infra/common/http_api/timed_api.ts diff --git a/x-pack/plugins/infra/common/log_entry/index.ts b/x-pack/legacy/plugins/infra/common/log_entry/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_entry/index.ts rename to x-pack/legacy/plugins/infra/common/log_entry/index.ts diff --git a/x-pack/plugins/infra/common/log_entry/log_entry.ts b/x-pack/legacy/plugins/infra/common/log_entry/log_entry.ts similarity index 100% rename from x-pack/plugins/infra/common/log_entry/log_entry.ts rename to x-pack/legacy/plugins/infra/common/log_entry/log_entry.ts diff --git a/x-pack/plugins/infra/common/log_search_result/index.ts b/x-pack/legacy/plugins/infra/common/log_search_result/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_result/index.ts rename to x-pack/legacy/plugins/infra/common/log_search_result/index.ts diff --git a/x-pack/plugins/infra/common/log_search_result/log_search_result.ts b/x-pack/legacy/plugins/infra/common/log_search_result/log_search_result.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_result/log_search_result.ts rename to x-pack/legacy/plugins/infra/common/log_search_result/log_search_result.ts diff --git a/x-pack/plugins/infra/common/log_search_summary/index.ts b/x-pack/legacy/plugins/infra/common/log_search_summary/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_summary/index.ts rename to x-pack/legacy/plugins/infra/common/log_search_summary/index.ts diff --git a/x-pack/plugins/infra/common/log_search_summary/log_search_summary.ts b/x-pack/legacy/plugins/infra/common/log_search_summary/log_search_summary.ts similarity index 100% rename from x-pack/plugins/infra/common/log_search_summary/log_search_summary.ts rename to x-pack/legacy/plugins/infra/common/log_search_summary/log_search_summary.ts diff --git a/x-pack/plugins/infra/common/log_summary/index.ts b/x-pack/legacy/plugins/infra/common/log_summary/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_summary/index.ts rename to x-pack/legacy/plugins/infra/common/log_summary/index.ts diff --git a/x-pack/plugins/infra/common/log_summary/log_summary.ts b/x-pack/legacy/plugins/infra/common/log_summary/log_summary.ts similarity index 100% rename from x-pack/plugins/infra/common/log_summary/log_summary.ts rename to x-pack/legacy/plugins/infra/common/log_summary/log_summary.ts diff --git a/x-pack/plugins/infra/common/log_text_scale/index.ts b/x-pack/legacy/plugins/infra/common/log_text_scale/index.ts similarity index 100% rename from x-pack/plugins/infra/common/log_text_scale/index.ts rename to x-pack/legacy/plugins/infra/common/log_text_scale/index.ts diff --git a/x-pack/plugins/infra/common/log_text_scale/log_text_scale.ts b/x-pack/legacy/plugins/infra/common/log_text_scale/log_text_scale.ts similarity index 100% rename from x-pack/plugins/infra/common/log_text_scale/log_text_scale.ts rename to x-pack/legacy/plugins/infra/common/log_text_scale/log_text_scale.ts diff --git a/x-pack/plugins/infra/common/time/index.ts b/x-pack/legacy/plugins/infra/common/time/index.ts similarity index 100% rename from x-pack/plugins/infra/common/time/index.ts rename to x-pack/legacy/plugins/infra/common/time/index.ts diff --git a/x-pack/plugins/infra/common/time/time_key.ts b/x-pack/legacy/plugins/infra/common/time/time_key.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_key.ts rename to x-pack/legacy/plugins/infra/common/time/time_key.ts diff --git a/x-pack/plugins/infra/common/time/time_scale.ts b/x-pack/legacy/plugins/infra/common/time/time_scale.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_scale.ts rename to x-pack/legacy/plugins/infra/common/time/time_scale.ts diff --git a/x-pack/plugins/infra/common/time/time_unit.ts b/x-pack/legacy/plugins/infra/common/time/time_unit.ts similarity index 100% rename from x-pack/plugins/infra/common/time/time_unit.ts rename to x-pack/legacy/plugins/infra/common/time/time_unit.ts diff --git a/x-pack/plugins/infra/common/typed_json.ts b/x-pack/legacy/plugins/infra/common/typed_json.ts similarity index 100% rename from x-pack/plugins/infra/common/typed_json.ts rename to x-pack/legacy/plugins/infra/common/typed_json.ts diff --git a/x-pack/plugins/infra/common/utility_types.ts b/x-pack/legacy/plugins/infra/common/utility_types.ts similarity index 100% rename from x-pack/plugins/infra/common/utility_types.ts rename to x-pack/legacy/plugins/infra/common/utility_types.ts diff --git a/x-pack/plugins/infra/docs/arch.md b/x-pack/legacy/plugins/infra/docs/arch.md similarity index 100% rename from x-pack/plugins/infra/docs/arch.md rename to x-pack/legacy/plugins/infra/docs/arch.md diff --git a/x-pack/plugins/infra/docs/arch_client.md b/x-pack/legacy/plugins/infra/docs/arch_client.md similarity index 100% rename from x-pack/plugins/infra/docs/arch_client.md rename to x-pack/legacy/plugins/infra/docs/arch_client.md diff --git a/x-pack/plugins/infra/docs/assets/arch.png b/x-pack/legacy/plugins/infra/docs/assets/arch.png similarity index 100% rename from x-pack/plugins/infra/docs/assets/arch.png rename to x-pack/legacy/plugins/infra/docs/assets/arch.png diff --git a/x-pack/plugins/infra/docs/graphql.md b/x-pack/legacy/plugins/infra/docs/graphql.md similarity index 100% rename from x-pack/plugins/infra/docs/graphql.md rename to x-pack/legacy/plugins/infra/docs/graphql.md diff --git a/x-pack/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md b/x-pack/legacy/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md similarity index 100% rename from x-pack/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md rename to x-pack/legacy/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md diff --git a/x-pack/plugins/infra/index.ts b/x-pack/legacy/plugins/infra/index.ts similarity index 100% rename from x-pack/plugins/infra/index.ts rename to x-pack/legacy/plugins/infra/index.ts diff --git a/x-pack/plugins/infra/package.json b/x-pack/legacy/plugins/infra/package.json similarity index 100% rename from x-pack/plugins/infra/package.json rename to x-pack/legacy/plugins/infra/package.json diff --git a/x-pack/plugins/infra/public/app.ts b/x-pack/legacy/plugins/infra/public/app.ts similarity index 100% rename from x-pack/plugins/infra/public/app.ts rename to x-pack/legacy/plugins/infra/public/app.ts diff --git a/x-pack/plugins/infra/public/apps/kibana_app.ts b/x-pack/legacy/plugins/infra/public/apps/kibana_app.ts similarity index 100% rename from x-pack/plugins/infra/public/apps/kibana_app.ts rename to x-pack/legacy/plugins/infra/public/apps/kibana_app.ts diff --git a/x-pack/plugins/infra/public/apps/start_app.tsx b/x-pack/legacy/plugins/infra/public/apps/start_app.tsx similarity index 100% rename from x-pack/plugins/infra/public/apps/start_app.tsx rename to x-pack/legacy/plugins/infra/public/apps/start_app.tsx diff --git a/x-pack/plugins/infra/public/apps/testing_app.ts b/x-pack/legacy/plugins/infra/public/apps/testing_app.ts similarity index 100% rename from x-pack/plugins/infra/public/apps/testing_app.ts rename to x-pack/legacy/plugins/infra/public/apps/testing_app.ts diff --git a/x-pack/plugins/infra/public/components/auto_sizer.tsx b/x-pack/legacy/plugins/infra/public/components/auto_sizer.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/auto_sizer.tsx rename to x-pack/legacy/plugins/infra/public/components/auto_sizer.tsx diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx b/x-pack/legacy/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx rename to x-pack/legacy/plugins/infra/public/components/autocomplete_field/autocomplete_field.tsx diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/index.ts b/x-pack/legacy/plugins/infra/public/components/autocomplete_field/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/index.ts rename to x-pack/legacy/plugins/infra/public/components/autocomplete_field/index.ts diff --git a/x-pack/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/legacy/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx rename to x-pack/legacy/plugins/infra/public/components/autocomplete_field/suggestion_item.tsx diff --git a/x-pack/plugins/infra/public/components/document_title.tsx b/x-pack/legacy/plugins/infra/public/components/document_title.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/document_title.tsx rename to x-pack/legacy/plugins/infra/public/components/document_title.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/index.tsx b/x-pack/legacy/plugins/infra/public/components/empty_states/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/index.tsx rename to x-pack/legacy/plugins/infra/public/components/empty_states/index.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_data.tsx b/x-pack/legacy/plugins/infra/public/components/empty_states/no_data.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_data.tsx rename to x-pack/legacy/plugins/infra/public/components/empty_states/no_data.tsx diff --git a/x-pack/plugins/infra/public/components/empty_states/no_indices.tsx b/x-pack/legacy/plugins/infra/public/components/empty_states/no_indices.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/empty_states/no_indices.tsx rename to x-pack/legacy/plugins/infra/public/components/empty_states/no_indices.tsx diff --git a/x-pack/plugins/infra/public/components/error_page.tsx b/x-pack/legacy/plugins/infra/public/components/error_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/error_page.tsx rename to x-pack/legacy/plugins/infra/public/components/error_page.tsx diff --git a/x-pack/plugins/infra/public/components/eui/index.ts b/x-pack/legacy/plugins/infra/public/components/eui/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/eui/index.ts rename to x-pack/legacy/plugins/infra/public/components/eui/index.ts diff --git a/x-pack/plugins/infra/public/components/eui/toolbar/index.ts b/x-pack/legacy/plugins/infra/public/components/eui/toolbar/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/eui/toolbar/index.ts rename to x-pack/legacy/plugins/infra/public/components/eui/toolbar/index.ts diff --git a/x-pack/plugins/infra/public/components/eui/toolbar/toolbar.tsx b/x-pack/legacy/plugins/infra/public/components/eui/toolbar/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/eui/toolbar/toolbar.tsx rename to x-pack/legacy/plugins/infra/public/components/eui/toolbar/toolbar.tsx diff --git a/x-pack/plugins/infra/public/components/formatted_time.tsx b/x-pack/legacy/plugins/infra/public/components/formatted_time.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/formatted_time.tsx rename to x-pack/legacy/plugins/infra/public/components/formatted_time.tsx diff --git a/x-pack/plugins/infra/public/components/header/external_header.tsx b/x-pack/legacy/plugins/infra/public/components/header/external_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/header/external_header.tsx rename to x-pack/legacy/plugins/infra/public/components/header/external_header.tsx diff --git a/x-pack/plugins/infra/public/components/header/header.tsx b/x-pack/legacy/plugins/infra/public/components/header/header.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/header/header.tsx rename to x-pack/legacy/plugins/infra/public/components/header/header.tsx diff --git a/x-pack/plugins/infra/public/components/header/index.ts b/x-pack/legacy/plugins/infra/public/components/header/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/header/index.ts rename to x-pack/legacy/plugins/infra/public/components/header/index.ts diff --git a/x-pack/plugins/infra/public/components/help_center_content.tsx b/x-pack/legacy/plugins/infra/public/components/help_center_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/help_center_content.tsx rename to x-pack/legacy/plugins/infra/public/components/help_center_content.tsx diff --git a/x-pack/plugins/infra/public/components/loading/index.tsx b/x-pack/legacy/plugins/infra/public/components/loading/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading/index.tsx rename to x-pack/legacy/plugins/infra/public/components/loading/index.tsx diff --git a/x-pack/plugins/infra/public/components/loading_page.tsx b/x-pack/legacy/plugins/infra/public/components/loading_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/loading_page.tsx rename to x-pack/legacy/plugins/infra/public/components/loading_page.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_customization_menu.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_customization_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_customization_menu.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_customization_menu.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/index.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_flyout/index.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/index.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.test.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_flyout.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_flyout.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_entry_flyout/log_entry_flyout.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/density_chart.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/density_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/density_chart.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/density_chart.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/highlighted_interval.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/index.ts b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/index.ts rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/log_minimap.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_marker.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_marker.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_marker.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_marker.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_marker_tooltip.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/search_markers.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_markers.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/search_markers.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/search_markers.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/time_ruler.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap/types.ts b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap/types.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap/types.ts rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap/types.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_minimap_scale_controls.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_minimap_scale_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_minimap_scale_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_minimap_scale_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/index.ts b/x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/index.ts rename to x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_buttons.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_search_controls/log_search_input.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_statusbar.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_statusbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_statusbar.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_statusbar.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_scale_controls.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_scale_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_scale_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_scale_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/column_headers.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/column_headers.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/column_headers.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/column_headers.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/index.ts b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/index.ts rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/index.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/item.ts b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/item.ts similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/item.ts rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/item.ts diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/loading_item_view.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/loading_item_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/loading_item_view.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/loading_item_view.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_column.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_column.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_column.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_column.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.test.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.test.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.test.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_field_column.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_icon_column.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_icon_column.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_icon_column.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_icon_column.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_message_column.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_message_column.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_message_column.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_message_column.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_row.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_row.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_row.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_row.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/log_entry_timestamp_column.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/measurable_item_view.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/measurable_item_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/measurable_item_view.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/measurable_item_view.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/scrollable_log_text_stream_view.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/text_styles.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/text_styles.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/text_styles.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/text_styles.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_stream/vertical_scroll_panel.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/vertical_scroll_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_stream/vertical_scroll_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_stream/vertical_scroll_panel.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_text_wrap_controls.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_text_wrap_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_text_wrap_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_text_wrap_controls.tsx diff --git a/x-pack/plugins/infra/public/components/logging/log_time_controls.tsx b/x-pack/legacy/plugins/infra/public/components/logging/log_time_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/logging/log_time_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/logging/log_time_controls.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/index.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/index.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/index.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/invalid_node.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/invalid_node.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/invalid_node.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/invalid_node.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/section.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/section.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/section.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/sections/chart_section.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/sections/chart_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/sections/chart_section.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/sections/chart_section.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/sections/gauges_section.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/sections/gauges_section.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/sections/gauges_section.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/sections/gauges_section.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/sections/index.ts b/x-pack/legacy/plugins/infra/public/components/metrics/sections/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/sections/index.ts rename to x-pack/legacy/plugins/infra/public/components/metrics/sections/index.ts diff --git a/x-pack/plugins/infra/public/components/metrics/side_nav.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/side_nav.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/side_nav.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/side_nav.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/time_controls.test.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/time_controls.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/time_controls.test.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/time_controls.test.tsx diff --git a/x-pack/plugins/infra/public/components/metrics/time_controls.tsx b/x-pack/legacy/plugins/infra/public/components/metrics/time_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics/time_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics/time_controls.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/aggregation.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/aggregation.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/aggregation.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/aggregation.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/chart.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/chart.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.test.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart_context_menu.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.test.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart_context_menu.test.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/chart_context_menu.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/charts.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/charts.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/charts.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/charts.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/empty_chart.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/empty_chart.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/empty_chart.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/empty_chart.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/group_by.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/group_by.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/group_by.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/group_by.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metric.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metric.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metric.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metric.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metrics.test.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metrics.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metrics.test.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_formatter_for_metrics.test.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.test.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.test.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.test.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_metric_label.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.test.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.test.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.test.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/create_tsvb_link.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/get_chart_theme.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/get_chart_theme.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/get_chart_theme.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/get_chart_theme.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.test.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.test.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.test.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.ts b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.ts similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.ts rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/helpers/metric_to_format.ts diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/kuery_bar.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/kuery_bar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/kuery_bar.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/kuery_bar.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/line_series.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/line_series.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/line_series.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/line_series.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/metrics.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/metrics.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/metrics.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/no_metrics.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/no_metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/no_metrics.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/no_metrics.tsx diff --git a/x-pack/plugins/infra/public/components/metrics_explorer/toolbar.tsx b/x-pack/legacy/plugins/infra/public/components/metrics_explorer/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/metrics_explorer/toolbar.tsx rename to x-pack/legacy/plugins/infra/public/components/metrics_explorer/toolbar.tsx diff --git a/x-pack/plugins/infra/public/components/navigation/routed_tabs.tsx b/x-pack/legacy/plugins/infra/public/components/navigation/routed_tabs.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/navigation/routed_tabs.tsx rename to x-pack/legacy/plugins/infra/public/components/navigation/routed_tabs.tsx diff --git a/x-pack/plugins/infra/public/components/nodes_overview/index.tsx b/x-pack/legacy/plugins/infra/public/components/nodes_overview/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/nodes_overview/index.tsx rename to x-pack/legacy/plugins/infra/public/components/nodes_overview/index.tsx diff --git a/x-pack/plugins/infra/public/components/nodes_overview/table.tsx b/x-pack/legacy/plugins/infra/public/components/nodes_overview/table.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/nodes_overview/table.tsx rename to x-pack/legacy/plugins/infra/public/components/nodes_overview/table.tsx diff --git a/x-pack/plugins/infra/public/components/page.tsx b/x-pack/legacy/plugins/infra/public/components/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/page.tsx rename to x-pack/legacy/plugins/infra/public/components/page.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/add_log_column_popover.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/add_log_column_popover.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/add_log_column_popover.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/add_log_column_popover.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/fields_configuration_panel.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/fields_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/fields_configuration_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/fields_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/index.ts b/x-pack/legacy/plugins/infra/public/components/source_configuration/index.ts similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/index.ts rename to x-pack/legacy/plugins/infra/public/components/source_configuration/index.ts diff --git a/x-pack/plugins/infra/public/components/source_configuration/indices_configuration_form_state.ts b/x-pack/legacy/plugins/infra/public/components/source_configuration/indices_configuration_form_state.ts similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/indices_configuration_form_state.ts rename to x-pack/legacy/plugins/infra/public/components/source_configuration/indices_configuration_form_state.ts diff --git a/x-pack/plugins/infra/public/components/source_configuration/indices_configuration_panel.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/indices_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/indices_configuration_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/indices_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/input_fields.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/input_fields.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/input_fields.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/input_fields.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/log_columns_configuration_form_state.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/log_columns_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/log_columns_configuration_form_state.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/log_columns_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/log_columns_configuration_panel.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/log_columns_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/log_columns_configuration_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/log_columns_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/name_configuration_panel.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/name_configuration_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/name_configuration_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/name_configuration_panel.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/source_configuration_button.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_button.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/source_configuration_button.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_button.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/source_configuration_flyout.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/source_configuration_flyout.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_flyout.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/source_configuration_flyout_state.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_flyout_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/source_configuration_flyout_state.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_flyout_state.tsx diff --git a/x-pack/plugins/infra/public/components/source_configuration/source_configuration_form_state.tsx b/x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_form_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_configuration/source_configuration_form_state.tsx rename to x-pack/legacy/plugins/infra/public/components/source_configuration/source_configuration_form_state.tsx diff --git a/x-pack/plugins/infra/public/components/source_error_page.tsx b/x-pack/legacy/plugins/infra/public/components/source_error_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_error_page.tsx rename to x-pack/legacy/plugins/infra/public/components/source_error_page.tsx diff --git a/x-pack/plugins/infra/public/components/source_loading_page.tsx b/x-pack/legacy/plugins/infra/public/components/source_loading_page.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/source_loading_page.tsx rename to x-pack/legacy/plugins/infra/public/components/source_loading_page.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/custom_field_panel.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/custom_field_panel.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/custom_field_panel.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/custom_field_panel.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/gradient_legend.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/gradient_legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/gradient_legend.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/gradient_legend.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/group_name.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/group_name.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/group_name.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/group_name.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/group_of_groups.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/group_of_groups.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/group_of_groups.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/group_of_groups.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/group_of_nodes.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/group_of_nodes.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/group_of_nodes.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/group_of_nodes.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/legend.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/legend.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/legend.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/legend_controls.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/legend_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/legend_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/legend_controls.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/lib/apply_wafflemap_layout.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/apply_wafflemap_layout.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/apply_wafflemap_layout.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/apply_wafflemap_layout.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/color_from_value.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/color_from_value.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/color_from_value.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/color_from_value.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/create_uptime_link.test.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/create_uptime_link.test.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/create_uptime_link.test.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/create_uptime_link.test.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/create_uptime_link.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/create_uptime_link.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/create_uptime_link.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/create_uptime_link.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/field_to_display_name.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/field_to_display_name.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/field_to_display_name.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/field_to_display_name.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/size_of_squares.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/size_of_squares.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/size_of_squares.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/size_of_squares.ts diff --git a/x-pack/plugins/infra/public/components/waffle/lib/type_guards.ts b/x-pack/legacy/plugins/infra/public/components/waffle/lib/type_guards.ts similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/lib/type_guards.ts rename to x-pack/legacy/plugins/infra/public/components/waffle/lib/type_guards.ts diff --git a/x-pack/plugins/infra/public/components/waffle/map.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/map.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/map.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/map.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/node.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/node.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/node.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/node.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/node_context_menu.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/node_context_menu.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/node_context_menu.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/node_context_menu.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/steps_legend.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/steps_legend.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/steps_legend.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/steps_legend.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/view_switcher.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/view_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/view_switcher.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/view_switcher.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/waffle_group_by_controls.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/waffle_group_by_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/waffle_group_by_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/waffle_group_by_controls.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/waffle_metric_controls.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/waffle_metric_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/waffle_metric_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/waffle_metric_controls.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/waffle_node_type_switcher.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/waffle_node_type_switcher.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/waffle_node_type_switcher.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/waffle_node_type_switcher.tsx diff --git a/x-pack/plugins/infra/public/components/waffle/waffle_time_controls.tsx b/x-pack/legacy/plugins/infra/public/components/waffle/waffle_time_controls.tsx similarity index 100% rename from x-pack/plugins/infra/public/components/waffle/waffle_time_controls.tsx rename to x-pack/legacy/plugins/infra/public/components/waffle/waffle_time_controls.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/flyout_item.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/logs/flyout_item.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/flyout_item.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/flyout_item.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_flyout.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/log_flyout.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_flyout.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/log_flyout.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_summary/index.ts b/x-pack/legacy/plugins/infra/public/containers/logs/log_summary/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_summary/index.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/log_summary/index.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.test.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.test.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.test.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_summary/log_summary.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/log_summary/log_summary.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_summary/with_summary.ts b/x-pack/legacy/plugins/infra/public/containers/logs/log_summary/with_summary.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_summary/with_summary.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/log_summary/with_summary.ts diff --git a/x-pack/plugins/infra/public/containers/logs/log_view_configuration.test.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/log_view_configuration.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_view_configuration.test.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/log_view_configuration.test.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/log_view_configuration.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/log_view_configuration.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/log_view_configuration.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/log_view_configuration.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_filter.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/with_log_filter.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_filter.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/with_log_filter.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_minimap.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/with_log_minimap.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_minimap.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/with_log_minimap.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_position.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/with_log_position.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_position.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/with_log_position.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_search_controls_props.ts b/x-pack/legacy/plugins/infra/public/containers/logs/with_log_search_controls_props.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_search_controls_props.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/with_log_search_controls_props.ts diff --git a/x-pack/plugins/infra/public/containers/logs/with_log_textview.tsx b/x-pack/legacy/plugins/infra/public/containers/logs/with_log_textview.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_log_textview.tsx rename to x-pack/legacy/plugins/infra/public/containers/logs/with_log_textview.tsx diff --git a/x-pack/plugins/infra/public/containers/logs/with_stream_items.ts b/x-pack/legacy/plugins/infra/public/containers/logs/with_stream_items.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/logs/with_stream_items.ts rename to x-pack/legacy/plugins/infra/public/containers/logs/with_stream_items.ts diff --git a/x-pack/plugins/infra/public/containers/metadata/metadata.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/metadata/metadata.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metadata/metadata.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/metadata/metadata.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/metadata/with_metadata.tsx b/x-pack/legacy/plugins/infra/public/containers/metadata/with_metadata.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metadata/with_metadata.tsx rename to x-pack/legacy/plugins/infra/public/containers/metadata/with_metadata.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics/metrics.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/metrics/metrics.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics/metrics.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/metrics/metrics.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/metrics/metrics_time.test.tsx b/x-pack/legacy/plugins/infra/public/containers/metrics/metrics_time.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics/metrics_time.test.tsx rename to x-pack/legacy/plugins/infra/public/containers/metrics/metrics_time.test.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics/with_metrics.tsx b/x-pack/legacy/plugins/infra/public/containers/metrics/with_metrics.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics/with_metrics.tsx rename to x-pack/legacy/plugins/infra/public/containers/metrics/with_metrics.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics/with_metrics_time.tsx b/x-pack/legacy/plugins/infra/public/containers/metrics/with_metrics_time.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics/with_metrics_time.tsx rename to x-pack/legacy/plugins/infra/public/containers/metrics/with_metrics_time.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.test.tsx b/x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.test.tsx rename to x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.test.tsx diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.ts b/x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.ts rename to x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_data.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_options.ts b/x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_options.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_options.ts rename to x-pack/legacy/plugins/infra/public/containers/metrics_explorer/use_metrics_explorer_options.ts diff --git a/x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx b/x-pack/legacy/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx rename to x-pack/legacy/plugins/infra/public/containers/metrics_explorer/with_metrics_explorer_options_url_state.tsx diff --git a/x-pack/plugins/infra/public/containers/source/create_source.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/source/create_source.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source/create_source.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/source/create_source.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/source/index.ts b/x-pack/legacy/plugins/infra/public/containers/source/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source/index.ts rename to x-pack/legacy/plugins/infra/public/containers/source/index.ts diff --git a/x-pack/plugins/infra/public/containers/source/query_source.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/source/query_source.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source/query_source.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/source/query_source.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/source/source.tsx b/x-pack/legacy/plugins/infra/public/containers/source/source.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/source/source.tsx rename to x-pack/legacy/plugins/infra/public/containers/source/source.tsx diff --git a/x-pack/plugins/infra/public/containers/source/source_fields_fragment.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/source/source_fields_fragment.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source/source_fields_fragment.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/source/source_fields_fragment.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/source/update_source.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/source/update_source.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source/update_source.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/source/update_source.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/source_id/index.ts b/x-pack/legacy/plugins/infra/public/containers/source_id/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source_id/index.ts rename to x-pack/legacy/plugins/infra/public/containers/source_id/index.ts diff --git a/x-pack/plugins/infra/public/containers/source_id/source_id.ts b/x-pack/legacy/plugins/infra/public/containers/source_id/source_id.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/source_id/source_id.ts rename to x-pack/legacy/plugins/infra/public/containers/source_id/source_id.ts diff --git a/x-pack/plugins/infra/public/containers/waffle/index.ts b/x-pack/legacy/plugins/infra/public/containers/waffle/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/index.ts rename to x-pack/legacy/plugins/infra/public/containers/waffle/index.ts diff --git a/x-pack/plugins/infra/public/containers/waffle/nodes_to_wafflemap.ts b/x-pack/legacy/plugins/infra/public/containers/waffle/nodes_to_wafflemap.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/nodes_to_wafflemap.ts rename to x-pack/legacy/plugins/infra/public/containers/waffle/nodes_to_wafflemap.ts diff --git a/x-pack/plugins/infra/public/containers/waffle/type_guards.ts b/x-pack/legacy/plugins/infra/public/containers/waffle/type_guards.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/type_guards.ts rename to x-pack/legacy/plugins/infra/public/containers/waffle/type_guards.ts diff --git a/x-pack/plugins/infra/public/containers/waffle/waffle_nodes.gql_query.ts b/x-pack/legacy/plugins/infra/public/containers/waffle/waffle_nodes.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/waffle_nodes.gql_query.ts rename to x-pack/legacy/plugins/infra/public/containers/waffle/waffle_nodes.gql_query.ts diff --git a/x-pack/plugins/infra/public/containers/waffle/with_waffle_filters.tsx b/x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_filters.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/with_waffle_filters.tsx rename to x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_filters.tsx diff --git a/x-pack/plugins/infra/public/containers/waffle/with_waffle_nodes.tsx b/x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_nodes.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/with_waffle_nodes.tsx rename to x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_nodes.tsx diff --git a/x-pack/plugins/infra/public/containers/waffle/with_waffle_options.tsx b/x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_options.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/with_waffle_options.tsx rename to x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_options.tsx diff --git a/x-pack/plugins/infra/public/containers/waffle/with_waffle_time.tsx b/x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_time.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/waffle/with_waffle_time.tsx rename to x-pack/legacy/plugins/infra/public/containers/waffle/with_waffle_time.tsx diff --git a/x-pack/plugins/infra/public/containers/with_kibana_chrome.tsx b/x-pack/legacy/plugins/infra/public/containers/with_kibana_chrome.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_kibana_chrome.tsx rename to x-pack/legacy/plugins/infra/public/containers/with_kibana_chrome.tsx diff --git a/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx b/x-pack/legacy/plugins/infra/public/containers/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx rename to x-pack/legacy/plugins/infra/public/containers/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/infra/public/containers/with_options.tsx b/x-pack/legacy/plugins/infra/public/containers/with_options.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_options.tsx rename to x-pack/legacy/plugins/infra/public/containers/with_options.tsx diff --git a/x-pack/plugins/infra/public/containers/with_source/index.ts b/x-pack/legacy/plugins/infra/public/containers/with_source/index.ts similarity index 100% rename from x-pack/plugins/infra/public/containers/with_source/index.ts rename to x-pack/legacy/plugins/infra/public/containers/with_source/index.ts diff --git a/x-pack/plugins/infra/public/containers/with_source/with_source.tsx b/x-pack/legacy/plugins/infra/public/containers/with_source/with_source.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_source/with_source.tsx rename to x-pack/legacy/plugins/infra/public/containers/with_source/with_source.tsx diff --git a/x-pack/plugins/infra/public/containers/with_state_from_location.tsx b/x-pack/legacy/plugins/infra/public/containers/with_state_from_location.tsx similarity index 100% rename from x-pack/plugins/infra/public/containers/with_state_from_location.tsx rename to x-pack/legacy/plugins/infra/public/containers/with_state_from_location.tsx diff --git a/x-pack/plugins/infra/public/graphql/introspection.json b/x-pack/legacy/plugins/infra/public/graphql/introspection.json similarity index 100% rename from x-pack/plugins/infra/public/graphql/introspection.json rename to x-pack/legacy/plugins/infra/public/graphql/introspection.json diff --git a/x-pack/plugins/infra/public/graphql/types.ts b/x-pack/legacy/plugins/infra/public/graphql/types.ts similarity index 100% rename from x-pack/plugins/infra/public/graphql/types.ts rename to x-pack/legacy/plugins/infra/public/graphql/types.ts diff --git a/x-pack/plugins/infra/public/hooks/use_interval.ts b/x-pack/legacy/plugins/infra/public/hooks/use_interval.ts similarity index 100% rename from x-pack/plugins/infra/public/hooks/use_interval.ts rename to x-pack/legacy/plugins/infra/public/hooks/use_interval.ts diff --git a/x-pack/plugins/infra/public/images/docker.svg b/x-pack/legacy/plugins/infra/public/images/docker.svg similarity index 100% rename from x-pack/plugins/infra/public/images/docker.svg rename to x-pack/legacy/plugins/infra/public/images/docker.svg diff --git a/x-pack/plugins/infra/public/images/hosts.svg b/x-pack/legacy/plugins/infra/public/images/hosts.svg similarity index 100% rename from x-pack/plugins/infra/public/images/hosts.svg rename to x-pack/legacy/plugins/infra/public/images/hosts.svg diff --git a/x-pack/plugins/infra/public/images/infra_mono_white.svg b/x-pack/legacy/plugins/infra/public/images/infra_mono_white.svg similarity index 100% rename from x-pack/plugins/infra/public/images/infra_mono_white.svg rename to x-pack/legacy/plugins/infra/public/images/infra_mono_white.svg diff --git a/x-pack/plugins/infra/public/images/k8.svg b/x-pack/legacy/plugins/infra/public/images/k8.svg similarity index 100% rename from x-pack/plugins/infra/public/images/k8.svg rename to x-pack/legacy/plugins/infra/public/images/k8.svg diff --git a/x-pack/plugins/infra/public/images/logging_mono_white.svg b/x-pack/legacy/plugins/infra/public/images/logging_mono_white.svg similarity index 100% rename from x-pack/plugins/infra/public/images/logging_mono_white.svg rename to x-pack/legacy/plugins/infra/public/images/logging_mono_white.svg diff --git a/x-pack/plugins/infra/public/images/services.svg b/x-pack/legacy/plugins/infra/public/images/services.svg similarity index 100% rename from x-pack/plugins/infra/public/images/services.svg rename to x-pack/legacy/plugins/infra/public/images/services.svg diff --git a/x-pack/plugins/infra/public/index.scss b/x-pack/legacy/plugins/infra/public/index.scss similarity index 100% rename from x-pack/plugins/infra/public/index.scss rename to x-pack/legacy/plugins/infra/public/index.scss diff --git a/x-pack/plugins/infra/public/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/infra/public/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/infra/public/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/infra/public/lib/adapters/framework/testing_framework_adapter.ts b/x-pack/legacy/plugins/infra/public/lib/adapters/framework/testing_framework_adapter.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/adapters/framework/testing_framework_adapter.ts rename to x-pack/legacy/plugins/infra/public/lib/adapters/framework/testing_framework_adapter.ts diff --git a/x-pack/plugins/infra/public/lib/adapters/observable_api/kibana_observable_api.ts b/x-pack/legacy/plugins/infra/public/lib/adapters/observable_api/kibana_observable_api.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/adapters/observable_api/kibana_observable_api.ts rename to x-pack/legacy/plugins/infra/public/lib/adapters/observable_api/kibana_observable_api.ts diff --git a/x-pack/plugins/infra/public/lib/compose/kibana_compose.ts b/x-pack/legacy/plugins/infra/public/lib/compose/kibana_compose.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/compose/kibana_compose.ts rename to x-pack/legacy/plugins/infra/public/lib/compose/kibana_compose.ts diff --git a/x-pack/plugins/infra/public/lib/compose/testing_compose.ts b/x-pack/legacy/plugins/infra/public/lib/compose/testing_compose.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/compose/testing_compose.ts rename to x-pack/legacy/plugins/infra/public/lib/compose/testing_compose.ts diff --git a/x-pack/plugins/infra/public/lib/lib.ts b/x-pack/legacy/plugins/infra/public/lib/lib.ts similarity index 100% rename from x-pack/plugins/infra/public/lib/lib.ts rename to x-pack/legacy/plugins/infra/public/lib/lib.ts diff --git a/x-pack/plugins/infra/public/pages/404.tsx b/x-pack/legacy/plugins/infra/public/pages/404.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/404.tsx rename to x-pack/legacy/plugins/infra/public/pages/404.tsx diff --git a/x-pack/plugins/infra/public/pages/error.tsx b/x-pack/legacy/plugins/infra/public/pages/error.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/error.tsx rename to x-pack/legacy/plugins/infra/public/pages/error.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/index.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/index.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/index.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/index.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/index.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/index.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.test.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.test.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.test.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.ts b/x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.ts rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/metrics_explorer/use_metric_explorer_state.ts diff --git a/x-pack/plugins/infra/public/pages/infrastructure/snapshot/index.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/snapshot/index.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/index.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/snapshot/page_content.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/page_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/snapshot/page_content.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/page_content.tsx diff --git a/x-pack/plugins/infra/public/pages/infrastructure/snapshot/toolbar.tsx b/x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/infrastructure/snapshot/toolbar.tsx rename to x-pack/legacy/plugins/infra/public/pages/infrastructure/snapshot/toolbar.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/index.ts b/x-pack/legacy/plugins/infra/public/pages/link_to/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/index.ts rename to x-pack/legacy/plugins/infra/public/pages/link_to/index.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/link_to.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/link_to.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/link_to.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/link_to.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/query_params.ts b/x-pack/legacy/plugins/infra/public/pages/link_to/query_params.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/query_params.ts rename to x-pack/legacy/plugins/infra/public/pages/link_to/query_params.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_host_detail_via_ip.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.test.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_logs.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.test.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_logs.test.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_logs.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_logs.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_detail.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.test.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_logs.test.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.test.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_logs.test.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx b/x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx rename to x-pack/legacy/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx diff --git a/x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts b/x-pack/legacy/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts rename to x-pack/legacy/plugins/infra/public/pages/link_to/use_host_ip_to_name.test.ts diff --git a/x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts b/x-pack/legacy/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts rename to x-pack/legacy/plugins/infra/public/pages/link_to/use_host_ip_to_name.ts diff --git a/x-pack/plugins/infra/public/pages/logs/index.ts b/x-pack/legacy/plugins/infra/public/pages/logs/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/index.ts rename to x-pack/legacy/plugins/infra/public/pages/logs/index.ts diff --git a/x-pack/plugins/infra/public/pages/logs/page.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_content.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_content.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_header.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_header.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_header.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_header.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_logs_content.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_logs_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_logs_content.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_logs_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_no_indices_content.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_no_indices_content.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_no_indices_content.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_no_indices_content.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_providers.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_providers.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_providers.tsx diff --git a/x-pack/plugins/infra/public/pages/logs/page_toolbar.tsx b/x-pack/legacy/plugins/infra/public/pages/logs/page_toolbar.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/logs/page_toolbar.tsx rename to x-pack/legacy/plugins/infra/public/pages/logs/page_toolbar.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/index.tsx b/x-pack/legacy/plugins/infra/public/pages/metrics/index.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/index.tsx rename to x-pack/legacy/plugins/infra/public/pages/metrics/index.tsx diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/container.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/container.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/container.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/container.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/host.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/host.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/host.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/host.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/index.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/index.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/index.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/index.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/nginx.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/nginx.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/nginx.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/nginx.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/pod.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/pod.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/pod.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/pod.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/layouts/types.ts b/x-pack/legacy/plugins/infra/public/pages/metrics/layouts/types.ts similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/layouts/types.ts rename to x-pack/legacy/plugins/infra/public/pages/metrics/layouts/types.ts diff --git a/x-pack/plugins/infra/public/pages/metrics/page_providers.tsx b/x-pack/legacy/plugins/infra/public/pages/metrics/page_providers.tsx similarity index 100% rename from x-pack/plugins/infra/public/pages/metrics/page_providers.tsx rename to x-pack/legacy/plugins/infra/public/pages/metrics/page_providers.tsx diff --git a/x-pack/plugins/infra/public/register_feature.ts b/x-pack/legacy/plugins/infra/public/register_feature.ts similarity index 100% rename from x-pack/plugins/infra/public/register_feature.ts rename to x-pack/legacy/plugins/infra/public/register_feature.ts diff --git a/x-pack/plugins/infra/public/routes.tsx b/x-pack/legacy/plugins/infra/public/routes.tsx similarity index 100% rename from x-pack/plugins/infra/public/routes.tsx rename to x-pack/legacy/plugins/infra/public/routes.tsx diff --git a/x-pack/plugins/infra/public/store/actions.ts b/x-pack/legacy/plugins/infra/public/store/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/actions.ts rename to x-pack/legacy/plugins/infra/public/store/actions.ts diff --git a/x-pack/plugins/infra/public/store/epics.ts b/x-pack/legacy/plugins/infra/public/store/epics.ts similarity index 100% rename from x-pack/plugins/infra/public/store/epics.ts rename to x-pack/legacy/plugins/infra/public/store/epics.ts diff --git a/x-pack/plugins/infra/public/store/index.ts b/x-pack/legacy/plugins/infra/public/store/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/index.ts rename to x-pack/legacy/plugins/infra/public/store/index.ts diff --git a/x-pack/plugins/infra/public/store/local/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/epic.ts b/x-pack/legacy/plugins/infra/public/store/local/epic.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/epic.ts rename to x-pack/legacy/plugins/infra/public/store/local/epic.ts diff --git a/x-pack/plugins/infra/public/store/local/index.ts b/x-pack/legacy/plugins/infra/public/store/local/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/index.ts diff --git a/x-pack/plugins/infra/public/store/local/log_filter/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/log_filter/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_filter/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_filter/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/log_filter/index.ts b/x-pack/legacy/plugins/infra/public/store/local/log_filter/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_filter/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_filter/index.ts diff --git a/x-pack/plugins/infra/public/store/local/log_filter/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/log_filter/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_filter/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_filter/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/log_filter/selectors.ts b/x-pack/legacy/plugins/infra/public/store/local/log_filter/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_filter/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_filter/selectors.ts diff --git a/x-pack/plugins/infra/public/store/local/log_position/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/log_position/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_position/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_position/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/log_position/epic.ts b/x-pack/legacy/plugins/infra/public/store/local/log_position/epic.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_position/epic.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_position/epic.ts diff --git a/x-pack/plugins/infra/public/store/local/log_position/index.ts b/x-pack/legacy/plugins/infra/public/store/local/log_position/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_position/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_position/index.ts diff --git a/x-pack/plugins/infra/public/store/local/log_position/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/log_position/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_position/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_position/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/log_position/selectors.ts b/x-pack/legacy/plugins/infra/public/store/local/log_position/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/log_position/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/local/log_position/selectors.ts diff --git a/x-pack/plugins/infra/public/store/local/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/selectors.ts b/x-pack/legacy/plugins/infra/public/store/local/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/local/selectors.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_filter/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_filter/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_filter/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_filter/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_filter/index.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_filter/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_filter/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_filter/index.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_filter/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_filter/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_filter/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_filter/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_filter/selectors.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_filter/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_filter/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_filter/selectors.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_options/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_options/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_options/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_options/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_options/index.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_options/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_options/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_options/index.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_options/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_options/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_options/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_options/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_options/selector.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_options/selector.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_options/selector.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_options/selector.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/actions.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_time/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_time/actions.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_time/actions.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/epic.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_time/epic.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_time/epic.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_time/epic.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/index.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_time/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_time/index.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_time/index.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/reducer.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_time/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_time/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_time/reducer.ts diff --git a/x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts b/x-pack/legacy/plugins/infra/public/store/local/waffle_time/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/local/waffle_time/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/local/waffle_time/selectors.ts diff --git a/x-pack/plugins/infra/public/store/reducer.ts b/x-pack/legacy/plugins/infra/public/store/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/reducer.ts diff --git a/x-pack/plugins/infra/public/store/remote/actions.ts b/x-pack/legacy/plugins/infra/public/store/remote/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/actions.ts rename to x-pack/legacy/plugins/infra/public/store/remote/actions.ts diff --git a/x-pack/plugins/infra/public/store/remote/epic.ts b/x-pack/legacy/plugins/infra/public/store/remote/epic.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/epic.ts rename to x-pack/legacy/plugins/infra/public/store/remote/epic.ts diff --git a/x-pack/plugins/infra/public/store/remote/index.ts b/x-pack/legacy/plugins/infra/public/store/remote/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/index.ts rename to x-pack/legacy/plugins/infra/public/store/remote/index.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/actions.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/actions.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/actions.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/actions.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/epic.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/epic.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/epic.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/epic.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/index.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/index.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/index.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/index.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/operations/load.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/load.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/operations/load.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/load.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/operations/load_more.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/load_more.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/operations/load_more.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/load_more.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/operations/log_entries.gql_query.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/log_entries.gql_query.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/operations/log_entries.gql_query.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/operations/log_entries.gql_query.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/reducer.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/reducer.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/selectors.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/selectors.ts diff --git a/x-pack/plugins/infra/public/store/remote/log_entries/state.ts b/x-pack/legacy/plugins/infra/public/store/remote/log_entries/state.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/log_entries/state.ts rename to x-pack/legacy/plugins/infra/public/store/remote/log_entries/state.ts diff --git a/x-pack/plugins/infra/public/store/remote/reducer.ts b/x-pack/legacy/plugins/infra/public/store/remote/reducer.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/reducer.ts rename to x-pack/legacy/plugins/infra/public/store/remote/reducer.ts diff --git a/x-pack/plugins/infra/public/store/remote/selectors.ts b/x-pack/legacy/plugins/infra/public/store/remote/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/remote/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/remote/selectors.ts diff --git a/x-pack/plugins/infra/public/store/selectors.ts b/x-pack/legacy/plugins/infra/public/store/selectors.ts similarity index 100% rename from x-pack/plugins/infra/public/store/selectors.ts rename to x-pack/legacy/plugins/infra/public/store/selectors.ts diff --git a/x-pack/plugins/infra/public/store/store.ts b/x-pack/legacy/plugins/infra/public/store/store.ts similarity index 100% rename from x-pack/plugins/infra/public/store/store.ts rename to x-pack/legacy/plugins/infra/public/store/store.ts diff --git a/x-pack/plugins/infra/public/utils/apollo_context.ts b/x-pack/legacy/plugins/infra/public/utils/apollo_context.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/apollo_context.ts rename to x-pack/legacy/plugins/infra/public/utils/apollo_context.ts diff --git a/x-pack/plugins/infra/public/utils/cancellable_effect.ts b/x-pack/legacy/plugins/infra/public/utils/cancellable_effect.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/cancellable_effect.ts rename to x-pack/legacy/plugins/infra/public/utils/cancellable_effect.ts diff --git a/x-pack/plugins/infra/public/utils/enzyme_helpers.tsx b/x-pack/legacy/plugins/infra/public/utils/enzyme_helpers.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/enzyme_helpers.tsx rename to x-pack/legacy/plugins/infra/public/utils/enzyme_helpers.tsx diff --git a/x-pack/plugins/infra/public/utils/fetch.ts b/x-pack/legacy/plugins/infra/public/utils/fetch.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/fetch.ts rename to x-pack/legacy/plugins/infra/public/utils/fetch.ts diff --git a/x-pack/plugins/infra/public/utils/fixtures/metrics_explorer.ts b/x-pack/legacy/plugins/infra/public/utils/fixtures/metrics_explorer.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/fixtures/metrics_explorer.ts rename to x-pack/legacy/plugins/infra/public/utils/fixtures/metrics_explorer.ts diff --git a/x-pack/plugins/infra/public/utils/formatters/data.ts b/x-pack/legacy/plugins/infra/public/utils/formatters/data.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/formatters/data.ts rename to x-pack/legacy/plugins/infra/public/utils/formatters/data.ts diff --git a/x-pack/plugins/infra/public/utils/formatters/index.ts b/x-pack/legacy/plugins/infra/public/utils/formatters/index.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/formatters/index.ts rename to x-pack/legacy/plugins/infra/public/utils/formatters/index.ts diff --git a/x-pack/plugins/infra/public/utils/formatters/number.ts b/x-pack/legacy/plugins/infra/public/utils/formatters/number.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/formatters/number.ts rename to x-pack/legacy/plugins/infra/public/utils/formatters/number.ts diff --git a/x-pack/plugins/infra/public/utils/formatters/percent.ts b/x-pack/legacy/plugins/infra/public/utils/formatters/percent.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/formatters/percent.ts rename to x-pack/legacy/plugins/infra/public/utils/formatters/percent.ts diff --git a/x-pack/plugins/infra/public/utils/handlers.ts b/x-pack/legacy/plugins/infra/public/utils/handlers.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/handlers.ts rename to x-pack/legacy/plugins/infra/public/utils/handlers.ts diff --git a/x-pack/plugins/infra/public/utils/history_context.ts b/x-pack/legacy/plugins/infra/public/utils/history_context.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/history_context.ts rename to x-pack/legacy/plugins/infra/public/utils/history_context.ts diff --git a/x-pack/plugins/infra/public/utils/kuery.ts b/x-pack/legacy/plugins/infra/public/utils/kuery.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/kuery.ts rename to x-pack/legacy/plugins/infra/public/utils/kuery.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/index.ts b/x-pack/legacy/plugins/infra/public/utils/loading_state/index.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/index.ts rename to x-pack/legacy/plugins/infra/public/utils/loading_state/index.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_policy.ts b/x-pack/legacy/plugins/infra/public/utils/loading_state/loading_policy.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_policy.ts rename to x-pack/legacy/plugins/infra/public/utils/loading_state/loading_policy.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_progress.ts b/x-pack/legacy/plugins/infra/public/utils/loading_state/loading_progress.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_progress.ts rename to x-pack/legacy/plugins/infra/public/utils/loading_state/loading_progress.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_result.ts b/x-pack/legacy/plugins/infra/public/utils/loading_state/loading_result.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_result.ts rename to x-pack/legacy/plugins/infra/public/utils/loading_state/loading_result.ts diff --git a/x-pack/plugins/infra/public/utils/loading_state/loading_state.ts b/x-pack/legacy/plugins/infra/public/utils/loading_state/loading_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/loading_state/loading_state.ts rename to x-pack/legacy/plugins/infra/public/utils/loading_state/loading_state.ts diff --git a/x-pack/plugins/infra/public/utils/log_entry/index.ts b/x-pack/legacy/plugins/infra/public/utils/log_entry/index.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/log_entry/index.ts rename to x-pack/legacy/plugins/infra/public/utils/log_entry/index.ts diff --git a/x-pack/plugins/infra/public/utils/log_entry/log_entry.ts b/x-pack/legacy/plugins/infra/public/utils/log_entry/log_entry.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/log_entry/log_entry.ts rename to x-pack/legacy/plugins/infra/public/utils/log_entry/log_entry.ts diff --git a/x-pack/plugins/infra/public/utils/remote_state/remote_graphql_state.ts b/x-pack/legacy/plugins/infra/public/utils/remote_state/remote_graphql_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/remote_state/remote_graphql_state.ts rename to x-pack/legacy/plugins/infra/public/utils/remote_state/remote_graphql_state.ts diff --git a/x-pack/plugins/infra/public/utils/source_configuration.ts b/x-pack/legacy/plugins/infra/public/utils/source_configuration.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/source_configuration.ts rename to x-pack/legacy/plugins/infra/public/utils/source_configuration.ts diff --git a/x-pack/plugins/infra/public/utils/styles.ts b/x-pack/legacy/plugins/infra/public/utils/styles.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/styles.ts rename to x-pack/legacy/plugins/infra/public/utils/styles.ts diff --git a/x-pack/plugins/infra/public/utils/typed_react.tsx b/x-pack/legacy/plugins/infra/public/utils/typed_react.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/typed_react.tsx rename to x-pack/legacy/plugins/infra/public/utils/typed_react.tsx diff --git a/x-pack/plugins/infra/public/utils/typed_redux.ts b/x-pack/legacy/plugins/infra/public/utils/typed_redux.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/typed_redux.ts rename to x-pack/legacy/plugins/infra/public/utils/typed_redux.ts diff --git a/x-pack/plugins/infra/public/utils/url_state.tsx b/x-pack/legacy/plugins/infra/public/utils/url_state.tsx similarity index 100% rename from x-pack/plugins/infra/public/utils/url_state.tsx rename to x-pack/legacy/plugins/infra/public/utils/url_state.tsx diff --git a/x-pack/plugins/infra/public/utils/use_kibana_ui_setting.ts b/x-pack/legacy/plugins/infra/public/utils/use_kibana_ui_setting.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_kibana_ui_setting.ts rename to x-pack/legacy/plugins/infra/public/utils/use_kibana_ui_setting.ts diff --git a/x-pack/plugins/infra/public/utils/use_observable.ts b/x-pack/legacy/plugins/infra/public/utils/use_observable.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_observable.ts rename to x-pack/legacy/plugins/infra/public/utils/use_observable.ts diff --git a/x-pack/plugins/infra/public/utils/use_tracked_promise.ts b/x-pack/legacy/plugins/infra/public/utils/use_tracked_promise.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_tracked_promise.ts rename to x-pack/legacy/plugins/infra/public/utils/use_tracked_promise.ts diff --git a/x-pack/plugins/infra/public/utils/use_url_state.ts b/x-pack/legacy/plugins/infra/public/utils/use_url_state.ts similarity index 100% rename from x-pack/plugins/infra/public/utils/use_url_state.ts rename to x-pack/legacy/plugins/infra/public/utils/use_url_state.ts diff --git a/x-pack/plugins/infra/scripts/combined_schema.ts b/x-pack/legacy/plugins/infra/scripts/combined_schema.ts similarity index 100% rename from x-pack/plugins/infra/scripts/combined_schema.ts rename to x-pack/legacy/plugins/infra/scripts/combined_schema.ts diff --git a/x-pack/plugins/infra/scripts/generate_types_from_graphql.js b/x-pack/legacy/plugins/infra/scripts/generate_types_from_graphql.js similarity index 97% rename from x-pack/plugins/infra/scripts/generate_types_from_graphql.js rename to x-pack/legacy/plugins/infra/scripts/generate_types_from_graphql.js index aec5ff6da99ce..9e2d3f4e05453 100644 --- a/x-pack/plugins/infra/scripts/generate_types_from_graphql.js +++ b/x-pack/legacy/plugins/infra/scripts/generate_types_from_graphql.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -require('../../../../src/setup_node_env'); +require('../../../../../src/setup_node_env'); const { join, resolve } = require('path'); // eslint-disable-next-line import/no-extraneous-dependencies, import/no-unresolved diff --git a/x-pack/plugins/infra/scripts/gql_gen_client.json b/x-pack/legacy/plugins/infra/scripts/gql_gen_client.json similarity index 100% rename from x-pack/plugins/infra/scripts/gql_gen_client.json rename to x-pack/legacy/plugins/infra/scripts/gql_gen_client.json diff --git a/x-pack/plugins/infra/scripts/gql_gen_server.json b/x-pack/legacy/plugins/infra/scripts/gql_gen_server.json similarity index 100% rename from x-pack/plugins/infra/scripts/gql_gen_server.json rename to x-pack/legacy/plugins/infra/scripts/gql_gen_server.json diff --git a/x-pack/plugins/infra/server/graphql/index.ts b/x-pack/legacy/plugins/infra/server/graphql/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/index.ts diff --git a/x-pack/plugins/infra/server/graphql/log_entries/index.ts b/x-pack/legacy/plugins/infra/server/graphql/log_entries/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/log_entries/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/log_entries/index.ts diff --git a/x-pack/plugins/infra/server/graphql/log_entries/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/log_entries/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/log_entries/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/log_entries/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/log_entries/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/log_entries/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/log_entries/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/log_entries/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/metadata/index.ts b/x-pack/legacy/plugins/infra/server/graphql/metadata/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metadata/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/metadata/index.ts diff --git a/x-pack/plugins/infra/server/graphql/metadata/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/metadata/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metadata/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/metadata/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/metadata/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/metadata/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metadata/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/metadata/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/metrics/index.ts b/x-pack/legacy/plugins/infra/server/graphql/metrics/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metrics/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/metrics/index.ts diff --git a/x-pack/plugins/infra/server/graphql/metrics/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/metrics/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metrics/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/metrics/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/metrics/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/metrics/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/metrics/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/metrics/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/snapshot/index.ts b/x-pack/legacy/plugins/infra/server/graphql/snapshot/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/snapshot/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/snapshot/index.ts diff --git a/x-pack/plugins/infra/server/graphql/snapshot/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/snapshot/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/snapshot/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/snapshot/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/snapshot/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/snapshot/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/snapshot/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/snapshot/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/source_status/index.ts b/x-pack/legacy/plugins/infra/server/graphql/source_status/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/source_status/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/source_status/index.ts diff --git a/x-pack/plugins/infra/server/graphql/source_status/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/source_status/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/source_status/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/source_status/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/source_status/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/source_status/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/source_status/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/source_status/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/sources/index.ts b/x-pack/legacy/plugins/infra/server/graphql/sources/index.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/sources/index.ts rename to x-pack/legacy/plugins/infra/server/graphql/sources/index.ts diff --git a/x-pack/plugins/infra/server/graphql/sources/resolvers.ts b/x-pack/legacy/plugins/infra/server/graphql/sources/resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/sources/resolvers.ts rename to x-pack/legacy/plugins/infra/server/graphql/sources/resolvers.ts diff --git a/x-pack/plugins/infra/server/graphql/sources/schema.gql.ts b/x-pack/legacy/plugins/infra/server/graphql/sources/schema.gql.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/sources/schema.gql.ts rename to x-pack/legacy/plugins/infra/server/graphql/sources/schema.gql.ts diff --git a/x-pack/plugins/infra/server/graphql/types.ts b/x-pack/legacy/plugins/infra/server/graphql/types.ts similarity index 100% rename from x-pack/plugins/infra/server/graphql/types.ts rename to x-pack/legacy/plugins/infra/server/graphql/types.ts diff --git a/x-pack/plugins/infra/server/infra_server.ts b/x-pack/legacy/plugins/infra/server/infra_server.ts similarity index 100% rename from x-pack/plugins/infra/server/infra_server.ts rename to x-pack/legacy/plugins/infra/server/infra_server.ts diff --git a/x-pack/plugins/infra/server/kibana.index.ts b/x-pack/legacy/plugins/infra/server/kibana.index.ts similarity index 100% rename from x-pack/plugins/infra/server/kibana.index.ts rename to x-pack/legacy/plugins/infra/server/kibana.index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/configuration/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/configuration/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/configuration/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/configuration/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/configuration/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/configuration/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/configuration/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/configuration/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/configuration/inmemory_configuration_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/configuration/inmemory_configuration_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/configuration/inmemory_configuration_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/configuration/inmemory_configuration_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.test.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.test.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.test.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/configuration/kibana_configuration_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/fields/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/fields/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/fields/framework_fields_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/fields/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/fields/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/fields/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/fields/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/apollo_server_hapi.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/apollo_server_hapi.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/apollo_server_hapi.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/framework/apollo_server_hapi.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/log_entries/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/log_entries/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/log_entries/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/log_entries/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/log_entries/kibana_log_entries_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metadata/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metadata/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metadata/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metadata/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metadata/elasticsearch_metadata_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metadata/elasticsearch_metadata_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metadata/elasticsearch_metadata_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metadata/elasticsearch_metadata_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metadata/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metadata/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metadata/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metadata/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/adapter_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/adapter_types.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/adapter_types.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/kibana_metrics_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/lib/check_valid_node.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/lib/errors.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/lib/errors.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/lib/errors.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/lib/errors.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_kernel.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_kernel.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_kernel.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_kernel.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_cpu_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_disk_io_bytes.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_disk_io_bytes.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_disk_io_bytes.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_disk_io_bytes.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_diskio_ops.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_diskio_ops.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_diskio_ops.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_diskio_ops.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_memory.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_memory.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_memory.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_memory.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_network_traffic.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_network_traffic.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_network_traffic.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_network_traffic.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_overview.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_overview.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/container/container_overview.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/container/container_overview.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_cpu_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_cpu_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_cpu_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_cpu_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_filesystem.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_filesystem.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_filesystem.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_filesystem.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_cpu_cap.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_cpu_cap.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_cpu_cap.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_cpu_cap.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_disk_cap.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_disk_cap.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_disk_cap.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_disk_cap.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_memory_cap.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_memory_cap.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_memory_cap.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_memory_cap.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_overview.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_overview.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_overview.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_overview.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_pod_cap.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_pod_cap.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_pod_cap.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_k8s_pod_cap.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_load.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_load.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_load.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_load.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_memory_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_memory_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_memory_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_memory_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_network_traffic.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_network_traffic.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_network_traffic.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_network_traffic.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_system_overview.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_system_overview.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/host/host_system_overview.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/host/host_system_overview.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/index.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_active_connections.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_active_connections.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_active_connections.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_active_connections.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_hits.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_hits.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_hits.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_hits.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_request_rate.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_request_rate.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_request_rate.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_request_rate.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_requests_per_connection.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_requests_per_connection.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_requests_per_connection.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/nginx/nginx_requests_per_connection.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_cpu_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_cpu_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_cpu_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_cpu_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_log_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_log_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_log_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_log_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_memory_usage.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_memory_usage.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_memory_usage.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_memory_usage.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_network_traffic.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_network_traffic.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_network_traffic.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_network_traffic.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_overview.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_overview.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/metrics/models/pod/pod_overview.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/metrics/models/pod/pod_overview.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/source_status/elasticsearch_source_status_adapter.ts diff --git a/x-pack/plugins/infra/server/lib/adapters/source_status/index.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/source_status/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/adapters/source_status/index.ts rename to x-pack/legacy/plugins/infra/server/lib/adapters/source_status/index.ts diff --git a/x-pack/plugins/infra/server/lib/compose/kibana.ts b/x-pack/legacy/plugins/infra/server/lib/compose/kibana.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/compose/kibana.ts rename to x-pack/legacy/plugins/infra/server/lib/compose/kibana.ts diff --git a/x-pack/plugins/infra/server/lib/constants.ts b/x-pack/legacy/plugins/infra/server/lib/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/constants.ts rename to x-pack/legacy/plugins/infra/server/lib/constants.ts diff --git a/x-pack/plugins/infra/server/lib/domains/fields_domain.ts b/x-pack/legacy/plugins/infra/server/lib/domains/fields_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/fields_domain.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/fields_domain.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_apache2.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_auditd.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_haproxy.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_icinga.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_iis.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_kafka.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_kafka.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_kafka.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_kafka.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_logstash.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mongodb.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_mysql.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_nginx.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_osquery.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_redis.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_redis.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_redis.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_redis.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_system.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_system.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_system.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_system.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/filebeat_traefik.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic_webserver.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic_webserver.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic_webserver.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/generic_webserver.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/helpers.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/helpers.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/helpers.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/helpers.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/index.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/index.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/builtin_rules/index.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.test.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.test.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.test.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/index.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/index.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/index.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/log_entries_domain.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/log_entries_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/log_entries_domain.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/log_entries_domain.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/message.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/message.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/message.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/message.ts diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/rule_types.ts b/x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/rule_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/log_entries_domain/rule_types.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/log_entries_domain/rule_types.ts diff --git a/x-pack/plugins/infra/server/lib/domains/metadata_domain/index.ts b/x-pack/legacy/plugins/infra/server/lib/domains/metadata_domain/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/metadata_domain/index.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/metadata_domain/index.ts diff --git a/x-pack/plugins/infra/server/lib/domains/metadata_domain/metadata_domain.ts b/x-pack/legacy/plugins/infra/server/lib/domains/metadata_domain/metadata_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/metadata_domain/metadata_domain.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/metadata_domain/metadata_domain.ts diff --git a/x-pack/plugins/infra/server/lib/domains/metrics_domain.ts b/x-pack/legacy/plugins/infra/server/lib/domains/metrics_domain.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/domains/metrics_domain.ts rename to x-pack/legacy/plugins/infra/server/lib/domains/metrics_domain.ts diff --git a/x-pack/plugins/infra/server/lib/infra_types.ts b/x-pack/legacy/plugins/infra/server/lib/infra_types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/infra_types.ts rename to x-pack/legacy/plugins/infra/server/lib/infra_types.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/constants.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/constants.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/constants.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/constants.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/index.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/index.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/index.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/count.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/count.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/count.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/count.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/cpu.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/cpu.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/cpu.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/cpu.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/index.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/index.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/index.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/load.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/load.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/load.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/load.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/log_rate.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/log_rate.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/log_rate.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/log_rate.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/memory.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/memory.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/memory.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/memory.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rate.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rate.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rate.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rate.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rx.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rx.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rx.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/rx.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/tx.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/tx.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/metric_aggregation_creators/tx.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/metric_aggregation_creators/tx.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/query_helpers.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/query_helpers.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/query_helpers.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/query_helpers.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/response_helpers.test.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/response_helpers.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/response_helpers.test.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/response_helpers.test.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/response_helpers.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/response_helpers.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/response_helpers.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/response_helpers.ts diff --git a/x-pack/plugins/infra/server/lib/snapshot/snapshot.ts b/x-pack/legacy/plugins/infra/server/lib/snapshot/snapshot.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/snapshot/snapshot.ts rename to x-pack/legacy/plugins/infra/server/lib/snapshot/snapshot.ts diff --git a/x-pack/plugins/infra/server/lib/source_status.ts b/x-pack/legacy/plugins/infra/server/lib/source_status.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/source_status.ts rename to x-pack/legacy/plugins/infra/server/lib/source_status.ts diff --git a/x-pack/plugins/infra/server/lib/sources/defaults.ts b/x-pack/legacy/plugins/infra/server/lib/sources/defaults.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/defaults.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/defaults.ts diff --git a/x-pack/plugins/infra/server/lib/sources/errors.ts b/x-pack/legacy/plugins/infra/server/lib/sources/errors.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/errors.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/errors.ts diff --git a/x-pack/plugins/infra/server/lib/sources/index.ts b/x-pack/legacy/plugins/infra/server/lib/sources/index.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/index.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/index.ts diff --git a/x-pack/plugins/infra/server/lib/sources/saved_object_mappings.ts b/x-pack/legacy/plugins/infra/server/lib/sources/saved_object_mappings.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/saved_object_mappings.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/saved_object_mappings.ts diff --git a/x-pack/plugins/infra/server/lib/sources/sources.test.ts b/x-pack/legacy/plugins/infra/server/lib/sources/sources.test.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/sources.test.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/sources.test.ts diff --git a/x-pack/plugins/infra/server/lib/sources/sources.ts b/x-pack/legacy/plugins/infra/server/lib/sources/sources.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/sources.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/sources.ts diff --git a/x-pack/plugins/infra/server/lib/sources/types.ts b/x-pack/legacy/plugins/infra/server/lib/sources/types.ts similarity index 100% rename from x-pack/plugins/infra/server/lib/sources/types.ts rename to x-pack/legacy/plugins/infra/server/lib/sources/types.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/adjacent_search_results.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/adjacent_search_results.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/adjacent_search_results.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/adjacent_search_results.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/contained_search_results.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/contained_search_results.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/contained_search_results.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/contained_search_results.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/converters.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/converters.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/converters.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/converters.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/elasticsearch.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/elasticsearch.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/elasticsearch.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/elasticsearch.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/index.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/index.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/index.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/index.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/latest_log_entries.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/latest_log_entries.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/latest_log_entries.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/latest_log_entries.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/schemas.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/schemas.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/schemas.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/schemas.ts diff --git a/x-pack/plugins/infra/server/logging_legacy/search_summary.ts b/x-pack/legacy/plugins/infra/server/logging_legacy/search_summary.ts similarity index 100% rename from x-pack/plugins/infra/server/logging_legacy/search_summary.ts rename to x-pack/legacy/plugins/infra/server/logging_legacy/search_summary.ts diff --git a/x-pack/plugins/infra/server/routes/ip_to_hostname.ts b/x-pack/legacy/plugins/infra/server/routes/ip_to_hostname.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/ip_to_hostname.ts rename to x-pack/legacy/plugins/infra/server/routes/ip_to_hostname.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/index.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/index.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/index.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/index.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/create_metrics_model.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/create_metrics_model.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/create_metrics_model.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/create_metrics_model.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/get_groupings.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/get_groupings.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/get_groupings.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/get_groupings.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/lib/populate_series_with_tsvb_data.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/populate_series_with_tsvb_data.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/lib/populate_series_with_tsvb_data.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/lib/populate_series_with_tsvb_data.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/schema.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/schema.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/schema.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/schema.ts diff --git a/x-pack/plugins/infra/server/routes/metrics_explorer/types.ts b/x-pack/legacy/plugins/infra/server/routes/metrics_explorer/types.ts similarity index 100% rename from x-pack/plugins/infra/server/routes/metrics_explorer/types.ts rename to x-pack/legacy/plugins/infra/server/routes/metrics_explorer/types.ts diff --git a/x-pack/plugins/infra/server/saved_objects.ts b/x-pack/legacy/plugins/infra/server/saved_objects.ts similarity index 100% rename from x-pack/plugins/infra/server/saved_objects.ts rename to x-pack/legacy/plugins/infra/server/saved_objects.ts diff --git a/x-pack/plugins/infra/server/usage/usage_collector.ts b/x-pack/legacy/plugins/infra/server/usage/usage_collector.ts similarity index 100% rename from x-pack/plugins/infra/server/usage/usage_collector.ts rename to x-pack/legacy/plugins/infra/server/usage/usage_collector.ts diff --git a/x-pack/plugins/infra/server/utils/README.md b/x-pack/legacy/plugins/infra/server/utils/README.md similarity index 100% rename from x-pack/plugins/infra/server/utils/README.md rename to x-pack/legacy/plugins/infra/server/utils/README.md diff --git a/x-pack/plugins/infra/server/utils/get_interval_in_seconds.ts b/x-pack/legacy/plugins/infra/server/utils/get_interval_in_seconds.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/get_interval_in_seconds.ts rename to x-pack/legacy/plugins/infra/server/utils/get_interval_in_seconds.ts diff --git a/x-pack/plugins/infra/server/utils/serialized_query.ts b/x-pack/legacy/plugins/infra/server/utils/serialized_query.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/serialized_query.ts rename to x-pack/legacy/plugins/infra/server/utils/serialized_query.ts diff --git a/x-pack/plugins/infra/server/utils/typed_elasticsearch_mappings.ts b/x-pack/legacy/plugins/infra/server/utils/typed_elasticsearch_mappings.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/typed_elasticsearch_mappings.ts rename to x-pack/legacy/plugins/infra/server/utils/typed_elasticsearch_mappings.ts diff --git a/x-pack/plugins/infra/server/utils/typed_resolvers.ts b/x-pack/legacy/plugins/infra/server/utils/typed_resolvers.ts similarity index 100% rename from x-pack/plugins/infra/server/utils/typed_resolvers.ts rename to x-pack/legacy/plugins/infra/server/utils/typed_resolvers.ts diff --git a/x-pack/legacy/plugins/infra/tsconfig.json b/x-pack/legacy/plugins/infra/tsconfig.json new file mode 100644 index 0000000000000..0a26f297882e4 --- /dev/null +++ b/x-pack/legacy/plugins/infra/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.json", +} \ No newline at end of file diff --git a/x-pack/plugins/infra/types/eui.d.ts b/x-pack/legacy/plugins/infra/types/eui.d.ts similarity index 100% rename from x-pack/plugins/infra/types/eui.d.ts rename to x-pack/legacy/plugins/infra/types/eui.d.ts diff --git a/x-pack/plugins/infra/types/eui_experimental.d.ts b/x-pack/legacy/plugins/infra/types/eui_experimental.d.ts similarity index 100% rename from x-pack/plugins/infra/types/eui_experimental.d.ts rename to x-pack/legacy/plugins/infra/types/eui_experimental.d.ts diff --git a/x-pack/plugins/infra/types/graphql_fields.d.ts b/x-pack/legacy/plugins/infra/types/graphql_fields.d.ts similarity index 100% rename from x-pack/plugins/infra/types/graphql_fields.d.ts rename to x-pack/legacy/plugins/infra/types/graphql_fields.d.ts diff --git a/x-pack/plugins/infra/types/redux_observable.d.ts b/x-pack/legacy/plugins/infra/types/redux_observable.d.ts similarity index 100% rename from x-pack/plugins/infra/types/redux_observable.d.ts rename to x-pack/legacy/plugins/infra/types/redux_observable.d.ts diff --git a/x-pack/plugins/infra/types/rison_node.d.ts b/x-pack/legacy/plugins/infra/types/rison_node.d.ts similarity index 100% rename from x-pack/plugins/infra/types/rison_node.d.ts rename to x-pack/legacy/plugins/infra/types/rison_node.d.ts diff --git a/x-pack/plugins/kuery_autocomplete/index.js b/x-pack/legacy/plugins/kuery_autocomplete/index.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/index.js rename to x-pack/legacy/plugins/kuery_autocomplete/index.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__fixtures__/index_pattern_response.json b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__fixtures__/index_pattern_response.json similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__fixtures__/index_pattern_response.json rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__fixtures__/index_pattern_response.json diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/conjunction.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/conjunction.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/conjunction.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/conjunction.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/escape_kuery.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/escape_kuery.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/escape_kuery.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/escape_kuery.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/field.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/field.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/field.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/field.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/operator.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/operator.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/operator.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/operator.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/value.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/value.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/value.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/__tests__/value.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/conjunction.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/conjunction.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/conjunction.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/conjunction.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/escape_kuery.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/escape_kuery.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/escape_kuery.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/escape_kuery.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/field.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/field.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/field.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/field.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/index.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/index.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/index.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/index.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/operator.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/operator.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/operator.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/operator.js diff --git a/x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/value.js b/x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/value.js similarity index 100% rename from x-pack/plugins/kuery_autocomplete/public/autocomplete_providers/value.js rename to x-pack/legacy/plugins/kuery_autocomplete/public/autocomplete_providers/value.js diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__jest__/__snapshots__/add_license.test.js.snap diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap b/x-pack/legacy/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap similarity index 100% rename from x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap rename to x-pack/legacy/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/request_trial_extension.test.js.snap b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/license_management/__jest__/__snapshots__/start_trial.test.js.snap diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/telemetry_opt_in.test.js.snap b/x-pack/legacy/plugins/license_management/__jest__/__snapshots__/telemetry_opt_in.test.js.snap similarity index 100% rename from x-pack/plugins/license_management/__jest__/__snapshots__/telemetry_opt_in.test.js.snap rename to x-pack/legacy/plugins/license_management/__jest__/__snapshots__/telemetry_opt_in.test.js.snap diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap b/x-pack/legacy/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap similarity index 100% rename from x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap rename to x-pack/legacy/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap diff --git a/x-pack/plugins/license_management/__jest__/add_license.test.js b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__jest__/add_license.test.js diff --git a/x-pack/plugins/license_management/__jest__/api_responses/index.js b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__jest__/api_responses/index.js diff --git a/x-pack/plugins/license_management/__jest__/api_responses/upload_license.js b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__jest__/api_responses/upload_license.js diff --git a/x-pack/plugins/license_management/__jest__/license_status.test.js b/x-pack/legacy/plugins/license_management/__jest__/license_status.test.js similarity index 100% rename from x-pack/plugins/license_management/__jest__/license_status.test.js rename to x-pack/legacy/plugins/license_management/__jest__/license_status.test.js diff --git a/x-pack/plugins/license_management/__jest__/request_trial_extension.test.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/license_management/__jest__/revert_to_basic.test.js diff --git a/x-pack/plugins/license_management/__jest__/start_trial.test.js b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__jest__/start_trial.test.js diff --git a/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js b/x-pack/legacy/plugins/license_management/__jest__/telemetry_opt_in.test.js similarity index 93% rename from x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js rename to x-pack/legacy/plugins/license_management/__jest__/telemetry_opt_in.test.js index e4e0bfb967857..4e94657e03dee 100644 --- a/x-pack/plugins/license_management/__jest__/telemetry_opt_in.test.js +++ b/x-pack/legacy/plugins/license_management/__jest__/telemetry_opt_in.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; import { TelemetryOptIn } from '../public/components/telemetry_opt_in'; -import { mountWithIntl } from '../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; jest.mock('ui/capabilities', () => ({ get: jest.fn(), diff --git a/x-pack/plugins/license_management/__jest__/upload_license.test.js b/x-pack/legacy/plugins/license_management/__jest__/upload_license.test.js similarity index 98% rename from x-pack/plugins/license_management/__jest__/upload_license.test.js rename to x-pack/legacy/plugins/license_management/__jest__/upload_license.test.js index 9df68f10b2dd3..04da56b7ee82b 100644 --- a/x-pack/plugins/license_management/__jest__/upload_license.test.js +++ b/x-pack/legacy/plugins/license_management/__jest__/upload_license.test.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { mountWithIntl } from '../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; import React from 'react'; import { Provider } from 'react-redux'; import { uploadLicense } from '../public/store/actions/upload_license'; diff --git a/x-pack/plugins/license_management/__jest__/util/index.js b/x-pack/legacy/plugins/license_management/__jest__/util/index.js similarity index 100% rename from x-pack/plugins/license_management/__jest__/util/index.js rename to x-pack/legacy/plugins/license_management/__jest__/util/index.js diff --git a/x-pack/plugins/license_management/__jest__/util/util.js b/x-pack/legacy/plugins/license_management/__jest__/util/util.js similarity index 92% rename from x-pack/plugins/license_management/__jest__/util/util.js rename to x-pack/legacy/plugins/license_management/__jest__/util/util.js index f8aa87a8f3d9e..537c8d2856079 100644 --- a/x-pack/plugins/license_management/__jest__/util/util.js +++ b/x-pack/legacy/plugins/license_management/__jest__/util/util.js @@ -7,7 +7,7 @@ import { Provider } from 'react-redux'; import { licenseManagementStore } from '../../public/store/store'; import React from 'react'; -import { mountWithIntl } from '../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../test_utils/enzyme_helpers'; const highExpirationMillis = new Date('October 13, 2099 00:00:00Z').getTime(); diff --git a/x-pack/plugins/license_management/__mocks__/focus-trap-react.js b/x-pack/legacy/plugins/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/legacy/plugins/license_management/__mocks__/focus-trap-react.js diff --git a/x-pack/plugins/license_management/common/constants/base_path.js b/x-pack/legacy/plugins/license_management/common/constants/base_path.js similarity index 100% rename from x-pack/plugins/license_management/common/constants/base_path.js rename to x-pack/legacy/plugins/license_management/common/constants/base_path.js diff --git a/x-pack/plugins/license_management/common/constants/external_links.js b/x-pack/legacy/plugins/license_management/common/constants/external_links.js similarity index 100% rename from x-pack/plugins/license_management/common/constants/external_links.js rename to x-pack/legacy/plugins/license_management/common/constants/external_links.js diff --git a/x-pack/plugins/license_management/common/constants/index.js b/x-pack/legacy/plugins/license_management/common/constants/index.js similarity index 100% rename from x-pack/plugins/license_management/common/constants/index.js rename to x-pack/legacy/plugins/license_management/common/constants/index.js diff --git a/x-pack/plugins/license_management/common/constants/permissions.js b/x-pack/legacy/plugins/license_management/common/constants/permissions.js similarity index 100% rename from x-pack/plugins/license_management/common/constants/permissions.js rename to x-pack/legacy/plugins/license_management/common/constants/permissions.js diff --git a/x-pack/plugins/license_management/common/constants/plugin.js b/x-pack/legacy/plugins/license_management/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/license_management/common/constants/plugin.js rename to x-pack/legacy/plugins/license_management/common/constants/plugin.js diff --git a/x-pack/plugins/license_management/index.js b/x-pack/legacy/plugins/license_management/index.js similarity index 100% rename from x-pack/plugins/license_management/index.js rename to x-pack/legacy/plugins/license_management/index.js diff --git a/x-pack/plugins/license_management/public/_license_management.scss b/x-pack/legacy/plugins/license_management/public/_license_management.scss similarity index 100% rename from x-pack/plugins/license_management/public/_license_management.scss rename to x-pack/legacy/plugins/license_management/public/_license_management.scss diff --git a/x-pack/plugins/license_management/public/app.container.js b/x-pack/legacy/plugins/license_management/public/app.container.js similarity index 100% rename from x-pack/plugins/license_management/public/app.container.js rename to x-pack/legacy/plugins/license_management/public/app.container.js diff --git a/x-pack/plugins/license_management/public/app.js b/x-pack/legacy/plugins/license_management/public/app.js similarity index 100% rename from x-pack/plugins/license_management/public/app.js rename to x-pack/legacy/plugins/license_management/public/app.js diff --git a/x-pack/plugins/license_management/public/breadcrumbs.js b/x-pack/legacy/plugins/license_management/public/breadcrumbs.js similarity index 100% rename from x-pack/plugins/license_management/public/breadcrumbs.js rename to x-pack/legacy/plugins/license_management/public/breadcrumbs.js diff --git a/x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js b/x-pack/legacy/plugins/license_management/public/components/telemetry_opt_in/index.js similarity index 100% rename from x-pack/plugins/license_management/public/components/telemetry_opt_in/index.js rename to x-pack/legacy/plugins/license_management/public/components/telemetry_opt_in/index.js diff --git a/x-pack/plugins/license_management/public/components/telemetry_opt_in/telemetry_opt_in.js b/x-pack/legacy/plugins/license_management/public/components/telemetry_opt_in/telemetry_opt_in.js similarity index 100% rename from x-pack/plugins/license_management/public/components/telemetry_opt_in/telemetry_opt_in.js rename to x-pack/legacy/plugins/license_management/public/components/telemetry_opt_in/telemetry_opt_in.js diff --git a/x-pack/plugins/license_management/public/index.js b/x-pack/legacy/plugins/license_management/public/index.js similarity index 100% rename from x-pack/plugins/license_management/public/index.js rename to x-pack/legacy/plugins/license_management/public/index.js diff --git a/x-pack/plugins/license_management/public/index.scss b/x-pack/legacy/plugins/license_management/public/index.scss similarity index 100% rename from x-pack/plugins/license_management/public/index.scss rename to x-pack/legacy/plugins/license_management/public/index.scss diff --git a/x-pack/plugins/license_management/public/lib/es.js b/x-pack/legacy/plugins/license_management/public/lib/es.js similarity index 100% rename from x-pack/plugins/license_management/public/lib/es.js rename to x-pack/legacy/plugins/license_management/public/lib/es.js diff --git a/x-pack/plugins/license_management/public/lib/telemetry.js b/x-pack/legacy/plugins/license_management/public/lib/telemetry.js similarity index 100% rename from x-pack/plugins/license_management/public/lib/telemetry.js rename to x-pack/legacy/plugins/license_management/public/lib/telemetry.js diff --git a/x-pack/plugins/license_management/public/main.html b/x-pack/legacy/plugins/license_management/public/main.html similarity index 100% rename from x-pack/plugins/license_management/public/main.html rename to x-pack/legacy/plugins/license_management/public/main.html diff --git a/x-pack/plugins/license_management/public/management_section.js b/x-pack/legacy/plugins/license_management/public/management_section.js similarity index 100% rename from x-pack/plugins/license_management/public/management_section.js rename to x-pack/legacy/plugins/license_management/public/management_section.js diff --git a/x-pack/plugins/license_management/public/register_route.js b/x-pack/legacy/plugins/license_management/public/register_route.js similarity index 100% rename from x-pack/plugins/license_management/public/register_route.js rename to x-pack/legacy/plugins/license_management/public/register_route.js diff --git a/x-pack/plugins/license_management/public/sections/index.js b/x-pack/legacy/plugins/license_management/public/sections/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/index.js rename to x-pack/legacy/plugins/license_management/public/sections/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/add_license/add_license.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/add_license/add_license.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/add_license/add_license.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/add_license/add_license.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/add_license/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/add_license/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/add_license/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/add_license/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/license_dashboard.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_dashboard.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/license_dashboard.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_dashboard.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/license_status/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/license_status/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/license_status/license_status.container.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/license_status.container.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/license_status/license_status.container.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/license_status.container.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/license_status/license_status.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/license_status.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/license_status/license_status.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/license_status/license_status.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.container.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/request_trial_extension/request_trial_extension.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.container.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/revert_to_basic/revert_to_basic.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/index.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/index.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.container.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.container.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.container.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.container.js diff --git a/x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.js b/x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.js rename to x-pack/legacy/plugins/license_management/public/sections/license_dashboard/start_trial/start_trial.js diff --git a/x-pack/plugins/license_management/public/sections/upload_license/index.js b/x-pack/legacy/plugins/license_management/public/sections/upload_license/index.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/upload_license/index.js rename to x-pack/legacy/plugins/license_management/public/sections/upload_license/index.js diff --git a/x-pack/plugins/license_management/public/sections/upload_license/upload_license.container.js b/x-pack/legacy/plugins/license_management/public/sections/upload_license/upload_license.container.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/upload_license/upload_license.container.js rename to x-pack/legacy/plugins/license_management/public/sections/upload_license/upload_license.container.js diff --git a/x-pack/plugins/license_management/public/sections/upload_license/upload_license.js b/x-pack/legacy/plugins/license_management/public/sections/upload_license/upload_license.js similarity index 100% rename from x-pack/plugins/license_management/public/sections/upload_license/upload_license.js rename to x-pack/legacy/plugins/license_management/public/sections/upload_license/upload_license.js diff --git a/x-pack/plugins/license_management/public/store/actions/add_error_message.js b/x-pack/legacy/plugins/license_management/public/store/actions/add_error_message.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/add_error_message.js rename to x-pack/legacy/plugins/license_management/public/store/actions/add_error_message.js diff --git a/x-pack/plugins/license_management/public/store/actions/add_license.js b/x-pack/legacy/plugins/license_management/public/store/actions/add_license.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/add_license.js rename to x-pack/legacy/plugins/license_management/public/store/actions/add_license.js diff --git a/x-pack/plugins/license_management/public/store/actions/index.js b/x-pack/legacy/plugins/license_management/public/store/actions/index.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/index.js rename to x-pack/legacy/plugins/license_management/public/store/actions/index.js diff --git a/x-pack/plugins/license_management/public/store/actions/permissions.js b/x-pack/legacy/plugins/license_management/public/store/actions/permissions.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/permissions.js rename to x-pack/legacy/plugins/license_management/public/store/actions/permissions.js diff --git a/x-pack/plugins/license_management/public/store/actions/start_basic.js b/x-pack/legacy/plugins/license_management/public/store/actions/start_basic.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/start_basic.js rename to x-pack/legacy/plugins/license_management/public/store/actions/start_basic.js diff --git a/x-pack/plugins/license_management/public/store/actions/start_trial.js b/x-pack/legacy/plugins/license_management/public/store/actions/start_trial.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/start_trial.js rename to x-pack/legacy/plugins/license_management/public/store/actions/start_trial.js diff --git a/x-pack/plugins/license_management/public/store/actions/upload_license.js b/x-pack/legacy/plugins/license_management/public/store/actions/upload_license.js similarity index 100% rename from x-pack/plugins/license_management/public/store/actions/upload_license.js rename to x-pack/legacy/plugins/license_management/public/store/actions/upload_license.js diff --git a/x-pack/plugins/license_management/public/store/index.js b/x-pack/legacy/plugins/license_management/public/store/index.js similarity index 100% rename from x-pack/plugins/license_management/public/store/index.js rename to x-pack/legacy/plugins/license_management/public/store/index.js diff --git a/x-pack/plugins/license_management/public/store/reducers/index.js b/x-pack/legacy/plugins/license_management/public/store/reducers/index.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/index.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/index.js diff --git a/x-pack/plugins/license_management/public/store/reducers/license.js b/x-pack/legacy/plugins/license_management/public/store/reducers/license.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/license.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/license.js diff --git a/x-pack/plugins/license_management/public/store/reducers/licenseManagement.js b/x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/licenseManagement.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/licenseManagement.js diff --git a/x-pack/plugins/license_management/public/store/reducers/permissions.js b/x-pack/legacy/plugins/license_management/public/store/reducers/permissions.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/permissions.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/permissions.js diff --git a/x-pack/plugins/license_management/public/store/reducers/start_basic_license_status.js b/x-pack/legacy/plugins/license_management/public/store/reducers/start_basic_license_status.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/start_basic_license_status.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/start_basic_license_status.js diff --git a/x-pack/plugins/license_management/public/store/reducers/trial_status.js b/x-pack/legacy/plugins/license_management/public/store/reducers/trial_status.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/trial_status.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/trial_status.js diff --git a/x-pack/plugins/license_management/public/store/reducers/upload_error_message.js b/x-pack/legacy/plugins/license_management/public/store/reducers/upload_error_message.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/upload_error_message.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/upload_error_message.js diff --git a/x-pack/plugins/license_management/public/store/reducers/upload_status.js b/x-pack/legacy/plugins/license_management/public/store/reducers/upload_status.js similarity index 100% rename from x-pack/plugins/license_management/public/store/reducers/upload_status.js rename to x-pack/legacy/plugins/license_management/public/store/reducers/upload_status.js diff --git a/x-pack/plugins/license_management/public/store/store.js b/x-pack/legacy/plugins/license_management/public/store/store.js similarity index 100% rename from x-pack/plugins/license_management/public/store/store.js rename to x-pack/legacy/plugins/license_management/public/store/store.js diff --git a/x-pack/plugins/license_management/server/lib/license.js b/x-pack/legacy/plugins/license_management/server/lib/license.js similarity index 100% rename from x-pack/plugins/license_management/server/lib/license.js rename to x-pack/legacy/plugins/license_management/server/lib/license.js diff --git a/x-pack/plugins/license_management/server/lib/permissions.js b/x-pack/legacy/plugins/license_management/server/lib/permissions.js similarity index 100% rename from x-pack/plugins/license_management/server/lib/permissions.js rename to x-pack/legacy/plugins/license_management/server/lib/permissions.js diff --git a/x-pack/plugins/license_management/server/lib/start_basic.js b/x-pack/legacy/plugins/license_management/server/lib/start_basic.js similarity index 100% rename from x-pack/plugins/license_management/server/lib/start_basic.js rename to x-pack/legacy/plugins/license_management/server/lib/start_basic.js diff --git a/x-pack/plugins/license_management/server/lib/start_trial.js b/x-pack/legacy/plugins/license_management/server/lib/start_trial.js similarity index 100% rename from x-pack/plugins/license_management/server/lib/start_trial.js rename to x-pack/legacy/plugins/license_management/server/lib/start_trial.js diff --git a/x-pack/plugins/license_management/server/routes/api/license/index.js b/x-pack/legacy/plugins/license_management/server/routes/api/license/index.js similarity index 100% rename from x-pack/plugins/license_management/server/routes/api/license/index.js rename to x-pack/legacy/plugins/license_management/server/routes/api/license/index.js diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_license_route.js b/x-pack/legacy/plugins/license_management/server/routes/api/license/register_license_route.js similarity index 100% rename from x-pack/plugins/license_management/server/routes/api/license/register_license_route.js rename to x-pack/legacy/plugins/license_management/server/routes/api/license/register_license_route.js diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.js b/x-pack/legacy/plugins/license_management/server/routes/api/license/register_permissions_route.js similarity index 100% rename from x-pack/plugins/license_management/server/routes/api/license/register_permissions_route.js rename to x-pack/legacy/plugins/license_management/server/routes/api/license/register_permissions_route.js diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.js b/x-pack/legacy/plugins/license_management/server/routes/api/license/register_start_basic_route.js similarity index 100% rename from x-pack/plugins/license_management/server/routes/api/license/register_start_basic_route.js rename to x-pack/legacy/plugins/license_management/server/routes/api/license/register_start_basic_route.js diff --git a/x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.js b/x-pack/legacy/plugins/license_management/server/routes/api/license/register_start_trial_routes.js similarity index 100% rename from x-pack/plugins/license_management/server/routes/api/license/register_start_trial_routes.js rename to x-pack/legacy/plugins/license_management/server/routes/api/license/register_start_trial_routes.js diff --git a/x-pack/plugins/logstash/README.md b/x-pack/legacy/plugins/logstash/README.md similarity index 100% rename from x-pack/plugins/logstash/README.md rename to x-pack/legacy/plugins/logstash/README.md diff --git a/x-pack/plugins/logstash/common/constants/es_scroll_settings.js b/x-pack/legacy/plugins/logstash/common/constants/es_scroll_settings.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/es_scroll_settings.js rename to x-pack/legacy/plugins/logstash/common/constants/es_scroll_settings.js diff --git a/x-pack/plugins/logstash/common/constants/index.js b/x-pack/legacy/plugins/logstash/common/constants/index.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/index.js rename to x-pack/legacy/plugins/logstash/common/constants/index.js diff --git a/x-pack/plugins/logstash/common/constants/index_names.js b/x-pack/legacy/plugins/logstash/common/constants/index_names.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/index_names.js rename to x-pack/legacy/plugins/logstash/common/constants/index_names.js diff --git a/x-pack/plugins/logstash/common/constants/monitoring.js b/x-pack/legacy/plugins/logstash/common/constants/monitoring.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/monitoring.js rename to x-pack/legacy/plugins/logstash/common/constants/monitoring.js diff --git a/x-pack/plugins/logstash/common/constants/pagination.js b/x-pack/legacy/plugins/logstash/common/constants/pagination.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/pagination.js rename to x-pack/legacy/plugins/logstash/common/constants/pagination.js diff --git a/x-pack/plugins/logstash/common/constants/pipeline.js b/x-pack/legacy/plugins/logstash/common/constants/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/pipeline.js rename to x-pack/legacy/plugins/logstash/common/constants/pipeline.js diff --git a/x-pack/plugins/logstash/common/constants/plugin.js b/x-pack/legacy/plugins/logstash/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/plugin.js rename to x-pack/legacy/plugins/logstash/common/constants/plugin.js diff --git a/x-pack/plugins/logstash/common/constants/routes.js b/x-pack/legacy/plugins/logstash/common/constants/routes.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/routes.js rename to x-pack/legacy/plugins/logstash/common/constants/routes.js diff --git a/x-pack/plugins/logstash/common/constants/tooltips.js b/x-pack/legacy/plugins/logstash/common/constants/tooltips.js similarity index 100% rename from x-pack/plugins/logstash/common/constants/tooltips.js rename to x-pack/legacy/plugins/logstash/common/constants/tooltips.js diff --git a/x-pack/plugins/logstash/common/lib/__tests__/get_moment.js b/x-pack/legacy/plugins/logstash/common/lib/__tests__/get_moment.js similarity index 100% rename from x-pack/plugins/logstash/common/lib/__tests__/get_moment.js rename to x-pack/legacy/plugins/logstash/common/lib/__tests__/get_moment.js diff --git a/x-pack/plugins/logstash/common/lib/get_moment.js b/x-pack/legacy/plugins/logstash/common/lib/get_moment.js similarity index 100% rename from x-pack/plugins/logstash/common/lib/get_moment.js rename to x-pack/legacy/plugins/logstash/common/lib/get_moment.js diff --git a/x-pack/plugins/logstash/common/lib/index.js b/x-pack/legacy/plugins/logstash/common/lib/index.js similarity index 100% rename from x-pack/plugins/logstash/common/lib/index.js rename to x-pack/legacy/plugins/logstash/common/lib/index.js diff --git a/x-pack/plugins/logstash/index.js b/x-pack/legacy/plugins/logstash/index.js similarity index 100% rename from x-pack/plugins/logstash/index.js rename to x-pack/legacy/plugins/logstash/index.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/confirm_delete_pipeline_modal.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/constants.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/constants.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/constants.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/flex_item_setting.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/flex_item_setting.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/flex_item_setting.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/flex_item_setting.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/flex_item_setting.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/flex_item_setting.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/flex_item_setting.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/flex_item_setting.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/form_label_with_icon_tip.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/index.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/index.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/index.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/index.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/pipeline_editor.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/pipeline_editor.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/pipeline_editor.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/pipeline_editor.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_editor/pipeline_editor.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_editor/pipeline_editor.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_editor/pipeline_editor.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_editor/pipeline_editor.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/info_alerts.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/info_alerts.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/info_alerts.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/info_alerts.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/add_role_alert.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/add_role_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/add_role_alert.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/add_role_alert.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/add_role_alert.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/add_role_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/add_role_alert.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/add_role_alert.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/alert_call_out.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/alert_call_out.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/alert_call_out.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/alert_call_out.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/alert_call_out.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/alert_call_out.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/alert_call_out.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/alert_call_out.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/confirm_delete_modal.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/constants.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/constants.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/constants.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/enable_monitoring_alert.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/index.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/index.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/index.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/index.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/info_alerts.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/info_alerts.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/info_alerts.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/info_alerts.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/info_alerts.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/info_alerts.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/info_alerts.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/info_alerts.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/pipeline_list.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipeline_list.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/pipeline_list.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipeline_list.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/pipeline_list.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipeline_list.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/pipeline_list.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipeline_list.test.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/pipelines_table.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipelines_table.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/pipelines_table.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipelines_table.js diff --git a/x-pack/plugins/logstash/public/components/pipeline_list/pipelines_table.test.js b/x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipelines_table.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/pipeline_list/pipelines_table.test.js rename to x-pack/legacy/plugins/logstash/public/components/pipeline_list/pipelines_table.test.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_actions.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_actions.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_actions.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_actions.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/__snapshots__/upgrade_failure_title.test.js.snap diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/constants.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/constants.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/constants.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/index.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/index.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/index.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/index.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure.test.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure.test.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure.test.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.test.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.test.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_actions.test.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.js diff --git a/x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.test.js b/x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.test.js similarity index 100% rename from x-pack/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.test.js rename to x-pack/legacy/plugins/logstash/public/components/upgrade_failure/upgrade_failure_title.test.js diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js b/x-pack/legacy/plugins/logstash/public/lib/get_search_value/get_search_value.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js rename to x-pack/legacy/plugins/logstash/public/lib/get_search_value/get_search_value.js diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/index.js b/x-pack/legacy/plugins/logstash/public/lib/get_search_value/index.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/index.js rename to x-pack/legacy/plugins/logstash/public/lib/get_search_value/index.js diff --git a/x-pack/plugins/logstash/public/lib/register_home_feature/index.js b/x-pack/legacy/plugins/logstash/public/lib/register_home_feature/index.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/register_home_feature/index.js rename to x-pack/legacy/plugins/logstash/public/lib/register_home_feature/index.js diff --git a/x-pack/plugins/logstash/public/lib/register_home_feature/register_home_feature.js b/x-pack/legacy/plugins/logstash/public/lib/register_home_feature/register_home_feature.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/register_home_feature/register_home_feature.js rename to x-pack/legacy/plugins/logstash/public/lib/register_home_feature/register_home_feature.js diff --git a/x-pack/plugins/logstash/public/lib/update_management_sections/index.js b/x-pack/legacy/plugins/logstash/public/lib/update_management_sections/index.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/update_management_sections/index.js rename to x-pack/legacy/plugins/logstash/public/lib/update_management_sections/index.js diff --git a/x-pack/plugins/logstash/public/lib/update_management_sections/update_logstash_sections.js b/x-pack/legacy/plugins/logstash/public/lib/update_management_sections/update_logstash_sections.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/update_management_sections/update_logstash_sections.js rename to x-pack/legacy/plugins/logstash/public/lib/update_management_sections/update_logstash_sections.js diff --git a/x-pack/plugins/logstash/public/models/cluster/cluster.js b/x-pack/legacy/plugins/logstash/public/models/cluster/cluster.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/cluster.js rename to x-pack/legacy/plugins/logstash/public/models/cluster/cluster.js diff --git a/x-pack/plugins/logstash/public/models/cluster/index.js b/x-pack/legacy/plugins/logstash/public/models/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/index.js rename to x-pack/legacy/plugins/logstash/public/models/cluster/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/index.js b/x-pack/legacy/plugins/logstash/public/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/index.js rename to x-pack/legacy/plugins/logstash/public/models/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/pipeline.js b/x-pack/legacy/plugins/logstash/public/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/pipeline.js rename to x-pack/legacy/plugins/logstash/public/models/pipeline/pipeline.js diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/index.js b/x-pack/legacy/plugins/logstash/public/models/pipeline_list_item/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/index.js rename to x-pack/legacy/plugins/logstash/public/models/pipeline_list_item/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js b/x-pack/legacy/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js rename to x-pack/legacy/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js diff --git a/x-pack/plugins/logstash/public/sections/breadcrumbs.js b/x-pack/legacy/plugins/logstash/public/sections/breadcrumbs.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/breadcrumbs.js rename to x-pack/legacy/plugins/logstash/public/sections/breadcrumbs.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/index.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/index.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/index.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/index.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/pipeline_edit.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/pipeline_edit.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/pipeline_edit.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/pipeline_edit/pipeline_edit.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/index.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/index.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/index.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/index.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/upgrade_failure.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/upgrade_failure.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/upgrade_failure.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/components/upgrade_failure/upgrade_failure.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/index.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/index.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/index.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/index.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.html b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.html similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.html rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.html diff --git a/x-pack/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_edit/pipeline_edit_route.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/index.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/index.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/index.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/index.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/pipeline_list.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/pipeline_list.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/pipeline_list.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/components/pipeline_list/pipeline_list.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/index.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/index.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/index.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/index.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.html b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.html similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.html rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.html diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/pipeline_list_route.js diff --git a/x-pack/plugins/logstash/public/sections/pipeline_list/register_management_section.js b/x-pack/legacy/plugins/logstash/public/sections/pipeline_list/register_management_section.js similarity index 100% rename from x-pack/plugins/logstash/public/sections/pipeline_list/register_management_section.js rename to x-pack/legacy/plugins/logstash/public/sections/pipeline_list/register_management_section.js diff --git a/x-pack/plugins/logstash/public/services/cluster/cluster_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/cluster/cluster_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/cluster_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/cluster/cluster_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/cluster/cluster_service.js b/x-pack/legacy/plugins/logstash/public/services/cluster/cluster_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/cluster_service.js rename to x-pack/legacy/plugins/logstash/public/services/cluster/cluster_service.js diff --git a/x-pack/plugins/logstash/public/services/cluster/index.js b/x-pack/legacy/plugins/logstash/public/services/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/index.js rename to x-pack/legacy/plugins/logstash/public/services/cluster/index.js diff --git a/x-pack/plugins/logstash/public/services/license/index.js b/x-pack/legacy/plugins/logstash/public/services/license/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/index.js rename to x-pack/legacy/plugins/logstash/public/services/license/index.js diff --git a/x-pack/plugins/logstash/public/services/license/license_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/license/license_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/license_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/license/license_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/license/logstash_license_service.js b/x-pack/legacy/plugins/logstash/public/services/license/logstash_license_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/logstash_license_service.js rename to x-pack/legacy/plugins/logstash/public/services/license/logstash_license_service.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/index.js b/x-pack/legacy/plugins/logstash/public/services/monitoring/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/index.js rename to x-pack/legacy/plugins/logstash/public/services/monitoring/index.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/monitoring_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/monitoring/monitoring_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/monitoring_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/monitoring/monitoring_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js b/x-pack/legacy/plugins/logstash/public/services/monitoring/monitoring_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js rename to x-pack/legacy/plugins/logstash/public/services/monitoring/monitoring_service.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/index.js b/x-pack/legacy/plugins/logstash/public/services/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/index.js rename to x-pack/legacy/plugins/logstash/public/services/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/pipeline_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/pipeline/pipeline_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/pipeline_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/pipeline/pipeline_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js b/x-pack/legacy/plugins/logstash/public/services/pipeline/pipeline_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js rename to x-pack/legacy/plugins/logstash/public/services/pipeline/pipeline_service.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/index.js b/x-pack/legacy/plugins/logstash/public/services/pipelines/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/index.js rename to x-pack/legacy/plugins/logstash/public/services/pipelines/index.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/pipelines_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/pipelines/pipelines_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/pipelines_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/pipelines/pipelines_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js b/x-pack/legacy/plugins/logstash/public/services/pipelines/pipelines_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js rename to x-pack/legacy/plugins/logstash/public/services/pipelines/pipelines_service.js diff --git a/x-pack/plugins/logstash/public/services/security/index.js b/x-pack/legacy/plugins/logstash/public/services/security/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/security/index.js rename to x-pack/legacy/plugins/logstash/public/services/security/index.js diff --git a/x-pack/plugins/logstash/public/services/security/logstash_security_service.js b/x-pack/legacy/plugins/logstash/public/services/security/logstash_security_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/security/logstash_security_service.js rename to x-pack/legacy/plugins/logstash/public/services/security/logstash_security_service.js diff --git a/x-pack/plugins/logstash/public/services/security/security_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/security/security_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/security/security_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/security/security_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/upgrade/index.js b/x-pack/legacy/plugins/logstash/public/services/upgrade/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/upgrade/index.js rename to x-pack/legacy/plugins/logstash/public/services/upgrade/index.js diff --git a/x-pack/plugins/logstash/public/services/upgrade/upgrade_service.factory.js b/x-pack/legacy/plugins/logstash/public/services/upgrade/upgrade_service.factory.js similarity index 100% rename from x-pack/plugins/logstash/public/services/upgrade/upgrade_service.factory.js rename to x-pack/legacy/plugins/logstash/public/services/upgrade/upgrade_service.factory.js diff --git a/x-pack/plugins/logstash/public/services/upgrade/upgrade_service.js b/x-pack/legacy/plugins/logstash/public/services/upgrade/upgrade_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/upgrade/upgrade_service.js rename to x-pack/legacy/plugins/logstash/public/services/upgrade/upgrade_service.js diff --git a/x-pack/plugins/logstash/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/logstash/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/logstash/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/logstash/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/logstash/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/logstash/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/logstash/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/logstash/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/logstash/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/logstash/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/logstash/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/logstash/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/logstash/server/lib/check_license/index.js b/x-pack/legacy/plugins/logstash/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/index.js rename to x-pack/legacy/plugins/logstash/server/lib/check_license/index.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/wrap_custom_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_custom_error.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/logstash/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/plugins/logstash/server/lib/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js b/x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js rename to x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js diff --git a/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js b/x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js rename to x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js diff --git a/x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/index.js b/x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/fetch_all_from_scroll/index.js rename to x-pack/legacy/plugins/logstash/server/lib/fetch_all_from_scroll/index.js diff --git a/x-pack/plugins/logstash/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/logstash/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/logstash/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/logstash/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/logstash/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/logstash/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/logstash/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/logstash/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/logstash/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/logstash/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/logstash/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/logstash/server/models/cluster/__tests__/cluster.js b/x-pack/legacy/plugins/logstash/server/models/cluster/__tests__/cluster.js similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/__tests__/cluster.js rename to x-pack/legacy/plugins/logstash/server/models/cluster/__tests__/cluster.js diff --git a/x-pack/plugins/logstash/server/models/cluster/cluster.js b/x-pack/legacy/plugins/logstash/server/models/cluster/cluster.js similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/cluster.js rename to x-pack/legacy/plugins/logstash/server/models/cluster/cluster.js diff --git a/x-pack/plugins/logstash/server/models/cluster/index.js b/x-pack/legacy/plugins/logstash/server/models/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/index.js rename to x-pack/legacy/plugins/logstash/server/models/cluster/index.js diff --git a/x-pack/plugins/logstash/server/models/pipeline/__tests__/pipeline.js b/x-pack/legacy/plugins/logstash/server/models/pipeline/__tests__/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/__tests__/pipeline.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline/__tests__/pipeline.js diff --git a/x-pack/plugins/logstash/server/models/pipeline/index.js b/x-pack/legacy/plugins/logstash/server/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/index.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline/index.js diff --git a/x-pack/plugins/logstash/server/models/pipeline/pipeline.js b/x-pack/legacy/plugins/logstash/server/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/pipeline.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline/pipeline.js diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/__tests__/pipeline_list_item.js b/x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/__tests__/pipeline_list_item.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/__tests__/pipeline_list_item.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/__tests__/pipeline_list_item.js diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/index.js b/x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/index.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/index.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/index.js diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.js b/x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.js similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.js rename to x-pack/legacy/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.js diff --git a/x-pack/plugins/logstash/server/routes/api/cluster/index.js b/x-pack/legacy/plugins/logstash/server/routes/api/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/cluster/index.js rename to x-pack/legacy/plugins/logstash/server/routes/api/cluster/index.js diff --git a/x-pack/plugins/logstash/server/routes/api/cluster/register_cluster_routes.js b/x-pack/legacy/plugins/logstash/server/routes/api/cluster/register_cluster_routes.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/cluster/register_cluster_routes.js rename to x-pack/legacy/plugins/logstash/server/routes/api/cluster/register_cluster_routes.js diff --git a/x-pack/plugins/logstash/server/routes/api/cluster/register_load_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/cluster/register_load_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/cluster/register_load_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/cluster/register_load_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipeline/index.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipeline/index.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipeline/index.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipeline/register_delete_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_delete_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipeline/register_delete_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_delete_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipeline/register_load_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_load_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipeline/register_load_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_load_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipeline/register_pipeline_routes.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_pipeline_routes.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipeline/register_pipeline_routes.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_pipeline_routes.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipeline/register_save_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_save_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipeline/register_save_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipeline/register_save_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipelines/index.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipelines/index.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipelines/index.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipelines/index.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipelines/register_delete_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_delete_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipelines/register_delete_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_delete_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipelines/register_list_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_list_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipelines/register_list_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_list_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/pipelines/register_pipelines_routes.js b/x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_pipelines_routes.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/pipelines/register_pipelines_routes.js rename to x-pack/legacy/plugins/logstash/server/routes/api/pipelines/register_pipelines_routes.js diff --git a/x-pack/plugins/logstash/server/routes/api/upgrade/index.js b/x-pack/legacy/plugins/logstash/server/routes/api/upgrade/index.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/upgrade/index.js rename to x-pack/legacy/plugins/logstash/server/routes/api/upgrade/index.js diff --git a/x-pack/plugins/logstash/server/routes/api/upgrade/register_execute_route.js b/x-pack/legacy/plugins/logstash/server/routes/api/upgrade/register_execute_route.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/upgrade/register_execute_route.js rename to x-pack/legacy/plugins/logstash/server/routes/api/upgrade/register_execute_route.js diff --git a/x-pack/plugins/logstash/server/routes/api/upgrade/register_upgrade_routes.js b/x-pack/legacy/plugins/logstash/server/routes/api/upgrade/register_upgrade_routes.js similarity index 100% rename from x-pack/plugins/logstash/server/routes/api/upgrade/register_upgrade_routes.js rename to x-pack/legacy/plugins/logstash/server/routes/api/upgrade/register_upgrade_routes.js diff --git a/x-pack/plugins/maps/check_license.js b/x-pack/legacy/plugins/maps/check_license.js similarity index 100% rename from x-pack/plugins/maps/check_license.js rename to x-pack/legacy/plugins/maps/check_license.js diff --git a/x-pack/plugins/maps/common/constants.js b/x-pack/legacy/plugins/maps/common/constants.js similarity index 100% rename from x-pack/plugins/maps/common/constants.js rename to x-pack/legacy/plugins/maps/common/constants.js diff --git a/x-pack/plugins/maps/common/ems_util.js b/x-pack/legacy/plugins/maps/common/ems_util.js similarity index 100% rename from x-pack/plugins/maps/common/ems_util.js rename to x-pack/legacy/plugins/maps/common/ems_util.js diff --git a/x-pack/plugins/maps/common/ems_util.test.js b/x-pack/legacy/plugins/maps/common/ems_util.test.js similarity index 100% rename from x-pack/plugins/maps/common/ems_util.test.js rename to x-pack/legacy/plugins/maps/common/ems_util.test.js diff --git a/x-pack/plugins/maps/common/i18n_getters.js b/x-pack/legacy/plugins/maps/common/i18n_getters.js similarity index 100% rename from x-pack/plugins/maps/common/i18n_getters.js rename to x-pack/legacy/plugins/maps/common/i18n_getters.js diff --git a/x-pack/plugins/maps/common/migrations/references.js b/x-pack/legacy/plugins/maps/common/migrations/references.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.js rename to x-pack/legacy/plugins/maps/common/migrations/references.js diff --git a/x-pack/plugins/maps/common/migrations/references.test.js b/x-pack/legacy/plugins/maps/common/migrations/references.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.test.js rename to x-pack/legacy/plugins/maps/common/migrations/references.test.js diff --git a/x-pack/plugins/maps/common/parse_xml_string.js b/x-pack/legacy/plugins/maps/common/parse_xml_string.js similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.js rename to x-pack/legacy/plugins/maps/common/parse_xml_string.js diff --git a/x-pack/plugins/maps/common/parse_xml_string.test.js b/x-pack/legacy/plugins/maps/common/parse_xml_string.test.js similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.test.js rename to x-pack/legacy/plugins/maps/common/parse_xml_string.test.js diff --git a/x-pack/plugins/maps/index.js b/x-pack/legacy/plugins/maps/index.js similarity index 100% rename from x-pack/plugins/maps/index.js rename to x-pack/legacy/plugins/maps/index.js diff --git a/x-pack/plugins/maps/mappings.json b/x-pack/legacy/plugins/maps/mappings.json similarity index 100% rename from x-pack/plugins/maps/mappings.json rename to x-pack/legacy/plugins/maps/mappings.json diff --git a/x-pack/plugins/maps/migrations.js b/x-pack/legacy/plugins/maps/migrations.js similarity index 100% rename from x-pack/plugins/maps/migrations.js rename to x-pack/legacy/plugins/maps/migrations.js diff --git a/x-pack/plugins/maps/public/_main.scss b/x-pack/legacy/plugins/maps/public/_main.scss similarity index 100% rename from x-pack/plugins/maps/public/_main.scss rename to x-pack/legacy/plugins/maps/public/_main.scss diff --git a/x-pack/plugins/maps/public/_mapbox_hacks.scss b/x-pack/legacy/plugins/maps/public/_mapbox_hacks.scss similarity index 100% rename from x-pack/plugins/maps/public/_mapbox_hacks.scss rename to x-pack/legacy/plugins/maps/public/_mapbox_hacks.scss diff --git a/x-pack/plugins/maps/public/actions/store_actions.js b/x-pack/legacy/plugins/maps/public/actions/store_actions.js similarity index 100% rename from x-pack/plugins/maps/public/actions/store_actions.js rename to x-pack/legacy/plugins/maps/public/actions/store_actions.js diff --git a/x-pack/plugins/maps/public/actions/store_actions.test.js b/x-pack/legacy/plugins/maps/public/actions/store_actions.test.js similarity index 100% rename from x-pack/plugins/maps/public/actions/store_actions.test.js rename to x-pack/legacy/plugins/maps/public/actions/store_actions.test.js diff --git a/x-pack/plugins/maps/public/angular/get_initial_layers.js b/x-pack/legacy/plugins/maps/public/angular/get_initial_layers.js similarity index 100% rename from x-pack/plugins/maps/public/angular/get_initial_layers.js rename to x-pack/legacy/plugins/maps/public/angular/get_initial_layers.js diff --git a/x-pack/plugins/maps/public/angular/get_initial_layers.test.js b/x-pack/legacy/plugins/maps/public/angular/get_initial_layers.test.js similarity index 100% rename from x-pack/plugins/maps/public/angular/get_initial_layers.test.js rename to x-pack/legacy/plugins/maps/public/angular/get_initial_layers.test.js diff --git a/x-pack/plugins/maps/public/angular/get_initial_query.js b/x-pack/legacy/plugins/maps/public/angular/get_initial_query.js similarity index 100% rename from x-pack/plugins/maps/public/angular/get_initial_query.js rename to x-pack/legacy/plugins/maps/public/angular/get_initial_query.js diff --git a/x-pack/plugins/maps/public/angular/get_initial_refresh_config.js b/x-pack/legacy/plugins/maps/public/angular/get_initial_refresh_config.js similarity index 100% rename from x-pack/plugins/maps/public/angular/get_initial_refresh_config.js rename to x-pack/legacy/plugins/maps/public/angular/get_initial_refresh_config.js diff --git a/x-pack/plugins/maps/public/angular/get_initial_time_filters.js b/x-pack/legacy/plugins/maps/public/angular/get_initial_time_filters.js similarity index 100% rename from x-pack/plugins/maps/public/angular/get_initial_time_filters.js rename to x-pack/legacy/plugins/maps/public/angular/get_initial_time_filters.js diff --git a/x-pack/plugins/maps/public/angular/listing_ng_wrapper.html b/x-pack/legacy/plugins/maps/public/angular/listing_ng_wrapper.html similarity index 100% rename from x-pack/plugins/maps/public/angular/listing_ng_wrapper.html rename to x-pack/legacy/plugins/maps/public/angular/listing_ng_wrapper.html diff --git a/x-pack/plugins/maps/public/angular/map.html b/x-pack/legacy/plugins/maps/public/angular/map.html similarity index 100% rename from x-pack/plugins/maps/public/angular/map.html rename to x-pack/legacy/plugins/maps/public/angular/map.html diff --git a/x-pack/plugins/maps/public/angular/map_controller.js b/x-pack/legacy/plugins/maps/public/angular/map_controller.js similarity index 100% rename from x-pack/plugins/maps/public/angular/map_controller.js rename to x-pack/legacy/plugins/maps/public/angular/map_controller.js diff --git a/x-pack/plugins/maps/public/angular/services/gis_map_saved_object_loader.js b/x-pack/legacy/plugins/maps/public/angular/services/gis_map_saved_object_loader.js similarity index 100% rename from x-pack/plugins/maps/public/angular/services/gis_map_saved_object_loader.js rename to x-pack/legacy/plugins/maps/public/angular/services/gis_map_saved_object_loader.js diff --git a/x-pack/plugins/maps/public/angular/services/saved_gis_map.js b/x-pack/legacy/plugins/maps/public/angular/services/saved_gis_map.js similarity index 100% rename from x-pack/plugins/maps/public/angular/services/saved_gis_map.js rename to x-pack/legacy/plugins/maps/public/angular/services/saved_gis_map.js diff --git a/x-pack/plugins/maps/public/components/_index.scss b/x-pack/legacy/plugins/maps/public/components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_index.scss rename to x-pack/legacy/plugins/maps/public/components/_index.scss diff --git a/x-pack/plugins/maps/public/components/gis_map/_gis_map.scss b/x-pack/legacy/plugins/maps/public/components/gis_map/_gis_map.scss similarity index 100% rename from x-pack/plugins/maps/public/components/gis_map/_gis_map.scss rename to x-pack/legacy/plugins/maps/public/components/gis_map/_gis_map.scss diff --git a/x-pack/plugins/maps/public/components/gis_map/index.js b/x-pack/legacy/plugins/maps/public/components/gis_map/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/gis_map/index.js rename to x-pack/legacy/plugins/maps/public/components/gis_map/index.js diff --git a/x-pack/plugins/maps/public/components/gis_map/view.js b/x-pack/legacy/plugins/maps/public/components/gis_map/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/gis_map/view.js rename to x-pack/legacy/plugins/maps/public/components/gis_map/view.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/flyout_footer/index.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/flyout_footer/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/flyout_footer/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/flyout_footer/index.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/flyout_footer/view.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/flyout_footer/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/flyout_footer/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/flyout_footer/view.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/import_editor/index.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/import_editor/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/import_editor/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/import_editor/index.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/import_editor/view.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/import_editor/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/import_editor/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/import_editor/view.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/index.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/index.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/source_editor/index.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_editor/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/source_editor/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_editor/index.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/source_editor/view.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_editor/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/source_editor/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_editor/view.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/source_select/_index.scss b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/source_select/_index.scss rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/_index.scss diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/source_select/_source_select.scss b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/_source_select.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/source_select/_source_select.scss rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/_source_select.scss diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/source_select/source_select.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/source_select.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/source_select/source_select.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/source_select/source_select.js diff --git a/x-pack/plugins/maps/public/components/layer_addpanel/view.js b/x-pack/legacy/plugins/maps/public/components/layer_addpanel/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_addpanel/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_addpanel/view.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap b/x-pack/legacy/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/layer_panel/__snapshots__/view.test.js.snap diff --git a/x-pack/plugins/maps/public/components/layer_panel/_index.scss b/x-pack/legacy/plugins/maps/public/components/layer_panel/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/_index.scss rename to x-pack/legacy/plugins/maps/public/components/layer_panel/_index.scss diff --git a/x-pack/plugins/maps/public/components/layer_panel/_layer_panel.scss b/x-pack/legacy/plugins/maps/public/components/layer_panel/_layer_panel.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/_layer_panel.scss rename to x-pack/legacy/plugins/maps/public/components/layer_panel/_layer_panel.scss diff --git a/x-pack/plugins/maps/public/components/layer_panel/filter_editor/_filter_editor.scss b/x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/_filter_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/filter_editor/_filter_editor.scss rename to x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/_filter_editor.scss diff --git a/x-pack/plugins/maps/public/components/layer_panel/filter_editor/filter_editor.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/filter_editor.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/filter_editor/filter_editor.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/filter_editor.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/filter_editor/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/filter_editor/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/filter_editor/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/flyout_footer/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/flyout_footer/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/flyout_footer/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/flyout_footer/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/flyout_footer/view.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/flyout_footer/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/flyout_footer/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/flyout_footer/view.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/_join.scss b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/_join.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/_join.scss rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/_join.scss diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/join.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/join.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/join.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/join.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/join_expression.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/join_expression.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/join_expression.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/join_expression.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/metrics_expression.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/metrics_expression.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/resources/metrics_expression.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/resources/metrics_expression.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/join_editor/view.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/join_editor/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/join_editor/view.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/__snapshots__/layer_errors.test.js.snap diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_errors/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_errors/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.test.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.test.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_errors/layer_errors.test.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_settings/_layer_settings.scss b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/_layer_settings.scss similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_settings/_layer_settings.scss rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/_layer_settings.scss diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_settings/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_settings/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/layer_settings/layer_settings.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/layer_settings.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/layer_settings/layer_settings.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/layer_settings/layer_settings.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/source_settings/__snapshots__/source_settings.test.js.snap b/x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/__snapshots__/source_settings.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/source_settings/__snapshots__/source_settings.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/__snapshots__/source_settings.test.js.snap diff --git a/x-pack/plugins/maps/public/components/layer_panel/source_settings/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/source_settings/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/source_settings/source_settings.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/source_settings.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/source_settings/source_settings.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/source_settings.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/source_settings/source_settings.test.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/source_settings.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/source_settings/source_settings.test.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/source_settings/source_settings.test.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/style_settings/index.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/style_settings/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/style_settings/index.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/style_settings/index.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/style_settings/style_settings.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/style_settings/style_settings.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/style_settings/style_settings.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/style_settings/style_settings.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/view.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/view.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/view.js diff --git a/x-pack/plugins/maps/public/components/layer_panel/view.test.js b/x-pack/legacy/plugins/maps/public/components/layer_panel/view.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/layer_panel/view.test.js rename to x-pack/legacy/plugins/maps/public/components/layer_panel/view.test.js diff --git a/x-pack/plugins/maps/public/components/map/__snapshots__/feature_tooltip.test.js.snap b/x-pack/legacy/plugins/maps/public/components/map/__snapshots__/feature_tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/map/__snapshots__/feature_tooltip.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/map/__snapshots__/feature_tooltip.test.js.snap diff --git a/x-pack/plugins/maps/public/components/map/_feature_tooltip.scss b/x-pack/legacy/plugins/maps/public/components/map/_feature_tooltip.scss similarity index 100% rename from x-pack/plugins/maps/public/components/map/_feature_tooltip.scss rename to x-pack/legacy/plugins/maps/public/components/map/_feature_tooltip.scss diff --git a/x-pack/plugins/maps/public/components/map/feature_tooltip.js b/x-pack/legacy/plugins/maps/public/components/map/feature_tooltip.js similarity index 100% rename from x-pack/plugins/maps/public/components/map/feature_tooltip.js rename to x-pack/legacy/plugins/maps/public/components/map/feature_tooltip.js diff --git a/x-pack/plugins/maps/public/components/map/feature_tooltip.test.js b/x-pack/legacy/plugins/maps/public/components/map/feature_tooltip.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/map/feature_tooltip.test.js rename to x-pack/legacy/plugins/maps/public/components/map/feature_tooltip.test.js diff --git a/x-pack/plugins/maps/public/components/map/mb/index.js b/x-pack/legacy/plugins/maps/public/components/map/mb/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/map/mb/index.js rename to x-pack/legacy/plugins/maps/public/components/map/mb/index.js diff --git a/x-pack/plugins/maps/public/components/map/mb/utils.js b/x-pack/legacy/plugins/maps/public/components/map/mb/utils.js similarity index 100% rename from x-pack/plugins/maps/public/components/map/mb/utils.js rename to x-pack/legacy/plugins/maps/public/components/map/mb/utils.js diff --git a/x-pack/plugins/maps/public/components/map/mb/view.js b/x-pack/legacy/plugins/maps/public/components/map/mb/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/map/mb/view.js rename to x-pack/legacy/plugins/maps/public/components/map/mb/view.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/_index.scss b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/_index.scss rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/_index.scss diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/index.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/index.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/index.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/set_view_control/index.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/set_view_control/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/set_view_control/index.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/set_view_control/index.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/set_view_control/set_view_control.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/set_view_control/set_view_control.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/set_view_control/set_view_control.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/set_view_control/set_view_control.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/toolbar_overlay.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/toolbar_overlay.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/toolbar_overlay.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/toolbar_overlay.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/tools_control/index.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/tools_control/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/tools_control/index.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/tools_control/index.js diff --git a/x-pack/plugins/maps/public/components/toolbar_overlay/tools_control/tools_control.js b/x-pack/legacy/plugins/maps/public/components/toolbar_overlay/tools_control/tools_control.js similarity index 100% rename from x-pack/plugins/maps/public/components/toolbar_overlay/tools_control/tools_control.js rename to x-pack/legacy/plugins/maps/public/components/toolbar_overlay/tools_control/tools_control.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/_index.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/_index.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/_index.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/_mixins.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/_mixins.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/_mixins.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/_widget_overlay.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/_widget_overlay.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/_widget_overlay.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/_widget_overlay.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/attribution_control/__snapshots__/view.test.js.snap b/x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/__snapshots__/view.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/attribution_control/__snapshots__/view.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/__snapshots__/view.test.js.snap diff --git a/x-pack/plugins/maps/public/components/widget_overlay/attribution_control/_attribution_control.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/_attribution_control.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/attribution_control/_attribution_control.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/_attribution_control.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/attribution_control/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/attribution_control/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/attribution_control/view.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/attribution_control/view.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/view.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/attribution_control/view.test.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/view.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/attribution_control/view.test.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/attribution_control/view.test.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/__snapshots__/view.test.js.snap diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/_index.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/_index.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/_index.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/_layer_control.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/_layer_control.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/_layer_control.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/_layer_control.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/__snapshots__/view.test.js.snap b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/__snapshots__/view.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/__snapshots__/view.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/__snapshots__/view.test.js.snap diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/__snapshots__/view.test.js.snap b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/__snapshots__/view.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/__snapshots__/view.test.js.snap rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/__snapshots__/view.test.js.snap diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/_toc_entry.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/_toc_entry.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/_toc_entry.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/_toc_entry.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.test.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.test.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/toc_entry/view.test.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.test.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.test.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/layer_toc/view.test.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/view.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/view.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/view.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/view.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/layer_control/view.test.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/view.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/layer_control/view.test.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/layer_control/view.test.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/view_control/_view_control.scss b/x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/_view_control.scss similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/view_control/_view_control.scss rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/_view_control.scss diff --git a/x-pack/plugins/maps/public/components/widget_overlay/view_control/index.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/index.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/view_control/index.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/index.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/view_control/view_control.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/view_control.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/view_control/view_control.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/view_control/view_control.js diff --git a/x-pack/plugins/maps/public/components/widget_overlay/widget_overlay.js b/x-pack/legacy/plugins/maps/public/components/widget_overlay/widget_overlay.js similarity index 100% rename from x-pack/plugins/maps/public/components/widget_overlay/widget_overlay.js rename to x-pack/legacy/plugins/maps/public/components/widget_overlay/widget_overlay.js diff --git a/x-pack/plugins/maps/public/elasticsearch_geo_utils.js b/x-pack/legacy/plugins/maps/public/elasticsearch_geo_utils.js similarity index 100% rename from x-pack/plugins/maps/public/elasticsearch_geo_utils.js rename to x-pack/legacy/plugins/maps/public/elasticsearch_geo_utils.js diff --git a/x-pack/plugins/maps/public/elasticsearch_geo_utils.test.js b/x-pack/legacy/plugins/maps/public/elasticsearch_geo_utils.test.js similarity index 100% rename from x-pack/plugins/maps/public/elasticsearch_geo_utils.test.js rename to x-pack/legacy/plugins/maps/public/elasticsearch_geo_utils.test.js diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.js b/x-pack/legacy/plugins/maps/public/embeddable/map_embeddable.js similarity index 100% rename from x-pack/plugins/maps/public/embeddable/map_embeddable.js rename to x-pack/legacy/plugins/maps/public/embeddable/map_embeddable.js diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable_factory.js b/x-pack/legacy/plugins/maps/public/embeddable/map_embeddable_factory.js similarity index 100% rename from x-pack/plugins/maps/public/embeddable/map_embeddable_factory.js rename to x-pack/legacy/plugins/maps/public/embeddable/map_embeddable_factory.js diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable_factory_provider.js b/x-pack/legacy/plugins/maps/public/embeddable/map_embeddable_factory_provider.js similarity index 100% rename from x-pack/plugins/maps/public/embeddable/map_embeddable_factory_provider.js rename to x-pack/legacy/plugins/maps/public/embeddable/map_embeddable_factory_provider.js diff --git a/x-pack/plugins/maps/public/help_menu_util.js b/x-pack/legacy/plugins/maps/public/help_menu_util.js similarity index 100% rename from x-pack/plugins/maps/public/help_menu_util.js rename to x-pack/legacy/plugins/maps/public/help_menu_util.js diff --git a/x-pack/plugins/maps/public/icon.svg b/x-pack/legacy/plugins/maps/public/icon.svg similarity index 100% rename from x-pack/plugins/maps/public/icon.svg rename to x-pack/legacy/plugins/maps/public/icon.svg diff --git a/x-pack/plugins/maps/public/index.js b/x-pack/legacy/plugins/maps/public/index.js similarity index 100% rename from x-pack/plugins/maps/public/index.js rename to x-pack/legacy/plugins/maps/public/index.js diff --git a/x-pack/plugins/maps/public/index.scss b/x-pack/legacy/plugins/maps/public/index.scss similarity index 100% rename from x-pack/plugins/maps/public/index.scss rename to x-pack/legacy/plugins/maps/public/index.scss diff --git a/x-pack/plugins/maps/public/index_pattern_util.js b/x-pack/legacy/plugins/maps/public/index_pattern_util.js similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.js rename to x-pack/legacy/plugins/maps/public/index_pattern_util.js diff --git a/x-pack/plugins/maps/public/inspector/adapters/map_adapter.js b/x-pack/legacy/plugins/maps/public/inspector/adapters/map_adapter.js similarity index 100% rename from x-pack/plugins/maps/public/inspector/adapters/map_adapter.js rename to x-pack/legacy/plugins/maps/public/inspector/adapters/map_adapter.js diff --git a/x-pack/plugins/maps/public/inspector/views/map_details.js b/x-pack/legacy/plugins/maps/public/inspector/views/map_details.js similarity index 100% rename from x-pack/plugins/maps/public/inspector/views/map_details.js rename to x-pack/legacy/plugins/maps/public/inspector/views/map_details.js diff --git a/x-pack/plugins/maps/public/inspector/views/map_view.js b/x-pack/legacy/plugins/maps/public/inspector/views/map_view.js similarity index 100% rename from x-pack/plugins/maps/public/inspector/views/map_view.js rename to x-pack/legacy/plugins/maps/public/inspector/views/map_view.js diff --git a/x-pack/plugins/maps/public/inspector/views/register_views.js b/x-pack/legacy/plugins/maps/public/inspector/views/register_views.js similarity index 100% rename from x-pack/plugins/maps/public/inspector/views/register_views.js rename to x-pack/legacy/plugins/maps/public/inspector/views/register_views.js diff --git a/x-pack/plugins/maps/public/kibana_services.js b/x-pack/legacy/plugins/maps/public/kibana_services.js similarity index 100% rename from x-pack/plugins/maps/public/kibana_services.js rename to x-pack/legacy/plugins/maps/public/kibana_services.js diff --git a/x-pack/plugins/maps/public/meta.js b/x-pack/legacy/plugins/maps/public/meta.js similarity index 100% rename from x-pack/plugins/maps/public/meta.js rename to x-pack/legacy/plugins/maps/public/meta.js diff --git a/x-pack/plugins/maps/public/meta.test.js b/x-pack/legacy/plugins/maps/public/meta.test.js similarity index 100% rename from x-pack/plugins/maps/public/meta.test.js rename to x-pack/legacy/plugins/maps/public/meta.test.js diff --git a/x-pack/plugins/maps/public/register_feature.js b/x-pack/legacy/plugins/maps/public/register_feature.js similarity index 100% rename from x-pack/plugins/maps/public/register_feature.js rename to x-pack/legacy/plugins/maps/public/register_feature.js diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.js b/x-pack/legacy/plugins/maps/public/selectors/map_selectors.js similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.js rename to x-pack/legacy/plugins/maps/public/selectors/map_selectors.js diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.test.js b/x-pack/legacy/plugins/maps/public/selectors/map_selectors.test.js similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.test.js rename to x-pack/legacy/plugins/maps/public/selectors/map_selectors.test.js diff --git a/x-pack/plugins/maps/public/shared/_index.scss b/x-pack/legacy/plugins/maps/public/shared/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/_index.scss rename to x-pack/legacy/plugins/maps/public/shared/_index.scss diff --git a/x-pack/plugins/maps/public/shared/components/__snapshots__/layer_toc_actions.test.js.snap b/x-pack/legacy/plugins/maps/public/shared/components/__snapshots__/layer_toc_actions.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/shared/components/__snapshots__/layer_toc_actions.test.js.snap rename to x-pack/legacy/plugins/maps/public/shared/components/__snapshots__/layer_toc_actions.test.js.snap diff --git a/x-pack/plugins/maps/public/shared/components/__snapshots__/validated_range.test.js.snap b/x-pack/legacy/plugins/maps/public/shared/components/__snapshots__/validated_range.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/shared/components/__snapshots__/validated_range.test.js.snap rename to x-pack/legacy/plugins/maps/public/shared/components/__snapshots__/validated_range.test.js.snap diff --git a/x-pack/plugins/maps/public/shared/components/_index.scss b/x-pack/legacy/plugins/maps/public/shared/components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/components/_index.scss rename to x-pack/legacy/plugins/maps/public/shared/components/_index.scss diff --git a/x-pack/plugins/maps/public/shared/components/help_menu.js b/x-pack/legacy/plugins/maps/public/shared/components/help_menu.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/help_menu.js rename to x-pack/legacy/plugins/maps/public/shared/components/help_menu.js diff --git a/x-pack/plugins/maps/public/shared/components/layer_toc_actions.js b/x-pack/legacy/plugins/maps/public/shared/components/layer_toc_actions.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/layer_toc_actions.js rename to x-pack/legacy/plugins/maps/public/shared/components/layer_toc_actions.js diff --git a/x-pack/plugins/maps/public/shared/components/layer_toc_actions.test.js b/x-pack/legacy/plugins/maps/public/shared/components/layer_toc_actions.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/layer_toc_actions.test.js rename to x-pack/legacy/plugins/maps/public/shared/components/layer_toc_actions.test.js diff --git a/x-pack/plugins/maps/public/shared/components/map_listing.js b/x-pack/legacy/plugins/maps/public/shared/components/map_listing.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/map_listing.js rename to x-pack/legacy/plugins/maps/public/shared/components/map_listing.js diff --git a/x-pack/plugins/maps/public/shared/components/metric_select.js b/x-pack/legacy/plugins/maps/public/shared/components/metric_select.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/metric_select.js rename to x-pack/legacy/plugins/maps/public/shared/components/metric_select.js diff --git a/x-pack/plugins/maps/public/shared/components/metrics_editor.js b/x-pack/legacy/plugins/maps/public/shared/components/metrics_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/metrics_editor.js rename to x-pack/legacy/plugins/maps/public/shared/components/metrics_editor.js diff --git a/x-pack/plugins/maps/public/shared/components/multi_field_select.js b/x-pack/legacy/plugins/maps/public/shared/components/multi_field_select.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/multi_field_select.js rename to x-pack/legacy/plugins/maps/public/shared/components/multi_field_select.js diff --git a/x-pack/plugins/maps/public/shared/components/no_index_pattern_callout.js b/x-pack/legacy/plugins/maps/public/shared/components/no_index_pattern_callout.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/no_index_pattern_callout.js rename to x-pack/legacy/plugins/maps/public/shared/components/no_index_pattern_callout.js diff --git a/x-pack/plugins/maps/public/shared/components/single_field_select.js b/x-pack/legacy/plugins/maps/public/shared/components/single_field_select.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/single_field_select.js rename to x-pack/legacy/plugins/maps/public/shared/components/single_field_select.js diff --git a/x-pack/plugins/maps/public/shared/components/validated_range.js b/x-pack/legacy/plugins/maps/public/shared/components/validated_range.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/validated_range.js rename to x-pack/legacy/plugins/maps/public/shared/components/validated_range.js diff --git a/x-pack/plugins/maps/public/shared/components/validated_range.test.js b/x-pack/legacy/plugins/maps/public/shared/components/validated_range.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/components/validated_range.test.js rename to x-pack/legacy/plugins/maps/public/shared/components/validated_range.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/_index.scss b/x-pack/legacy/plugins/maps/public/shared/layers/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/_index.scss rename to x-pack/legacy/plugins/maps/public/shared/layers/_index.scss diff --git a/x-pack/plugins/maps/public/shared/layers/grid_resolution.js b/x-pack/legacy/plugins/maps/public/shared/layers/grid_resolution.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/grid_resolution.js rename to x-pack/legacy/plugins/maps/public/shared/layers/grid_resolution.js diff --git a/x-pack/plugins/maps/public/shared/layers/heatmap_layer.js b/x-pack/legacy/plugins/maps/public/shared/layers/heatmap_layer.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/heatmap_layer.js rename to x-pack/legacy/plugins/maps/public/shared/layers/heatmap_layer.js diff --git a/x-pack/plugins/maps/public/shared/layers/joins/left_inner_join.js b/x-pack/legacy/plugins/maps/public/shared/layers/joins/left_inner_join.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/joins/left_inner_join.js rename to x-pack/legacy/plugins/maps/public/shared/layers/joins/left_inner_join.js diff --git a/x-pack/plugins/maps/public/shared/layers/joins/left_inner_join.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/joins/left_inner_join.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/joins/left_inner_join.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/joins/left_inner_join.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/layer.js b/x-pack/legacy/plugins/maps/public/shared/layers/layer.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/layer.js rename to x-pack/legacy/plugins/maps/public/shared/layers/layer.js diff --git a/x-pack/plugins/maps/public/shared/layers/layer.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/layer.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/layer.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/layer.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/all_sources.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/all_sources.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/all_sources.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/all_sources.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/client_file_source/create_client_file_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/create_client_file_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/client_file_source/create_client_file_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/create_client_file_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/client_file_source/geojson_file_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/geojson_file_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/client_file_source/geojson_file_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/geojson_file_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/client_file_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/client_file_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/client_file_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/ems_file_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/ems_file_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/ems_file_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/ems_file_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_file_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_file_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/ems_tms_source.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_tms_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_tms_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/ems_unavailable_message.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_unavailable_message.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/ems_unavailable_message.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/ems_unavailable_message.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/convert_to_geojson.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/convert_to_geojson.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/convert_to_geojson.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/convert_to_geojson.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/es_geo_grid_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/es_geo_grid_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/es_geo_grid_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/es_geo_grid_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/geo_tile_utils.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/render_as.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/render_as.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/render_as.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/render_as.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/resolution_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/resolution_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/resolution_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/resolution_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/update_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/update_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_geo_grid_source/update_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_geo_grid_source/update_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_join_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_join_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_join_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_join_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_join_source.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_join_source.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_join_source.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_join_source.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_search_source/constants.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/constants.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_search_source/constants.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/constants.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_search_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_search_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_search_source/es_search_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/es_search_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_search_source/es_search_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/es_search_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_search_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_search_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_search_source/update_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/update_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_search_source/update_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_search_source/update_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/es_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/es_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/es_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/es_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/kibana_regionmap_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/kibana_regionmap_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/kibana_regionmap_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_regionmap_source/kibana_regionmap_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/kibana_tilemap_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/kibana_tilemap_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/kibana_tilemap_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/kibana_tilemap_source/kibana_tilemap_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/tms_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/tms_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/tms_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/tms_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/vector_feature_types.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/vector_feature_types.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/vector_feature_types.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/vector_feature_types.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/vector_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/vector_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/vector_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/vector_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/wms_source/index.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/wms_source/index.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/index.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_client.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_client.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_client.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_client.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_client.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_client.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_client.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_client.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_create_source_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_create_source_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_create_source_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/wms_source/wms_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/wms_source/wms_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/sources/xyz_tms_source.js b/x-pack/legacy/plugins/maps/public/shared/layers/sources/xyz_tms_source.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/sources/xyz_tms_source.js rename to x-pack/legacy/plugins/maps/public/shared/layers/sources/xyz_tms_source.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/_index.scss b/x-pack/legacy/plugins/maps/public/shared/layers/styles/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/_index.scss rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/_index.scss diff --git a/x-pack/plugins/maps/public/shared/layers/styles/abstract_style.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/abstract_style.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/abstract_style.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/abstract_style.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/color_utils.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/color_utils.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/color_utils.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/color_utils.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/color_utils.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/color_utils.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/color_utils.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/color_utils.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/_color_gradient.scss b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/_color_gradient.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/_color_gradient.scss rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/_color_gradient.scss diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/_static_dynamic_style_row.scss b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/_static_dynamic_style_row.scss similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/_static_dynamic_style_row.scss rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/_static_dynamic_style_row.scss diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/color_gradient.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/color_gradient.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/color_gradient.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/color_gradient.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/__snapshots__/heatmap_style_editor.test.js.snap b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/__snapshots__/heatmap_style_editor.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/__snapshots__/heatmap_style_editor.test.js.snap rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/__snapshots__/heatmap_style_editor.test.js.snap diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_constants.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_constants.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_constants.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_constants.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/heatmap_style_editor.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/legend/heatmap_legend.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/legend/heatmap_legend.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/heatmap/legend/heatmap_legend.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/heatmap/legend/heatmap_legend.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/static_dynamic_style_row.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/static_dynamic_style_row.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/static_dynamic_style_row.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/static_dynamic_style_row.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/style_legend_row.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/style_legend_row.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/style_legend_row.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/style_legend_row.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/__snapshots__/vector_style_symbol_editor.test.js.snap b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/__snapshots__/vector_style_symbol_editor.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/__snapshots__/vector_style_symbol_editor.test.js.snap rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/__snapshots__/vector_style_symbol_editor.test.js.snap diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/color_ramp_select.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/color_ramp_select.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/color_ramp_select.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/color_ramp_select.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/dynamic_color_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/dynamic_color_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/dynamic_color_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/dynamic_color_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/static_color_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/static_color_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/static_color_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/static_color_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/vector_style_color_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/vector_style_color_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/color/vector_style_color_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/color/vector_style_color_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/field_select.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/field_select.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/field_select.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/field_select.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/get_vector_style_label.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/get_vector_style_label.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/get_vector_style_label.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/get_vector_style_label.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/__snapshots__/vector_icon.test.js.snap b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/__snapshots__/vector_icon.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/__snapshots__/vector_icon.test.js.snap rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/__snapshots__/vector_icon.test.js.snap diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/circle_icon.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/circle_icon.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/circle_icon.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/circle_icon.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/line_icon.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/line_icon.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/line_icon.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/line_icon.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/polygon_icon.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/polygon_icon.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/polygon_icon.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/polygon_icon.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/style_property_legend_row.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/style_property_legend_row.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/style_property_legend_row.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/style_property_legend_row.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/symbol_icon.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_icon.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_style_legend.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_style_legend.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_style_legend.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/legend/vector_style_legend.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/dynamic_orientation_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/dynamic_orientation_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/dynamic_orientation_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/dynamic_orientation_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/orientation_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/orientation_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/orientation_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/orientation_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/static_orientation_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/static_orientation_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/orientation/static_orientation_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/orientation/static_orientation_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/dynamic_size_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/dynamic_size_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/dynamic_size_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/dynamic_size_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/size_range_selector.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/size_range_selector.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/size_range_selector.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/size_range_selector.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/static_size_selection.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/static_size_selection.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/static_size_selection.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/static_size_selection.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/vector_style_size_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/vector_style_size_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/size/vector_style_size_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/size/vector_style_size_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/style_option_shapes.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/style_option_shapes.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/style_option_shapes.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/style_option_shapes.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/components/vector/vector_style_symbol_editor.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/heatmap_style.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/heatmap_style.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/heatmap_style.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/heatmap_style.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/symbol_utils.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/symbol_utils.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/symbol_utils.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/symbol_utils.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/symbol_utils.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/symbol_utils.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/symbol_utils.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/symbol_utils.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/tile_style.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/tile_style.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/tile_style.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/tile_style.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/vector_constants.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_constants.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/vector_constants.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_constants.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/vector_style.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/vector_style.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/vector_style.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/vector_style.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style.test.js diff --git a/x-pack/plugins/maps/public/shared/layers/styles/vector_style_defaults.js b/x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style_defaults.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/styles/vector_style_defaults.js rename to x-pack/legacy/plugins/maps/public/shared/layers/styles/vector_style_defaults.js diff --git a/x-pack/plugins/maps/public/shared/layers/tile_layer.js b/x-pack/legacy/plugins/maps/public/shared/layers/tile_layer.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/tile_layer.js rename to x-pack/legacy/plugins/maps/public/shared/layers/tile_layer.js diff --git a/x-pack/plugins/maps/public/shared/layers/tooltips/es_aggmetric_tooltip_property.js b/x-pack/legacy/plugins/maps/public/shared/layers/tooltips/es_aggmetric_tooltip_property.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/tooltips/es_aggmetric_tooltip_property.js rename to x-pack/legacy/plugins/maps/public/shared/layers/tooltips/es_aggmetric_tooltip_property.js diff --git a/x-pack/plugins/maps/public/shared/layers/tooltips/es_tooltip_property.js b/x-pack/legacy/plugins/maps/public/shared/layers/tooltips/es_tooltip_property.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/tooltips/es_tooltip_property.js rename to x-pack/legacy/plugins/maps/public/shared/layers/tooltips/es_tooltip_property.js diff --git a/x-pack/plugins/maps/public/shared/layers/tooltips/join_tooltip_property.js b/x-pack/legacy/plugins/maps/public/shared/layers/tooltips/join_tooltip_property.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/tooltips/join_tooltip_property.js rename to x-pack/legacy/plugins/maps/public/shared/layers/tooltips/join_tooltip_property.js diff --git a/x-pack/plugins/maps/public/shared/layers/tooltips/tooltip_property.js b/x-pack/legacy/plugins/maps/public/shared/layers/tooltips/tooltip_property.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/tooltips/tooltip_property.js rename to x-pack/legacy/plugins/maps/public/shared/layers/tooltips/tooltip_property.js diff --git a/x-pack/plugins/maps/public/shared/layers/util/data_request.js b/x-pack/legacy/plugins/maps/public/shared/layers/util/data_request.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/util/data_request.js rename to x-pack/legacy/plugins/maps/public/shared/layers/util/data_request.js diff --git a/x-pack/plugins/maps/public/shared/layers/util/import_file.js b/x-pack/legacy/plugins/maps/public/shared/layers/util/import_file.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/util/import_file.js rename to x-pack/legacy/plugins/maps/public/shared/layers/util/import_file.js diff --git a/x-pack/plugins/maps/public/shared/layers/util/is_refresh_only_query.js b/x-pack/legacy/plugins/maps/public/shared/layers/util/is_refresh_only_query.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/util/is_refresh_only_query.js rename to x-pack/legacy/plugins/maps/public/shared/layers/util/is_refresh_only_query.js diff --git a/x-pack/plugins/maps/public/shared/layers/vector_layer.js b/x-pack/legacy/plugins/maps/public/shared/layers/vector_layer.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/vector_layer.js rename to x-pack/legacy/plugins/maps/public/shared/layers/vector_layer.js diff --git a/x-pack/plugins/maps/public/shared/layers/vector_layer.test.js b/x-pack/legacy/plugins/maps/public/shared/layers/vector_layer.test.js similarity index 100% rename from x-pack/plugins/maps/public/shared/layers/vector_layer.test.js rename to x-pack/legacy/plugins/maps/public/shared/layers/vector_layer.test.js diff --git a/x-pack/plugins/maps/public/shared/utils/get_terms_fields.js b/x-pack/legacy/plugins/maps/public/shared/utils/get_terms_fields.js similarity index 100% rename from x-pack/plugins/maps/public/shared/utils/get_terms_fields.js rename to x-pack/legacy/plugins/maps/public/shared/utils/get_terms_fields.js diff --git a/x-pack/plugins/maps/public/store/map.js b/x-pack/legacy/plugins/maps/public/store/map.js similarity index 100% rename from x-pack/plugins/maps/public/store/map.js rename to x-pack/legacy/plugins/maps/public/store/map.js diff --git a/x-pack/plugins/maps/public/store/non_serializable_instances.js b/x-pack/legacy/plugins/maps/public/store/non_serializable_instances.js similarity index 100% rename from x-pack/plugins/maps/public/store/non_serializable_instances.js rename to x-pack/legacy/plugins/maps/public/store/non_serializable_instances.js diff --git a/x-pack/plugins/maps/public/store/store.js b/x-pack/legacy/plugins/maps/public/store/store.js similarity index 100% rename from x-pack/plugins/maps/public/store/store.js rename to x-pack/legacy/plugins/maps/public/store/store.js diff --git a/x-pack/plugins/maps/public/store/ui.js b/x-pack/legacy/plugins/maps/public/store/ui.js similarity index 100% rename from x-pack/plugins/maps/public/store/ui.js rename to x-pack/legacy/plugins/maps/public/store/ui.js diff --git a/x-pack/plugins/maps/public/store/util.js b/x-pack/legacy/plugins/maps/public/store/util.js similarity index 100% rename from x-pack/plugins/maps/public/store/util.js rename to x-pack/legacy/plugins/maps/public/store/util.js diff --git a/x-pack/plugins/maps/public/store/util.test.js b/x-pack/legacy/plugins/maps/public/store/util.test.js similarity index 100% rename from x-pack/plugins/maps/public/store/util.test.js rename to x-pack/legacy/plugins/maps/public/store/util.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/index.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/index.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/index.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/index.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.test.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/maps_telemetry.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/maps_usage_collector.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/maps_usage_collector.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/maps_usage_collector.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/telemetry_task.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/telemetry_task.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/telemetry_task.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js b/x-pack/legacy/plugins/maps/server/maps_telemetry/telemetry_task.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/telemetry_task.test.js rename to x-pack/legacy/plugins/maps/server/maps_telemetry/telemetry_task.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/test_resources/sample_saved_objects.json b/x-pack/legacy/plugins/maps/server/maps_telemetry/test_resources/sample_saved_objects.json similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/test_resources/sample_saved_objects.json rename to x-pack/legacy/plugins/maps/server/maps_telemetry/test_resources/sample_saved_objects.json diff --git a/x-pack/plugins/maps/server/routes.js b/x-pack/legacy/plugins/maps/server/routes.js similarity index 100% rename from x-pack/plugins/maps/server/routes.js rename to x-pack/legacy/plugins/maps/server/routes.js diff --git a/x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js b/x-pack/legacy/plugins/maps/server/sample_data/ecommerce_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js rename to x-pack/legacy/plugins/maps/server/sample_data/ecommerce_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/flights_saved_objects.js b/x-pack/legacy/plugins/maps/server/sample_data/flights_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/flights_saved_objects.js rename to x-pack/legacy/plugins/maps/server/sample_data/flights_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js b/x-pack/legacy/plugins/maps/server/sample_data/web_logs_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js rename to x-pack/legacy/plugins/maps/server/sample_data/web_logs_saved_objects.js diff --git a/x-pack/plugins/maps/server/sprites/maki.json b/x-pack/legacy/plugins/maps/server/sprites/maki.json similarity index 100% rename from x-pack/plugins/maps/server/sprites/maki.json rename to x-pack/legacy/plugins/maps/server/sprites/maki.json diff --git a/x-pack/plugins/maps/server/sprites/maki.png b/x-pack/legacy/plugins/maps/server/sprites/maki.png similarity index 100% rename from x-pack/plugins/maps/server/sprites/maki.png rename to x-pack/legacy/plugins/maps/server/sprites/maki.png diff --git a/x-pack/plugins/maps/server/sprites/maki@2x.json b/x-pack/legacy/plugins/maps/server/sprites/maki@2x.json similarity index 100% rename from x-pack/plugins/maps/server/sprites/maki@2x.json rename to x-pack/legacy/plugins/maps/server/sprites/maki@2x.json diff --git a/x-pack/plugins/maps/server/sprites/maki@2x.png b/x-pack/legacy/plugins/maps/server/sprites/maki@2x.png similarity index 100% rename from x-pack/plugins/maps/server/sprites/maki@2x.png rename to x-pack/legacy/plugins/maps/server/sprites/maki@2x.png diff --git a/x-pack/plugins/maps/server/test_utils/index.js b/x-pack/legacy/plugins/maps/server/test_utils/index.js similarity index 100% rename from x-pack/plugins/maps/server/test_utils/index.js rename to x-pack/legacy/plugins/maps/server/test_utils/index.js diff --git a/x-pack/plugins/ml/common/constants/annotations.ts b/x-pack/legacy/plugins/ml/common/constants/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/annotations.ts rename to x-pack/legacy/plugins/ml/common/constants/annotations.ts diff --git a/x-pack/plugins/ml/common/constants/detector_rule.js b/x-pack/legacy/plugins/ml/common/constants/detector_rule.js similarity index 100% rename from x-pack/plugins/ml/common/constants/detector_rule.js rename to x-pack/legacy/plugins/ml/common/constants/detector_rule.js diff --git a/x-pack/plugins/ml/common/constants/feature_flags.ts b/x-pack/legacy/plugins/ml/common/constants/feature_flags.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/feature_flags.ts rename to x-pack/legacy/plugins/ml/common/constants/feature_flags.ts diff --git a/x-pack/plugins/ml/common/constants/field_types.ts b/x-pack/legacy/plugins/ml/common/constants/field_types.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/field_types.ts rename to x-pack/legacy/plugins/ml/common/constants/field_types.ts diff --git a/x-pack/plugins/ml/common/constants/file_datavisualizer.ts b/x-pack/legacy/plugins/ml/common/constants/file_datavisualizer.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/file_datavisualizer.ts rename to x-pack/legacy/plugins/ml/common/constants/file_datavisualizer.ts diff --git a/x-pack/plugins/ml/common/constants/index_patterns.ts b/x-pack/legacy/plugins/ml/common/constants/index_patterns.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/index_patterns.ts rename to x-pack/legacy/plugins/ml/common/constants/index_patterns.ts diff --git a/x-pack/plugins/ml/common/constants/jobs_list.ts b/x-pack/legacy/plugins/ml/common/constants/jobs_list.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/jobs_list.ts rename to x-pack/legacy/plugins/ml/common/constants/jobs_list.ts diff --git a/x-pack/plugins/ml/common/constants/license.js b/x-pack/legacy/plugins/ml/common/constants/license.js similarity index 100% rename from x-pack/plugins/ml/common/constants/license.js rename to x-pack/legacy/plugins/ml/common/constants/license.js diff --git a/x-pack/plugins/ml/common/constants/message_levels.js b/x-pack/legacy/plugins/ml/common/constants/message_levels.js similarity index 100% rename from x-pack/plugins/ml/common/constants/message_levels.js rename to x-pack/legacy/plugins/ml/common/constants/message_levels.js diff --git a/x-pack/plugins/ml/common/constants/multi_bucket_impact.js b/x-pack/legacy/plugins/ml/common/constants/multi_bucket_impact.js similarity index 100% rename from x-pack/plugins/ml/common/constants/multi_bucket_impact.js rename to x-pack/legacy/plugins/ml/common/constants/multi_bucket_impact.js diff --git a/x-pack/plugins/ml/common/constants/search.ts b/x-pack/legacy/plugins/ml/common/constants/search.ts similarity index 100% rename from x-pack/plugins/ml/common/constants/search.ts rename to x-pack/legacy/plugins/ml/common/constants/search.ts diff --git a/x-pack/plugins/ml/common/constants/states.js b/x-pack/legacy/plugins/ml/common/constants/states.js similarity index 100% rename from x-pack/plugins/ml/common/constants/states.js rename to x-pack/legacy/plugins/ml/common/constants/states.js diff --git a/x-pack/plugins/ml/common/constants/validation.js b/x-pack/legacy/plugins/ml/common/constants/validation.js similarity index 100% rename from x-pack/plugins/ml/common/constants/validation.js rename to x-pack/legacy/plugins/ml/common/constants/validation.js diff --git a/x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json b/x-pack/legacy/plugins/ml/common/types/__mocks__/job_config_farequote.json similarity index 100% rename from x-pack/plugins/ml/common/types/__mocks__/job_config_farequote.json rename to x-pack/legacy/plugins/ml/common/types/__mocks__/job_config_farequote.json diff --git a/x-pack/plugins/ml/common/types/angular.ts b/x-pack/legacy/plugins/ml/common/types/angular.ts similarity index 100% rename from x-pack/plugins/ml/common/types/angular.ts rename to x-pack/legacy/plugins/ml/common/types/angular.ts diff --git a/x-pack/plugins/ml/common/types/annotations.test.ts b/x-pack/legacy/plugins/ml/common/types/annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.test.ts rename to x-pack/legacy/plugins/ml/common/types/annotations.test.ts diff --git a/x-pack/plugins/ml/common/types/annotations.ts b/x-pack/legacy/plugins/ml/common/types/annotations.ts similarity index 100% rename from x-pack/plugins/ml/common/types/annotations.ts rename to x-pack/legacy/plugins/ml/common/types/annotations.ts diff --git a/x-pack/plugins/ml/common/types/common.test.ts b/x-pack/legacy/plugins/ml/common/types/common.test.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.test.ts rename to x-pack/legacy/plugins/ml/common/types/common.test.ts diff --git a/x-pack/plugins/ml/common/types/common.ts b/x-pack/legacy/plugins/ml/common/types/common.ts similarity index 100% rename from x-pack/plugins/ml/common/types/common.ts rename to x-pack/legacy/plugins/ml/common/types/common.ts diff --git a/x-pack/plugins/ml/common/types/jobs.test.js b/x-pack/legacy/plugins/ml/common/types/jobs.test.js similarity index 100% rename from x-pack/plugins/ml/common/types/jobs.test.js rename to x-pack/legacy/plugins/ml/common/types/jobs.test.js diff --git a/x-pack/plugins/ml/common/types/jobs.ts b/x-pack/legacy/plugins/ml/common/types/jobs.ts similarity index 100% rename from x-pack/plugins/ml/common/types/jobs.ts rename to x-pack/legacy/plugins/ml/common/types/jobs.ts diff --git a/x-pack/plugins/ml/common/util/__tests__/anomaly_utils.js b/x-pack/legacy/plugins/ml/common/util/__tests__/anomaly_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/__tests__/anomaly_utils.js rename to x-pack/legacy/plugins/ml/common/util/__tests__/anomaly_utils.js diff --git a/x-pack/plugins/ml/common/util/__tests__/job_utils.js b/x-pack/legacy/plugins/ml/common/util/__tests__/job_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/__tests__/job_utils.js rename to x-pack/legacy/plugins/ml/common/util/__tests__/job_utils.js diff --git a/x-pack/plugins/ml/common/util/__tests__/parse_interval.js b/x-pack/legacy/plugins/ml/common/util/__tests__/parse_interval.js similarity index 100% rename from x-pack/plugins/ml/common/util/__tests__/parse_interval.js rename to x-pack/legacy/plugins/ml/common/util/__tests__/parse_interval.js diff --git a/x-pack/plugins/ml/common/util/__tests__/string_utils.js b/x-pack/legacy/plugins/ml/common/util/__tests__/string_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/__tests__/string_utils.js rename to x-pack/legacy/plugins/ml/common/util/__tests__/string_utils.js diff --git a/x-pack/plugins/ml/common/util/anomaly_utils.js b/x-pack/legacy/plugins/ml/common/util/anomaly_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/anomaly_utils.js rename to x-pack/legacy/plugins/ml/common/util/anomaly_utils.js diff --git a/x-pack/plugins/ml/common/util/group_color_utils.js b/x-pack/legacy/plugins/ml/common/util/group_color_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/group_color_utils.js rename to x-pack/legacy/plugins/ml/common/util/group_color_utils.js diff --git a/x-pack/plugins/ml/common/util/job_utils.js b/x-pack/legacy/plugins/ml/common/util/job_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/job_utils.js rename to x-pack/legacy/plugins/ml/common/util/job_utils.js diff --git a/x-pack/plugins/ml/common/util/parse_interval.js b/x-pack/legacy/plugins/ml/common/util/parse_interval.js similarity index 100% rename from x-pack/plugins/ml/common/util/parse_interval.js rename to x-pack/legacy/plugins/ml/common/util/parse_interval.js diff --git a/x-pack/plugins/ml/common/util/string_utils.js b/x-pack/legacy/plugins/ml/common/util/string_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/string_utils.js rename to x-pack/legacy/plugins/ml/common/util/string_utils.js diff --git a/x-pack/plugins/ml/common/util/validation_utils.js b/x-pack/legacy/plugins/ml/common/util/validation_utils.js similarity index 100% rename from x-pack/plugins/ml/common/util/validation_utils.js rename to x-pack/legacy/plugins/ml/common/util/validation_utils.js diff --git a/x-pack/plugins/ml/index.ts b/x-pack/legacy/plugins/ml/index.ts similarity index 100% rename from x-pack/plugins/ml/index.ts rename to x-pack/legacy/plugins/ml/index.ts diff --git a/x-pack/plugins/ml/jsconfig.json b/x-pack/legacy/plugins/ml/jsconfig.json similarity index 85% rename from x-pack/plugins/ml/jsconfig.json rename to x-pack/legacy/plugins/ml/jsconfig.json index 484e750334291..0bfcc58d24d3a 100644 --- a/x-pack/plugins/ml/jsconfig.json +++ b/x-pack/legacy/plugins/ml/jsconfig.json @@ -8,7 +8,7 @@ "src/legacy/ui/public/*" ], "plugins/ml/*": [ - "x-pack/plugins/ml/public/*" + "x-pack/legacy/plugins/ml/public/*" ] } }, diff --git a/x-pack/plugins/ml/mappings.json b/x-pack/legacy/plugins/ml/mappings.json similarity index 100% rename from x-pack/plugins/ml/mappings.json rename to x-pack/legacy/plugins/ml/mappings.json diff --git a/x-pack/plugins/ml/public/_app.scss b/x-pack/legacy/plugins/ml/public/_app.scss similarity index 100% rename from x-pack/plugins/ml/public/_app.scss rename to x-pack/legacy/plugins/ml/public/_app.scss diff --git a/x-pack/plugins/ml/public/_hacks.scss b/x-pack/legacy/plugins/ml/public/_hacks.scss similarity index 100% rename from x-pack/plugins/ml/public/_hacks.scss rename to x-pack/legacy/plugins/ml/public/_hacks.scss diff --git a/x-pack/plugins/ml/public/_variables.scss b/x-pack/legacy/plugins/ml/public/_variables.scss similarity index 100% rename from x-pack/plugins/ml/public/_variables.scss rename to x-pack/legacy/plugins/ml/public/_variables.scss diff --git a/x-pack/plugins/ml/public/access_denied/index.html b/x-pack/legacy/plugins/ml/public/access_denied/index.html similarity index 100% rename from x-pack/plugins/ml/public/access_denied/index.html rename to x-pack/legacy/plugins/ml/public/access_denied/index.html diff --git a/x-pack/plugins/ml/public/access_denied/index.js b/x-pack/legacy/plugins/ml/public/access_denied/index.js similarity index 100% rename from x-pack/plugins/ml/public/access_denied/index.js rename to x-pack/legacy/plugins/ml/public/access_denied/index.js diff --git a/x-pack/plugins/ml/public/app.js b/x-pack/legacy/plugins/ml/public/app.js similarity index 100% rename from x-pack/plugins/ml/public/app.js rename to x-pack/legacy/plugins/ml/public/app.js diff --git a/x-pack/plugins/ml/public/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_description_list/_index.scss b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_description_list/_index.scss rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_description_list/index.test.tsx b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_description_list/index.test.tsx rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/index.test.tsx diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_description_list/index.tsx b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_description_list/index.tsx rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_description_list/index.tsx diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_flyout/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_flyout/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_flyout/annotation_flyout_directive.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/annotation_flyout_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_flyout/annotation_flyout_directive.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/annotation_flyout_directive.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_flyout/index.test.tsx b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_flyout/index.test.tsx rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/index.test.tsx diff --git a/x-pack/plugins/ml/public/components/annotations/annotation_flyout/index.tsx b/x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotation_flyout/index.tsx rename to x-pack/legacy/plugins/ml/public/components/annotations/annotation_flyout/index.tsx diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/__mocks__/mock_annotations.json b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__mocks__/mock_annotations.json similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/__mocks__/mock_annotations.json rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__mocks__/mock_annotations.json diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__snapshots__/annotations_table.test.js.snap diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/__tests__/annotations_table_directive.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__tests__/annotations_table_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/__tests__/annotations_table_directive.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/__tests__/annotations_table_directive.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table.test.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table.test.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table.test.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table_directive.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/annotations_table_directive.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/annotations_table_directive.js diff --git a/x-pack/plugins/ml/public/components/annotations/annotations_table/index.js b/x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/annotations_table/index.js rename to x-pack/legacy/plugins/ml/public/components/annotations/annotations_table/index.js diff --git a/x-pack/plugins/ml/public/components/annotations/delete_annotation_modal/index.tsx b/x-pack/legacy/plugins/ml/public/components/annotations/delete_annotation_modal/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/annotations/delete_annotation_modal/index.tsx rename to x-pack/legacy/plugins/ml/public/components/annotations/delete_annotation_modal/index.tsx diff --git a/x-pack/plugins/ml/public/components/anomalies_table/_anomalies_table.scss b/x-pack/legacy/plugins/ml/public/components/anomalies_table/_anomalies_table.scss similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/_anomalies_table.scss rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/_anomalies_table.scss diff --git a/x-pack/plugins/ml/public/components/anomalies_table/_index.scss b/x-pack/legacy/plugins/ml/public/components/anomalies_table/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/_index.scss rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/_index.scss diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomalies_table.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomalies_table.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomalies_table.test.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomalies_table.test.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table.test.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_columns.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_columns.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_columns.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_columns.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_constants.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_constants.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_constants.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_constants.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_directive.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomalies_table_directive.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomalies_table_directive.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomaly_details.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomaly_details.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomaly_details.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomaly_details.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/anomaly_details.test.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/anomaly_details.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/anomaly_details.test.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/anomaly_details.test.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/description_cell.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/description_cell.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/description_cell.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/description_cell.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/detector_cell.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/detector_cell.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/detector_cell.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/detector_cell.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/index.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/index.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/index.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/influencers_cell.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/influencers_cell.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/influencers_cell.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/influencers_cell.js diff --git a/x-pack/plugins/ml/public/components/anomalies_table/links_menu.js b/x-pack/legacy/plugins/ml/public/components/anomalies_table/links_menu.js similarity index 100% rename from x-pack/plugins/ml/public/components/anomalies_table/links_menu.js rename to x-pack/legacy/plugins/ml/public/components/anomalies_table/links_menu.js diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/__tests__/chart_tooltip.js b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/__tests__/chart_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/__tests__/chart_tooltip.js rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/__tests__/chart_tooltip.js diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/_chart_tooltip.scss b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/_chart_tooltip.scss similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/_chart_tooltip.scss rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/_chart_tooltip.scss diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/_index.scss b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/_index.scss rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/_index.scss diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip.html b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip.html similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip.html rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip.html diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip.js b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip.js rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip.js diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip_service.js b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip_service.js similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/chart_tooltip_service.js rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/chart_tooltip_service.js diff --git a/x-pack/plugins/ml/public/components/chart_tooltip/index.js b/x-pack/legacy/plugins/ml/public/components/chart_tooltip/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/chart_tooltip/index.js rename to x-pack/legacy/plugins/ml/public/components/chart_tooltip/index.js diff --git a/x-pack/plugins/ml/public/components/confirm_modal/__tests__/confirm_modal_controller.js b/x-pack/legacy/plugins/ml/public/components/confirm_modal/__tests__/confirm_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/__tests__/confirm_modal_controller.js rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/__tests__/confirm_modal_controller.js diff --git a/x-pack/plugins/ml/public/components/confirm_modal/_confirm_modal.scss b/x-pack/legacy/plugins/ml/public/components/confirm_modal/_confirm_modal.scss similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/_confirm_modal.scss rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/_confirm_modal.scss diff --git a/x-pack/plugins/ml/public/components/confirm_modal/_index.scss b/x-pack/legacy/plugins/ml/public/components/confirm_modal/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/_index.scss rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/_index.scss diff --git a/x-pack/plugins/ml/public/components/confirm_modal/confirm_modal.html b/x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal.html similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/confirm_modal.html rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal.html diff --git a/x-pack/plugins/ml/public/components/confirm_modal/confirm_modal_controller.js b/x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/confirm_modal_controller.js rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal_controller.js diff --git a/x-pack/plugins/ml/public/components/confirm_modal/confirm_modal_service.js b/x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal_service.js similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/confirm_modal_service.js rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/confirm_modal_service.js diff --git a/x-pack/plugins/ml/public/components/confirm_modal/index.js b/x-pack/legacy/plugins/ml/public/components/confirm_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/confirm_modal/index.js rename to x-pack/legacy/plugins/ml/public/components/confirm_modal/index.js diff --git a/x-pack/plugins/ml/public/components/controls/_controls.scss b/x-pack/legacy/plugins/ml/public/components/controls/_controls.scss similarity index 100% rename from x-pack/plugins/ml/public/components/controls/_controls.scss rename to x-pack/legacy/plugins/ml/public/components/controls/_controls.scss diff --git a/x-pack/plugins/ml/public/components/controls/_index.scss b/x-pack/legacy/plugins/ml/public/components/controls/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/controls/_index.scss rename to x-pack/legacy/plugins/ml/public/components/controls/_index.scss diff --git a/x-pack/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts.js b/x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts.js rename to x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts.js diff --git a/x-pack/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts_service.js b/x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts_service.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts_service.js rename to x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/checkbox_showcharts_service.js diff --git a/x-pack/plugins/ml/public/components/controls/checkbox_showcharts/index.js b/x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/checkbox_showcharts/index.js rename to x-pack/legacy/plugins/ml/public/components/controls/checkbox_showcharts/index.js diff --git a/x-pack/plugins/ml/public/components/controls/index.js b/x-pack/legacy/plugins/ml/public/components/controls/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/index.js rename to x-pack/legacy/plugins/ml/public/components/controls/index.js diff --git a/x-pack/plugins/ml/public/components/controls/select_interval/__tests__/select_interval_directive.js b/x-pack/legacy/plugins/ml/public/components/controls/select_interval/__tests__/select_interval_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_interval/__tests__/select_interval_directive.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_interval/__tests__/select_interval_directive.js diff --git a/x-pack/plugins/ml/public/components/controls/select_interval/index.js b/x-pack/legacy/plugins/ml/public/components/controls/select_interval/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_interval/index.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_interval/index.js diff --git a/x-pack/plugins/ml/public/components/controls/select_interval/select_interval.js b/x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_interval/select_interval.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval.js diff --git a/x-pack/plugins/ml/public/components/controls/select_interval/select_interval.test.js b/x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_interval/select_interval.test.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval.test.js diff --git a/x-pack/plugins/ml/public/components/controls/select_interval/select_interval_directive.js b/x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_interval/select_interval_directive.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_interval/select_interval_directive.js diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/_index.scss b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/_index.scss rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/_index.scss diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/_select_severity.scss b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/_select_severity.scss similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/_select_severity.scss rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/_select_severity.scss diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/index.js b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/index.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/index.js diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/select_severity.js b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/select_severity.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity.js diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/select_severity.test.js b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/select_severity.test.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity.test.js diff --git a/x-pack/plugins/ml/public/components/controls/select_severity/select_severity_directive.js b/x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/controls/select_severity/select_severity_directive.js rename to x-pack/legacy/plugins/ml/public/components/controls/select_severity/select_severity_directive.js diff --git a/x-pack/plugins/ml/public/components/data_recognizer/_data_recognizer.scss b/x-pack/legacy/plugins/ml/public/components/data_recognizer/_data_recognizer.scss similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/_data_recognizer.scss rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/_data_recognizer.scss diff --git a/x-pack/plugins/ml/public/components/data_recognizer/_index.scss b/x-pack/legacy/plugins/ml/public/components/data_recognizer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/_index.scss rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/_index.scss diff --git a/x-pack/plugins/ml/public/components/data_recognizer/data_recognizer.js b/x-pack/legacy/plugins/ml/public/components/data_recognizer/data_recognizer.js similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/data_recognizer.js rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/data_recognizer.js diff --git a/x-pack/plugins/ml/public/components/data_recognizer/data_recognizer_directive.js b/x-pack/legacy/plugins/ml/public/components/data_recognizer/data_recognizer_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/data_recognizer_directive.js rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/data_recognizer_directive.js diff --git a/x-pack/plugins/ml/public/components/data_recognizer/index.js b/x-pack/legacy/plugins/ml/public/components/data_recognizer/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/index.js rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/index.js diff --git a/x-pack/plugins/ml/public/components/data_recognizer/recognized_result.js b/x-pack/legacy/plugins/ml/public/components/data_recognizer/recognized_result.js similarity index 100% rename from x-pack/plugins/ml/public/components/data_recognizer/recognized_result.js rename to x-pack/legacy/plugins/ml/public/components/data_recognizer/recognized_result.js diff --git a/x-pack/plugins/ml/public/components/display_value/display_value.js b/x-pack/legacy/plugins/ml/public/components/display_value/display_value.js similarity index 100% rename from x-pack/plugins/ml/public/components/display_value/display_value.js rename to x-pack/legacy/plugins/ml/public/components/display_value/display_value.js diff --git a/x-pack/plugins/ml/public/components/display_value/index.js b/x-pack/legacy/plugins/ml/public/components/display_value/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/display_value/index.js rename to x-pack/legacy/plugins/ml/public/components/display_value/index.js diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/__snapshots__/documentation_help_link_view.test.js.snap b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/__snapshots__/documentation_help_link_view.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/__snapshots__/documentation_help_link_view.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/__snapshots__/documentation_help_link_view.test.js.snap diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/_documentation_help_link.scss b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/_documentation_help_link.scss similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/_documentation_help_link.scss rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/_documentation_help_link.scss diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/_index.scss b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/_index.scss rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/_index.scss diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link.js b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link.js similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link.js rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link.js diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.js b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.js similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.js rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.js diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.test.js b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.test.js rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/documentation_help_link_view.test.js diff --git a/x-pack/plugins/ml/public/components/documentation_help_link/index.js b/x-pack/legacy/plugins/ml/public/components/documentation_help_link/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/documentation_help_link/index.js rename to x-pack/legacy/plugins/ml/public/components/documentation_help_link/index.js diff --git a/x-pack/plugins/ml/public/components/entity_cell/_index.scss b/x-pack/legacy/plugins/ml/public/components/entity_cell/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/entity_cell/_index.scss rename to x-pack/legacy/plugins/ml/public/components/entity_cell/_index.scss diff --git a/x-pack/plugins/ml/public/components/entity_cell/entity_cell.js b/x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.js similarity index 100% rename from x-pack/plugins/ml/public/components/entity_cell/entity_cell.js rename to x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.js diff --git a/x-pack/plugins/ml/public/components/entity_cell/entity_cell.scss b/x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.scss similarity index 100% rename from x-pack/plugins/ml/public/components/entity_cell/entity_cell.scss rename to x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.scss diff --git a/x-pack/plugins/ml/public/components/entity_cell/entity_cell.test.js b/x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/entity_cell/entity_cell.test.js rename to x-pack/legacy/plugins/ml/public/components/entity_cell/entity_cell.test.js diff --git a/x-pack/plugins/ml/public/components/entity_cell/index.js b/x-pack/legacy/plugins/ml/public/components/entity_cell/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/entity_cell/index.js rename to x-pack/legacy/plugins/ml/public/components/entity_cell/index.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/_field_data_card.scss b/x-pack/legacy/plugins/ml/public/components/field_data_card/_field_data_card.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/_field_data_card.scss rename to x-pack/legacy/plugins/ml/public/components/field_data_card/_field_data_card.scss diff --git a/x-pack/plugins/ml/public/components/field_data_card/_index.scss b/x-pack/legacy/plugins/ml/public/components/field_data_card/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/_index.scss rename to x-pack/legacy/plugins/ml/public/components/field_data_card/_index.scss diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_boolean.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_boolean.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_boolean.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_boolean.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_date.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_date.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_date.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_date.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_document_count.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_document_count.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_document_count.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_document_count.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_geo_point.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_geo_point.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_geo_point.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_geo_point.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_ip.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_ip.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_ip.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_ip.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_keyword.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_keyword.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_keyword.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_keyword.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_number.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_number.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_number.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_number.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_other.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_other.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_other.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_other.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/content_types/card_text.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_text.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/content_types/card_text.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/content_types/card_text.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/display_value_directive.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/display_value_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/display_value_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/display_value_directive.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/document_count_chart_directive.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/document_count_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/document_count_chart_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/document_count_chart_directive.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/field_data_card.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/field_data_card.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/field_data_card.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/field_data_card.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/field_data_card_directive.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/field_data_card_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/field_data_card_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/field_data_card_directive.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/index.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/index.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/index.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/metric_distribution_chart_directive.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/metric_distribution_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/metric_distribution_chart_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/metric_distribution_chart_directive.js diff --git a/x-pack/plugins/ml/public/components/field_data_card/top_values.html b/x-pack/legacy/plugins/ml/public/components/field_data_card/top_values.html similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/top_values.html rename to x-pack/legacy/plugins/ml/public/components/field_data_card/top_values.html diff --git a/x-pack/plugins/ml/public/components/field_data_card/top_values_directive.js b/x-pack/legacy/plugins/ml/public/components/field_data_card/top_values_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_data_card/top_values_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_data_card/top_values_directive.js diff --git a/x-pack/plugins/ml/public/components/field_title_bar/_field_title_bar.scss b/x-pack/legacy/plugins/ml/public/components/field_title_bar/_field_title_bar.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/_field_title_bar.scss rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/_field_title_bar.scss diff --git a/x-pack/plugins/ml/public/components/field_title_bar/_index.scss b/x-pack/legacy/plugins/ml/public/components/field_title_bar/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/_index.scss rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/_index.scss diff --git a/x-pack/plugins/ml/public/components/field_title_bar/field_title_bar.js b/x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/field_title_bar.js rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar.js diff --git a/x-pack/plugins/ml/public/components/field_title_bar/field_title_bar.test.js b/x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/field_title_bar.test.js rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar.test.js diff --git a/x-pack/plugins/ml/public/components/field_title_bar/field_title_bar_directive.js b/x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/field_title_bar_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/field_title_bar_directive.js diff --git a/x-pack/plugins/ml/public/components/field_title_bar/index.js b/x-pack/legacy/plugins/ml/public/components/field_title_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_title_bar/index.js rename to x-pack/legacy/plugins/ml/public/components/field_title_bar/index.js diff --git a/x-pack/plugins/ml/public/components/field_type_icon/__snapshots__/field_type_icon.test.js.snap b/x-pack/legacy/plugins/ml/public/components/field_type_icon/__snapshots__/field_type_icon.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/__snapshots__/field_type_icon.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/__snapshots__/field_type_icon.test.js.snap diff --git a/x-pack/plugins/ml/public/components/field_type_icon/_field_type_icon.scss b/x-pack/legacy/plugins/ml/public/components/field_type_icon/_field_type_icon.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/_field_type_icon.scss rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/_field_type_icon.scss diff --git a/x-pack/plugins/ml/public/components/field_type_icon/_index.scss b/x-pack/legacy/plugins/ml/public/components/field_type_icon/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/_index.scss rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/_index.scss diff --git a/x-pack/plugins/ml/public/components/field_type_icon/field_type_icon.js b/x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/field_type_icon.js rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon.js diff --git a/x-pack/plugins/ml/public/components/field_type_icon/field_type_icon.test.js b/x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/field_type_icon.test.js rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon.test.js diff --git a/x-pack/plugins/ml/public/components/field_type_icon/field_type_icon_directive.js b/x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/field_type_icon_directive.js rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/field_type_icon_directive.js diff --git a/x-pack/plugins/ml/public/components/field_type_icon/index.js b/x-pack/legacy/plugins/ml/public/components/field_type_icon/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/field_type_icon/index.js rename to x-pack/legacy/plugins/ml/public/components/field_type_icon/index.js diff --git a/x-pack/plugins/ml/public/components/form_filter_input/_form_filter_input.scss b/x-pack/legacy/plugins/ml/public/components/form_filter_input/_form_filter_input.scss similarity index 100% rename from x-pack/plugins/ml/public/components/form_filter_input/_form_filter_input.scss rename to x-pack/legacy/plugins/ml/public/components/form_filter_input/_form_filter_input.scss diff --git a/x-pack/plugins/ml/public/components/form_filter_input/_index.scss b/x-pack/legacy/plugins/ml/public/components/form_filter_input/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/form_filter_input/_index.scss rename to x-pack/legacy/plugins/ml/public/components/form_filter_input/_index.scss diff --git a/x-pack/plugins/ml/public/components/form_filter_input/form_filter_input.html b/x-pack/legacy/plugins/ml/public/components/form_filter_input/form_filter_input.html similarity index 100% rename from x-pack/plugins/ml/public/components/form_filter_input/form_filter_input.html rename to x-pack/legacy/plugins/ml/public/components/form_filter_input/form_filter_input.html diff --git a/x-pack/plugins/ml/public/components/form_filter_input/form_filter_input_directive.js b/x-pack/legacy/plugins/ml/public/components/form_filter_input/form_filter_input_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_filter_input/form_filter_input_directive.js rename to x-pack/legacy/plugins/ml/public/components/form_filter_input/form_filter_input_directive.js diff --git a/x-pack/plugins/ml/public/components/form_filter_input/index.js b/x-pack/legacy/plugins/ml/public/components/form_filter_input/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_filter_input/index.js rename to x-pack/legacy/plugins/ml/public/components/form_filter_input/index.js diff --git a/x-pack/plugins/ml/public/components/form_label/__snapshots__/form_label.test.js.snap b/x-pack/legacy/plugins/ml/public/components/form_label/__snapshots__/form_label.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/__snapshots__/form_label.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/form_label/__snapshots__/form_label.test.js.snap diff --git a/x-pack/plugins/ml/public/components/form_label/__tests__/form_label.js b/x-pack/legacy/plugins/ml/public/components/form_label/__tests__/form_label.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/__tests__/form_label.js rename to x-pack/legacy/plugins/ml/public/components/form_label/__tests__/form_label.js diff --git a/x-pack/plugins/ml/public/components/form_label/_form_label.scss b/x-pack/legacy/plugins/ml/public/components/form_label/_form_label.scss similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/_form_label.scss rename to x-pack/legacy/plugins/ml/public/components/form_label/_form_label.scss diff --git a/x-pack/plugins/ml/public/components/form_label/_index.scss b/x-pack/legacy/plugins/ml/public/components/form_label/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/_index.scss rename to x-pack/legacy/plugins/ml/public/components/form_label/_index.scss diff --git a/x-pack/plugins/ml/public/components/form_label/form_label.js b/x-pack/legacy/plugins/ml/public/components/form_label/form_label.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/form_label.js rename to x-pack/legacy/plugins/ml/public/components/form_label/form_label.js diff --git a/x-pack/plugins/ml/public/components/form_label/form_label.test.js b/x-pack/legacy/plugins/ml/public/components/form_label/form_label.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/form_label.test.js rename to x-pack/legacy/plugins/ml/public/components/form_label/form_label.test.js diff --git a/x-pack/plugins/ml/public/components/form_label/form_label_directive.js b/x-pack/legacy/plugins/ml/public/components/form_label/form_label_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/form_label_directive.js rename to x-pack/legacy/plugins/ml/public/components/form_label/form_label_directive.js diff --git a/x-pack/plugins/ml/public/components/form_label/index.js b/x-pack/legacy/plugins/ml/public/components/form_label/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/form_label/index.js rename to x-pack/legacy/plugins/ml/public/components/form_label/index.js diff --git a/x-pack/plugins/ml/public/components/full_time_range_selector/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/ml/public/components/full_time_range_selector/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/components/full_time_range_selector/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/components/full_time_range_selector/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_directive.js b/x-pack/legacy/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_directive.js rename to x-pack/legacy/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_directive.js diff --git a/x-pack/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_service.ts b/x-pack/legacy/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_service.ts similarity index 100% rename from x-pack/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_service.ts rename to x-pack/legacy/plugins/ml/public/components/full_time_range_selector/full_time_range_selector_service.ts diff --git a/x-pack/plugins/ml/public/components/full_time_range_selector/index.test.tsx b/x-pack/legacy/plugins/ml/public/components/full_time_range_selector/index.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/full_time_range_selector/index.test.tsx rename to x-pack/legacy/plugins/ml/public/components/full_time_range_selector/index.test.tsx diff --git a/x-pack/plugins/ml/public/components/full_time_range_selector/index.tsx b/x-pack/legacy/plugins/ml/public/components/full_time_range_selector/index.tsx similarity index 100% rename from x-pack/plugins/ml/public/components/full_time_range_selector/index.tsx rename to x-pack/legacy/plugins/ml/public/components/full_time_range_selector/index.tsx diff --git a/x-pack/plugins/ml/public/components/influencers_list/_index.scss b/x-pack/legacy/plugins/ml/public/components/influencers_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/influencers_list/_index.scss rename to x-pack/legacy/plugins/ml/public/components/influencers_list/_index.scss diff --git a/x-pack/plugins/ml/public/components/influencers_list/_influencers_list.scss b/x-pack/legacy/plugins/ml/public/components/influencers_list/_influencers_list.scss similarity index 100% rename from x-pack/plugins/ml/public/components/influencers_list/_influencers_list.scss rename to x-pack/legacy/plugins/ml/public/components/influencers_list/_influencers_list.scss diff --git a/x-pack/plugins/ml/public/components/influencers_list/index.js b/x-pack/legacy/plugins/ml/public/components/influencers_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/influencers_list/index.js rename to x-pack/legacy/plugins/ml/public/components/influencers_list/index.js diff --git a/x-pack/plugins/ml/public/components/influencers_list/influencers_list.js b/x-pack/legacy/plugins/ml/public/components/influencers_list/influencers_list.js similarity index 100% rename from x-pack/plugins/ml/public/components/influencers_list/influencers_list.js rename to x-pack/legacy/plugins/ml/public/components/influencers_list/influencers_list.js diff --git a/x-pack/plugins/ml/public/components/items_grid/_index.scss b/x-pack/legacy/plugins/ml/public/components/items_grid/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/items_grid/_index.scss rename to x-pack/legacy/plugins/ml/public/components/items_grid/_index.scss diff --git a/x-pack/plugins/ml/public/components/items_grid/_items_grid.scss b/x-pack/legacy/plugins/ml/public/components/items_grid/_items_grid.scss similarity index 100% rename from x-pack/plugins/ml/public/components/items_grid/_items_grid.scss rename to x-pack/legacy/plugins/ml/public/components/items_grid/_items_grid.scss diff --git a/x-pack/plugins/ml/public/components/items_grid/index.js b/x-pack/legacy/plugins/ml/public/components/items_grid/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/items_grid/index.js rename to x-pack/legacy/plugins/ml/public/components/items_grid/index.js diff --git a/x-pack/plugins/ml/public/components/items_grid/items_grid.js b/x-pack/legacy/plugins/ml/public/components/items_grid/items_grid.js similarity index 100% rename from x-pack/plugins/ml/public/components/items_grid/items_grid.js rename to x-pack/legacy/plugins/ml/public/components/items_grid/items_grid.js diff --git a/x-pack/plugins/ml/public/components/items_grid/items_grid_pagination.js b/x-pack/legacy/plugins/ml/public/components/items_grid/items_grid_pagination.js similarity index 100% rename from x-pack/plugins/ml/public/components/items_grid/items_grid_pagination.js rename to x-pack/legacy/plugins/ml/public/components/items_grid/items_grid_pagination.js diff --git a/x-pack/plugins/ml/public/components/job_group_select/_index.scss b/x-pack/legacy/plugins/ml/public/components/job_group_select/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/job_group_select/_index.scss rename to x-pack/legacy/plugins/ml/public/components/job_group_select/_index.scss diff --git a/x-pack/plugins/ml/public/components/job_group_select/_job_group_select.scss b/x-pack/legacy/plugins/ml/public/components/job_group_select/_job_group_select.scss similarity index 100% rename from x-pack/plugins/ml/public/components/job_group_select/_job_group_select.scss rename to x-pack/legacy/plugins/ml/public/components/job_group_select/_job_group_select.scss diff --git a/x-pack/plugins/ml/public/components/job_group_select/index.js b/x-pack/legacy/plugins/ml/public/components/job_group_select/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_group_select/index.js rename to x-pack/legacy/plugins/ml/public/components/job_group_select/index.js diff --git a/x-pack/plugins/ml/public/components/job_group_select/job_group_select.html b/x-pack/legacy/plugins/ml/public/components/job_group_select/job_group_select.html similarity index 100% rename from x-pack/plugins/ml/public/components/job_group_select/job_group_select.html rename to x-pack/legacy/plugins/ml/public/components/job_group_select/job_group_select.html diff --git a/x-pack/plugins/ml/public/components/job_group_select/job_group_select.js b/x-pack/legacy/plugins/ml/public/components/job_group_select/job_group_select.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_group_select/job_group_select.js rename to x-pack/legacy/plugins/ml/public/components/job_group_select/job_group_select.js diff --git a/x-pack/plugins/ml/public/components/job_selector/_index.scss b/x-pack/legacy/plugins/ml/public/components/job_selector/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/_index.scss rename to x-pack/legacy/plugins/ml/public/components/job_selector/_index.scss diff --git a/x-pack/plugins/ml/public/components/job_selector/_job_selector.scss b/x-pack/legacy/plugins/ml/public/components/job_selector/_job_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/_job_selector.scss rename to x-pack/legacy/plugins/ml/public/components/job_selector/_job_selector.scss diff --git a/x-pack/plugins/ml/public/components/job_selector/custom_selection_table/custom_selection_table.js b/x-pack/legacy/plugins/ml/public/components/job_selector/custom_selection_table/custom_selection_table.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/custom_selection_table/custom_selection_table.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/custom_selection_table/custom_selection_table.js diff --git a/x-pack/plugins/ml/public/components/job_selector/custom_selection_table/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/custom_selection_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/custom_selection_table/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/custom_selection_table/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/id_badges/id_badges.js b/x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/id_badges.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/id_badges/id_badges.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/id_badges.js diff --git a/x-pack/plugins/ml/public/components/job_selector/id_badges/id_badges.test.js b/x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/id_badges/id_badges.test.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/id_badges.test.js diff --git a/x-pack/plugins/ml/public/components/job_selector/id_badges/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/id_badges/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/id_badges/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_select_service_utils.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_select_service_utils.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_select_service_utils.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_select_service_utils.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_badge/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_badge/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_badge/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_badge/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_badge/job_selector_badge.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_badge/job_selector_badge.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_badge/job_selector_badge.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_badge/job_selector_badge.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_react_wrapper_directive.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_react_wrapper_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_react_wrapper_directive.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_react_wrapper_directive.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_table/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_table/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.js diff --git a/x-pack/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.test.js b/x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.test.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/job_selector_table/job_selector_table.test.js diff --git a/x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.js b/x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.js diff --git a/x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js b/x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/new_selection_id_badges/new_selection_id_badges.test.js diff --git a/x-pack/plugins/ml/public/components/job_selector/timerange_bar/index.js b/x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/timerange_bar/index.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/index.js diff --git a/x-pack/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.js b/x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.js diff --git a/x-pack/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.test.js b/x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.test.js rename to x-pack/legacy/plugins/ml/public/components/job_selector/timerange_bar/timerange_bar.test.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/__snapshots__/json_tooltip.test.js.snap b/x-pack/legacy/plugins/ml/public/components/json_tooltip/__snapshots__/json_tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/__snapshots__/json_tooltip.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/__snapshots__/json_tooltip.test.js.snap diff --git a/x-pack/plugins/ml/public/components/json_tooltip/__tests__/json_tooltip.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/__tests__/json_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/__tests__/json_tooltip.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/__tests__/json_tooltip.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/_index.scss b/x-pack/legacy/plugins/ml/public/components/json_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/_index.scss rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/_index.scss diff --git a/x-pack/plugins/ml/public/components/json_tooltip/_json_tooltip.scss b/x-pack/legacy/plugins/ml/public/components/json_tooltip/_json_tooltip.scss similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/_json_tooltip.scss rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/_json_tooltip.scss diff --git a/x-pack/plugins/ml/public/components/json_tooltip/index.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/index.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/index.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/json_tooltip.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/json_tooltip.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/json_tooltip.test.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/json_tooltip.test.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip.test.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/json_tooltip_directive.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/json_tooltip_directive.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/json_tooltip_directive.js diff --git a/x-pack/plugins/ml/public/components/json_tooltip/tooltips.js b/x-pack/legacy/plugins/ml/public/components/json_tooltip/tooltips.js similarity index 100% rename from x-pack/plugins/ml/public/components/json_tooltip/tooltips.js rename to x-pack/legacy/plugins/ml/public/components/json_tooltip/tooltips.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/__snapshots__/kql_filter_bar.test.js.snap b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/__snapshots__/kql_filter_bar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/__snapshots__/kql_filter_bar.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/__snapshots__/kql_filter_bar.test.js.snap diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/__tests__/utils.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/__tests__/utils.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/__tests__/utils.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/__tests__/utils.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/__snapshots__/click_outside.test.js.snap b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/__snapshots__/click_outside.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/__snapshots__/click_outside.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/__snapshots__/click_outside.test.js.snap diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.test.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.test.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/click_outside.test.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/index.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/click_outside/index.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/click_outside/index.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/__snapshots__/filter_bar.test.js.snap b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/__snapshots__/filter_bar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/__snapshots__/filter_bar.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/__snapshots__/filter_bar.test.js.snap diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.test.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.test.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/filter_bar.test.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/index.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/filter_bar/index.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/filter_bar/index.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/index.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/index.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/index.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.test.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.test.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/kql_filter_bar.test.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/__snapshots__/suggestion.test.js.snap b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/__snapshots__/suggestion.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/__snapshots__/suggestion.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/__snapshots__/suggestion.test.js.snap diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/index.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/index.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/index.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.test.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.test.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestion/suggestion.test.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/__snapshots__/suggestions.test.js.snap b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/__snapshots__/suggestions.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/__snapshots__/suggestions.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/__snapshots__/suggestions.test.js.snap diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/index.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/index.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/index.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.test.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.test.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/suggestions/suggestions.test.js diff --git a/x-pack/plugins/ml/public/components/kql_filter_bar/utils.js b/x-pack/legacy/plugins/ml/public/components/kql_filter_bar/utils.js similarity index 100% rename from x-pack/plugins/ml/public/components/kql_filter_bar/utils.js rename to x-pack/legacy/plugins/ml/public/components/kql_filter_bar/utils.js diff --git a/x-pack/plugins/ml/public/components/loading_indicator/__tests__/loading_indicator_directive.js b/x-pack/legacy/plugins/ml/public/components/loading_indicator/__tests__/loading_indicator_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/__tests__/loading_indicator_directive.js rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/__tests__/loading_indicator_directive.js diff --git a/x-pack/plugins/ml/public/components/loading_indicator/_index.scss b/x-pack/legacy/plugins/ml/public/components/loading_indicator/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/_index.scss rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/_index.scss diff --git a/x-pack/plugins/ml/public/components/loading_indicator/_loading_indicator.scss b/x-pack/legacy/plugins/ml/public/components/loading_indicator/_loading_indicator.scss similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/_loading_indicator.scss rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/_loading_indicator.scss diff --git a/x-pack/plugins/ml/public/components/loading_indicator/index.js b/x-pack/legacy/plugins/ml/public/components/loading_indicator/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/index.js rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/index.js diff --git a/x-pack/plugins/ml/public/components/loading_indicator/loading_indicator.html b/x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator.html similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/loading_indicator.html rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator.html diff --git a/x-pack/plugins/ml/public/components/loading_indicator/loading_indicator.js b/x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator.js similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/loading_indicator.js rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator.js diff --git a/x-pack/plugins/ml/public/components/loading_indicator/loading_indicator_directive.js b/x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/loading_indicator_directive.js rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator_directive.js diff --git a/x-pack/plugins/ml/public/components/loading_indicator/loading_indicator_wrapper.html b/x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator_wrapper.html similarity index 100% rename from x-pack/plugins/ml/public/components/loading_indicator/loading_indicator_wrapper.html rename to x-pack/legacy/plugins/ml/public/components/loading_indicator/loading_indicator_wrapper.html diff --git a/x-pack/plugins/ml/public/components/message_call_out/index.js b/x-pack/legacy/plugins/ml/public/components/message_call_out/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/message_call_out/index.js rename to x-pack/legacy/plugins/ml/public/components/message_call_out/index.js diff --git a/x-pack/plugins/ml/public/components/message_call_out/message_call_out.js b/x-pack/legacy/plugins/ml/public/components/message_call_out/message_call_out.js similarity index 100% rename from x-pack/plugins/ml/public/components/message_call_out/message_call_out.js rename to x-pack/legacy/plugins/ml/public/components/message_call_out/message_call_out.js diff --git a/x-pack/plugins/ml/public/components/messagebar/__tests__/messagebar.js b/x-pack/legacy/plugins/ml/public/components/messagebar/__tests__/messagebar.js similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/__tests__/messagebar.js rename to x-pack/legacy/plugins/ml/public/components/messagebar/__tests__/messagebar.js diff --git a/x-pack/plugins/ml/public/components/messagebar/_index.scss b/x-pack/legacy/plugins/ml/public/components/messagebar/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/_index.scss rename to x-pack/legacy/plugins/ml/public/components/messagebar/_index.scss diff --git a/x-pack/plugins/ml/public/components/messagebar/_messagebar.scss b/x-pack/legacy/plugins/ml/public/components/messagebar/_messagebar.scss similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/_messagebar.scss rename to x-pack/legacy/plugins/ml/public/components/messagebar/_messagebar.scss diff --git a/x-pack/plugins/ml/public/components/messagebar/index.js b/x-pack/legacy/plugins/ml/public/components/messagebar/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/index.js rename to x-pack/legacy/plugins/ml/public/components/messagebar/index.js diff --git a/x-pack/plugins/ml/public/components/messagebar/messagebar.html b/x-pack/legacy/plugins/ml/public/components/messagebar/messagebar.html similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/messagebar.html rename to x-pack/legacy/plugins/ml/public/components/messagebar/messagebar.html diff --git a/x-pack/plugins/ml/public/components/messagebar/messagebar.js b/x-pack/legacy/plugins/ml/public/components/messagebar/messagebar.js similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/messagebar.js rename to x-pack/legacy/plugins/ml/public/components/messagebar/messagebar.js diff --git a/x-pack/plugins/ml/public/components/messagebar/messagebar_service.js b/x-pack/legacy/plugins/ml/public/components/messagebar/messagebar_service.js similarity index 100% rename from x-pack/plugins/ml/public/components/messagebar/messagebar_service.js rename to x-pack/legacy/plugins/ml/public/components/messagebar/messagebar_service.js diff --git a/x-pack/plugins/ml/public/components/nav_menu/_index.scss b/x-pack/legacy/plugins/ml/public/components/nav_menu/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/nav_menu/_index.scss rename to x-pack/legacy/plugins/ml/public/components/nav_menu/_index.scss diff --git a/x-pack/plugins/ml/public/components/nav_menu/_nav_menu.scss b/x-pack/legacy/plugins/ml/public/components/nav_menu/_nav_menu.scss similarity index 100% rename from x-pack/plugins/ml/public/components/nav_menu/_nav_menu.scss rename to x-pack/legacy/plugins/ml/public/components/nav_menu/_nav_menu.scss diff --git a/x-pack/plugins/ml/public/components/nav_menu/index.js b/x-pack/legacy/plugins/ml/public/components/nav_menu/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/nav_menu/index.js rename to x-pack/legacy/plugins/ml/public/components/nav_menu/index.js diff --git a/x-pack/plugins/ml/public/components/nav_menu/nav_menu.html b/x-pack/legacy/plugins/ml/public/components/nav_menu/nav_menu.html similarity index 100% rename from x-pack/plugins/ml/public/components/nav_menu/nav_menu.html rename to x-pack/legacy/plugins/ml/public/components/nav_menu/nav_menu.html diff --git a/x-pack/plugins/ml/public/components/nav_menu/nav_menu.js b/x-pack/legacy/plugins/ml/public/components/nav_menu/nav_menu.js similarity index 100% rename from x-pack/plugins/ml/public/components/nav_menu/nav_menu.js rename to x-pack/legacy/plugins/ml/public/components/nav_menu/nav_menu.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/actions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/condition_expression.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/condition_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/condition_expression.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/condition_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/conditions_section.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/rule_editor_flyout.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_expression.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/scope_expression.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_expression.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/scope_expression.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__snapshots__/scope_section.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/__tests__/utils.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/__tests__/utils.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/__tests__/utils.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/__tests__/utils.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/_index.scss b/x-pack/legacy/plugins/ml/public/components/rule_editor/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/_index.scss rename to x-pack/legacy/plugins/ml/public/components/rule_editor/_index.scss diff --git a/x-pack/plugins/ml/public/components/rule_editor/_rule_editor.scss b/x-pack/legacy/plugins/ml/public/components/rule_editor/_rule_editor.scss similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/_rule_editor.scss rename to x-pack/legacy/plugins/ml/public/components/rule_editor/_rule_editor.scss diff --git a/x-pack/plugins/ml/public/components/rule_editor/actions_section.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/actions_section.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/actions_section.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/actions_section.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/actions_section.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/actions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/actions_section.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/actions_section.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/__snapshots__/detector_description_list.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/_detector_description_list.scss b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/_detector_description_list.scss similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/_detector_description_list.scss rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/_detector_description_list.scss diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/_index.scss b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/_index.scss rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/_index.scss diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/detector_description_list.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/index.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/components/detector_description_list/index.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/components/detector_description_list/index.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/condition_expression.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/condition_expression.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/condition_expression.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/condition_expression.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/condition_expression.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/condition_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/condition_expression.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/condition_expression.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/conditions_section.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/conditions_section.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/conditions_section.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/conditions_section.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/conditions_section.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/conditions_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/conditions_section.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/conditions_section.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/index.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/index.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/index.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/rule_editor_flyout.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/rule_editor_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/rule_editor_flyout.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/rule_editor_flyout.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/rule_editor_flyout.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/rule_editor_flyout.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/rule_editor_flyout.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/rule_editor_flyout.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/scope_expression.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/scope_expression.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/scope_expression.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/scope_expression.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/scope_expression.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/scope_expression.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/scope_expression.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/scope_expression.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/scope_section.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/scope_section.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/scope_section.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/scope_section.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/scope_section.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/scope_section.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/scope_section.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/scope_section.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/add_to_filter_list_link.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/delete_rule_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/edit_condition_link.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/rule_action_panel.test.js.snap b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/rule_action_panel.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/rule_action_panel.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/__snapshots__/rule_action_panel.test.js.snap diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/add_to_filter_list_link.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/delete_rule_modal.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/edit_condition_link.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/index.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/index.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/index.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.test.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.test.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/rule_action_panel.test.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/select_rule_action/select_rule_action.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/select_rule_action.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/select_rule_action/select_rule_action.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/select_rule_action/select_rule_action.js diff --git a/x-pack/plugins/ml/public/components/rule_editor/utils.js b/x-pack/legacy/plugins/ml/public/components/rule_editor/utils.js similarity index 100% rename from x-pack/plugins/ml/public/components/rule_editor/utils.js rename to x-pack/legacy/plugins/ml/public/components/rule_editor/utils.js diff --git a/x-pack/plugins/ml/public/components/tooltip/index.js b/x-pack/legacy/plugins/ml/public/components/tooltip/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/tooltip/index.js rename to x-pack/legacy/plugins/ml/public/components/tooltip/index.js diff --git a/x-pack/plugins/ml/public/components/tooltip/tooltip_directive.js b/x-pack/legacy/plugins/ml/public/components/tooltip/tooltip_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/tooltip/tooltip_directive.js rename to x-pack/legacy/plugins/ml/public/components/tooltip/tooltip_directive.js diff --git a/x-pack/plugins/ml/public/components/tooltip/tooltip_view.js b/x-pack/legacy/plugins/ml/public/components/tooltip/tooltip_view.js similarity index 100% rename from x-pack/plugins/ml/public/components/tooltip/tooltip_view.js rename to x-pack/legacy/plugins/ml/public/components/tooltip/tooltip_view.js diff --git a/x-pack/plugins/ml/public/components/upgrade/index.js b/x-pack/legacy/plugins/ml/public/components/upgrade/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/upgrade/index.js rename to x-pack/legacy/plugins/ml/public/components/upgrade/index.js diff --git a/x-pack/plugins/ml/public/components/upgrade/upgrade_warning.js b/x-pack/legacy/plugins/ml/public/components/upgrade/upgrade_warning.js similarity index 100% rename from x-pack/plugins/ml/public/components/upgrade/upgrade_warning.js rename to x-pack/legacy/plugins/ml/public/components/upgrade/upgrade_warning.js diff --git a/x-pack/plugins/ml/public/components/validate_job/__snapshots__/validate_job_view.test.js.snap b/x-pack/legacy/plugins/ml/public/components/validate_job/__snapshots__/validate_job_view.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/components/validate_job/__snapshots__/validate_job_view.test.js.snap rename to x-pack/legacy/plugins/ml/public/components/validate_job/__snapshots__/validate_job_view.test.js.snap diff --git a/x-pack/plugins/ml/public/components/validate_job/index.js b/x-pack/legacy/plugins/ml/public/components/validate_job/index.js similarity index 100% rename from x-pack/plugins/ml/public/components/validate_job/index.js rename to x-pack/legacy/plugins/ml/public/components/validate_job/index.js diff --git a/x-pack/plugins/ml/public/components/validate_job/validate_job_directive.js b/x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_directive.js similarity index 100% rename from x-pack/plugins/ml/public/components/validate_job/validate_job_directive.js rename to x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_directive.js diff --git a/x-pack/plugins/ml/public/components/validate_job/validate_job_view.js b/x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_view.js similarity index 100% rename from x-pack/plugins/ml/public/components/validate_job/validate_job_view.js rename to x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_view.js diff --git a/x-pack/plugins/ml/public/components/validate_job/validate_job_view.test.js b/x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_view.test.js similarity index 100% rename from x-pack/plugins/ml/public/components/validate_job/validate_job_view.test.js rename to x-pack/legacy/plugins/ml/public/components/validate_job/validate_job_view.test.js diff --git a/x-pack/plugins/ml/public/data_frame/_index.scss b/x-pack/legacy/plugins/ml/public/data_frame/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/data_frame/_index.scss rename to x-pack/legacy/plugins/ml/public/data_frame/_index.scss diff --git a/x-pack/plugins/ml/public/data_frame/breadcrumbs.ts b/x-pack/legacy/plugins/ml/public/data_frame/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/breadcrumbs.ts rename to x-pack/legacy/plugins/ml/public/data_frame/breadcrumbs.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/aggregations.test.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/aggregations.test.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/aggregations.test.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/aggregations.test.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/aggregations.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/aggregations.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/aggregations.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/aggregations.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/dropdown.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/dropdown.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/dropdown.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/dropdown.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/fields.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/fields.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/fields.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/fields.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/kibana_context.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/kibana_context.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/kibana_context.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/kibana_context.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/navigation.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/navigation.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/navigation.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/navigation.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/pivot_aggs.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/pivot_aggs.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/pivot_aggs.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/pivot_aggs.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/pivot_group_by.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/pivot_group_by.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/pivot_group_by.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/pivot_group_by.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/request.test.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/request.test.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/request.test.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/request.test.ts diff --git a/x-pack/plugins/ml/public/data_frame/common/request.ts b/x-pack/legacy/plugins/ml/public/data_frame/common/request.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/common/request.ts rename to x-pack/legacy/plugins/ml/public/data_frame/common/request.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_dropdown/dropdown.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_dropdown/dropdown.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_dropdown/dropdown.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_dropdown/dropdown.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/agg_label_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/agg_label_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/agg_label_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/agg_label_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_summary.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_summary.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_summary.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/list_summary.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/_aggregation_label_form.scss b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/_aggregation_label_form.scss similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/_aggregation_label_form.scss rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/_aggregation_label_form.scss diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/_index.scss b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/_index.scss rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/_index.scss diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/agg_label_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_summary.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_summary.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_summary.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/list_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/list_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/popover_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/popover_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/popover_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/aggregation_list/popover_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/aggregation_list/popover_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/aggregation_list/popover_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_summary.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_summary.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_summary.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/define_pivot_summary.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/pivot_preview.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/pivot_preview.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/pivot_preview.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/__snapshots__/pivot_preview.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/common.test.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/common.test.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/common.test.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/common.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/common.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/common.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/common.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/define_pivot_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/pivot_preview.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/define_pivot/use_pivot_preview_data.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_summary.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_summary.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_summary.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/group_by_label_summary.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_summary.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_summary.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_summary.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/list_summary.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/popover_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/popover_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/popover_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/__snapshots__/popover_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/_group_by_label_form.scss b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/_group_by_label_form.scss similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/_group_by_label_form.scss rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/_group_by_label_form.scss diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/_index.scss b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/_index.scss rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/_index.scss diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/group_by_label_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/list_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/list_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/list_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/list_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/list_summary.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_summary.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/list_summary.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_summary.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/list_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/list_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/list_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/popover_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/popover_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/popover_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/popover_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/group_by_list/popover_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/popover_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/group_by_list/popover_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/group_by_list/popover_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/job_create/__snapshots__/job_create_form.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/components/job_create/__snapshots__/job_create_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_create/__snapshots__/job_create_form.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_create/__snapshots__/job_create_form.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/components/job_create/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/job_create/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_create/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_create/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/job_create/job_create_form.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_form.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_create/job_create_form.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_form.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/job_create/job_create_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_create/job_create_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/job_create/job_create_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_create/job_create_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_create/job_create_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/job_details/common.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/job_details/common.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_details/common.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_details/common.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/job_details/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/job_details/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_details/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_details/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/job_details/job_details_form.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/job_details/job_details_form.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_details/job_details_form.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_details/job_details_form.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/job_details/job_details_summary.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/job_details/job_details_summary.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/job_details/job_details_summary.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/job_details/job_details_summary.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/common.test.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/common.test.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/common.test.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/common.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/common.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/common.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/common.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/expanded_row.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/expanded_row.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/source_index_preview.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/source_index_preview.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/source_index_preview.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/source_index_preview.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/source_index_preview/use_source_index_data.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/wizard_nav/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/components/wizard_nav/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/wizard_nav/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/components/wizard_nav/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/components/wizard_nav/wizard_nav.tsx b/x-pack/legacy/plugins/ml/public/data_frame/components/wizard_nav/wizard_nav.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/components/wizard_nav/wizard_nav.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/components/wizard_nav/wizard_nav.tsx diff --git a/x-pack/plugins/ml/public/data_frame/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/access_denied/directive.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/directive.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/access_denied/directive.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/directive.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/access_denied/page.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/page.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/access_denied/page.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/page.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/access_denied/page.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/access_denied/page.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/page.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/access_denied/route.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/route.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/access_denied/route.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/access_denied/route.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/directive.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/directive.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/directive.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/directive.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/page.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/page.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/page.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/route.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/route.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/route.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/route.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/wizard.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/wizard.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/data_frame_new_pivot/wizard.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/data_frame_new_pivot/wizard.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/__snapshots__/page.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/__snapshots__/page.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/__snapshots__/page.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/__snapshots__/page.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/__snapshots__/create_job_button.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/__snapshots__/create_job_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/__snapshots__/create_job_button.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/__snapshots__/create_job_button.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/create_job_button.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/create_job_button/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__mocks__/data_frame_job_list_row.json b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__mocks__/data_frame_job_list_row.json similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__mocks__/data_frame_job_list_row.json rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__mocks__/data_frame_job_list_row.json diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_delete.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_delete.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_delete.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_delete.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_start.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_start.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_start.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/action_start.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/expanded_row.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/expanded_row.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/expanded_row.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/expanded_row.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_details_pane.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_details_pane.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_details_pane.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_details_pane.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_json_pane.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_json_pane.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_json_pane.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_json_pane.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_list.test.tsx.snap b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_list.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_list.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/__snapshots__/job_list.test.tsx.snap diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_delete.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/action_start.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/actions.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/columns.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.test.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.test.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.test.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.test.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/common.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/expanded_row.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_details_pane.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_json_pane.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_list.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/delete_job.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/delete_job.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/delete_job.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/delete_job.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/get_jobs.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/get_jobs.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/get_jobs.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/get_jobs.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/index.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/index.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/index.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/index.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/start_job.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/start_job.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/start_job.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/start_job.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/stop_job.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/stop_job.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/stop_job.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/job_service/stop_job.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/use_refresh_interval.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/use_refresh_interval.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/components/job_list/use_refresh_interval.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/components/job_list/use_refresh_interval.ts diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/directive.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/directive.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/directive.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/directive.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/page.test.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/page.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/page.test.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/page.test.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/page.tsx b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/page.tsx similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/page.tsx rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/page.tsx diff --git a/x-pack/plugins/ml/public/data_frame/pages/job_management/route.ts b/x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/route.ts similarity index 100% rename from x-pack/plugins/ml/public/data_frame/pages/job_management/route.ts rename to x-pack/legacy/plugins/ml/public/data_frame/pages/job_management/route.ts diff --git a/x-pack/plugins/ml/public/datavisualizer/__tests__/datavisualizer_controller.js b/x-pack/legacy/plugins/ml/public/datavisualizer/__tests__/datavisualizer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/__tests__/datavisualizer_controller.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/__tests__/datavisualizer_controller.js diff --git a/x-pack/plugins/ml/public/datavisualizer/_datavisualizer.scss b/x-pack/legacy/plugins/ml/public/datavisualizer/_datavisualizer.scss similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/_datavisualizer.scss rename to x-pack/legacy/plugins/ml/public/datavisualizer/_datavisualizer.scss diff --git a/x-pack/plugins/ml/public/datavisualizer/_index.scss b/x-pack/legacy/plugins/ml/public/datavisualizer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/_index.scss rename to x-pack/legacy/plugins/ml/public/datavisualizer/_index.scss diff --git a/x-pack/plugins/ml/public/datavisualizer/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/datavisualizer/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/datavisualizer/datavisualizer.html b/x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer.html similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/datavisualizer.html rename to x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer.html diff --git a/x-pack/plugins/ml/public/datavisualizer/datavisualizer_controller.js b/x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/datavisualizer_controller.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer_controller.js diff --git a/x-pack/plugins/ml/public/datavisualizer/datavisualizer_sidebar.html b/x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer_sidebar.html similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/datavisualizer_sidebar.html rename to x-pack/legacy/plugins/ml/public/datavisualizer/datavisualizer_sidebar.html diff --git a/x-pack/plugins/ml/public/datavisualizer/index.js b/x-pack/legacy/plugins/ml/public/datavisualizer/index.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/index.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/index.js diff --git a/x-pack/plugins/ml/public/datavisualizer/selector/datavisualizer_selector.js b/x-pack/legacy/plugins/ml/public/datavisualizer/selector/datavisualizer_selector.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/selector/datavisualizer_selector.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/selector/datavisualizer_selector.js diff --git a/x-pack/plugins/ml/public/datavisualizer/selector/directive.js b/x-pack/legacy/plugins/ml/public/datavisualizer/selector/directive.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/selector/directive.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/selector/directive.js diff --git a/x-pack/plugins/ml/public/datavisualizer/selector/index.js b/x-pack/legacy/plugins/ml/public/datavisualizer/selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/datavisualizer/selector/index.js rename to x-pack/legacy/plugins/ml/public/datavisualizer/selector/index.js diff --git a/x-pack/plugins/ml/public/explorer/__mocks__/mock_anomalies_table_data.json b/x-pack/legacy/plugins/ml/public/explorer/__mocks__/mock_anomalies_table_data.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/__mocks__/mock_anomalies_table_data.json rename to x-pack/legacy/plugins/ml/public/explorer/__mocks__/mock_anomalies_table_data.json diff --git a/x-pack/plugins/ml/public/explorer/__mocks__/mock_overall_swimlane.json b/x-pack/legacy/plugins/ml/public/explorer/__mocks__/mock_overall_swimlane.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/__mocks__/mock_overall_swimlane.json rename to x-pack/legacy/plugins/ml/public/explorer/__mocks__/mock_overall_swimlane.json diff --git a/x-pack/plugins/ml/public/explorer/__snapshots__/explorer_swimlane.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/__snapshots__/explorer_swimlane.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/__snapshots__/explorer_swimlane.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/__snapshots__/explorer_swimlane.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/__tests__/explorer_controller.js b/x-pack/legacy/plugins/ml/public/explorer/__tests__/explorer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/__tests__/explorer_controller.js rename to x-pack/legacy/plugins/ml/public/explorer/__tests__/explorer_controller.js diff --git a/x-pack/plugins/ml/public/explorer/_explorer.scss b/x-pack/legacy/plugins/ml/public/explorer/_explorer.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/_explorer.scss rename to x-pack/legacy/plugins/ml/public/explorer/_explorer.scss diff --git a/x-pack/plugins/ml/public/explorer/_index.scss b/x-pack/legacy/plugins/ml/public/explorer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/_index.scss rename to x-pack/legacy/plugins/ml/public/explorer/_index.scss diff --git a/x-pack/plugins/ml/public/explorer/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/explorer/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/explorer/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/__snapshots__/explorer_no_influencers_found.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/explorer_no_influencers_found.test.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/index.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_influencers_found/index.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_influencers_found/index.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.test.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.test.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.test.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/index.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_jobs_found/index.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_jobs_found/index.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/__snapshots__/explorer_no_results_found.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/explorer_no_results_found.test.js diff --git a/x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/index.js b/x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/explorer_no_results_found/index.js rename to x-pack/legacy/plugins/ml/public/explorer/components/explorer_no_results_found/index.js diff --git a/x-pack/plugins/ml/public/explorer/components/index.js b/x-pack/legacy/plugins/ml/public/explorer/components/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/components/index.js rename to x-pack/legacy/plugins/ml/public/explorer/components/index.js diff --git a/x-pack/plugins/ml/public/explorer/explorer.html b/x-pack/legacy/plugins/ml/public/explorer/explorer.html similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer.html rename to x-pack/legacy/plugins/ml/public/explorer/explorer.html diff --git a/x-pack/plugins/ml/public/explorer/explorer.js b/x-pack/legacy/plugins/ml/public/explorer/explorer.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_chart_records.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_record.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_record.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_record.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_anomaly_record.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_chart_data_rare.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_detectors_by_job.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_job_config.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_job_config.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_job_config.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_job_config.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_filebeat.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_rare.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_rare.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_rare.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_config_rare.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_promises_response.json b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_promises_response.json similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_promises_response.json rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__mocks__/mock_series_promises_response.json diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_config_builder.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_config_builder.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_config_builder.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_config_builder.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_chart_info_tooltip.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_charts_container_service.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_charts_container_service.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_charts_container_service.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/__snapshots__/explorer_charts_container_service.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_chart.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_chart.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_chart.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_chart.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_chart_tooltip.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_chart_tooltip.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_chart_tooltip.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_chart_tooltip.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_charts_container.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_charts_container.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/_explorer_charts_container.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_explorer_charts_container.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/_index.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/_index.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/_index.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/__snapshots__/explorer_chart_label_badge.test.js.snap diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_explorer_chart_label_badge.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_index.scss b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_index.scss rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/_index.scss diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/explorer_chart_label_badge.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/index.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/index.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/components/explorer_chart_label/index.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_config_builder.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_distribution.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_info_tooltip.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_chart_single_metric.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/explorer_charts_container_service.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_charts/index.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_charts/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_charts/index.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_charts/index.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_constants.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_constants.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_constants.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_constants.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_controller.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_controller.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_controller.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_dashboard_service.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_dashboard_service.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_dashboard_service.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_dashboard_service.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_react_wrapper_directive.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_react_wrapper_directive.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_react_wrapper_directive.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_react_wrapper_directive.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_swimlane.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_swimlane.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_swimlane.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_swimlane.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_swimlane.test.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_swimlane.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_swimlane.test.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_swimlane.test.js diff --git a/x-pack/plugins/ml/public/explorer/explorer_utils.js b/x-pack/legacy/plugins/ml/public/explorer/explorer_utils.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/explorer_utils.js rename to x-pack/legacy/plugins/ml/public/explorer/explorer_utils.js diff --git a/x-pack/plugins/ml/public/explorer/index.js b/x-pack/legacy/plugins/ml/public/explorer/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/index.js rename to x-pack/legacy/plugins/ml/public/explorer/index.js diff --git a/x-pack/plugins/ml/public/explorer/legacy_utils.js b/x-pack/legacy/plugins/ml/public/explorer/legacy_utils.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/legacy_utils.js rename to x-pack/legacy/plugins/ml/public/explorer/legacy_utils.js diff --git a/x-pack/plugins/ml/public/explorer/select_limit/index.js b/x-pack/legacy/plugins/ml/public/explorer/select_limit/index.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/select_limit/index.js rename to x-pack/legacy/plugins/ml/public/explorer/select_limit/index.js diff --git a/x-pack/plugins/ml/public/explorer/select_limit/select_limit.js b/x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/select_limit/select_limit.js rename to x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit.js diff --git a/x-pack/plugins/ml/public/explorer/select_limit/select_limit.test.js b/x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit.test.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/select_limit/select_limit.test.js rename to x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit.test.js diff --git a/x-pack/plugins/ml/public/explorer/select_limit/select_limit_service.js b/x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit_service.js similarity index 100% rename from x-pack/plugins/ml/public/explorer/select_limit/select_limit_service.js rename to x-pack/legacy/plugins/ml/public/explorer/select_limit/select_limit_service.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/_file_datavisualizer.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/_file_datavisualizer.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/_file_datavisualizer.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/_file_datavisualizer.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/_about_panel.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/_about_panel.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/_about_panel.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/_about_panel.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/about_panel.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/about_panel.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/about_panel.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/about_panel.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/welcome_content.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/welcome_content.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/about_panel/welcome_content.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/about_panel/welcome_content.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/_analysis_summary.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/_analysis_summary.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/_analysis_summary.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/_analysis_summary.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/analysis_summary.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/analysis_summary.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/analysis_summary.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/analysis_summary.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/analysis_summary/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/analysis_summary/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/bottom_bar/bottom_bar.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/bottom_bar/bottom_bar.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/bottom_bar/bottom_bar.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/bottom_bar/bottom_bar.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/bottom_bar/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/bottom_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/bottom_bar/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/bottom_bar/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/__snapshots__/overrides.test.js.snap b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/__snapshots__/overrides.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/__snapshots__/overrides.test.js.snap rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/__snapshots__/overrides.test.js.snap diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/_edit_flyout.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/_edit_flyout.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/_edit_flyout.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/_edit_flyout.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/edit_flyout.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/edit_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/edit_flyout.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/edit_flyout.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/option_lists.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/option_lists.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/option_lists.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/option_lists.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/options.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/options.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/options.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/options/options.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.test.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.test.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.test.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides.test.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides_validation.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides_validation.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides_validation.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/edit_flyout/overrides_validation.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/_experimental_badge.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/_experimental_badge.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/_experimental_badge.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/_experimental_badge.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/experimental_badge.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/experimental_badge.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/experimental_badge.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/experimental_badge.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/experimental_badge/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/experimental_badge/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_field_stats_card.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_field_stats_card.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_field_stats_card.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_field_stats_card.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_fields_stats.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_fields_stats.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_fields_stats.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_fields_stats.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/field_stats_card.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/field_stats_card.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/field_stats_card.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/field_stats_card.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/fields_stats.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/fields_stats.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/fields_stats.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/fields_stats.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/get_field_names.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/get_field_names.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/get_field_names.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/get_field_names.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/fields_stats/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/fields_stats/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/_file_contents.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/_file_contents.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/_file_contents.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/_file_contents.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/file_contents.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/file_contents.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/file_contents.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/file_contents.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_contents/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_contents/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_file_datavisualizer_view.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_file_datavisualizer_view.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_file_datavisualizer_view.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_file_datavisualizer_view.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_datavisualizer_view.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_datavisualizer_view.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_datavisualizer_view.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_datavisualizer_view.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_error_callouts.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_error_callouts.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_error_callouts.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/file_error_callouts.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/file_datavisualizer_view/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_errors/errors.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_errors/errors.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_errors/errors.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_errors/errors.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_errors/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_errors/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_errors/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_errors/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_progress/import_progress.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_progress/import_progress.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_progress/import_progress.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_progress/import_progress.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_progress/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_progress/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_progress/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_progress/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/advanced.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/advanced.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/advanced.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/advanced.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/import_settings.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/import_settings.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/import_settings.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/import_settings.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/simple.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/simple.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_settings/simple.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_settings/simple.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/_import_sumary.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/_import_sumary.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/_import_sumary.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/_import_sumary.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/import_summary.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/import_summary.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/import_summary.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/import_summary.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_summary/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_summary/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/import_view.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/import_view.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/import_view.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/import_view.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/csv_importer.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/csv_importer.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/csv_importer.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/csv_importer.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer_factory.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer_factory.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer_factory.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/importer_factory.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/ndjson_importer.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/ndjson_importer.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/ndjson_importer.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/ndjson_importer.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/sst_importer.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/sst_importer.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/importer/sst_importer.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/importer/sst_importer.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/import_view/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/import_view/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/import_view/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_links/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_links/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_links/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_links/results_links.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_view/_index.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_view/_index.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/_index.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_view/_results_view.scss b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/_results_view.scss similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_view/_results_view.scss rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/_results_view.scss diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_view/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_view/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/results_view/results_view.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/results_view.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/results_view/results_view.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/results_view/results_view.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/utils/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/utils/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/index.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/utils/overrides.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/overrides.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/utils/overrides.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/overrides.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/components/utils/utils.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/utils.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/components/utils/utils.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/components/utils/utils.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/file_datavisualizer.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/file_datavisualizer.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/file_datavisualizer.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/file_datavisualizer.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/file_datavisualizer_directive.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/file_datavisualizer_directive.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/file_datavisualizer_directive.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/file_datavisualizer_directive.js diff --git a/x-pack/plugins/ml/public/file_datavisualizer/index.js b/x-pack/legacy/plugins/ml/public/file_datavisualizer/index.js similarity index 100% rename from x-pack/plugins/ml/public/file_datavisualizer/index.js rename to x-pack/legacy/plugins/ml/public/file_datavisualizer/index.js diff --git a/x-pack/plugins/ml/public/formatters/__tests__/abbreviate_whole_number.js b/x-pack/legacy/plugins/ml/public/formatters/__tests__/abbreviate_whole_number.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/__tests__/abbreviate_whole_number.js rename to x-pack/legacy/plugins/ml/public/formatters/__tests__/abbreviate_whole_number.js diff --git a/x-pack/plugins/ml/public/formatters/__tests__/format_value.js b/x-pack/legacy/plugins/ml/public/formatters/__tests__/format_value.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/__tests__/format_value.js rename to x-pack/legacy/plugins/ml/public/formatters/__tests__/format_value.js diff --git a/x-pack/plugins/ml/public/formatters/__tests__/metric_change_description.js b/x-pack/legacy/plugins/ml/public/formatters/__tests__/metric_change_description.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/__tests__/metric_change_description.js rename to x-pack/legacy/plugins/ml/public/formatters/__tests__/metric_change_description.js diff --git a/x-pack/plugins/ml/public/formatters/__tests__/round_to_decimal_place.js b/x-pack/legacy/plugins/ml/public/formatters/__tests__/round_to_decimal_place.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/__tests__/round_to_decimal_place.js rename to x-pack/legacy/plugins/ml/public/formatters/__tests__/round_to_decimal_place.js diff --git a/x-pack/plugins/ml/public/formatters/abbreviate_whole_number.js b/x-pack/legacy/plugins/ml/public/formatters/abbreviate_whole_number.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/abbreviate_whole_number.js rename to x-pack/legacy/plugins/ml/public/formatters/abbreviate_whole_number.js diff --git a/x-pack/plugins/ml/public/formatters/format_value.js b/x-pack/legacy/plugins/ml/public/formatters/format_value.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/format_value.js rename to x-pack/legacy/plugins/ml/public/formatters/format_value.js diff --git a/x-pack/plugins/ml/public/formatters/metric_change_description.js b/x-pack/legacy/plugins/ml/public/formatters/metric_change_description.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/metric_change_description.js rename to x-pack/legacy/plugins/ml/public/formatters/metric_change_description.js diff --git a/x-pack/plugins/ml/public/formatters/round_to_decimal_place.js b/x-pack/legacy/plugins/ml/public/formatters/round_to_decimal_place.js similarity index 100% rename from x-pack/plugins/ml/public/formatters/round_to_decimal_place.js rename to x-pack/legacy/plugins/ml/public/formatters/round_to_decimal_place.js diff --git a/x-pack/plugins/ml/public/hacks/toggle_app_link_in_nav.js b/x-pack/legacy/plugins/ml/public/hacks/toggle_app_link_in_nav.js similarity index 100% rename from x-pack/plugins/ml/public/hacks/toggle_app_link_in_nav.js rename to x-pack/legacy/plugins/ml/public/hacks/toggle_app_link_in_nav.js diff --git a/x-pack/plugins/ml/public/index.scss b/x-pack/legacy/plugins/ml/public/index.scss similarity index 100% rename from x-pack/plugins/ml/public/index.scss rename to x-pack/legacy/plugins/ml/public/index.scss diff --git a/x-pack/plugins/ml/public/jobs/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/jobs/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/jobs/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/editor.test.js.snap diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/__snapshots__/list.test.js.snap diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/_custom_url_editor.scss b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/_custom_url_editor.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/_custom_url_editor.scss rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/_custom_url_editor.scss diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/constants.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/constants.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/constants.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/constants.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/editor.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/editor.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/editor.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/editor.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/editor.test.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/editor.test.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/editor.test.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/editor.test.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/index.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/index.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/index.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/list.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/list.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/list.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/list.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/list.test.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/list.test.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/list.test.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/list.test.js diff --git a/x-pack/plugins/ml/public/jobs/components/custom_url_editor/utils.js b/x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/utils.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/components/custom_url_editor/utils.js rename to x-pack/legacy/plugins/ml/public/jobs/components/custom_url_editor/utils.js diff --git a/x-pack/plugins/ml/public/jobs/index.js b/x-pack/legacy/plugins/ml/public/jobs/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/index.js rename to x-pack/legacy/plugins/ml/public/jobs/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/_jobs_list.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/_jobs_list.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/_jobs_list.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/_jobs_list.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/create_watch_flyout.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/create_watch_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/create_watch_flyout.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/create_watch_flyout.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/create_watch_flyout/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/delete_job_modal.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/delete_job_modal.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/delete_job_modal.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/delete_job_modal.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/delete_job_modal/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_edit_job_flyout.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_edit_job_flyout.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_edit_job_flyout.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_edit_job_flyout.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_job_flyout.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_utils.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_utils.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_utils.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/edit_utils.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/datafeed.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/detectors.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/edit_job_flyout/tabs/job_details.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/management.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/management.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/management.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/management.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/results.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/results.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_actions/results.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_actions/results.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_job_details.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/_job_details.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/_job_details.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/_job_details.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/datafeed_preview_tab.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/datafeed_preview_tab.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/datafeed_preview_tab.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/datafeed_preview_tab.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/extract_job_details.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/extract_job_details.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/extract_job_details.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/extract_job_details.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/forecasts_table.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/forecasts_table/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/format_values.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/format_values.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/format_values.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/format_values.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_details.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_details.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_details.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_details.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_details_pane.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_details_pane.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_details_pane.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_details_pane.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_messages_pane.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_messages_pane.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/job_messages_pane.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/job_messages_pane.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/json_tab.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/json_tab.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_details/json_tab.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_details/json_tab.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_job_filter_bar.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_job_filter_bar.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_job_filter_bar.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/_job_filter_bar.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/job_filter_bar.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/job_filter_bar.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/job_filter_bar.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_filter_bar/job_filter_bar.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/_job_group.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/_job_group.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/_job_group.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/_job_group.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/job_group.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/job_group.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_group/job_group.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_group/job_group.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_message_icon/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_message_icon/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_message_icon/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_message_icon/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/job_message_icon/job_message_icon.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_message_icon/job_message_icon.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/job_message_icon/job_message_icon.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/job_message_icon/job_message_icon.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/_jobs_list.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/_jobs_list.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/_jobs_list.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/_jobs_list.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/job_description.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/job_description.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/job_description.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/job_description.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/jobs_list.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/jobs_list.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list/jobs_list.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list/jobs_list.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_jobs_list_view.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_jobs_list_view.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_jobs_list_view.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/_jobs_list_view.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_jobs_stats_bar.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_jobs_stats_bar.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_jobs_stats_bar.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/_jobs_stats_bar.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/jobs_stats_bar/jobs_stats_bar.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/ml_job_editor.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/ml_job_editor.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/ml_job_editor.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/ml_job_editor/ml_job_editor.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_multi_job_actions.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_multi_job_actions.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_multi_job_actions.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/_multi_job_actions.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/actions_menu.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/actions_menu.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/actions_menu.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/actions_menu.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_group_selector.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_group_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_group_selector.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_group_selector.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_group_list.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_group_list.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_group_list.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_group_list.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/group_list.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_list/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/group_selector.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_new_group_input.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_new_group_input.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_new_group_input.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/_new_group_input.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/group_selector/new_group_input/new_group_input.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/multi_job_actions/multi_job_actions.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/new_job_button/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/new_job_button/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/new_job_button/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/new_job_button/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/new_job_button/new_job_button.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/new_job_button/new_job_button.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/new_job_button/new_job_button.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/new_job_button/new_job_button.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/node_available_warning/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/node_available_warning/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/node_available_warning/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/node_available_warning/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/node_available_warning/node_available_warning.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/node_available_warning/node_available_warning.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/node_available_warning/node_available_warning.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/node_available_warning/node_available_warning.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/refresh_jobs_list_button.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/refresh_jobs_list_button.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/refresh_jobs_list_button.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/refresh_jobs_list_button/refresh_jobs_list_button.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/start_datafeed_modal.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_time_range_selector.scss b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_time_range_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_time_range_selector.scss rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/_time_range_selector.scss diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/start_datafeed_modal/time_range_selector/time_range_selector.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/utils.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/utils.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/utils.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/utils.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/components/validate_job.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/validate_job.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/components/validate_job.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/components/validate_job.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/directive.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/directive.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/directive.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/index.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/index.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/index.js diff --git a/x-pack/plugins/ml/public/jobs/jobs_list/jobs.js b/x-pack/legacy/plugins/ml/public/jobs/jobs_list/jobs.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/jobs_list/jobs.js rename to x-pack/legacy/plugins/ml/public/jobs/jobs_list/jobs.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/__tests__/new_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/__tests__/new_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/__tests__/new_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/__tests__/new_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/_advanced.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/_advanced.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/_advanced.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/_advanced.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/__tests__/detector_filter_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/__tests__/detector_filter_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/__tests__/detector_filter_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/__tests__/detector_filter_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_detector_filter_modal.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_detector_filter_modal.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_detector_filter_modal.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_detector_filter_modal.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/detector_filter_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_filter_modal/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/__tests__/detector_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/__tests__/detector_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/__tests__/detector_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/__tests__/detector_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/_detector_modal.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/_detector_modal.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/_detector_modal.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/_detector_modal.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/detector_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detector_modal/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detector_modal/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detectors_list.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detectors_list.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detectors_list.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detectors_list.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/detectors_list_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detectors_list_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/detectors_list_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/detectors_list_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout.test.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout.test.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout.test.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout.test.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_view.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_view.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_view.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/enable_model_plot_callout_view.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/enable_model_plot_callout/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/field_select.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/field_select.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/field_select.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/field_select.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/field_select_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/field_select_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/field_select_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/field_select_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/new_job.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/new_job.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/new_job.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/new_job.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/new_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/new_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/new_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/new_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/__tests__/save_status_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/__tests__/save_status_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/__tests__/save_status_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/__tests__/save_status_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_save_status_modal.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_save_status_modal.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_save_status_modal.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/_save_status_modal.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/advanced/save_status_modal/save_status_modal_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/agg_types_filter.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/agg_types_filter.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/agg_types_filter.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/agg_types_filter.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/agg_types_filter/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/__snapshots__/bucket_span_estimator_view.test.js.snap b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/__snapshots__/bucket_span_estimator_view.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/__snapshots__/bucket_span_estimator_view.test.js.snap rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/__snapshots__/bucket_span_estimator_view.test.js.snap diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_bucket_span_estimator.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_bucket_span_estimator.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_bucket_span_estimator.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_bucket_span_estimator.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.test.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.test.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.test.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/bucket_span_estimator_view.test.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_estimator/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_bucket_span_selector.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_bucket_span_selector.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_bucket_span_selector.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_bucket_span_selector.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/bucket_span_selection_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/bucket_span_selection/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/constants/general.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/constants/general.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/constants/general.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/constants/general.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/constants/states.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/constants/states.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/constants/states.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/constants/states.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox.test.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox.test.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox.test.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox.test.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_view.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_view.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_view.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/enable_model_plot_checkbox_view.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/enable_model_plot_checkbox/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_event_rate_chart.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_event_rate_chart.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_event_rate_chart.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_event_rate_chart.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/event_rate_chart_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/event_rate_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/event_rate_chart_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/event_rate_chart_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/event_rate_chart/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_fields_selection.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_fields_selection.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_fields_selection.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_fields_selection.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/fields_selection_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index_selection_population.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index_selection_population.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index_selection_population.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/_index_selection_population.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/fields_selection_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/fields_selection_population/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_general_job_details.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_general_job_details.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_general_job_details.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_general_job_details.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/change_job_id_case.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/change_job_id_case.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/change_job_id_case.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/change_job_id_case.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/general_job_details_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/general_job_details/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_influencers_selection.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_influencers_selection.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_influencers_selection.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/_influencers_selection.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/influencers_selection/influencers_selection_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_post_save_options.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_post_save_options.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_post_save_options.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/_post_save_options.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_options_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/post_save_options/post_save_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/severity_control/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/severity_control/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/severity_control/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/severity_control/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/severity_control/severity_control_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/severity_control/severity_control_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/severity_control/severity_control_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/severity_control/severity_control_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/adjust_interval.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/adjust_interval.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/adjust_interval.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/adjust_interval.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/app_state_settings.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/app_state_settings.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/app_state_settings.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/app_state_settings.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/chart_data_utils.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/chart_data_utils.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/chart_data_utils.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/chart_data_utils.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/create_fields.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/create_fields.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/create_fields.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/create_fields.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/filter_agg_types.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/filter_agg_types.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/filter_agg_types.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/filter_agg_types.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/prepopulate_job_settings.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/prepopulate_job_settings.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/prepopulate_job_settings.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/prepopulate_job_settings.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/search_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/search_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/search_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/search_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/validate_job.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/validate_job.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/utils/validate_job.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/utils/validate_job.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/_watcher.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/_watcher.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/_watcher.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/_watcher.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_view.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_view.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_view.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/create_watch_view.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/email-influencers.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/email.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/email.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/email.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/email.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/watch.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/watch.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/components/watcher/watch.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/components/watcher/watch.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/__tests__/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/__tests__/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/__tests__/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/__tests__/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_create_job.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_create_job.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_create_job.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_create_job.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_chart_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_chart_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_chart_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/create_job/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/multi_metric/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/multi_metric/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/__tests__/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/__tests__/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/__tests__/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/__tests__/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/_create_job.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/_create_job.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/_create_job.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/_create_job.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_chart_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_chart_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_chart_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/create_job_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/create_job/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/create_job/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/population/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/population/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/population/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/check_module.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/check_module.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/check_module.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/check_module.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/__tests__/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/__tests__/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/__tests__/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/__tests__/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_create_jobs.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_create_jobs.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_create_jobs.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_create_jobs.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/create_job_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/create_job/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/create_job/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/recognize/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/recognize/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/recognize/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/__tests__/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/__tests__/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/__tests__/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/__tests__/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_create_job.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_create_job.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_create_job.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_create_job.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_chart_directive.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_chart_directive.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_chart_directive.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_service.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_service.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_service.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/create_job_service.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/create_job/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/simple/single_metric/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/simple/single_metric/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/utils/new_job_defaults.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/utils/new_job_defaults.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/utils/new_job_defaults.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/utils/new_job_defaults.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/utils/new_job_utils.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/utils/new_job_utils.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/utils/new_job_utils.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/utils/new_job_utils.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/_index.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/_index.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_index.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/_wizard.scss b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_wizard.scss similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/_wizard.scss rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/_wizard.scss diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/preconfigured_job_redirect.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/preconfigured_job_redirect.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/preconfigured_job_redirect.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/preconfigured_job_redirect.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/__tests__/index_or_search_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/__tests__/index_or_search_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/__tests__/index_or_search_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/__tests__/index_or_search_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/index_or_search/index_or_search_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/__tests__/job_type_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/__tests__/job_type_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/__tests__/job_type_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/__tests__/job_type_controller.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/index.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/index.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/index.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/index.js diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type.html b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type.html similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type.html rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type.html diff --git a/x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type_controller.js b/x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type_controller.js similarity index 100% rename from x-pack/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type_controller.js rename to x-pack/legacy/plugins/ml/public/jobs/new_job/wizard/steps/job_type/job_type_controller.js diff --git a/x-pack/plugins/ml/public/license/__tests__/check_license.js b/x-pack/legacy/plugins/ml/public/license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/ml/public/license/__tests__/check_license.js rename to x-pack/legacy/plugins/ml/public/license/__tests__/check_license.js diff --git a/x-pack/plugins/ml/public/license/check_license.js b/x-pack/legacy/plugins/ml/public/license/check_license.js similarity index 100% rename from x-pack/plugins/ml/public/license/check_license.js rename to x-pack/legacy/plugins/ml/public/license/check_license.js diff --git a/x-pack/plugins/ml/public/ml.svg b/x-pack/legacy/plugins/ml/public/ml.svg similarity index 100% rename from x-pack/plugins/ml/public/ml.svg rename to x-pack/legacy/plugins/ml/public/ml.svg diff --git a/x-pack/plugins/ml/public/ml_nodes_check/check_ml_nodes.js b/x-pack/legacy/plugins/ml/public/ml_nodes_check/check_ml_nodes.js similarity index 100% rename from x-pack/plugins/ml/public/ml_nodes_check/check_ml_nodes.js rename to x-pack/legacy/plugins/ml/public/ml_nodes_check/check_ml_nodes.js diff --git a/x-pack/plugins/ml/public/privilege/check_privilege.ts b/x-pack/legacy/plugins/ml/public/privilege/check_privilege.ts similarity index 100% rename from x-pack/plugins/ml/public/privilege/check_privilege.ts rename to x-pack/legacy/plugins/ml/public/privilege/check_privilege.ts diff --git a/x-pack/plugins/ml/public/privilege/common.ts b/x-pack/legacy/plugins/ml/public/privilege/common.ts similarity index 100% rename from x-pack/plugins/ml/public/privilege/common.ts rename to x-pack/legacy/plugins/ml/public/privilege/common.ts diff --git a/x-pack/plugins/ml/public/privilege/get_privileges.ts b/x-pack/legacy/plugins/ml/public/privilege/get_privileges.ts similarity index 100% rename from x-pack/plugins/ml/public/privilege/get_privileges.ts rename to x-pack/legacy/plugins/ml/public/privilege/get_privileges.ts diff --git a/x-pack/plugins/ml/public/register_feature.js b/x-pack/legacy/plugins/ml/public/register_feature.js similarity index 100% rename from x-pack/plugins/ml/public/register_feature.js rename to x-pack/legacy/plugins/ml/public/register_feature.js diff --git a/x-pack/plugins/ml/public/services/annotations_service.test.tsx b/x-pack/legacy/plugins/ml/public/services/annotations_service.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/services/annotations_service.test.tsx rename to x-pack/legacy/plugins/ml/public/services/annotations_service.test.tsx diff --git a/x-pack/plugins/ml/public/services/annotations_service.tsx b/x-pack/legacy/plugins/ml/public/services/annotations_service.tsx similarity index 100% rename from x-pack/plugins/ml/public/services/annotations_service.tsx rename to x-pack/legacy/plugins/ml/public/services/annotations_service.tsx diff --git a/x-pack/plugins/ml/public/services/calendar_service.js b/x-pack/legacy/plugins/ml/public/services/calendar_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/calendar_service.js rename to x-pack/legacy/plugins/ml/public/services/calendar_service.js diff --git a/x-pack/plugins/ml/public/services/cloud_service.js b/x-pack/legacy/plugins/ml/public/services/cloud_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/cloud_service.js rename to x-pack/legacy/plugins/ml/public/services/cloud_service.js diff --git a/x-pack/plugins/ml/public/services/field_format_service.js b/x-pack/legacy/plugins/ml/public/services/field_format_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/field_format_service.js rename to x-pack/legacy/plugins/ml/public/services/field_format_service.js diff --git a/x-pack/plugins/ml/public/services/forecast_service.js b/x-pack/legacy/plugins/ml/public/services/forecast_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/forecast_service.js rename to x-pack/legacy/plugins/ml/public/services/forecast_service.js diff --git a/x-pack/plugins/ml/public/services/http_service.js b/x-pack/legacy/plugins/ml/public/services/http_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/http_service.js rename to x-pack/legacy/plugins/ml/public/services/http_service.js diff --git a/x-pack/plugins/ml/public/services/job_messages_service.js b/x-pack/legacy/plugins/ml/public/services/job_messages_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/job_messages_service.js rename to x-pack/legacy/plugins/ml/public/services/job_messages_service.js diff --git a/x-pack/plugins/ml/public/services/job_service.js b/x-pack/legacy/plugins/ml/public/services/job_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/job_service.js rename to x-pack/legacy/plugins/ml/public/services/job_service.js diff --git a/x-pack/plugins/ml/public/services/mapping_service.js b/x-pack/legacy/plugins/ml/public/services/mapping_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/mapping_service.js rename to x-pack/legacy/plugins/ml/public/services/mapping_service.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/annotations.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/annotations.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/annotations.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/annotations.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/data_frame.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/data_frame.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/data_frame.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/data_frame.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/datavisualizer.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/datavisualizer.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/datavisualizer.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/datavisualizer.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/filters.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/filters.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/filters.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/filters.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/index.d.ts b/x-pack/legacy/plugins/ml/public/services/ml_api_service/index.d.ts similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/index.d.ts rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/index.d.ts diff --git a/x-pack/plugins/ml/public/services/ml_api_service/index.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/index.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/index.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/index.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/jobs.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/jobs.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/jobs.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/jobs.js diff --git a/x-pack/plugins/ml/public/services/ml_api_service/results.js b/x-pack/legacy/plugins/ml/public/services/ml_api_service/results.js similarity index 100% rename from x-pack/plugins/ml/public/services/ml_api_service/results.js rename to x-pack/legacy/plugins/ml/public/services/ml_api_service/results.js diff --git a/x-pack/plugins/ml/public/services/results_service.js b/x-pack/legacy/plugins/ml/public/services/results_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/results_service.js rename to x-pack/legacy/plugins/ml/public/services/results_service.js diff --git a/x-pack/plugins/ml/public/services/table_service.js b/x-pack/legacy/plugins/ml/public/services/table_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/table_service.js rename to x-pack/legacy/plugins/ml/public/services/table_service.js diff --git a/x-pack/plugins/ml/public/services/upgrade_service.js b/x-pack/legacy/plugins/ml/public/services/upgrade_service.js similarity index 100% rename from x-pack/plugins/ml/public/services/upgrade_service.js rename to x-pack/legacy/plugins/ml/public/services/upgrade_service.js diff --git a/x-pack/plugins/ml/public/settings/__snapshots__/settings.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/__snapshots__/settings.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/__snapshots__/settings.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/__snapshots__/settings.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/_index.scss b/x-pack/legacy/plugins/ml/public/settings/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/_index.scss diff --git a/x-pack/plugins/ml/public/settings/_settings.scss b/x-pack/legacy/plugins/ml/public/settings/_settings.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/_settings.scss rename to x-pack/legacy/plugins/ml/public/settings/_settings.scss diff --git a/x-pack/plugins/ml/public/settings/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/settings/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/settings/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/settings/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/settings/calendars/_index.scss b/x-pack/legacy/plugins/ml/public/settings/calendars/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/calendars/_index.scss diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/__snapshots__/new_calendar.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/__snapshots__/new_calendar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/__snapshots__/new_calendar.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/__snapshots__/new_calendar.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/_edit.scss b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/_edit.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/_edit.scss rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/_edit.scss diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/_index.scss b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/_index.scss diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/calendar_form.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/calendar_form/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/calendar_form/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/directive.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/directive.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/directive.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/directive.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/__snapshots__/events_table.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/events_table/events_table.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/events_table.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/events_table/events_table.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/events_table.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/events_table/events_table.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/events_table.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/events_table/events_table.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/events_table.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/events_table/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/events_table/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/events_table/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/__snapshots__/import_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/import_modal.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/import_modal/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/import_modal/utils.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/utils.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/import_modal/utils.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/import_modal/utils.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/__snapshots__/imported_events.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/imported_events.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/imported_events/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/imported_events/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/imported_events/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/new_calendar.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_calendar.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/new_calendar.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_calendar.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/new_calendar.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_calendar.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/new_calendar.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_calendar.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/new_event_modal/new_event_modal.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/edit/utils.js b/x-pack/legacy/plugins/ml/public/settings/calendars/edit/utils.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/edit/utils.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/edit/utils.js diff --git a/x-pack/plugins/ml/public/settings/calendars/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/__snapshots__/calendars_list.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/list/__snapshots__/calendars_list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/__snapshots__/calendars_list.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/__snapshots__/calendars_list.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/list/__snapshots__/header.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/__snapshots__/header.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/list/_index.scss b/x-pack/legacy/plugins/ml/public/settings/calendars/list/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/_index.scss diff --git a/x-pack/plugins/ml/public/settings/calendars/list/_list.scss b/x-pack/legacy/plugins/ml/public/settings/calendars/list/_list.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/_list.scss rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/_list.scss diff --git a/x-pack/plugins/ml/public/settings/calendars/list/calendars_list.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/calendars_list.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/calendars_list.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/calendars_list.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/calendars_list.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/calendars_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/calendars_list.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/calendars_list.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/delete_calendars.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/delete_calendars.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/delete_calendars.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/delete_calendars.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/directive.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/directive.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/directive.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/directive.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/header.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/header.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/header.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/header.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/header.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/header.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/header.test.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/table/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/calendars/list/table/index.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/table/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/table/index.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/table/index.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/table/table.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/table/table.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/table/table.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/table/table.js diff --git a/x-pack/plugins/ml/public/settings/calendars/list/table/table.test.js b/x-pack/legacy/plugins/ml/public/settings/calendars/list/table/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/calendars/list/table/table.test.js rename to x-pack/legacy/plugins/ml/public/settings/calendars/list/table/table.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/_filter_lists.scss b/x-pack/legacy/plugins/ml/public/settings/filter_lists/_filter_lists.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/_filter_lists.scss rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/_filter_lists.scss diff --git a/x-pack/plugins/ml/public/settings/filter_lists/_index.scss b/x-pack/legacy/plugins/ml/public/settings/filter_lists/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/_index.scss diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/__snapshots__/add_item_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/add_item_popover.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/add_item_popover/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/add_item_popover/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/__snapshots__/delete_filter_list_modal.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_list_modal.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/delete_filter_lists.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/delete_filter_list_modal/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/__snapshots__/edit_description_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/edit_description_popover.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/edit_description_popover/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/edit_description_popover/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/__snapshots__/filter_list_usage_popover.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/filter_list_usage_popover.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/components/filter_list_usage_popover/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/edit_filter_list.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/edit_filter_list.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/edit_filter_list.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/edit_filter_list.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/__snapshots__/toolbar.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/_edit.scss b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/_edit.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/_edit.scss rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/_edit.scss diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/_index.scss b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/_index.scss rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/_index.scss diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/directive.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/directive.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/directive.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/directive.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/edit_filter_list.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/header.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/header.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/header.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/header.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/header.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/header.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/header.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/toolbar.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/toolbar.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/toolbar.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/toolbar.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/toolbar.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/toolbar.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/toolbar.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/toolbar.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/edit/utils.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/utils.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/edit/utils.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/edit/utils.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/filter_lists.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/filter_lists.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/filter_lists.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/filter_lists.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/header.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/__snapshots__/table.test.js.snap diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/directive.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/directive.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/directive.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/directive.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/filter_lists.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/filter_lists.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/filter_lists.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/filter_lists.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/filter_lists.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/filter_lists.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/filter_lists.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/filter_lists.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/header.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/header.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/header.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/header.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/header.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/header.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/header.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/header.test.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/index.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/index.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/index.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/table.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/table.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/table.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/table.js diff --git a/x-pack/plugins/ml/public/settings/filter_lists/list/table.test.js b/x-pack/legacy/plugins/ml/public/settings/filter_lists/list/table.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/filter_lists/list/table.test.js rename to x-pack/legacy/plugins/ml/public/settings/filter_lists/list/table.test.js diff --git a/x-pack/plugins/ml/public/settings/index.js b/x-pack/legacy/plugins/ml/public/settings/index.js similarity index 100% rename from x-pack/plugins/ml/public/settings/index.js rename to x-pack/legacy/plugins/ml/public/settings/index.js diff --git a/x-pack/plugins/ml/public/settings/settings.js b/x-pack/legacy/plugins/ml/public/settings/settings.js similarity index 100% rename from x-pack/plugins/ml/public/settings/settings.js rename to x-pack/legacy/plugins/ml/public/settings/settings.js diff --git a/x-pack/plugins/ml/public/settings/settings.test.js b/x-pack/legacy/plugins/ml/public/settings/settings.test.js similarity index 100% rename from x-pack/plugins/ml/public/settings/settings.test.js rename to x-pack/legacy/plugins/ml/public/settings/settings.test.js diff --git a/x-pack/plugins/ml/public/settings/settings_directive.js b/x-pack/legacy/plugins/ml/public/settings/settings_directive.js similarity index 100% rename from x-pack/plugins/ml/public/settings/settings_directive.js rename to x-pack/legacy/plugins/ml/public/settings/settings_directive.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/__tests__/timeseries_chart_directive.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/__tests__/timeseries_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/__tests__/timeseries_chart_directive.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/__tests__/timeseries_chart_directive.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/__tests__/timeseriesexplorer_controller.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/__tests__/timeseriesexplorer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/__tests__/timeseriesexplorer_controller.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/__tests__/timeseriesexplorer_controller.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/_index.scss b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/_index.scss similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/_index.scss rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/_index.scss diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer.scss b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer.scss similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer.scss rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer.scss diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer_annotations.scss b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer_annotations.scss similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer_annotations.scss rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/_timeseriesexplorer_annotations.scss diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/breadcrumbs.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/breadcrumbs.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/breadcrumbs.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/breadcrumbs.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/index.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/index.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/index.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/context_chart_mask/index.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecast_progress.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecast_progress.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecast_progress.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecast_progress.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal_directive.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal_directive.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal_directive.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasting_modal_directive.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasts_list.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasts_list.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasts_list.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/forecasts_list.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/index.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/modal.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/modal.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/modal.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/modal.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_icon.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_icon.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_icon.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_icon.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_states.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_states.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_states.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/progress_states.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/run_controls.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/run_controls.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/run_controls.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/forecasting_modal/run_controls.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/__mocks__/mock_annotations_overlap.json diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.d.ts diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart.test.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.test.ts diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_annotations.ts diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_directive.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_directive.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_directive.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/components/timeseries_chart/timeseries_chart_directive.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/index.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/index.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/index.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/index.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/timeseries_search_service.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseries_search_service.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/timeseries_search_service.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseries_search_service.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer.html b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer.html similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer.html rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer.html diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_controller.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_controller.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_controller.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_controller.js diff --git a/x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_utils.js b/x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_utils.js similarity index 100% rename from x-pack/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_utils.js rename to x-pack/legacy/plugins/ml/public/timeseriesexplorer/timeseriesexplorer_utils.js diff --git a/x-pack/plugins/ml/public/util/__snapshots__/observable_utils.test.tsx.snap b/x-pack/legacy/plugins/ml/public/util/__snapshots__/observable_utils.test.tsx.snap similarity index 100% rename from x-pack/plugins/ml/public/util/__snapshots__/observable_utils.test.tsx.snap rename to x-pack/legacy/plugins/ml/public/util/__snapshots__/observable_utils.test.tsx.snap diff --git a/x-pack/plugins/ml/public/util/__tests__/app_state_utils.js b/x-pack/legacy/plugins/ml/public/util/__tests__/app_state_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/app_state_utils.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/app_state_utils.js diff --git a/x-pack/plugins/ml/public/util/__tests__/chart_utils.js b/x-pack/legacy/plugins/ml/public/util/__tests__/chart_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/chart_utils.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/chart_utils.js diff --git a/x-pack/plugins/ml/public/util/__tests__/custom_url_utils.js b/x-pack/legacy/plugins/ml/public/util/__tests__/custom_url_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/custom_url_utils.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/custom_url_utils.js diff --git a/x-pack/plugins/ml/public/util/__tests__/field_types_utils.test.js b/x-pack/legacy/plugins/ml/public/util/__tests__/field_types_utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/field_types_utils.test.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/field_types_utils.test.js diff --git a/x-pack/plugins/ml/public/util/__tests__/ml_time_buckets.js b/x-pack/legacy/plugins/ml/public/util/__tests__/ml_time_buckets.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/ml_time_buckets.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/ml_time_buckets.js diff --git a/x-pack/plugins/ml/public/util/__tests__/string_utils.js b/x-pack/legacy/plugins/ml/public/util/__tests__/string_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/__tests__/string_utils.js rename to x-pack/legacy/plugins/ml/public/util/__tests__/string_utils.js diff --git a/x-pack/plugins/ml/public/util/app_state_utils.js b/x-pack/legacy/plugins/ml/public/util/app_state_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/app_state_utils.js rename to x-pack/legacy/plugins/ml/public/util/app_state_utils.js diff --git a/x-pack/plugins/ml/public/util/chart_config_builder.js b/x-pack/legacy/plugins/ml/public/util/chart_config_builder.js similarity index 100% rename from x-pack/plugins/ml/public/util/chart_config_builder.js rename to x-pack/legacy/plugins/ml/public/util/chart_config_builder.js diff --git a/x-pack/plugins/ml/public/util/chart_utils.js b/x-pack/legacy/plugins/ml/public/util/chart_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/chart_utils.js rename to x-pack/legacy/plugins/ml/public/util/chart_utils.js diff --git a/x-pack/plugins/ml/public/util/chart_utils.test.js b/x-pack/legacy/plugins/ml/public/util/chart_utils.test.js similarity index 100% rename from x-pack/plugins/ml/public/util/chart_utils.test.js rename to x-pack/legacy/plugins/ml/public/util/chart_utils.test.js diff --git a/x-pack/plugins/ml/public/util/custom_url_utils.js b/x-pack/legacy/plugins/ml/public/util/custom_url_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/custom_url_utils.js rename to x-pack/legacy/plugins/ml/public/util/custom_url_utils.js diff --git a/x-pack/plugins/ml/public/util/date_utils.test.ts b/x-pack/legacy/plugins/ml/public/util/date_utils.test.ts similarity index 100% rename from x-pack/plugins/ml/public/util/date_utils.test.ts rename to x-pack/legacy/plugins/ml/public/util/date_utils.test.ts diff --git a/x-pack/plugins/ml/public/util/date_utils.ts b/x-pack/legacy/plugins/ml/public/util/date_utils.ts similarity index 100% rename from x-pack/plugins/ml/public/util/date_utils.ts rename to x-pack/legacy/plugins/ml/public/util/date_utils.ts diff --git a/x-pack/plugins/ml/public/util/field_types_utils.js b/x-pack/legacy/plugins/ml/public/util/field_types_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/field_types_utils.js rename to x-pack/legacy/plugins/ml/public/util/field_types_utils.js diff --git a/x-pack/plugins/ml/public/util/index_utils.js b/x-pack/legacy/plugins/ml/public/util/index_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/index_utils.js rename to x-pack/legacy/plugins/ml/public/util/index_utils.js diff --git a/x-pack/plugins/ml/public/util/inherits.js b/x-pack/legacy/plugins/ml/public/util/inherits.js similarity index 100% rename from x-pack/plugins/ml/public/util/inherits.js rename to x-pack/legacy/plugins/ml/public/util/inherits.js diff --git a/x-pack/plugins/ml/public/util/ml_calc_auto_interval.js b/x-pack/legacy/plugins/ml/public/util/ml_calc_auto_interval.js similarity index 100% rename from x-pack/plugins/ml/public/util/ml_calc_auto_interval.js rename to x-pack/legacy/plugins/ml/public/util/ml_calc_auto_interval.js diff --git a/x-pack/plugins/ml/public/util/ml_error.js b/x-pack/legacy/plugins/ml/public/util/ml_error.js similarity index 100% rename from x-pack/plugins/ml/public/util/ml_error.js rename to x-pack/legacy/plugins/ml/public/util/ml_error.js diff --git a/x-pack/plugins/ml/public/util/ml_time_buckets.js b/x-pack/legacy/plugins/ml/public/util/ml_time_buckets.js similarity index 100% rename from x-pack/plugins/ml/public/util/ml_time_buckets.js rename to x-pack/legacy/plugins/ml/public/util/ml_time_buckets.js diff --git a/x-pack/plugins/ml/public/util/observable_utils.test.tsx b/x-pack/legacy/plugins/ml/public/util/observable_utils.test.tsx similarity index 100% rename from x-pack/plugins/ml/public/util/observable_utils.test.tsx rename to x-pack/legacy/plugins/ml/public/util/observable_utils.test.tsx diff --git a/x-pack/plugins/ml/public/util/observable_utils.tsx b/x-pack/legacy/plugins/ml/public/util/observable_utils.tsx similarity index 100% rename from x-pack/plugins/ml/public/util/observable_utils.tsx rename to x-pack/legacy/plugins/ml/public/util/observable_utils.tsx diff --git a/x-pack/plugins/ml/public/util/recently_accessed.js b/x-pack/legacy/plugins/ml/public/util/recently_accessed.js similarity index 100% rename from x-pack/plugins/ml/public/util/recently_accessed.js rename to x-pack/legacy/plugins/ml/public/util/recently_accessed.js diff --git a/x-pack/plugins/ml/public/util/refresh_interval_watcher.js b/x-pack/legacy/plugins/ml/public/util/refresh_interval_watcher.js similarity index 100% rename from x-pack/plugins/ml/public/util/refresh_interval_watcher.js rename to x-pack/legacy/plugins/ml/public/util/refresh_interval_watcher.js diff --git a/x-pack/plugins/ml/public/util/string_utils.js b/x-pack/legacy/plugins/ml/public/util/string_utils.js similarity index 100% rename from x-pack/plugins/ml/public/util/string_utils.js rename to x-pack/legacy/plugins/ml/public/util/string_utils.js diff --git a/x-pack/plugins/ml/server/client/__tests__/elasticsearch_ml.js b/x-pack/legacy/plugins/ml/server/client/__tests__/elasticsearch_ml.js similarity index 100% rename from x-pack/plugins/ml/server/client/__tests__/elasticsearch_ml.js rename to x-pack/legacy/plugins/ml/server/client/__tests__/elasticsearch_ml.js diff --git a/x-pack/plugins/ml/server/client/call_with_internal_user_factory.d.ts b/x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.d.ts similarity index 100% rename from x-pack/plugins/ml/server/client/call_with_internal_user_factory.d.ts rename to x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.d.ts diff --git a/x-pack/plugins/ml/server/client/call_with_internal_user_factory.js b/x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.js similarity index 100% rename from x-pack/plugins/ml/server/client/call_with_internal_user_factory.js rename to x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.js diff --git a/x-pack/plugins/ml/server/client/call_with_internal_user_factory.test.ts b/x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.test.ts similarity index 100% rename from x-pack/plugins/ml/server/client/call_with_internal_user_factory.test.ts rename to x-pack/legacy/plugins/ml/server/client/call_with_internal_user_factory.test.ts diff --git a/x-pack/plugins/ml/server/client/call_with_request_factory.js b/x-pack/legacy/plugins/ml/server/client/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/ml/server/client/call_with_request_factory.js rename to x-pack/legacy/plugins/ml/server/client/call_with_request_factory.js diff --git a/x-pack/plugins/ml/server/client/elasticsearch_ml.js b/x-pack/legacy/plugins/ml/server/client/elasticsearch_ml.js similarity index 100% rename from x-pack/plugins/ml/server/client/elasticsearch_ml.js rename to x-pack/legacy/plugins/ml/server/client/elasticsearch_ml.js diff --git a/x-pack/plugins/ml/server/client/errors.js b/x-pack/legacy/plugins/ml/server/client/errors.js similarity index 100% rename from x-pack/plugins/ml/server/client/errors.js rename to x-pack/legacy/plugins/ml/server/client/errors.js diff --git a/x-pack/plugins/ml/server/client/log.ts b/x-pack/legacy/plugins/ml/server/client/log.ts similarity index 94% rename from x-pack/plugins/ml/server/client/log.ts rename to x-pack/legacy/plugins/ml/server/client/log.ts index 8ee5882f6c2c1..ae82383ead605 100644 --- a/x-pack/plugins/ml/server/client/log.ts +++ b/x-pack/legacy/plugins/ml/server/client/log.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { Logger } from '../../../../../src/core/server'; +import { Logger } from '../../../../../../src/core/server'; export interface LogInitialization { log: Logger; diff --git a/x-pack/plugins/ml/server/lib/__tests__/query_utils.js b/x-pack/legacy/plugins/ml/server/lib/__tests__/query_utils.js similarity index 100% rename from x-pack/plugins/ml/server/lib/__tests__/query_utils.js rename to x-pack/legacy/plugins/ml/server/lib/__tests__/query_utils.js diff --git a/x-pack/plugins/ml/server/lib/__tests__/security_utils.js b/x-pack/legacy/plugins/ml/server/lib/__tests__/security_utils.js similarity index 100% rename from x-pack/plugins/ml/server/lib/__tests__/security_utils.js rename to x-pack/legacy/plugins/ml/server/lib/__tests__/security_utils.js diff --git a/x-pack/plugins/ml/server/lib/check_annotations/index.js b/x-pack/legacy/plugins/ml/server/lib/check_annotations/index.js similarity index 100% rename from x-pack/plugins/ml/server/lib/check_annotations/index.js rename to x-pack/legacy/plugins/ml/server/lib/check_annotations/index.js diff --git a/x-pack/plugins/ml/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/ml/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/ml/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/ml/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/ml/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/ml/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/ml/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/ml/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/ml/server/lib/check_license/index.js b/x-pack/legacy/plugins/ml/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/ml/server/lib/check_license/index.js rename to x-pack/legacy/plugins/ml/server/lib/check_license/index.js diff --git a/x-pack/plugins/ml/server/lib/ml_telemetry/index.ts b/x-pack/legacy/plugins/ml/server/lib/ml_telemetry/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_telemetry/index.ts rename to x-pack/legacy/plugins/ml/server/lib/ml_telemetry/index.ts diff --git a/x-pack/plugins/ml/server/lib/ml_telemetry/make_ml_usage_collector.ts b/x-pack/legacy/plugins/ml/server/lib/ml_telemetry/make_ml_usage_collector.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_telemetry/make_ml_usage_collector.ts rename to x-pack/legacy/plugins/ml/server/lib/ml_telemetry/make_ml_usage_collector.ts diff --git a/x-pack/plugins/ml/server/lib/ml_telemetry/ml_telemetry.test.ts b/x-pack/legacy/plugins/ml/server/lib/ml_telemetry/ml_telemetry.test.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_telemetry/ml_telemetry.test.ts rename to x-pack/legacy/plugins/ml/server/lib/ml_telemetry/ml_telemetry.test.ts diff --git a/x-pack/plugins/ml/server/lib/ml_telemetry/ml_telemetry.ts b/x-pack/legacy/plugins/ml/server/lib/ml_telemetry/ml_telemetry.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/ml_telemetry/ml_telemetry.ts rename to x-pack/legacy/plugins/ml/server/lib/ml_telemetry/ml_telemetry.ts diff --git a/x-pack/plugins/ml/server/lib/query_utils.js b/x-pack/legacy/plugins/ml/server/lib/query_utils.js similarity index 100% rename from x-pack/plugins/ml/server/lib/query_utils.js rename to x-pack/legacy/plugins/ml/server/lib/query_utils.js diff --git a/x-pack/plugins/ml/server/lib/sample_data_sets/index.ts b/x-pack/legacy/plugins/ml/server/lib/sample_data_sets/index.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/sample_data_sets/index.ts rename to x-pack/legacy/plugins/ml/server/lib/sample_data_sets/index.ts diff --git a/x-pack/plugins/ml/server/lib/sample_data_sets/sample_data_sets.ts b/x-pack/legacy/plugins/ml/server/lib/sample_data_sets/sample_data_sets.ts similarity index 100% rename from x-pack/plugins/ml/server/lib/sample_data_sets/sample_data_sets.ts rename to x-pack/legacy/plugins/ml/server/lib/sample_data_sets/sample_data_sets.ts diff --git a/x-pack/plugins/ml/server/lib/security_utils.js b/x-pack/legacy/plugins/ml/server/lib/security_utils.js similarity index 100% rename from x-pack/plugins/ml/server/lib/security_utils.js rename to x-pack/legacy/plugins/ml/server/lib/security_utils.js diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json b/x-pack/legacy/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json rename to x-pack/legacy/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_request.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json b/x-pack/legacy/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json rename to x-pack/legacy/plugins/ml/server/models/annotation_service/__mocks__/get_annotations_response.json diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts b/x-pack/legacy/plugins/ml/server/models/annotation_service/annotation.test.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.test.ts rename to x-pack/legacy/plugins/ml/server/models/annotation_service/annotation.test.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/annotation.ts b/x-pack/legacy/plugins/ml/server/models/annotation_service/annotation.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/annotation.ts rename to x-pack/legacy/plugins/ml/server/models/annotation_service/annotation.ts diff --git a/x-pack/plugins/ml/server/models/annotation_service/index.ts b/x-pack/legacy/plugins/ml/server/models/annotation_service/index.ts similarity index 100% rename from x-pack/plugins/ml/server/models/annotation_service/index.ts rename to x-pack/legacy/plugins/ml/server/models/annotation_service/index.ts diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/__tests__/bucket_span_estimator.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/__tests__/bucket_span_estimator.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/__tests__/bucket_span_estimator.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/__tests__/bucket_span_estimator.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/index.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/index.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/index.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/intervals.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/intervals.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/intervals.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/polled_data_checker.js diff --git a/x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js b/x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js similarity index 100% rename from x-pack/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js rename to x-pack/legacy/plugins/ml/server/models/bucket_span_estimator/single_series_checker.js diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.js b/x-pack/legacy/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.js similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.js rename to x-pack/legacy/plugins/ml/server/models/calculate_model_memory_limit/calculate_model_memory_limit.js diff --git a/x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.js b/x-pack/legacy/plugins/ml/server/models/calculate_model_memory_limit/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/calculate_model_memory_limit/index.js rename to x-pack/legacy/plugins/ml/server/models/calculate_model_memory_limit/index.js diff --git a/x-pack/plugins/ml/server/models/calendar/calendar_manager.js b/x-pack/legacy/plugins/ml/server/models/calendar/calendar_manager.js similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/calendar_manager.js rename to x-pack/legacy/plugins/ml/server/models/calendar/calendar_manager.js diff --git a/x-pack/plugins/ml/server/models/calendar/event_manager.js b/x-pack/legacy/plugins/ml/server/models/calendar/event_manager.js similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/event_manager.js rename to x-pack/legacy/plugins/ml/server/models/calendar/event_manager.js diff --git a/x-pack/plugins/ml/server/models/calendar/index.js b/x-pack/legacy/plugins/ml/server/models/calendar/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/calendar/index.js rename to x-pack/legacy/plugins/ml/server/models/calendar/index.js diff --git a/x-pack/plugins/ml/server/models/data_recognizer/__tests__/data_recognizer.js b/x-pack/legacy/plugins/ml/server/models/data_recognizer/__tests__/data_recognizer.js similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/__tests__/data_recognizer.js rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/__tests__/data_recognizer.js diff --git a/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.js b/x-pack/legacy/plugins/ml/server/models/data_recognizer/data_recognizer.js similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.js rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/data_recognizer.js diff --git a/x-pack/plugins/ml/server/models/data_recognizer/index.js b/x-pack/legacy/plugins/ml/server/models/data_recognizer/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/index.js rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/index.js diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apache_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_high_mean_response_time.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_high_mean_response_time.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_high_mean_response_time.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/datafeed_high_mean_response_time.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/high_mean_response_time.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/high_mean_response_time.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/high_mean_response_time.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/apm_transaction/ml/high_mean_response_time.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_event_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/dashboard/ml_auditbeat_docker_process_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/search/ml_auditbeat_docker_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_by_process_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_event_rate_vis_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/kibana/visualization/ml_auditbeat_docker_process_occurrence_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/datafeed_docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_docker_ecs/ml/docker_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_event_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_event_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_event_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_event_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_explorer_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_explorer_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/dashboard/ml_auditbeat_hosts_process_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/search/ml_auditbeat_hosts_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/search/ml_auditbeat_hosts_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/search/ml_auditbeat_hosts_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/search/ml_auditbeat_hosts_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_by_process_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_by_process_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_by_process_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_by_process_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_vis_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_vis_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_vis_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_event_rate_vis_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_occurrence_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_occurrence_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_occurrence_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/kibana/visualization/ml_auditbeat_hosts_process_occurrence_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_high_count_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_high_count_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_rare_process_activity_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_rare_process_activity_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/datafeed_hosts_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_high_count_process_events_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_high_count_process_events_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_high_count_process_events_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_high_count_process_events_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_rare_process_activity_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_rare_process_activity_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_rare_process_activity_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/auditbeat_process_hosts_ecs/ml/hosts_rare_process_activity_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/datafeed_metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/high_mean_cpu_iowait_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/max_disk_utilization_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/metricbeat_system_ecs/ml/metricbeat_outages_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/dashboard/ml_http_access_explorer_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/search/ml_http_access_filebeat_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_events_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_map_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_source_ip_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_status_code_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_source_ips_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_top_urls_table_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/kibana/visualization/ml_http_access_unique_count_url_timechart_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/datafeed_visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/low_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_request_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/source_ip_url_count_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/status_code_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/nginx_ecs/ml/visitor_rate_ecs.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/high_sum_total_sales.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/logo.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/low_request_rate.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/response_code_rates.json diff --git a/x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json b/x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json similarity index 100% rename from x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json rename to x-pack/legacy/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/url_scanning.json diff --git a/x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.js b/x-pack/legacy/plugins/ml/server/models/data_visualizer/data_visualizer.js similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/data_visualizer.js rename to x-pack/legacy/plugins/ml/server/models/data_visualizer/data_visualizer.js diff --git a/x-pack/plugins/ml/server/models/data_visualizer/index.js b/x-pack/legacy/plugins/ml/server/models/data_visualizer/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/data_visualizer/index.js rename to x-pack/legacy/plugins/ml/server/models/data_visualizer/index.js diff --git a/x-pack/plugins/ml/server/models/fields_service/fields_service.js b/x-pack/legacy/plugins/ml/server/models/fields_service/fields_service.js similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/fields_service.js rename to x-pack/legacy/plugins/ml/server/models/fields_service/fields_service.js diff --git a/x-pack/plugins/ml/server/models/fields_service/index.js b/x-pack/legacy/plugins/ml/server/models/fields_service/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/fields_service/index.js rename to x-pack/legacy/plugins/ml/server/models/fields_service/index.js diff --git a/x-pack/plugins/ml/server/models/file_data_visualizer/file_data_visualizer.js b/x-pack/legacy/plugins/ml/server/models/file_data_visualizer/file_data_visualizer.js similarity index 100% rename from x-pack/plugins/ml/server/models/file_data_visualizer/file_data_visualizer.js rename to x-pack/legacy/plugins/ml/server/models/file_data_visualizer/file_data_visualizer.js diff --git a/x-pack/plugins/ml/server/models/file_data_visualizer/import_data.js b/x-pack/legacy/plugins/ml/server/models/file_data_visualizer/import_data.js similarity index 100% rename from x-pack/plugins/ml/server/models/file_data_visualizer/import_data.js rename to x-pack/legacy/plugins/ml/server/models/file_data_visualizer/import_data.js diff --git a/x-pack/plugins/ml/server/models/file_data_visualizer/index.js b/x-pack/legacy/plugins/ml/server/models/file_data_visualizer/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/file_data_visualizer/index.js rename to x-pack/legacy/plugins/ml/server/models/file_data_visualizer/index.js diff --git a/x-pack/plugins/ml/server/models/filter/filter_manager.js b/x-pack/legacy/plugins/ml/server/models/filter/filter_manager.js similarity index 100% rename from x-pack/plugins/ml/server/models/filter/filter_manager.js rename to x-pack/legacy/plugins/ml/server/models/filter/filter_manager.js diff --git a/x-pack/plugins/ml/server/models/filter/index.js b/x-pack/legacy/plugins/ml/server/models/filter/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/filter/index.js rename to x-pack/legacy/plugins/ml/server/models/filter/index.js diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/index.js b/x-pack/legacy/plugins/ml/server/models/job_audit_messages/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/index.js rename to x-pack/legacy/plugins/ml/server/models/job_audit_messages/index.js diff --git a/x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.js b/x-pack/legacy/plugins/ml/server/models/job_audit_messages/job_audit_messages.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_audit_messages/job_audit_messages.js rename to x-pack/legacy/plugins/ml/server/models/job_audit_messages/job_audit_messages.js diff --git a/x-pack/plugins/ml/server/models/job_service/datafeeds.js b/x-pack/legacy/plugins/ml/server/models/job_service/datafeeds.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/datafeeds.js rename to x-pack/legacy/plugins/ml/server/models/job_service/datafeeds.js diff --git a/x-pack/plugins/ml/server/models/job_service/error_utils.js b/x-pack/legacy/plugins/ml/server/models/job_service/error_utils.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/error_utils.js rename to x-pack/legacy/plugins/ml/server/models/job_service/error_utils.js diff --git a/x-pack/plugins/ml/server/models/job_service/groups.js b/x-pack/legacy/plugins/ml/server/models/job_service/groups.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/groups.js rename to x-pack/legacy/plugins/ml/server/models/job_service/groups.js diff --git a/x-pack/plugins/ml/server/models/job_service/index.js b/x-pack/legacy/plugins/ml/server/models/job_service/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/index.js rename to x-pack/legacy/plugins/ml/server/models/job_service/index.js diff --git a/x-pack/plugins/ml/server/models/job_service/jobs.js b/x-pack/legacy/plugins/ml/server/models/job_service/jobs.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_service/jobs.js rename to x-pack/legacy/plugins/ml/server/models/job_service/jobs.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/job_validation.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/job_validation.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/job_validation.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/job_validation.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_farequote_cardinality.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_farequote_cardinality.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_farequote_cardinality.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_farequote_cardinality.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_farequote_search_response.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_farequote_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_farequote_search_response.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_farequote_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_field_caps.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_field_caps.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_field_caps.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_field_caps.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_it_search_response.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_it_search_response.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_it_search_response.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_it_search_response.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_field.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_field.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_field.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_field.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_field_nested.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_field_nested.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_field_nested.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_field_nested.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_range.json b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_range.json similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/mock_time_range.json rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/mock_time_range.json diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/validate_bucket_span.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_bucket_span.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/validate_bucket_span.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_bucket_span.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/validate_cardinality.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_cardinality.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/validate_cardinality.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_cardinality.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/validate_influencers.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_influencers.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/validate_influencers.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_influencers.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/validate_model_memory_limit.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_model_memory_limit.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/validate_model_memory_limit.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_model_memory_limit.js diff --git a/x-pack/plugins/ml/server/models/job_validation/__tests__/validate_time_range.js b/x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_time_range.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/__tests__/validate_time_range.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/__tests__/validate_time_range.js diff --git a/x-pack/plugins/ml/server/models/job_validation/index.js b/x-pack/legacy/plugins/ml/server/models/job_validation/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/index.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/index.js diff --git a/x-pack/plugins/ml/server/models/job_validation/job_validation.js b/x-pack/legacy/plugins/ml/server/models/job_validation/job_validation.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/job_validation.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/job_validation.js diff --git a/x-pack/plugins/ml/server/models/job_validation/messages.js b/x-pack/legacy/plugins/ml/server/models/job_validation/messages.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/messages.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/messages.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_bucket_span.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_bucket_span.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_bucket_span.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_cardinality.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_cardinality.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_cardinality.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_cardinality.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_influencers.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_influencers.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_influencers.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_influencers.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_job_object.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_job_object.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_job_object.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_job_object.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_model_memory_limit.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_model_memory_limit.js diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_time_range.js b/x-pack/legacy/plugins/ml/server/models/job_validation/validate_time_range.js similarity index 100% rename from x-pack/plugins/ml/server/models/job_validation/validate_time_range.js rename to x-pack/legacy/plugins/ml/server/models/job_validation/validate_time_range.js diff --git a/x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js b/x-pack/legacy/plugins/ml/server/models/results_service/build_anomaly_table_items.js similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/build_anomaly_table_items.js rename to x-pack/legacy/plugins/ml/server/models/results_service/build_anomaly_table_items.js diff --git a/x-pack/plugins/ml/server/models/results_service/index.js b/x-pack/legacy/plugins/ml/server/models/results_service/index.js similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/index.js rename to x-pack/legacy/plugins/ml/server/models/results_service/index.js diff --git a/x-pack/plugins/ml/server/models/results_service/results_service.js b/x-pack/legacy/plugins/ml/server/models/results_service/results_service.js similarity index 100% rename from x-pack/plugins/ml/server/models/results_service/results_service.js rename to x-pack/legacy/plugins/ml/server/models/results_service/results_service.js diff --git a/x-pack/plugins/ml/server/new_platform/index.ts b/x-pack/legacy/plugins/ml/server/new_platform/index.ts similarity index 100% rename from x-pack/plugins/ml/server/new_platform/index.ts rename to x-pack/legacy/plugins/ml/server/new_platform/index.ts diff --git a/x-pack/plugins/ml/server/new_platform/plugin.ts b/x-pack/legacy/plugins/ml/server/new_platform/plugin.ts similarity index 100% rename from x-pack/plugins/ml/server/new_platform/plugin.ts rename to x-pack/legacy/plugins/ml/server/new_platform/plugin.ts diff --git a/x-pack/plugins/ml/server/routes/annotations.js b/x-pack/legacy/plugins/ml/server/routes/annotations.js similarity index 100% rename from x-pack/plugins/ml/server/routes/annotations.js rename to x-pack/legacy/plugins/ml/server/routes/annotations.js diff --git a/x-pack/plugins/ml/server/routes/anomaly_detectors.js b/x-pack/legacy/plugins/ml/server/routes/anomaly_detectors.js similarity index 100% rename from x-pack/plugins/ml/server/routes/anomaly_detectors.js rename to x-pack/legacy/plugins/ml/server/routes/anomaly_detectors.js diff --git a/x-pack/plugins/ml/server/routes/calendars.js b/x-pack/legacy/plugins/ml/server/routes/calendars.js similarity index 100% rename from x-pack/plugins/ml/server/routes/calendars.js rename to x-pack/legacy/plugins/ml/server/routes/calendars.js diff --git a/x-pack/plugins/ml/server/routes/data_frame.js b/x-pack/legacy/plugins/ml/server/routes/data_frame.js similarity index 100% rename from x-pack/plugins/ml/server/routes/data_frame.js rename to x-pack/legacy/plugins/ml/server/routes/data_frame.js diff --git a/x-pack/plugins/ml/server/routes/data_visualizer.js b/x-pack/legacy/plugins/ml/server/routes/data_visualizer.js similarity index 100% rename from x-pack/plugins/ml/server/routes/data_visualizer.js rename to x-pack/legacy/plugins/ml/server/routes/data_visualizer.js diff --git a/x-pack/plugins/ml/server/routes/datafeeds.js b/x-pack/legacy/plugins/ml/server/routes/datafeeds.js similarity index 100% rename from x-pack/plugins/ml/server/routes/datafeeds.js rename to x-pack/legacy/plugins/ml/server/routes/datafeeds.js diff --git a/x-pack/plugins/ml/server/routes/fields_service.js b/x-pack/legacy/plugins/ml/server/routes/fields_service.js similarity index 100% rename from x-pack/plugins/ml/server/routes/fields_service.js rename to x-pack/legacy/plugins/ml/server/routes/fields_service.js diff --git a/x-pack/plugins/ml/server/routes/file_data_visualizer.js b/x-pack/legacy/plugins/ml/server/routes/file_data_visualizer.js similarity index 100% rename from x-pack/plugins/ml/server/routes/file_data_visualizer.js rename to x-pack/legacy/plugins/ml/server/routes/file_data_visualizer.js diff --git a/x-pack/plugins/ml/server/routes/filters.js b/x-pack/legacy/plugins/ml/server/routes/filters.js similarity index 100% rename from x-pack/plugins/ml/server/routes/filters.js rename to x-pack/legacy/plugins/ml/server/routes/filters.js diff --git a/x-pack/plugins/ml/server/routes/indices.js b/x-pack/legacy/plugins/ml/server/routes/indices.js similarity index 100% rename from x-pack/plugins/ml/server/routes/indices.js rename to x-pack/legacy/plugins/ml/server/routes/indices.js diff --git a/x-pack/plugins/ml/server/routes/job_audit_messages.js b/x-pack/legacy/plugins/ml/server/routes/job_audit_messages.js similarity index 100% rename from x-pack/plugins/ml/server/routes/job_audit_messages.js rename to x-pack/legacy/plugins/ml/server/routes/job_audit_messages.js diff --git a/x-pack/plugins/ml/server/routes/job_service.js b/x-pack/legacy/plugins/ml/server/routes/job_service.js similarity index 100% rename from x-pack/plugins/ml/server/routes/job_service.js rename to x-pack/legacy/plugins/ml/server/routes/job_service.js diff --git a/x-pack/plugins/ml/server/routes/job_validation.js b/x-pack/legacy/plugins/ml/server/routes/job_validation.js similarity index 100% rename from x-pack/plugins/ml/server/routes/job_validation.js rename to x-pack/legacy/plugins/ml/server/routes/job_validation.js diff --git a/x-pack/plugins/ml/server/routes/modules.js b/x-pack/legacy/plugins/ml/server/routes/modules.js similarity index 100% rename from x-pack/plugins/ml/server/routes/modules.js rename to x-pack/legacy/plugins/ml/server/routes/modules.js diff --git a/x-pack/plugins/ml/server/routes/notification_settings.js b/x-pack/legacy/plugins/ml/server/routes/notification_settings.js similarity index 100% rename from x-pack/plugins/ml/server/routes/notification_settings.js rename to x-pack/legacy/plugins/ml/server/routes/notification_settings.js diff --git a/x-pack/plugins/ml/server/routes/results_service.js b/x-pack/legacy/plugins/ml/server/routes/results_service.js similarity index 100% rename from x-pack/plugins/ml/server/routes/results_service.js rename to x-pack/legacy/plugins/ml/server/routes/results_service.js diff --git a/x-pack/plugins/ml/server/routes/system.js b/x-pack/legacy/plugins/ml/server/routes/system.js similarity index 100% rename from x-pack/plugins/ml/server/routes/system.js rename to x-pack/legacy/plugins/ml/server/routes/system.js diff --git a/x-pack/legacy/plugins/ml/tsconfig.json b/x-pack/legacy/plugins/ml/tsconfig.json new file mode 100644 index 0000000000000..618c6c3e97b57 --- /dev/null +++ b/x-pack/legacy/plugins/ml/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.json" +} diff --git a/x-pack/plugins/monitoring/.agignore b/x-pack/legacy/plugins/monitoring/.agignore similarity index 100% rename from x-pack/plugins/monitoring/.agignore rename to x-pack/legacy/plugins/monitoring/.agignore diff --git a/x-pack/plugins/monitoring/.kibana-plugin-helpers.json b/x-pack/legacy/plugins/monitoring/.kibana-plugin-helpers.json similarity index 100% rename from x-pack/plugins/monitoring/.kibana-plugin-helpers.json rename to x-pack/legacy/plugins/monitoring/.kibana-plugin-helpers.json diff --git a/x-pack/plugins/monitoring/README.md b/x-pack/legacy/plugins/monitoring/README.md similarity index 100% rename from x-pack/plugins/monitoring/README.md rename to x-pack/legacy/plugins/monitoring/README.md diff --git a/x-pack/plugins/monitoring/__tests__/deprecations.js b/x-pack/legacy/plugins/monitoring/__tests__/deprecations.js similarity index 100% rename from x-pack/plugins/monitoring/__tests__/deprecations.js rename to x-pack/legacy/plugins/monitoring/__tests__/deprecations.js diff --git a/x-pack/plugins/monitoring/common/__tests__/format_timestamp_to_duration.js b/x-pack/legacy/plugins/monitoring/common/__tests__/format_timestamp_to_duration.js similarity index 100% rename from x-pack/plugins/monitoring/common/__tests__/format_timestamp_to_duration.js rename to x-pack/legacy/plugins/monitoring/common/__tests__/format_timestamp_to_duration.js diff --git a/x-pack/plugins/monitoring/common/cancel_promise.ts b/x-pack/legacy/plugins/monitoring/common/cancel_promise.ts similarity index 100% rename from x-pack/plugins/monitoring/common/cancel_promise.ts rename to x-pack/legacy/plugins/monitoring/common/cancel_promise.ts diff --git a/x-pack/plugins/monitoring/common/constants.js b/x-pack/legacy/plugins/monitoring/common/constants.js similarity index 100% rename from x-pack/plugins/monitoring/common/constants.js rename to x-pack/legacy/plugins/monitoring/common/constants.js diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.js b/x-pack/legacy/plugins/monitoring/common/format_timestamp_to_duration.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.js rename to x-pack/legacy/plugins/monitoring/common/format_timestamp_to_duration.js diff --git a/x-pack/plugins/monitoring/common/formatting.js b/x-pack/legacy/plugins/monitoring/common/formatting.js similarity index 100% rename from x-pack/plugins/monitoring/common/formatting.js rename to x-pack/legacy/plugins/monitoring/common/formatting.js diff --git a/x-pack/plugins/monitoring/common/index.js b/x-pack/legacy/plugins/monitoring/common/index.js similarity index 100% rename from x-pack/plugins/monitoring/common/index.js rename to x-pack/legacy/plugins/monitoring/common/index.js diff --git a/x-pack/plugins/monitoring/config.js b/x-pack/legacy/plugins/monitoring/config.js similarity index 100% rename from x-pack/plugins/monitoring/config.js rename to x-pack/legacy/plugins/monitoring/config.js diff --git a/x-pack/plugins/monitoring/deprecations.js b/x-pack/legacy/plugins/monitoring/deprecations.js similarity index 100% rename from x-pack/plugins/monitoring/deprecations.js rename to x-pack/legacy/plugins/monitoring/deprecations.js diff --git a/x-pack/plugins/monitoring/index.js b/x-pack/legacy/plugins/monitoring/index.js similarity index 100% rename from x-pack/plugins/monitoring/index.js rename to x-pack/legacy/plugins/monitoring/index.js diff --git a/x-pack/plugins/monitoring/init.js b/x-pack/legacy/plugins/monitoring/init.js similarity index 100% rename from x-pack/plugins/monitoring/init.js rename to x-pack/legacy/plugins/monitoring/init.js diff --git a/x-pack/plugins/monitoring/public/_hacks.scss b/x-pack/legacy/plugins/monitoring/public/_hacks.scss similarity index 100% rename from x-pack/plugins/monitoring/public/_hacks.scss rename to x-pack/legacy/plugins/monitoring/public/_hacks.scss diff --git a/x-pack/plugins/monitoring/public/components/alerts/__tests__/map_severity.js b/x-pack/legacy/plugins/monitoring/public/components/alerts/__tests__/map_severity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/alerts/__tests__/map_severity.js rename to x-pack/legacy/plugins/monitoring/public/components/alerts/__tests__/map_severity.js diff --git a/x-pack/plugins/monitoring/public/components/alerts/alerts.js b/x-pack/legacy/plugins/monitoring/public/components/alerts/alerts.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/alerts/alerts.js rename to x-pack/legacy/plugins/monitoring/public/components/alerts/alerts.js diff --git a/x-pack/plugins/monitoring/public/components/alerts/formatted_alert.js b/x-pack/legacy/plugins/monitoring/public/components/alerts/formatted_alert.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/alerts/formatted_alert.js rename to x-pack/legacy/plugins/monitoring/public/components/alerts/formatted_alert.js diff --git a/x-pack/plugins/monitoring/public/components/alerts/index.js b/x-pack/legacy/plugins/monitoring/public/components/alerts/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/alerts/index.js rename to x-pack/legacy/plugins/monitoring/public/components/alerts/index.js diff --git a/x-pack/plugins/monitoring/public/components/alerts/map_severity.js b/x-pack/legacy/plugins/monitoring/public/components/alerts/map_severity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/alerts/map_severity.js rename to x-pack/legacy/plugins/monitoring/public/components/alerts/map_severity.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/index.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/index.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instance/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/instance.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instance/instance.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/instance.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instance/instance.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/status.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instance/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/status.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instance/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/index.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/index.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/instances.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instances/instances.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/instances.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instances/instances.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/status.js b/x-pack/legacy/plugins/monitoring/public/components/apm/instances/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/status.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/instances/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/index.js b/x-pack/legacy/plugins/monitoring/public/components/apm/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/apm/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/apm/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/beat.js b/x-pack/legacy/plugins/monitoring/public/components/beats/beat/beat.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/beat.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/beat/beat.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/index.js b/x-pack/legacy/plugins/monitoring/public/components/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/index.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/index.js b/x-pack/legacy/plugins/monitoring/public/components/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/index.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/index.js b/x-pack/legacy/plugins/monitoring/public/components/beats/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/listing.js b/x-pack/legacy/plugins/monitoring/public/components/beats/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/listing.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/index.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_active.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_active.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_active.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_active.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_types.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_types.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_types.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_types.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_versions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_versions.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_versions.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/latest_versions.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js b/x-pack/legacy/plugins/monitoring/public/components/beats/overview/overview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/overview/overview.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/stats.js b/x-pack/legacy/plugins/monitoring/public/components/beats/stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/stats.js rename to x-pack/legacy/plugins/monitoring/public/components/beats/stats.js diff --git a/x-pack/plugins/monitoring/public/components/chart/__tests__/get_color.js b/x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_color.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/__tests__/get_color.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_color.js diff --git a/x-pack/plugins/monitoring/public/components/chart/__tests__/get_last_value.js b/x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_last_value.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/__tests__/get_last_value.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_last_value.js diff --git a/x-pack/plugins/monitoring/public/components/chart/__tests__/get_title.js b/x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_title.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/__tests__/get_title.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_title.js diff --git a/x-pack/plugins/monitoring/public/components/chart/__tests__/get_values_for_legend.js b/x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_values_for_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/__tests__/get_values_for_legend.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/__tests__/get_values_for_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/_chart.scss b/x-pack/legacy/plugins/monitoring/public/components/chart/_chart.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/_chart.scss rename to x-pack/legacy/plugins/monitoring/public/components/chart/_chart.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/chart/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/chart/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/chart_target.js b/x-pack/legacy/plugins/monitoring/public/components/chart/chart_target.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/chart_target.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/chart_target.js diff --git a/x-pack/plugins/monitoring/public/components/chart/event_bus.js b/x-pack/legacy/plugins/monitoring/public/components/chart/event_bus.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/event_bus.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/event_bus.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_chart_options.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_chart_options.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_chart_options.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_chart_options.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_color.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_color.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_last_value.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_last_value.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_title.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_title.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_units.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_units.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_units.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_units.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js b/x-pack/legacy/plugins/monitoring/public/components/chart/get_values_for_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/get_values_for_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js b/x-pack/legacy/plugins/monitoring/public/components/chart/horizontal_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/horizontal_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/index.js b/x-pack/legacy/plugins/monitoring/public/components/chart/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/index.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/index.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.js b/x-pack/legacy/plugins/monitoring/public/components/chart/info_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/info_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js b/x-pack/legacy/plugins/monitoring/public/components/chart/monitoring_timeseries.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/monitoring_timeseries.js diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.js b/x-pack/legacy/plugins/monitoring/public/components/chart/monitoring_timeseries_container.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/monitoring_timeseries_container.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_container.js b/x-pack/legacy/plugins/monitoring/public/components/chart/timeseries_container.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_container.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/timeseries_container.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js b/x-pack/legacy/plugins/monitoring/public/components/chart/timeseries_visualization.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js rename to x-pack/legacy/plugins/monitoring/public/components/chart/timeseries_visualization.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/alerts_indicator.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/listing/alerts_indicator.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/alerts_indicator.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/listing/alerts_indicator.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/index.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/alerts_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/alerts_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/alerts_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/alerts_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/apm_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/apm_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/beats_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/beats_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/helpers.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/helpers.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/kibana_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/kibana_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/license_text.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/license_text.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/license_text.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/license_text.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/overview/logstash_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/overview/logstash_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/cluster/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/cluster/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.css b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.css similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.css rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.css diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/system_indices_checkbox.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/system_indices_checkbox.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/system_indices_checkbox.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/indices/system_indices_checkbox.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/__snapshots__/cells.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/__snapshots__/cells.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/__snapshots__/cells.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/__snapshots__/cells.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js similarity index 95% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js index bdd453bb976cf..8bb957ba26154 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/cells.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; import { MetricCell } from '../cells'; describe('Node Listing Metric Cell', () => { diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/nodes.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/nodes.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/nodes.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/__tests__/nodes.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/cells.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/cells.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/_shard_allocation.scss b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/_shard_allocation.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/_shard_allocation.scss rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/_shard_allocation.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/generate_query_and_link.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/generate_query_and_link.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/generate_query_and_link.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/generate_query_and_link.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/elasticsearch/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/index.js b/x-pack/legacy/plugins/monitoring/public/components/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/index.js rename to x-pack/legacy/plugins/monitoring/public/components/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/kibana/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/kibana/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/kibana/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/kibana/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/index.js b/x-pack/legacy/plugins/monitoring/public/components/kibana/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/index.js rename to x-pack/legacy/plugins/monitoring/public/components/kibana/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.js b/x-pack/legacy/plugins/monitoring/public/components/kibana/instances/instances.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/instances.js rename to x-pack/legacy/plugins/monitoring/public/components/kibana/instances/instances.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js b/x-pack/legacy/plugins/monitoring/public/components/kibana/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/status_icon.js rename to x-pack/legacy/plugins/monitoring/public/components/kibana/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/license/index.js b/x-pack/legacy/plugins/monitoring/public/components/license/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/license/index.js rename to x-pack/legacy/plugins/monitoring/public/components/license/index.js diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logs/__snapshots__/logs.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logs/__snapshots__/reason.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logs/__snapshots__/reason.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/index.js b/x-pack/legacy/plugins/monitoring/public/components/logs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logs/index.js diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.js b/x-pack/legacy/plugins/monitoring/public/components/logs/logs.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.js rename to x-pack/legacy/plugins/monitoring/public/components/logs/logs.js diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.test.js b/x-pack/legacy/plugins/monitoring/public/components/logs/logs.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logs/logs.test.js diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.js b/x-pack/legacy/plugins/monitoring/public/components/logs/reason.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.js rename to x-pack/legacy/plugins/monitoring/public/components/logs/reason.js diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.test.js b/x-pack/legacy/plugins/monitoring/public/components/logs/reason.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logs/reason.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/listing/listing.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/listing/listing.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/node/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/node/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/node/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/node/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/node/node.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/node/node.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/node/node.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/node/node.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/overview.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/overview.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/config.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/__tests__/pipeline_state.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/boolean_edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/edge_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/if_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/plugin_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/plugin_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/plugin_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/plugin_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/queue_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/__tests__/vertex_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/if_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/if_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/if_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/if_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/make_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/make_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/make_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/make_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/pipeline.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/pipeline.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/pipeline.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/plugin_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/plugin_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/queue.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/queue.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/utils.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/utils.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/utils.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/__tests__/utils.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/collapsible_statement.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/collapsible_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/collapsible_statement.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/collapsible_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/detail_drawer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/metric.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/pipeline_viewer.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/pipeline_viewer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/pipeline_viewer.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/pipeline_viewer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/plugin_statement.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/plugin_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/plugin_statement.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/plugin_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/queue.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list_heading.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list_heading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list_heading.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_list_heading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_section.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_section.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_section.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/__snapshots__/statement_section.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/collapsible_statement.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/collapsible_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/collapsible_statement.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/collapsible_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/detail_drawer.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/detail_drawer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/detail_drawer.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/detail_drawer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/metric.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/metric.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/metric.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/metric.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/pipeline_viewer.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/pipeline_viewer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/pipeline_viewer.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/pipeline_viewer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/plugin_statement.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/plugin_statement.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/queue.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/queue.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list_heading.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list_heading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list_heading.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_list_heading.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_section.test.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_section.test.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__test__/statement_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_pipeline_viewer.scss b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_pipeline_viewer.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_pipeline_viewer.scss rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/_pipeline_viewer.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js b/x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js rename to x-pack/legacy/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/constants.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/constants.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js similarity index 99% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js index f15d6c363ab53..bf8076f149eb9 100644 --- a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js +++ b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js @@ -22,7 +22,7 @@ import { EuiText, } from '@elastic/eui'; import { getInstructionSteps } from '../instruction_steps'; -import { Storage } from '../../../../../../../src/legacy/ui/public/storage/storage'; +import { Storage } from '../../../../../../../../src/legacy/ui/public/storage/storage'; import { STORAGE_KEY, ELASTICSEARCH_CUSTOM_ID } from '../../../../common/constants'; import { ensureMinimumTime } from '../../../lib/ensure_minimum_time'; import { i18n } from '@kbn/i18n'; diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/common_elasticsearch_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/common_elasticsearch_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/common_elasticsearch_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/common_elasticsearch_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/common_kibana_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/common_kibana_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/common_kibana_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/common_kibana_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js b/x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js rename to x-pack/legacy/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/checker_errors.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/checker_errors.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/checker_errors.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/checker_errors.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js similarity index 92% rename from x-pack/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js index 4e9a99671b414..8462d2a6fc87b 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/checker_errors.test.js @@ -6,7 +6,7 @@ import React from 'react'; import { boomify, forbidden } from 'boom'; -import { renderWithIntl } from '../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; import { CheckerErrors } from '../checker_errors'; describe('CheckerErrors', () => { diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js similarity index 92% rename from x-pack/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js index df62c7a239fa2..434cc7b63a17b 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/__tests__/no_data.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; import { NoData } from '../'; const enabler = {}; diff --git a/x-pack/plugins/monitoring/public/components/no_data/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/no_data/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/no_data/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/no_data/_no_data.scss b/x-pack/legacy/plugins/monitoring/public/components/no_data/_no_data.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/_no_data.scss rename to x-pack/legacy/plugins/monitoring/public/components/no_data/_no_data.scss diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/looking_for.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/looking_for.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/what_is.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/blurbs/what_is.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/checker_errors.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/checker_errors.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checking_settings.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/checking_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checking_settings.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/checking_settings.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/__snapshots__/collection_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js similarity index 93% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js index 67d0c12d65b0f..74baec14af2f8 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__tests__/collection_enabled.test.js @@ -6,7 +6,7 @@ import React from 'react'; import sinon from 'sinon'; -import { mountWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../../../../../test_utils/enzyme_helpers'; import { ExplainCollectionEnabled } from '../collection_enabled'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/__snapshots__/collection_interval.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js similarity index 96% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js index cdb8f3e08c651..409e9c63b014e 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/__tests__/collection_interval.test.js @@ -6,7 +6,7 @@ import React from 'react'; import sinon from 'sinon'; -import { mountWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; +import { mountWithIntl } from '../../../../../../../../../test_utils/enzyme_helpers'; import { ExplainCollectionInterval } from '../collection_interval'; import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/__snapshots__/exporters.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/__snapshots__/exporters.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/__snapshots__/exporters.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/__snapshots__/exporters.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js similarity index 88% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js index 16f1d8c798d05..99a3a334031e8 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/__tests__/exporters.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../../../test_utils/enzyme_helpers'; import { ExplainExporters } from '../exporters'; describe('ExplainExporters', () => { diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/index.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/index.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/__snapshots__/plugin_enabled.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/__snapshots__/plugin_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/__snapshots__/plugin_enabled.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/__snapshots__/plugin_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js similarity index 88% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js index 749543765c64a..3d2989fbe6877 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__tests__/plugin_enabled.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../../../test_utils/enzyme_helpers'; import { ExplainPluginEnabled } from '../plugin_enabled'; describe('ExplainPluginEnabled', () => { diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/index.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/index.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/no_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/no_data.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/reason_found.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/reason_found.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/reason_found.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/reason_found.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/we_tried.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/we_tried.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/we_tried.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/__snapshots__/we_tried.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js similarity index 94% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js index 68ee6ac7598ae..45bc3785195f2 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/reason_found.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; import { ReasonFound } from '../'; const enabler = {}; diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js similarity index 85% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js index ff6b30b674811..e382a1c9ea8db 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/__tests__/we_tried.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../../test_utils/enzyme_helpers'; import { WeTried } from '../'; describe('WeTried', () => { diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/index.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/index.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/reason_found.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/reason_found.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js b/x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/we_tried.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js rename to x-pack/legacy/plugins/monitoring/public/components/no_data/reasons/we_tried.js diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js b/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js similarity index 85% rename from x-pack/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js rename to x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js index f2e698cb5521a..f3a553572b25d 100644 --- a/x-pack/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/page_loading.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../../test_utils/enzyme_helpers'; import { PageLoading } from '../'; describe('PageLoading', () => { diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.js b/x-pack/legacy/plugins/monitoring/public/components/page_loading/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/index.js rename to x-pack/legacy/plugins/monitoring/public/components/page_loading/index.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/index.js b/x-pack/legacy/plugins/monitoring/public/components/renderers/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/index.js rename to x-pack/legacy/plugins/monitoring/public/components/renderers/index.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.js b/x-pack/legacy/plugins/monitoring/public/components/renderers/setup_mode.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.js rename to x-pack/legacy/plugins/monitoring/public/components/renderers/setup_mode.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js b/x-pack/legacy/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__test__/__snapshots__/index.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/sparkline/__test__/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__test__/__snapshots__/index.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/__test__/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__test__/index.test.js b/x-pack/legacy/plugins/monitoring/public/components/sparkline/__test__/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__test__/index.test.js rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/__test__/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/sparkline/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/sparkline/_sparkline.scss b/x-pack/legacy/plugins/monitoring/public/components/sparkline/_sparkline.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/_sparkline.scss rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/_sparkline.scss diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.js b/x-pack/legacy/plugins/monitoring/public/components/sparkline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.js rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/index.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js b/x-pack/legacy/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js rename to x-pack/legacy/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/status_icon/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/status_icon/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss b/x-pack/legacy/plugins/monitoring/public/components/status_icon/_status_icon.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss rename to x-pack/legacy/plugins/monitoring/public/components/status_icon/_status_icon.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.js b/x-pack/legacy/plugins/monitoring/public/components/status_icon/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/index.js rename to x-pack/legacy/plugins/monitoring/public/components/status_icon/index.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/summary_status/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/summary_status/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/summary_status/_summary_status.scss b/x-pack/legacy/plugins/monitoring/public/components/summary_status/_summary_status.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/_summary_status.scss rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/_summary_status.scss diff --git a/x-pack/plugins/monitoring/public/components/summary_status/index.js b/x-pack/legacy/plugins/monitoring/public/components/summary_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/index.js rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.js b/x-pack/legacy/plugins/monitoring/public/components/summary_status/summary_status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.js rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/summary_status.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js b/x-pack/legacy/plugins/monitoring/public/components/summary_status/summary_status.test.js similarity index 95% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js rename to x-pack/legacy/plugins/monitoring/public/components/summary_status/summary_status.test.js index 27b63877abb4d..5c8904d9b2076 100644 --- a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js +++ b/x-pack/legacy/plugins/monitoring/public/components/summary_status/summary_status.test.js @@ -5,7 +5,7 @@ */ import React from 'react'; -import { renderWithIntl } from '../../../../../test_utils/enzyme_helpers'; +import { renderWithIntl } from '../../../../../../test_utils/enzyme_helpers'; import { SummaryStatus } from './summary_status'; jest.mock(`@elastic/eui/lib/components/form/form_row/make_id`, () => () => `generated-id`); diff --git a/x-pack/plugins/monitoring/public/components/table/_index.scss b/x-pack/legacy/plugins/monitoring/public/components/table/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/_index.scss rename to x-pack/legacy/plugins/monitoring/public/components/table/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/table/_table.scss b/x-pack/legacy/plugins/monitoring/public/components/table/_table.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/_table.scss rename to x-pack/legacy/plugins/monitoring/public/components/table/_table.scss diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table.js b/x-pack/legacy/plugins/monitoring/public/components/table/eui_table.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table.js rename to x-pack/legacy/plugins/monitoring/public/components/table/eui_table.js diff --git a/x-pack/plugins/monitoring/public/components/table/footer.js b/x-pack/legacy/plugins/monitoring/public/components/table/footer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/footer.js rename to x-pack/legacy/plugins/monitoring/public/components/table/footer.js diff --git a/x-pack/plugins/monitoring/public/components/table/index.js b/x-pack/legacy/plugins/monitoring/public/components/table/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/index.js rename to x-pack/legacy/plugins/monitoring/public/components/table/index.js diff --git a/x-pack/plugins/monitoring/public/components/table/no_data.js b/x-pack/legacy/plugins/monitoring/public/components/table/no_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/no_data.js rename to x-pack/legacy/plugins/monitoring/public/components/table/no_data.js diff --git a/x-pack/plugins/monitoring/public/components/table/storage.js b/x-pack/legacy/plugins/monitoring/public/components/table/storage.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/storage.js rename to x-pack/legacy/plugins/monitoring/public/components/table/storage.js diff --git a/x-pack/plugins/monitoring/public/components/table/table.js b/x-pack/legacy/plugins/monitoring/public/components/table/table.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/table.js rename to x-pack/legacy/plugins/monitoring/public/components/table/table.js diff --git a/x-pack/plugins/monitoring/public/components/table/toolbar.js b/x-pack/legacy/plugins/monitoring/public/components/table/toolbar.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/toolbar.js rename to x-pack/legacy/plugins/monitoring/public/components/table/toolbar.js diff --git a/x-pack/plugins/monitoring/public/directives/__tests__/fixtures/providers.js b/x-pack/legacy/plugins/monitoring/public/directives/__tests__/fixtures/providers.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/__tests__/fixtures/providers.js rename to x-pack/legacy/plugins/monitoring/public/directives/__tests__/fixtures/providers.js diff --git a/x-pack/plugins/monitoring/public/directives/all.js b/x-pack/legacy/plugins/monitoring/public/directives/all.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/all.js rename to x-pack/legacy/plugins/monitoring/public/directives/all.js diff --git a/x-pack/plugins/monitoring/public/directives/beats/beat/index.js b/x-pack/legacy/plugins/monitoring/public/directives/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/beats/beat/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/directives/beats/overview/index.js b/x-pack/legacy/plugins/monitoring/public/directives/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/beats/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/directives/chart/_chart.scss b/x-pack/legacy/plugins/monitoring/public/directives/chart/_chart.scss similarity index 100% rename from x-pack/plugins/monitoring/public/directives/chart/_chart.scss rename to x-pack/legacy/plugins/monitoring/public/directives/chart/_chart.scss diff --git a/x-pack/plugins/monitoring/public/directives/chart/_index.scss b/x-pack/legacy/plugins/monitoring/public/directives/chart/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/directives/chart/_index.scss rename to x-pack/legacy/plugins/monitoring/public/directives/chart/_index.scss diff --git a/x-pack/plugins/monitoring/public/directives/chart/index.js b/x-pack/legacy/plugins/monitoring/public/directives/chart/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/chart/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/chart/index.js diff --git a/x-pack/plugins/monitoring/public/directives/elasticsearch/cluster_status/index.js b/x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/elasticsearch/cluster_status/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/directives/elasticsearch/index_summary/index.js b/x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/index_summary/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/elasticsearch/index_summary/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/index_summary/index.js diff --git a/x-pack/plugins/monitoring/public/directives/elasticsearch/ml_job_listing/index.js b/x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/ml_job_listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/elasticsearch/ml_job_listing/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/ml_job_listing/index.js diff --git a/x-pack/plugins/monitoring/public/directives/elasticsearch/node_summary/index.js b/x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/node_summary/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/elasticsearch/node_summary/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/elasticsearch/node_summary/index.js diff --git a/x-pack/plugins/monitoring/public/directives/kibana/cluster_status/index.js b/x-pack/legacy/plugins/monitoring/public/directives/kibana/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/kibana/cluster_status/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/kibana/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/directives/kibana/listing/index.js b/x-pack/legacy/plugins/monitoring/public/directives/kibana/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/kibana/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/kibana/listing/index.js diff --git a/x-pack/plugins/monitoring/public/directives/kibana/summary/index.js b/x-pack/legacy/plugins/monitoring/public/directives/kibana/summary/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/kibana/summary/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/kibana/summary/index.js diff --git a/x-pack/plugins/monitoring/public/directives/main/__tests__/monitoring_main_controller.js b/x-pack/legacy/plugins/monitoring/public/directives/main/__tests__/monitoring_main_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/main/__tests__/monitoring_main_controller.js rename to x-pack/legacy/plugins/monitoring/public/directives/main/__tests__/monitoring_main_controller.js diff --git a/x-pack/plugins/monitoring/public/directives/main/index.html b/x-pack/legacy/plugins/monitoring/public/directives/main/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/directives/main/index.html rename to x-pack/legacy/plugins/monitoring/public/directives/main/index.html diff --git a/x-pack/plugins/monitoring/public/directives/main/index.js b/x-pack/legacy/plugins/monitoring/public/directives/main/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/main/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/main/index.js diff --git a/x-pack/plugins/monitoring/public/directives/sparkline/index.js b/x-pack/legacy/plugins/monitoring/public/directives/sparkline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/directives/sparkline/index.js rename to x-pack/legacy/plugins/monitoring/public/directives/sparkline/index.js diff --git a/x-pack/plugins/monitoring/public/filters/index.js b/x-pack/legacy/plugins/monitoring/public/filters/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/filters/index.js rename to x-pack/legacy/plugins/monitoring/public/filters/index.js diff --git a/x-pack/plugins/monitoring/public/hacks/__tests__/toggle_app_link_in_nav.js b/x-pack/legacy/plugins/monitoring/public/hacks/__tests__/toggle_app_link_in_nav.js similarity index 100% rename from x-pack/plugins/monitoring/public/hacks/__tests__/toggle_app_link_in_nav.js rename to x-pack/legacy/plugins/monitoring/public/hacks/__tests__/toggle_app_link_in_nav.js diff --git a/x-pack/plugins/monitoring/public/hacks/toggle_app_link_in_nav.js b/x-pack/legacy/plugins/monitoring/public/hacks/toggle_app_link_in_nav.js similarity index 100% rename from x-pack/plugins/monitoring/public/hacks/toggle_app_link_in_nav.js rename to x-pack/legacy/plugins/monitoring/public/hacks/toggle_app_link_in_nav.js diff --git a/x-pack/plugins/monitoring/public/icons/alert-blue.svg b/x-pack/legacy/plugins/monitoring/public/icons/alert-blue.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/alert-blue.svg rename to x-pack/legacy/plugins/monitoring/public/icons/alert-blue.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-gray.svg b/x-pack/legacy/plugins/monitoring/public/icons/health-gray.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-gray.svg rename to x-pack/legacy/plugins/monitoring/public/icons/health-gray.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-green.svg b/x-pack/legacy/plugins/monitoring/public/icons/health-green.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-green.svg rename to x-pack/legacy/plugins/monitoring/public/icons/health-green.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-red.svg b/x-pack/legacy/plugins/monitoring/public/icons/health-red.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-red.svg rename to x-pack/legacy/plugins/monitoring/public/icons/health-red.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-yellow.svg b/x-pack/legacy/plugins/monitoring/public/icons/health-yellow.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-yellow.svg rename to x-pack/legacy/plugins/monitoring/public/icons/health-yellow.svg diff --git a/x-pack/plugins/monitoring/public/icons/monitoring.svg b/x-pack/legacy/plugins/monitoring/public/icons/monitoring.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/monitoring.svg rename to x-pack/legacy/plugins/monitoring/public/icons/monitoring.svg diff --git a/x-pack/plugins/monitoring/public/index.scss b/x-pack/legacy/plugins/monitoring/public/index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/index.scss rename to x-pack/legacy/plugins/monitoring/public/index.scss diff --git a/x-pack/plugins/monitoring/public/lib/__tests__/format_number.js b/x-pack/legacy/plugins/monitoring/public/lib/__tests__/format_number.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/__tests__/format_number.js rename to x-pack/legacy/plugins/monitoring/public/lib/__tests__/format_number.js diff --git a/x-pack/plugins/monitoring/public/lib/ajax_error_handler.js b/x-pack/legacy/plugins/monitoring/public/lib/ajax_error_handler.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ajax_error_handler.js rename to x-pack/legacy/plugins/monitoring/public/lib/ajax_error_handler.js diff --git a/x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js b/x-pack/legacy/plugins/monitoring/public/lib/calculate_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js rename to x-pack/legacy/plugins/monitoring/public/lib/calculate_shard_stats.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/enabler.test.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/enabler.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/enabler.test.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/enabler.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/settings_checker.test.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/settings_checker.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/settings_checker.test.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/settings_checker.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/start_checks.test.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/start_checks.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/start_checks.test.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/__tests__/start_checks.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js b/x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js rename to x-pack/legacy/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js b/x-pack/legacy/plugins/monitoring/public/lib/ensure_minimum_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js rename to x-pack/legacy/plugins/monitoring/public/lib/ensure_minimum_time.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js b/x-pack/legacy/plugins/monitoring/public/lib/ensure_minimum_time.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js rename to x-pack/legacy/plugins/monitoring/public/lib/ensure_minimum_time.test.js diff --git a/x-pack/plugins/monitoring/public/lib/extract_ip.js b/x-pack/legacy/plugins/monitoring/public/lib/extract_ip.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/extract_ip.js rename to x-pack/legacy/plugins/monitoring/public/lib/extract_ip.js diff --git a/x-pack/plugins/monitoring/public/lib/format_number.js b/x-pack/legacy/plugins/monitoring/public/lib/format_number.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.js rename to x-pack/legacy/plugins/monitoring/public/lib/format_number.js diff --git a/x-pack/plugins/monitoring/public/lib/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/lib/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/lib/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/lib/logstash/__tests__/pipelines.js b/x-pack/legacy/plugins/monitoring/public/lib/logstash/__tests__/pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/__tests__/pipelines.js rename to x-pack/legacy/plugins/monitoring/public/lib/logstash/__tests__/pipelines.js diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.js b/x-pack/legacy/plugins/monitoring/public/lib/logstash/pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.js rename to x-pack/legacy/plugins/monitoring/public/lib/logstash/pipelines.js diff --git a/x-pack/plugins/monitoring/public/lib/route_init.js b/x-pack/legacy/plugins/monitoring/public/lib/route_init.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/route_init.js rename to x-pack/legacy/plugins/monitoring/public/lib/route_init.js diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.js b/x-pack/legacy/plugins/monitoring/public/lib/setup_mode.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.js rename to x-pack/legacy/plugins/monitoring/public/lib/setup_mode.js diff --git a/x-pack/plugins/monitoring/public/monitoring.js b/x-pack/legacy/plugins/monitoring/public/monitoring.js similarity index 100% rename from x-pack/plugins/monitoring/public/monitoring.js rename to x-pack/legacy/plugins/monitoring/public/monitoring.js diff --git a/x-pack/plugins/monitoring/public/register_feature.js b/x-pack/legacy/plugins/monitoring/public/register_feature.js similarity index 100% rename from x-pack/plugins/monitoring/public/register_feature.js rename to x-pack/legacy/plugins/monitoring/public/register_feature.js diff --git a/x-pack/plugins/monitoring/public/services/__tests__/breadcrumbs.js b/x-pack/legacy/plugins/monitoring/public/services/__tests__/breadcrumbs.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/__tests__/breadcrumbs.js rename to x-pack/legacy/plugins/monitoring/public/services/__tests__/breadcrumbs.js diff --git a/x-pack/plugins/monitoring/public/services/__tests__/executor_provider.js b/x-pack/legacy/plugins/monitoring/public/services/__tests__/executor_provider.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/__tests__/executor_provider.js rename to x-pack/legacy/plugins/monitoring/public/services/__tests__/executor_provider.js diff --git a/x-pack/plugins/monitoring/public/services/breadcrumbs.js b/x-pack/legacy/plugins/monitoring/public/services/breadcrumbs.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/breadcrumbs.js rename to x-pack/legacy/plugins/monitoring/public/services/breadcrumbs.js diff --git a/x-pack/plugins/monitoring/public/services/breadcrumbs_provider.js b/x-pack/legacy/plugins/monitoring/public/services/breadcrumbs_provider.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/breadcrumbs_provider.js rename to x-pack/legacy/plugins/monitoring/public/services/breadcrumbs_provider.js diff --git a/x-pack/plugins/monitoring/public/services/clusters.js b/x-pack/legacy/plugins/monitoring/public/services/clusters.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/clusters.js rename to x-pack/legacy/plugins/monitoring/public/services/clusters.js diff --git a/x-pack/plugins/monitoring/public/services/executor.js b/x-pack/legacy/plugins/monitoring/public/services/executor.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/executor.js rename to x-pack/legacy/plugins/monitoring/public/services/executor.js diff --git a/x-pack/plugins/monitoring/public/services/executor_provider.js b/x-pack/legacy/plugins/monitoring/public/services/executor_provider.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/executor_provider.js rename to x-pack/legacy/plugins/monitoring/public/services/executor_provider.js diff --git a/x-pack/plugins/monitoring/public/services/features.js b/x-pack/legacy/plugins/monitoring/public/services/features.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/features.js rename to x-pack/legacy/plugins/monitoring/public/services/features.js diff --git a/x-pack/plugins/monitoring/public/services/license.js b/x-pack/legacy/plugins/monitoring/public/services/license.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/license.js rename to x-pack/legacy/plugins/monitoring/public/services/license.js diff --git a/x-pack/plugins/monitoring/public/services/title.js b/x-pack/legacy/plugins/monitoring/public/services/title.js similarity index 100% rename from x-pack/plugins/monitoring/public/services/title.js rename to x-pack/legacy/plugins/monitoring/public/services/title.js diff --git a/x-pack/plugins/monitoring/public/views/__tests__/base_controller.js b/x-pack/legacy/plugins/monitoring/public/views/__tests__/base_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/__tests__/base_controller.js rename to x-pack/legacy/plugins/monitoring/public/views/__tests__/base_controller.js diff --git a/x-pack/plugins/monitoring/public/views/__tests__/base_table_controller.js b/x-pack/legacy/plugins/monitoring/public/views/__tests__/base_table_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/__tests__/base_table_controller.js rename to x-pack/legacy/plugins/monitoring/public/views/__tests__/base_table_controller.js diff --git a/x-pack/plugins/monitoring/public/views/access_denied/index.html b/x-pack/legacy/plugins/monitoring/public/views/access_denied/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/access_denied/index.html rename to x-pack/legacy/plugins/monitoring/public/views/access_denied/index.html diff --git a/x-pack/plugins/monitoring/public/views/access_denied/index.js b/x-pack/legacy/plugins/monitoring/public/views/access_denied/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/access_denied/index.js rename to x-pack/legacy/plugins/monitoring/public/views/access_denied/index.js diff --git a/x-pack/plugins/monitoring/public/views/alerts/index.html b/x-pack/legacy/plugins/monitoring/public/views/alerts/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/alerts/index.html rename to x-pack/legacy/plugins/monitoring/public/views/alerts/index.html diff --git a/x-pack/plugins/monitoring/public/views/alerts/index.js b/x-pack/legacy/plugins/monitoring/public/views/alerts/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/alerts/index.js rename to x-pack/legacy/plugins/monitoring/public/views/alerts/index.js diff --git a/x-pack/plugins/monitoring/public/views/all.js b/x-pack/legacy/plugins/monitoring/public/views/all.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/all.js rename to x-pack/legacy/plugins/monitoring/public/views/all.js diff --git a/x-pack/plugins/monitoring/public/views/apm/instance/index.html b/x-pack/legacy/plugins/monitoring/public/views/apm/instance/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/instance/index.html rename to x-pack/legacy/plugins/monitoring/public/views/apm/instance/index.html diff --git a/x-pack/plugins/monitoring/public/views/apm/instance/index.js b/x-pack/legacy/plugins/monitoring/public/views/apm/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/instance/index.js rename to x-pack/legacy/plugins/monitoring/public/views/apm/instance/index.js diff --git a/x-pack/plugins/monitoring/public/views/apm/instances/index.html b/x-pack/legacy/plugins/monitoring/public/views/apm/instances/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/instances/index.html rename to x-pack/legacy/plugins/monitoring/public/views/apm/instances/index.html diff --git a/x-pack/plugins/monitoring/public/views/apm/instances/index.js b/x-pack/legacy/plugins/monitoring/public/views/apm/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/instances/index.js rename to x-pack/legacy/plugins/monitoring/public/views/apm/instances/index.js diff --git a/x-pack/plugins/monitoring/public/views/apm/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/apm/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/apm/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/apm/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/apm/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/apm/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/apm/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/base_controller.js b/x-pack/legacy/plugins/monitoring/public/views/base_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/base_controller.js rename to x-pack/legacy/plugins/monitoring/public/views/base_controller.js diff --git a/x-pack/plugins/monitoring/public/views/base_eui_table_controller.js b/x-pack/legacy/plugins/monitoring/public/views/base_eui_table_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/base_eui_table_controller.js rename to x-pack/legacy/plugins/monitoring/public/views/base_eui_table_controller.js diff --git a/x-pack/plugins/monitoring/public/views/base_table_controller.js b/x-pack/legacy/plugins/monitoring/public/views/base_table_controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/base_table_controller.js rename to x-pack/legacy/plugins/monitoring/public/views/base_table_controller.js diff --git a/x-pack/plugins/monitoring/public/views/beats/beat/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/beats/beat/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/beat/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/beat/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/beats/beat/index.html b/x-pack/legacy/plugins/monitoring/public/views/beats/beat/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/beat/index.html rename to x-pack/legacy/plugins/monitoring/public/views/beats/beat/index.html diff --git a/x-pack/plugins/monitoring/public/views/beats/beat/index.js b/x-pack/legacy/plugins/monitoring/public/views/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/beat/index.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/views/beats/listing/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/beats/listing/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/listing/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/listing/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/beats/listing/index.html b/x-pack/legacy/plugins/monitoring/public/views/beats/listing/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/listing/index.html rename to x-pack/legacy/plugins/monitoring/public/views/beats/listing/index.html diff --git a/x-pack/plugins/monitoring/public/views/beats/listing/index.js b/x-pack/legacy/plugins/monitoring/public/views/beats/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/listing/index.js diff --git a/x-pack/plugins/monitoring/public/views/beats/overview/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/beats/overview/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/overview/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/overview/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/beats/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/beats/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/beats/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/beats/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/beats/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/cluster/listing/index.html b/x-pack/legacy/plugins/monitoring/public/views/cluster/listing/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/cluster/listing/index.html rename to x-pack/legacy/plugins/monitoring/public/views/cluster/listing/index.html diff --git a/x-pack/plugins/monitoring/public/views/cluster/listing/index.js b/x-pack/legacy/plugins/monitoring/public/views/cluster/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/cluster/listing/index.js rename to x-pack/legacy/plugins/monitoring/public/views/cluster/listing/index.js diff --git a/x-pack/plugins/monitoring/public/views/cluster/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/cluster/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/cluster/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/cluster/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/cluster/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ccr/shard/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/index/advanced/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/advanced/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/index/advanced/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/advanced/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/index/advanced/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/advanced/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/index/advanced/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/advanced/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/index/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/index/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/index/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/index/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/index/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/indices/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/indices/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/indices/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/indices/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/indices/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/ml_jobs/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/node/advanced/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/advanced/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/node/advanced/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/advanced/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/node/advanced/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/advanced/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/node/advanced/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/advanced/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/node/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/node/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/node/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/node/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/node/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/node/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/node/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/nodes/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/nodes/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/nodes/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/nodes/index.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/overview/controller.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/controller.js diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/elasticsearch/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/elasticsearch/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/index.js b/x-pack/legacy/plugins/monitoring/public/views/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/index.js rename to x-pack/legacy/plugins/monitoring/public/views/index.js diff --git a/x-pack/plugins/monitoring/public/views/kibana/instance/index.html b/x-pack/legacy/plugins/monitoring/public/views/kibana/instance/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/instance/index.html rename to x-pack/legacy/plugins/monitoring/public/views/kibana/instance/index.html diff --git a/x-pack/plugins/monitoring/public/views/kibana/instance/index.js b/x-pack/legacy/plugins/monitoring/public/views/kibana/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/instance/index.js rename to x-pack/legacy/plugins/monitoring/public/views/kibana/instance/index.js diff --git a/x-pack/plugins/monitoring/public/views/kibana/instances/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/kibana/instances/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/instances/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/kibana/instances/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/kibana/instances/index.html b/x-pack/legacy/plugins/monitoring/public/views/kibana/instances/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/instances/index.html rename to x-pack/legacy/plugins/monitoring/public/views/kibana/instances/index.html diff --git a/x-pack/plugins/monitoring/public/views/kibana/instances/index.js b/x-pack/legacy/plugins/monitoring/public/views/kibana/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/instances/index.js rename to x-pack/legacy/plugins/monitoring/public/views/kibana/instances/index.js diff --git a/x-pack/plugins/monitoring/public/views/kibana/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/kibana/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/kibana/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/kibana/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/kibana/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/kibana/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/kibana/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/license/controller.js b/x-pack/legacy/plugins/monitoring/public/views/license/controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/license/controller.js rename to x-pack/legacy/plugins/monitoring/public/views/license/controller.js diff --git a/x-pack/plugins/monitoring/public/views/license/index.html b/x-pack/legacy/plugins/monitoring/public/views/license/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/license/index.html rename to x-pack/legacy/plugins/monitoring/public/views/license/index.html diff --git a/x-pack/plugins/monitoring/public/views/license/index.js b/x-pack/legacy/plugins/monitoring/public/views/license/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/license/index.js rename to x-pack/legacy/plugins/monitoring/public/views/license/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/advanced/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/advanced/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/advanced/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/advanced/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/advanced/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/advanced/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/advanced/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/advanced/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/pipelines/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/pipelines/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/pipelines/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/pipelines/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/node/pipelines/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/node/pipelines/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/node/pipelines/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/node/pipelines/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/nodes/get_page_data.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/get_page_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/nodes/get_page_data.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/get_page_data.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/nodes/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/nodes/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/nodes/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/nodes/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/nodes/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/overview/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/overview/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/overview/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/overview/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/overview/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/overview/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/overview/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/pipeline/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/pipeline/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/pipeline/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/pipeline/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/pipeline/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/pipeline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/pipeline/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/pipeline/index.js diff --git a/x-pack/plugins/monitoring/public/views/logstash/pipelines/index.html b/x-pack/legacy/plugins/monitoring/public/views/logstash/pipelines/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/pipelines/index.html rename to x-pack/legacy/plugins/monitoring/public/views/logstash/pipelines/index.html diff --git a/x-pack/plugins/monitoring/public/views/logstash/pipelines/index.js b/x-pack/legacy/plugins/monitoring/public/views/logstash/pipelines/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/logstash/pipelines/index.js rename to x-pack/legacy/plugins/monitoring/public/views/logstash/pipelines/index.js diff --git a/x-pack/plugins/monitoring/public/views/no_data/__tests__/model_updater.test.js b/x-pack/legacy/plugins/monitoring/public/views/no_data/__tests__/model_updater.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/no_data/__tests__/model_updater.test.js rename to x-pack/legacy/plugins/monitoring/public/views/no_data/__tests__/model_updater.test.js diff --git a/x-pack/plugins/monitoring/public/views/no_data/controller.js b/x-pack/legacy/plugins/monitoring/public/views/no_data/controller.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/no_data/controller.js rename to x-pack/legacy/plugins/monitoring/public/views/no_data/controller.js diff --git a/x-pack/plugins/monitoring/public/views/no_data/index.html b/x-pack/legacy/plugins/monitoring/public/views/no_data/index.html similarity index 100% rename from x-pack/plugins/monitoring/public/views/no_data/index.html rename to x-pack/legacy/plugins/monitoring/public/views/no_data/index.html diff --git a/x-pack/plugins/monitoring/public/views/no_data/index.js b/x-pack/legacy/plugins/monitoring/public/views/no_data/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/no_data/index.js rename to x-pack/legacy/plugins/monitoring/public/views/no_data/index.js diff --git a/x-pack/plugins/monitoring/public/views/no_data/model_updater.js b/x-pack/legacy/plugins/monitoring/public/views/no_data/model_updater.js similarity index 100% rename from x-pack/plugins/monitoring/public/views/no_data/model_updater.js rename to x-pack/legacy/plugins/monitoring/public/views/no_data/model_updater.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/aws.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/aws.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/aws.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/aws.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/azure.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/azure.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/azure.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/azure.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/cloud_detector.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_detector.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/cloud_detector.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_detector.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/cloud_response.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_response.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/cloud_response.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_response.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/cloud_service.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_service.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/cloud_service.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_service.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/cloud_services.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_services.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/cloud_services.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/cloud_services.js diff --git a/x-pack/plugins/monitoring/server/cloud/__tests__/gcp.js b/x-pack/legacy/plugins/monitoring/server/cloud/__tests__/gcp.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/__tests__/gcp.js rename to x-pack/legacy/plugins/monitoring/server/cloud/__tests__/gcp.js diff --git a/x-pack/plugins/monitoring/server/cloud/aws.js b/x-pack/legacy/plugins/monitoring/server/cloud/aws.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/aws.js rename to x-pack/legacy/plugins/monitoring/server/cloud/aws.js diff --git a/x-pack/plugins/monitoring/server/cloud/azure.js b/x-pack/legacy/plugins/monitoring/server/cloud/azure.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/azure.js rename to x-pack/legacy/plugins/monitoring/server/cloud/azure.js diff --git a/x-pack/plugins/monitoring/server/cloud/cloud_detector.js b/x-pack/legacy/plugins/monitoring/server/cloud/cloud_detector.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/cloud_detector.js rename to x-pack/legacy/plugins/monitoring/server/cloud/cloud_detector.js diff --git a/x-pack/plugins/monitoring/server/cloud/cloud_response.js b/x-pack/legacy/plugins/monitoring/server/cloud/cloud_response.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/cloud_response.js rename to x-pack/legacy/plugins/monitoring/server/cloud/cloud_response.js diff --git a/x-pack/plugins/monitoring/server/cloud/cloud_service.js b/x-pack/legacy/plugins/monitoring/server/cloud/cloud_service.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/cloud_service.js rename to x-pack/legacy/plugins/monitoring/server/cloud/cloud_service.js diff --git a/x-pack/plugins/monitoring/server/cloud/cloud_services.js b/x-pack/legacy/plugins/monitoring/server/cloud/cloud_services.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/cloud_services.js rename to x-pack/legacy/plugins/monitoring/server/cloud/cloud_services.js diff --git a/x-pack/plugins/monitoring/server/cloud/gcp.js b/x-pack/legacy/plugins/monitoring/server/cloud/gcp.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/gcp.js rename to x-pack/legacy/plugins/monitoring/server/cloud/gcp.js diff --git a/x-pack/plugins/monitoring/server/cloud/index.js b/x-pack/legacy/plugins/monitoring/server/cloud/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/cloud/index.js rename to x-pack/legacy/plugins/monitoring/server/cloud/index.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/__tests__/alerts_cluster_search.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/alerts_cluster_search.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/__tests__/alerts_cluster_search.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/alerts_cluster_search.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/__tests__/alerts_clusters_aggregation.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/alerts_clusters_aggregation.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/__tests__/alerts_clusters_aggregation.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/alerts_clusters_aggregation.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/__tests__/check_license.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/__tests__/check_license.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/check_license.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/__tests__/fixtures/create_stubs.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/fixtures/create_stubs.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/__tests__/fixtures/create_stubs.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/fixtures/create_stubs.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/__tests__/verify_monitoring_license.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/verify_monitoring_license.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/__tests__/verify_monitoring_license.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/__tests__/verify_monitoring_license.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/alerts_cluster_search.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/alerts_cluster_search.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/alerts_cluster_search.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/alerts_cluster_search.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/alerts_clusters_aggregation.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/alerts_clusters_aggregation.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/alerts_clusters_aggregation.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/alerts_clusters_aggregation.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/check_license.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/check_license.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/check_license.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/check_license.js diff --git a/x-pack/plugins/monitoring/server/cluster_alerts/verify_monitoring_license.js b/x-pack/legacy/plugins/monitoring/server/cluster_alerts/verify_monitoring_license.js similarity index 100% rename from x-pack/plugins/monitoring/server/cluster_alerts/verify_monitoring_license.js rename to x-pack/legacy/plugins/monitoring/server/cluster_alerts/verify_monitoring_license.js diff --git a/x-pack/plugins/monitoring/server/es_client/README.md b/x-pack/legacy/plugins/monitoring/server/es_client/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/README.md rename to x-pack/legacy/plugins/monitoring/server/es_client/README.md diff --git a/x-pack/plugins/monitoring/server/es_client/__tests__/fixture_read_file.txt b/x-pack/legacy/plugins/monitoring/server/es_client/__tests__/fixture_read_file.txt similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/__tests__/fixture_read_file.txt rename to x-pack/legacy/plugins/monitoring/server/es_client/__tests__/fixture_read_file.txt diff --git a/x-pack/plugins/monitoring/server/es_client/__tests__/instantiate_client.js b/x-pack/legacy/plugins/monitoring/server/es_client/__tests__/instantiate_client.js similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/__tests__/instantiate_client.js rename to x-pack/legacy/plugins/monitoring/server/es_client/__tests__/instantiate_client.js diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.js b/x-pack/legacy/plugins/monitoring/server/es_client/instantiate_client.js similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.js rename to x-pack/legacy/plugins/monitoring/server/es_client/instantiate_client.js diff --git a/x-pack/plugins/monitoring/server/init_monitoring_xpack_info.js b/x-pack/legacy/plugins/monitoring/server/init_monitoring_xpack_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/init_monitoring_xpack_info.js rename to x-pack/legacy/plugins/monitoring/server/init_monitoring_xpack_info.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/__tests__/bulk_uploader.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/__tests__/bulk_uploader.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/__tests__/bulk_uploader.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/__tests__/bulk_uploader.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/bulk_uploader.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/check_for_email_value.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/check_for_email_value.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/check_for_email_value.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/check_for_email_value.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/get_default_admin_email.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/get_default_admin_email.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/get_default_admin_email.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/__tests__/get_default_admin_email.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_kibana_usage_collector.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_kibana_usage_collector.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_kibana_usage_collector.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_kibana_usage_collector.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_ops_stats_collector.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_ops_stats_collector.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_ops_stats_collector.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_ops_stats_collector.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/index.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/event_roller.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/event_roller.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/event_roller.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/event_roller.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_requests.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_requests.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_requests.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_requests.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_response_times.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_response_times.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_response_times.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/__tests__/map_response_times.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/event_roller.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/event_roller.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/event_roller.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/event_roller.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/index.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/index.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/index.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_requests.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_requests.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_requests.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_requests.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_response_times.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_response_times.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_response_times.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/map_response_times.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/ops_buffer.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/ops_buffer.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/ops_buffer.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/collectors/ops_buffer/ops_buffer.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/index.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/index.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/index.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/init.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/init.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/init.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/init.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/get_kibana_info_for_stats.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/get_kibana_info_for_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/get_kibana_info_for_stats.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/get_kibana_info_for_stats.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/index.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js b/x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js rename to x-pack/legacy/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/calculate_auto.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_auto.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/calculate_auto.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_auto.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/calculate_availabiilty.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_availabiilty.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/calculate_availabiilty.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_availabiilty.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/calculate_overall_status.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_overall_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/calculate_overall_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_overall_status.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/calculate_rate.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_rate.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/calculate_rate.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_rate.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/calculate_timeseries_interval.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_timeseries_interval.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/calculate_timeseries_interval.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/calculate_timeseries_interval.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/ccs_utils.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/ccs_utils.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/ccs_utils.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/ccs_utils.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/create_query.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/create_query.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/create_query.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/create_query.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/helpers.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/helpers.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/helpers.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/helpers.js diff --git a/x-pack/plugins/monitoring/server/lib/__tests__/process_version_string.js b/x-pack/legacy/plugins/monitoring/server/lib/__tests__/process_version_string.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/__tests__/process_version_string.js rename to x-pack/legacy/plugins/monitoring/server/lib/__tests__/process_version_string.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/__tests__/get_apms.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/__tests__/get_apms.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/__tests__/get_apms.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/__tests__/get_apms.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/_apm_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/_apm_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_apm_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/_apm_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/_get_time_of_last_event.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/_get_time_of_last_event.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/create_apm_query.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/create_apm_query.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/create_apm_query.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/create_apm_query.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apm_info.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/get_apm_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apm_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/get_apm_info.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/get_apms.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/get_apms.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/get_apms_for_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/get_apms_for_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/get_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/get_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/index.js b/x-pack/legacy/plugins/monitoring/server/lib/apm/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/apm/index.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/create_beats_query.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/create_beats_query.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/create_beats_query.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/create_beats_query.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/fixtures/get_listing_response.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/fixtures/get_listing_response.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/fixtures/get_listing_response.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/fixtures/get_listing_response.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beat_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beat_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beat_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beat_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beats_for_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beats_for_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/get_beats_for_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_beats_for_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/get_latest_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_latest_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/get_latest_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_latest_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/__tests__/get_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__tests__/get_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/__tests__/get_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/_beats_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/_beats_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/_beats_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/_beats_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/create_beats_query.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/create_beats_query.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/get_beat_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/get_beat_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/get_beats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/get_beats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/get_beats_for_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/get_beats_for_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/get_latest_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/get_latest_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/get_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/get_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/index.js b/x-pack/legacy/plugins/monitoring/server/lib/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/beats/index.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.js b/x-pack/legacy/plugins/monitoring/server/lib/calculate_auto.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.js rename to x-pack/legacy/plugins/monitoring/server/lib/calculate_auto.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availability.js b/x-pack/legacy/plugins/monitoring/server/lib/calculate_availability.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availability.js rename to x-pack/legacy/plugins/monitoring/server/lib/calculate_availability.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.js b/x-pack/legacy/plugins/monitoring/server/lib/calculate_overall_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/calculate_overall_status.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.js b/x-pack/legacy/plugins/monitoring/server/lib/calculate_rate.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.js rename to x-pack/legacy/plugins/monitoring/server/lib/calculate_rate.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.js b/x-pack/legacy/plugins/monitoring/server/lib/calculate_timeseries_interval.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.js rename to x-pack/legacy/plugins/monitoring/server/lib/calculate_timeseries_interval.js diff --git a/x-pack/plugins/monitoring/server/lib/ccs_utils.js b/x-pack/legacy/plugins/monitoring/server/lib/ccs_utils.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/ccs_utils.js rename to x-pack/legacy/plugins/monitoring/server/lib/ccs_utils.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/__snapshots__/get_clusters_summary.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__test__/fixtures/clusters.json b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/fixtures/clusters.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__test__/fixtures/clusters.json rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/fixtures/clusters.json diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__test__/get_clusters_summary.test.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/get_clusters_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__test__/get_clusters_summary.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__test__/get_clusters_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__tests__/flag_supported_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/flag_supported_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__tests__/flag_supported_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/flag_supported_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_cluster_status.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_cluster_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_cluster_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_cluster_status.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_state.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_state.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_state.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_state.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/__tests__/get_clusters_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/flag_supported_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/flag_supported_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_license.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_license.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_cluster_status.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_from_request.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_state.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_state.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_clusters_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_index_patterns.js b/x-pack/legacy/plugins/monitoring/server/lib/cluster/get_index_patterns.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_index_patterns.js rename to x-pack/legacy/plugins/monitoring/server/lib/cluster/get_index_patterns.js diff --git a/x-pack/plugins/monitoring/server/lib/create_query.js b/x-pack/legacy/plugins/monitoring/server/lib/create_query.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.js rename to x-pack/legacy/plugins/monitoring/server/lib/create_query.js diff --git a/x-pack/plugins/monitoring/server/lib/details/__test__/__snapshots__/get_metrics.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/details/__test__/__snapshots__/get_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__test__/__snapshots__/get_metrics.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/details/__test__/__snapshots__/get_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/agg_metrics_buckets.json b/x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/agg_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/agg_metrics_buckets.json rename to x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/agg_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/deriv_metrics_buckets.json b/x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/deriv_metrics_buckets.json rename to x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/non_deriv_metrics_buckets.json b/x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/non_deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__test__/fixtures/non_deriv_metrics_buckets.json rename to x-pack/legacy/plugins/monitoring/server/lib/details/__test__/fixtures/non_deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__test__/get_metrics.test.js b/x-pack/legacy/plugins/monitoring/server/lib/details/__test__/get_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__test__/get_metrics.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/details/__test__/get_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/details/get_metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/details/get_metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/details/get_series.js b/x-pack/legacy/plugins/monitoring/server/lib/details/get_series.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_series.js rename to x-pack/legacy/plugins/monitoring/server/lib/details/get_series.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/__tests__/get_last_recovery.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/__tests__/get_last_recovery.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/__tests__/get_last_recovery.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/__tests__/get_last_recovery.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/__tests__/get_ml_jobs.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/__tests__/get_ml_jobs.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/__tests__/get_ml_jobs.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/__tests__/get_ml_jobs.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/ccr.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_index_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_index_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_index_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_index_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_indices.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_indices.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_indices.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/__tests__/get_indices.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/indices/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/calculate_node_type.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/calculate_node_type.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/calculate_node_type.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/calculate_node_type.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_type_class_label.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_type_class_label.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_type_class_label.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/get_node_type_class_label.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/lookups.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/lookups.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/lookups.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/__tests__/lookups.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/get_metric_aggs.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/get_metric_aggs.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/get_metric_aggs.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/get_metric_aggs.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/handle_response.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/handle_response.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/handle_response.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/handle_response.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_info.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_info.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_info.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_info.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_metrics.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_metrics.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/__snapshots__/map_nodes_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/fixtures/cluster_data.json b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/fixtures/cluster_data.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/fixtures/cluster_data.json rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/fixtures/cluster_data.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/get_metric_aggs.test.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/get_metric_aggs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/get_metric_aggs.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/get_metric_aggs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/handle_response.test.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/handle_response.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/handle_response.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/handle_response.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_info.test.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_info.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_metrics.test.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_metrics.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__test__/map_nodes_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/cluster.json b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/cluster.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/cluster.json rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/cluster.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/shard_stats.json b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/shard_stats.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/shard_stats.json rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/fixtures/shard_stats.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/get_shard_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/get_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/get_shard_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/get_shard_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/normalize_shard_objects.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/normalize_shard_objects.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/normalize_shard_objects.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/__tests__/normalize_shard_objects.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/cluster.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/cluster.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/cluster.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/cluster.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/find_reason.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/find_reason.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/find_reason.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/find_reason.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/nodes.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/nodes.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/__tests__/nodes.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/cluster.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/cluster.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/nodes.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.js b/x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.js rename to x-pack/legacy/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.js diff --git a/x-pack/plugins/monitoring/server/lib/error_missing_required.js b/x-pack/legacy/plugins/monitoring/server/lib/error_missing_required.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/error_missing_required.js rename to x-pack/legacy/plugins/monitoring/server/lib/error_missing_required.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/__tests__/auth_errors.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/__tests__/auth_errors.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/__tests__/auth_errors.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/__tests__/auth_errors.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/__tests__/known_errors.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/__tests__/known_errors.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/__tests__/known_errors.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/__tests__/known_errors.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/auth_errors.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/auth_errors.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_error.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/handle_error.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_error.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/handle_error.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/handle_settings_error.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/handle_settings_error.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/index.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/index.js diff --git a/x-pack/plugins/monitoring/server/lib/errors/known_errors.js b/x-pack/legacy/plugins/monitoring/server/lib/errors/known_errors.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/known_errors.js rename to x-pack/legacy/plugins/monitoring/server/lib/errors/known_errors.js diff --git a/x-pack/plugins/monitoring/server/lib/filter_partial_buckets.js b/x-pack/legacy/plugins/monitoring/server/lib/filter_partial_buckets.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/filter_partial_buckets.js rename to x-pack/legacy/plugins/monitoring/server/lib/filter_partial_buckets.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/__tests__/get_kibana_info.js b/x-pack/legacy/plugins/monitoring/server/lib/kibana/__tests__/get_kibana_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/__tests__/get_kibana_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/kibana/__tests__/get_kibana_info.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.js b/x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibana_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibana_info.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.js b/x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibanas.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.js rename to x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibanas.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/index.js b/x-pack/legacy/plugins/monitoring/server/lib/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/kibana/index.js diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason.js b/x-pack/legacy/plugins/monitoring/server/lib/logs/detect_reason.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason.js rename to x-pack/legacy/plugins/monitoring/server/lib/logs/detect_reason.js diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_log_types.js b/x-pack/legacy/plugins/monitoring/server/lib/logs/get_log_types.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_log_types.js rename to x-pack/legacy/plugins/monitoring/server/lib/logs/get_log_types.js diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_logs.js b/x-pack/legacy/plugins/monitoring/server/lib/logs/get_logs.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_logs.js rename to x-pack/legacy/plugins/monitoring/server/lib/logs/get_logs.js diff --git a/x-pack/plugins/monitoring/server/lib/logs/index.js b/x-pack/legacy/plugins/monitoring/server/lib/logs/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/logs/index.js diff --git a/x-pack/plugins/monitoring/server/lib/logs/init_infra_source.js b/x-pack/legacy/plugins/monitoring/server/lib/logs/init_infra_source.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/init_infra_source.js rename to x-pack/legacy/plugins/monitoring/server/lib/logs/init_infra_source.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_node_info.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_node_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_node_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_node_info.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_pipeline.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_pipeline.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_pipeline.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_pipelines.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/__tests__/get_pipelines.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/__tests__/get_pipelines.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_cluster_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_cluster_status.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_node_info.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_node_info.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_nodes.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_versions.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_versions.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipelines.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipelines.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/get_pipelines.js diff --git a/x-pack/plugins/monitoring/server/lib/logstash/index.js b/x-pack/legacy/plugins/monitoring/server/lib/logstash/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/logstash/index.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/__test__/__snapshots__/metrics.test.js.snap b/x-pack/legacy/plugins/monitoring/server/lib/metrics/__test__/__snapshots__/metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/__test__/__snapshots__/metrics.test.js.snap rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/__test__/__snapshots__/metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/metrics/__test__/metrics.test.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/__test__/metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/__test__/metrics.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/__test__/metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/classes.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/apm/classes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/classes.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/apm/classes.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/apm/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/apm/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/__test__/cpu_utilization_calculation.test.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/__test__/cpu_utilization_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/__test__/cpu_utilization_calculation.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/__test__/cpu_utilization_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/classes.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/classes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/classes.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/classes.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/beats/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/__test__/latency_metric_calculation.test.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/__test__/latency_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/__test__/latency_metric_calculation.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/__test__/latency_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/__test__/quota_metric_calculation.test.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/__test__/quota_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/__test__/quota_metric_calculation.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/__test__/quota_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/cluster_metric.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/cluster_metric.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/index.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/index.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/metric.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/metric.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/metric.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/metric.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/quota_metric.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/classes/quota_metric.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/__test__/latency_calculation.test.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/__test__/latency_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/__test__/latency_calculation.test.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/__test__/latency_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/classes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/classes.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/index.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/index.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/kibana/classes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/kibana/classes.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/kibana/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/kibana/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/logstash/classes.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/logstash/classes.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/logstash/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/logstash/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.js b/x-pack/legacy/plugins/monitoring/server/lib/metrics/metrics.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.js rename to x-pack/legacy/plugins/monitoring/server/lib/metrics/metrics.js diff --git a/x-pack/plugins/monitoring/server/lib/normalize_version_string.js b/x-pack/legacy/plugins/monitoring/server/lib/normalize_version_string.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/normalize_version_string.js rename to x-pack/legacy/plugins/monitoring/server/lib/normalize_version_string.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/__test__/get_collection_status.js b/x-pack/legacy/plugins/monitoring/server/lib/setup/collection/__test__/get_collection_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/__test__/get_collection_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/setup/collection/__test__/get_collection_status.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.js b/x-pack/legacy/plugins/monitoring/server/lib/setup/collection/get_collection_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.js rename to x-pack/legacy/plugins/monitoring/server/lib/setup/collection/get_collection_status.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/index.js b/x-pack/legacy/plugins/monitoring/server/lib/setup/collection/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/setup/collection/index.js diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.js b/x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.js rename to x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.js diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.js b/x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.js rename to x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.js diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/index.js b/x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/index.js rename to x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/index.js diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.js b/x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.js rename to x-pack/legacy/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/alerts/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/alerts/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/instance.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/instance.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/instances.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/instances.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/apm/overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/beat_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/beat_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/beats.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/beats.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/beats/overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/check_access/check_access.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/check_access/check_access.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/check_access/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/check_access/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/cluster.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/cluster.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/clusters.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/clusters.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/cluster/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/instance.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/instance.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/instances.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/instances.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/kibana/overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/node.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/node.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/nodes.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/overview.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/overview.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipeline.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/clusters_setup_status.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/clusters_setup_status.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/clusters_setup_status.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/clusters_setup_status.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/index.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/setup/index.js diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/ui.js b/x-pack/legacy/plugins/monitoring/server/routes/api/v1/ui.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/ui.js rename to x-pack/legacy/plugins/monitoring/server/routes/api/v1/ui.js diff --git a/x-pack/plugins/monitoring/server/routes/index.js b/x-pack/legacy/plugins/monitoring/server/routes/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/routes/index.js rename to x-pack/legacy/plugins/monitoring/server/routes/index.js diff --git a/x-pack/plugins/monitoring/ui_exports.js b/x-pack/legacy/plugins/monitoring/ui_exports.js similarity index 100% rename from x-pack/plugins/monitoring/ui_exports.js rename to x-pack/legacy/plugins/monitoring/ui_exports.js diff --git a/x-pack/plugins/notifications/config.js b/x-pack/legacy/plugins/notifications/config.js similarity index 100% rename from x-pack/plugins/notifications/config.js rename to x-pack/legacy/plugins/notifications/config.js diff --git a/x-pack/plugins/notifications/index.js b/x-pack/legacy/plugins/notifications/index.js similarity index 100% rename from x-pack/plugins/notifications/index.js rename to x-pack/legacy/plugins/notifications/index.js diff --git a/x-pack/plugins/notifications/init.js b/x-pack/legacy/plugins/notifications/init.js similarity index 100% rename from x-pack/plugins/notifications/init.js rename to x-pack/legacy/plugins/notifications/init.js diff --git a/x-pack/plugins/notifications/server/email/create_email_action.js b/x-pack/legacy/plugins/notifications/server/email/create_email_action.js similarity index 100% rename from x-pack/plugins/notifications/server/email/create_email_action.js rename to x-pack/legacy/plugins/notifications/server/email/create_email_action.js diff --git a/x-pack/plugins/notifications/server/email/create_email_action.test.js b/x-pack/legacy/plugins/notifications/server/email/create_email_action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/email/create_email_action.test.js rename to x-pack/legacy/plugins/notifications/server/email/create_email_action.test.js diff --git a/x-pack/plugins/notifications/server/email/email_action.js b/x-pack/legacy/plugins/notifications/server/email/email_action.js similarity index 100% rename from x-pack/plugins/notifications/server/email/email_action.js rename to x-pack/legacy/plugins/notifications/server/email/email_action.js diff --git a/x-pack/plugins/notifications/server/email/email_action.test.js b/x-pack/legacy/plugins/notifications/server/email/email_action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/email/email_action.test.js rename to x-pack/legacy/plugins/notifications/server/email/email_action.test.js diff --git a/x-pack/plugins/notifications/server/email/index.js b/x-pack/legacy/plugins/notifications/server/email/index.js similarity index 100% rename from x-pack/plugins/notifications/server/email/index.js rename to x-pack/legacy/plugins/notifications/server/email/index.js diff --git a/x-pack/plugins/notifications/server/index.js b/x-pack/legacy/plugins/notifications/server/index.js similarity index 100% rename from x-pack/plugins/notifications/server/index.js rename to x-pack/legacy/plugins/notifications/server/index.js diff --git a/x-pack/plugins/notifications/server/logger/index.js b/x-pack/legacy/plugins/notifications/server/logger/index.js similarity index 100% rename from x-pack/plugins/notifications/server/logger/index.js rename to x-pack/legacy/plugins/notifications/server/logger/index.js diff --git a/x-pack/plugins/notifications/server/logger/logger_action.js b/x-pack/legacy/plugins/notifications/server/logger/logger_action.js similarity index 100% rename from x-pack/plugins/notifications/server/logger/logger_action.js rename to x-pack/legacy/plugins/notifications/server/logger/logger_action.js diff --git a/x-pack/plugins/notifications/server/logger/logger_action.test.js b/x-pack/legacy/plugins/notifications/server/logger/logger_action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/logger/logger_action.test.js rename to x-pack/legacy/plugins/notifications/server/logger/logger_action.test.js diff --git a/x-pack/plugins/notifications/server/routes/api/v1/notifications/index.js b/x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/index.js similarity index 100% rename from x-pack/plugins/notifications/server/routes/api/v1/notifications/index.js rename to x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/index.js diff --git a/x-pack/plugins/notifications/server/routes/api/v1/notifications/notify.js b/x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/notify.js similarity index 100% rename from x-pack/plugins/notifications/server/routes/api/v1/notifications/notify.js rename to x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/notify.js diff --git a/x-pack/plugins/notifications/server/routes/api/v1/notifications/notify.test.js b/x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/notify.test.js similarity index 100% rename from x-pack/plugins/notifications/server/routes/api/v1/notifications/notify.test.js rename to x-pack/legacy/plugins/notifications/server/routes/api/v1/notifications/notify.test.js diff --git a/x-pack/plugins/notifications/server/service/README.md b/x-pack/legacy/plugins/notifications/server/service/README.md similarity index 100% rename from x-pack/plugins/notifications/server/service/README.md rename to x-pack/legacy/plugins/notifications/server/service/README.md diff --git a/x-pack/plugins/notifications/server/service/action.js b/x-pack/legacy/plugins/notifications/server/service/action.js similarity index 100% rename from x-pack/plugins/notifications/server/service/action.js rename to x-pack/legacy/plugins/notifications/server/service/action.js diff --git a/x-pack/plugins/notifications/server/service/action.test.js b/x-pack/legacy/plugins/notifications/server/service/action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/service/action.test.js rename to x-pack/legacy/plugins/notifications/server/service/action.test.js diff --git a/x-pack/plugins/notifications/server/service/action_result.js b/x-pack/legacy/plugins/notifications/server/service/action_result.js similarity index 100% rename from x-pack/plugins/notifications/server/service/action_result.js rename to x-pack/legacy/plugins/notifications/server/service/action_result.js diff --git a/x-pack/plugins/notifications/server/service/action_result.test.js b/x-pack/legacy/plugins/notifications/server/service/action_result.test.js similarity index 100% rename from x-pack/plugins/notifications/server/service/action_result.test.js rename to x-pack/legacy/plugins/notifications/server/service/action_result.test.js diff --git a/x-pack/plugins/notifications/server/service/index.js b/x-pack/legacy/plugins/notifications/server/service/index.js similarity index 100% rename from x-pack/plugins/notifications/server/service/index.js rename to x-pack/legacy/plugins/notifications/server/service/index.js diff --git a/x-pack/plugins/notifications/server/service/notification_service.js b/x-pack/legacy/plugins/notifications/server/service/notification_service.js similarity index 100% rename from x-pack/plugins/notifications/server/service/notification_service.js rename to x-pack/legacy/plugins/notifications/server/service/notification_service.js diff --git a/x-pack/plugins/notifications/server/service/notification_service.test.js b/x-pack/legacy/plugins/notifications/server/service/notification_service.test.js similarity index 100% rename from x-pack/plugins/notifications/server/service/notification_service.test.js rename to x-pack/legacy/plugins/notifications/server/service/notification_service.test.js diff --git a/x-pack/plugins/notifications/server/slack/create_slack_action.js b/x-pack/legacy/plugins/notifications/server/slack/create_slack_action.js similarity index 100% rename from x-pack/plugins/notifications/server/slack/create_slack_action.js rename to x-pack/legacy/plugins/notifications/server/slack/create_slack_action.js diff --git a/x-pack/plugins/notifications/server/slack/create_slack_action.test.js b/x-pack/legacy/plugins/notifications/server/slack/create_slack_action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/slack/create_slack_action.test.js rename to x-pack/legacy/plugins/notifications/server/slack/create_slack_action.test.js diff --git a/x-pack/plugins/notifications/server/slack/index.js b/x-pack/legacy/plugins/notifications/server/slack/index.js similarity index 100% rename from x-pack/plugins/notifications/server/slack/index.js rename to x-pack/legacy/plugins/notifications/server/slack/index.js diff --git a/x-pack/plugins/notifications/server/slack/slack_action.js b/x-pack/legacy/plugins/notifications/server/slack/slack_action.js similarity index 100% rename from x-pack/plugins/notifications/server/slack/slack_action.js rename to x-pack/legacy/plugins/notifications/server/slack/slack_action.js diff --git a/x-pack/plugins/notifications/server/slack/slack_action.test.js b/x-pack/legacy/plugins/notifications/server/slack/slack_action.test.js similarity index 100% rename from x-pack/plugins/notifications/server/slack/slack_action.test.js rename to x-pack/legacy/plugins/notifications/server/slack/slack_action.test.js diff --git a/x-pack/plugins/observability/README.md b/x-pack/legacy/plugins/observability/README.md similarity index 94% rename from x-pack/plugins/observability/README.md rename to x-pack/legacy/plugins/observability/README.md index 981af414e15ca..f7d8365fe6c80 100644 --- a/x-pack/plugins/observability/README.md +++ b/x-pack/legacy/plugins/observability/README.md @@ -4,7 +4,7 @@ This "faux" plugin serves as a place to statically share resources, helpers, and Files found here can be imported from any other x-pack plugin, with the caveat that these shared components should all be exposed from either `public/index` or `server/index` so that the platform can attempt to monitor breaking changes in this shared API. -# for a file found at `x-pack/plugins/infra/public/components/Example.tsx` +# for a file found at `x-pack/legacy/plugins/infra/public/components/Example.tsx` ```ts import { ExampleSharedComponent } from '../../../observability/public'; diff --git a/x-pack/plugins/observability/public/components/example_shared_component.tsx b/x-pack/legacy/plugins/observability/public/components/example_shared_component.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/example_shared_component.tsx rename to x-pack/legacy/plugins/observability/public/components/example_shared_component.tsx diff --git a/x-pack/plugins/observability/public/index.tsx b/x-pack/legacy/plugins/observability/public/index.tsx similarity index 100% rename from x-pack/plugins/observability/public/index.tsx rename to x-pack/legacy/plugins/observability/public/index.tsx diff --git a/x-pack/plugins/oss_telemetry/constants.ts b/x-pack/legacy/plugins/oss_telemetry/constants.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/constants.ts rename to x-pack/legacy/plugins/oss_telemetry/constants.ts diff --git a/x-pack/plugins/oss_telemetry/index.d.ts b/x-pack/legacy/plugins/oss_telemetry/index.d.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/index.d.ts rename to x-pack/legacy/plugins/oss_telemetry/index.d.ts diff --git a/x-pack/plugins/oss_telemetry/index.js b/x-pack/legacy/plugins/oss_telemetry/index.js similarity index 100% rename from x-pack/plugins/oss_telemetry/index.js rename to x-pack/legacy/plugins/oss_telemetry/index.js diff --git a/x-pack/plugins/oss_telemetry/server/lib/collectors/index.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/index.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/collectors/index.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/index.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.test.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.test.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.test.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/get_usage_collector.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/register_usage_collector.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/register_usage_collector.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/collectors/visualizations/register_usage_collector.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/collectors/visualizations/register_usage_collector.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/get_next_midnight.test.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/get_next_midnight.test.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/get_next_midnight.test.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/get_next_midnight.test.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/get_next_midnight.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/get_next_midnight.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/get_next_midnight.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/get_next_midnight.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/tasks/index.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/index.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/tasks/index.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/index.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.test.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.test.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.test.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.test.ts diff --git a/x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.ts b/x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.ts rename to x-pack/legacy/plugins/oss_telemetry/server/lib/tasks/visualizations/task_runner.ts diff --git a/x-pack/plugins/oss_telemetry/test_utils/index.ts b/x-pack/legacy/plugins/oss_telemetry/test_utils/index.ts similarity index 100% rename from x-pack/plugins/oss_telemetry/test_utils/index.ts rename to x-pack/legacy/plugins/oss_telemetry/test_utils/index.ts diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/constants.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/constants.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/constants.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/constants.js diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/http_requests.js diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/index.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/index.js similarity index 96% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/index.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/index.js index d70ba2a21e176..084a370666e45 100644 --- a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/index.js +++ b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/index.js @@ -8,7 +8,7 @@ import { setup as remoteClustersAddSetup } from './remote_clusters_add.helpers'; import { setup as remoteClustersEditSetup } from './remote_clusters_edit.helpers'; import { setup as remoteClustersListSetup } from './remote_clusters_list.helpers'; -export { nextTick, getRandomString, findTestSubject } from '../../../../../test_utils'; +export { nextTick, getRandomString, findTestSubject } from '../../../../../../test_utils'; export { setupEnvironment } from './setup_environment'; diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js similarity index 93% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js index cb9f7aa46ce6f..bf0d4228ae757 100644 --- a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js +++ b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_add.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { RemoteClusterAdd } from '../../../public/app/sections/remote_cluster_add'; import { createRemoteClustersStore } from '../../../public/app/store'; import { registerRouter } from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js similarity index 94% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js index 89f634473df6a..f3171190014a4 100644 --- a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js +++ b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_edit.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { RemoteClusterEdit } from '../../../public/app/sections/remote_cluster_edit'; import { createRemoteClustersStore } from '../../../public/app/store'; import { registerRouter } from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js similarity index 99% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js index 8fd233e6616f7..2ee175edcabe3 100644 --- a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js +++ b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/remote_clusters_list.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed, findTestSubject } from '../../../../../test_utils'; +import { registerTestBed, findTestSubject } from '../../../../../../test_utils'; import { RemoteClusterList } from '../../../public/app/sections/remote_cluster_list'; import { createRemoteClustersStore } from '../../../public/app/store'; import { registerRouter } from '../../../public/app/services/routing'; diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/helpers/setup_environment.js diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_add.test.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_add.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_add.test.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_add.test.js diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_edit.test.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_edit.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_edit.test.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_edit.test.js diff --git a/x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js b/x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js rename to x-pack/legacy/plugins/remote_clusters/__jest__/client_integration/remote_clusters_list.test.js diff --git a/x-pack/plugins/remote_clusters/common/index.ts b/x-pack/legacy/plugins/remote_clusters/common/index.ts similarity index 100% rename from x-pack/plugins/remote_clusters/common/index.ts rename to x-pack/legacy/plugins/remote_clusters/common/index.ts diff --git a/x-pack/plugins/remote_clusters/fixtures/remote_cluster.js b/x-pack/legacy/plugins/remote_clusters/fixtures/remote_cluster.js similarity index 91% rename from x-pack/plugins/remote_clusters/fixtures/remote_cluster.js rename to x-pack/legacy/plugins/remote_clusters/fixtures/remote_cluster.js index afd9651d122ab..ac6fddca157a5 100644 --- a/x-pack/plugins/remote_clusters/fixtures/remote_cluster.js +++ b/x-pack/legacy/plugins/remote_clusters/fixtures/remote_cluster.js @@ -3,7 +3,7 @@ * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ -import { getRandomString } from '../../../test_utils'; +import { getRandomString } from '../../../../test_utils'; export const getRemoteClusterMock = ({ name = getRandomString(), diff --git a/x-pack/plugins/remote_clusters/index.ts b/x-pack/legacy/plugins/remote_clusters/index.ts similarity index 100% rename from x-pack/plugins/remote_clusters/index.ts rename to x-pack/legacy/plugins/remote_clusters/index.ts diff --git a/x-pack/plugins/remote_clusters/plugin.ts b/x-pack/legacy/plugins/remote_clusters/plugin.ts similarity index 100% rename from x-pack/plugins/remote_clusters/plugin.ts rename to x-pack/legacy/plugins/remote_clusters/plugin.ts diff --git a/x-pack/plugins/remote_clusters/public/app/app.js b/x-pack/legacy/plugins/remote_clusters/public/app/app.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/app.js rename to x-pack/legacy/plugins/remote_clusters/public/app/app.js diff --git a/x-pack/plugins/remote_clusters/public/app/constants/index.ts b/x-pack/legacy/plugins/remote_clusters/public/app/constants/index.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/constants/index.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/constants/index.ts diff --git a/x-pack/plugins/remote_clusters/public/app/constants/paths.ts b/x-pack/legacy/plugins/remote_clusters/public/app/constants/paths.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/constants/paths.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/constants/paths.ts diff --git a/x-pack/plugins/remote_clusters/public/app/constants/ui_metric.ts b/x-pack/legacy/plugins/remote_clusters/public/app/constants/ui_metric.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/constants/ui_metric.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/constants/ui_metric.ts diff --git a/x-pack/plugins/remote_clusters/public/app/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/configured_by_node_warning.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/configured_by_node_warning.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/configured_by_node_warning.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/configured_by_node_warning.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/configured_by_node_warning/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.test.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.test.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/remote_cluster_form.test.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.js.snap b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.js.snap similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.js.snap rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_name.test.js.snap diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.js.snap b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.js.snap similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.js.snap rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/__snapshots__/validate_seeds.test.js.snap diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.test.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.test.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_name.test.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.test.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.test.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seed.test.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.test.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.test.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/validators/validate_seeds.test.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/remote_cluster_page_title.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/remote_cluster_page_title.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/remote_cluster_page_title.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_page_title/remote_cluster_page_title.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.container.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_add/remote_cluster_add.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.container.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_edit/remote_cluster_edit.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/_index.scss b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/_index.scss similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/_index.scss rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/_index.scss diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/connection_status.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/connection_status.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/connection_status.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/connection_status.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/connection_status/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/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/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js b/x-pack/legacy/plugins/remote_clusters/public/app/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/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/components/remove_cluster_button_provider/remove_cluster_button_provider.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.container.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/detail_panel.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/detail_panel/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.container.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_list.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.container.js diff --git a/x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js b/x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js rename to x-pack/legacy/plugins/remote_clusters/public/app/sections/remote_cluster_list/remote_cluster_table/remote_cluster_table.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/api.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/api.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/api.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/api.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/api_errors.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/api_errors.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/api_errors.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/api_errors.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/breadcrumb.ts b/x-pack/legacy/plugins/remote_clusters/public/app/services/breadcrumb.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/breadcrumb.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/services/breadcrumb.ts diff --git a/x-pack/plugins/remote_clusters/public/app/services/documentation.ts b/x-pack/legacy/plugins/remote_clusters/public/app/services/documentation.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/documentation.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/services/documentation.ts diff --git a/x-pack/plugins/remote_clusters/public/app/services/http.ts b/x-pack/legacy/plugins/remote_clusters/public/app/services/http.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/http.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/services/http.ts diff --git a/x-pack/plugins/remote_clusters/public/app/services/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/notification.ts b/x-pack/legacy/plugins/remote_clusters/public/app/services/notification.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/notification.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/services/notification.ts diff --git a/x-pack/plugins/remote_clusters/public/app/services/query_params.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/query_params.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/query_params.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/query_params.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/redirect.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/redirect.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/redirect.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/redirect.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/routing.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/routing.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/routing.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/routing.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/track_ui_metric.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/track_ui_metric.js similarity index 88% rename from x-pack/plugins/remote_clusters/public/app/services/track_ui_metric.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/track_ui_metric.js index 2824644e6f08f..7b2f0d0407862 100644 --- a/x-pack/plugins/remote_clusters/public/app/services/track_ui_metric.js +++ b/x-pack/legacy/plugins/remote_clusters/public/app/services/track_ui_metric.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { trackUiMetric as track } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../../../src/legacy/core_plugins/ui_metric/public'; import { UIM_APP_NAME } from '../constants'; export function trackUiMetric(actionType) { diff --git a/x-pack/plugins/remote_clusters/public/app/services/ui_metric.ts b/x-pack/legacy/plugins/remote_clusters/public/app/services/ui_metric.ts similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/ui_metric.ts rename to x-pack/legacy/plugins/remote_clusters/public/app/services/ui_metric.ts diff --git a/x-pack/plugins/remote_clusters/public/app/services/validate_seed_node.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/validate_seed_node.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/validate_seed_node.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/validate_seed_node.js diff --git a/x-pack/plugins/remote_clusters/public/app/services/validate_seed_node.test.js b/x-pack/legacy/plugins/remote_clusters/public/app/services/validate_seed_node.test.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/services/validate_seed_node.test.js rename to x-pack/legacy/plugins/remote_clusters/public/app/services/validate_seed_node.test.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/action_types.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/action_types.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/action_types.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/action_types.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/add_cluster.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/add_cluster.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/add_cluster.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/add_cluster.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/detail_panel.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/detail_panel.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/detail_panel.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/detail_panel.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/edit_cluster.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/edit_cluster.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/edit_cluster.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/edit_cluster.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/load_clusters.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/load_clusters.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/load_clusters.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/load_clusters.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/refresh_clusters.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/refresh_clusters.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/refresh_clusters.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/refresh_clusters.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/actions/remove_clusters.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/actions/remove_clusters.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/actions/remove_clusters.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/actions/remove_clusters.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/middleware/detail_panel.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/middleware/detail_panel.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/middleware/detail_panel.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/middleware/detail_panel.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/middleware/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/middleware/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/middleware/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/middleware/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/add_cluster.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/add_cluster.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/add_cluster.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/add_cluster.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/clusters.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/clusters.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/clusters.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/clusters.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/detail_panel.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/detail_panel.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/detail_panel.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/detail_panel.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/edit_cluster.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/edit_cluster.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/edit_cluster.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/edit_cluster.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/reducers/remove_cluster.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/remove_cluster.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/reducers/remove_cluster.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/reducers/remove_cluster.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/selectors/index.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/selectors/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/selectors/index.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/selectors/index.js diff --git a/x-pack/plugins/remote_clusters/public/app/store/store.js b/x-pack/legacy/plugins/remote_clusters/public/app/store/store.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/app/store/store.js rename to x-pack/legacy/plugins/remote_clusters/public/app/store/store.js diff --git a/x-pack/plugins/remote_clusters/public/index.html b/x-pack/legacy/plugins/remote_clusters/public/index.html similarity index 100% rename from x-pack/plugins/remote_clusters/public/index.html rename to x-pack/legacy/plugins/remote_clusters/public/index.html diff --git a/x-pack/plugins/remote_clusters/public/index.js b/x-pack/legacy/plugins/remote_clusters/public/index.js similarity index 100% rename from x-pack/plugins/remote_clusters/public/index.js rename to x-pack/legacy/plugins/remote_clusters/public/index.js diff --git a/x-pack/plugins/remote_clusters/public/index.scss b/x-pack/legacy/plugins/remote_clusters/public/index.scss similarity index 100% rename from x-pack/plugins/remote_clusters/public/index.scss rename to x-pack/legacy/plugins/remote_clusters/public/index.scss diff --git a/x-pack/plugins/remote_clusters/public/plugin.js b/x-pack/legacy/plugins/remote_clusters/public/plugin.js similarity index 98% rename from x-pack/plugins/remote_clusters/public/plugin.js rename to x-pack/legacy/plugins/remote_clusters/public/plugin.js index 574e615175d71..3ea7c8c13d458 100644 --- a/x-pack/plugins/remote_clusters/public/plugin.js +++ b/x-pack/legacy/plugins/remote_clusters/public/plugin.js @@ -27,7 +27,7 @@ export class Plugin { chrome: { setBreadcrumbs }, notifications: { toasts }, fatalError, - http: { prependBasePath }, + http: { basePath: { prepend: prependBasePath } }, injectedMetadata: { getInjectedVar }, documentation: { elasticWebsiteUrl, docLinkVersion }, } = coreStart; diff --git a/x-pack/plugins/remote_clusters/public/shim.ts b/x-pack/legacy/plugins/remote_clusters/public/shim.ts similarity index 91% rename from x-pack/plugins/remote_clusters/public/shim.ts rename to x-pack/legacy/plugins/remote_clusters/public/shim.ts index b301f77f58e20..213624d8e0d58 100644 --- a/x-pack/plugins/remote_clusters/public/shim.ts +++ b/x-pack/legacy/plugins/remote_clusters/public/shim.ts @@ -9,7 +9,7 @@ import { management, MANAGEMENT_BREADCRUMB } from 'ui/management'; import { fatalError } from 'ui/notify'; import { DOC_LINK_VERSION, ELASTIC_WEBSITE_URL } from 'ui/documentation_links'; -import { trackUiMetric as track } from '../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../src/legacy/core_plugins/ui_metric/public'; export function createShim() { const { diff --git a/x-pack/plugins/remote_clusters/server/lib/cluster_serialization.test.ts b/x-pack/legacy/plugins/remote_clusters/server/lib/cluster_serialization.test.ts similarity index 100% rename from x-pack/plugins/remote_clusters/server/lib/cluster_serialization.test.ts rename to x-pack/legacy/plugins/remote_clusters/server/lib/cluster_serialization.test.ts diff --git a/x-pack/plugins/remote_clusters/server/lib/cluster_serialization.ts b/x-pack/legacy/plugins/remote_clusters/server/lib/cluster_serialization.ts similarity index 100% rename from x-pack/plugins/remote_clusters/server/lib/cluster_serialization.ts rename to x-pack/legacy/plugins/remote_clusters/server/lib/cluster_serialization.ts diff --git a/x-pack/plugins/remote_clusters/server/lib/does_cluster_exist.ts b/x-pack/legacy/plugins/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/legacy/plugins/remote_clusters/server/lib/does_cluster_exist.ts diff --git a/x-pack/plugins/remote_clusters/server/routes/api/add_route.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/remote_clusters/server/routes/api/get_route.ts diff --git a/x-pack/plugins/remote_clusters/server/routes/api/index.ts b/x-pack/legacy/plugins/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/legacy/plugins/remote_clusters/server/routes/api/index.ts diff --git a/x-pack/plugins/remote_clusters/server/routes/api/update_route.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/remote_clusters/server/routes/api/update_route.ts diff --git a/x-pack/plugins/remote_clusters/shim.ts b/x-pack/legacy/plugins/remote_clusters/shim.ts similarity index 100% rename from x-pack/plugins/remote_clusters/shim.ts rename to x-pack/legacy/plugins/remote_clusters/shim.ts diff --git a/x-pack/plugins/reporting/README.md b/x-pack/legacy/plugins/reporting/README.md similarity index 100% rename from x-pack/plugins/reporting/README.md rename to x-pack/legacy/plugins/reporting/README.md diff --git a/x-pack/plugins/reporting/__snapshots__/index.test.js.snap b/x-pack/legacy/plugins/reporting/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/reporting/__snapshots__/index.test.js.snap rename to x-pack/legacy/plugins/reporting/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/reporting/common/__tests__/export_types_registry.js b/x-pack/legacy/plugins/reporting/common/__tests__/export_types_registry.js similarity index 100% rename from x-pack/plugins/reporting/common/__tests__/export_types_registry.js rename to x-pack/legacy/plugins/reporting/common/__tests__/export_types_registry.js diff --git a/x-pack/plugins/reporting/common/cancellation_token.test.ts b/x-pack/legacy/plugins/reporting/common/cancellation_token.test.ts similarity index 100% rename from x-pack/plugins/reporting/common/cancellation_token.test.ts rename to x-pack/legacy/plugins/reporting/common/cancellation_token.test.ts diff --git a/x-pack/plugins/reporting/common/cancellation_token.ts b/x-pack/legacy/plugins/reporting/common/cancellation_token.ts similarity index 100% rename from x-pack/plugins/reporting/common/cancellation_token.ts rename to x-pack/legacy/plugins/reporting/common/cancellation_token.ts diff --git a/x-pack/plugins/reporting/common/constants.ts b/x-pack/legacy/plugins/reporting/common/constants.ts similarity index 100% rename from x-pack/plugins/reporting/common/constants.ts rename to x-pack/legacy/plugins/reporting/common/constants.ts diff --git a/x-pack/plugins/reporting/common/export_types_registry.js b/x-pack/legacy/plugins/reporting/common/export_types_registry.js similarity index 100% rename from x-pack/plugins/reporting/common/export_types_registry.js rename to x-pack/legacy/plugins/reporting/common/export_types_registry.js diff --git a/x-pack/plugins/reporting/common/get_absolute_url.test.ts b/x-pack/legacy/plugins/reporting/common/get_absolute_url.test.ts similarity index 100% rename from x-pack/plugins/reporting/common/get_absolute_url.test.ts rename to x-pack/legacy/plugins/reporting/common/get_absolute_url.test.ts diff --git a/x-pack/plugins/reporting/common/get_absolute_url.ts b/x-pack/legacy/plugins/reporting/common/get_absolute_url.ts similarity index 100% rename from x-pack/plugins/reporting/common/get_absolute_url.ts rename to x-pack/legacy/plugins/reporting/common/get_absolute_url.ts diff --git a/x-pack/plugins/reporting/export_types/common/constants.ts b/x-pack/legacy/plugins/reporting/export_types/common/constants.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/constants.ts rename to x-pack/legacy/plugins/reporting/export_types/common/constants.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.test.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.test.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.test.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/add_force_now_query_string.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.test.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.test.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.test.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/decrypt_job_headers.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/get_conditional_headers.test.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_conditional_headers.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/get_conditional_headers.test.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_conditional_headers.test.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/get_conditional_headers.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_conditional_headers.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/get_conditional_headers.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_conditional_headers.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/get_custom_logo.test.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_custom_logo.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/get_custom_logo.test.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_custom_logo.test.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/get_custom_logo.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_custom_logo.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/get_custom_logo.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/get_custom_logo.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/index.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/index.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/index.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.test.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.test.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.test.ts diff --git a/x-pack/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.ts b/x-pack/legacy/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.ts rename to x-pack/legacy/plugins/reporting/export_types/common/execute_job/omit_blacklisted_headers.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/create_layout.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/create_layout.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/create_layout.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/create_layout.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/index.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/index.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/index.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/layout.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/layout.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/layout.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/layout.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/preserve_layout.css b/x-pack/legacy/plugins/reporting/export_types/common/layouts/preserve_layout.css similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/preserve_layout.css rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/preserve_layout.css diff --git a/x-pack/plugins/reporting/export_types/common/layouts/preserve_layout.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/preserve_layout.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/preserve_layout.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/preserve_layout.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/print.css b/x-pack/legacy/plugins/reporting/export_types/common/layouts/print.css similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/print.css rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/print.css diff --git a/x-pack/plugins/reporting/export_types/common/layouts/print_layout.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/print_layout.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/print_layout.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/print_layout.ts diff --git a/x-pack/plugins/reporting/export_types/common/layouts/types.d.ts b/x-pack/legacy/plugins/reporting/export_types/common/layouts/types.d.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/common/layouts/types.d.ts rename to x-pack/legacy/plugins/reporting/export_types/common/layouts/types.d.ts diff --git a/x-pack/plugins/reporting/export_types/common/lib/screenshots.js b/x-pack/legacy/plugins/reporting/export_types/common/lib/screenshots.js similarity index 100% rename from x-pack/plugins/reporting/export_types/common/lib/screenshots.js rename to x-pack/legacy/plugins/reporting/export_types/common/lib/screenshots.js diff --git a/x-pack/plugins/reporting/export_types/csv/metadata.js b/x-pack/legacy/plugins/reporting/export_types/csv/metadata.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/metadata.js rename to x-pack/legacy/plugins/reporting/export_types/csv/metadata.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/__tests__/execute_job.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/__tests__/execute_job.js similarity index 98% rename from x-pack/plugins/reporting/export_types/csv/server/__tests__/execute_job.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/__tests__/execute_job.js index 5ef2a897d10fd..312ddd1661a9e 100644 --- a/x-pack/plugins/reporting/export_types/csv/server/__tests__/execute_job.js +++ b/x-pack/legacy/plugins/reporting/export_types/csv/server/__tests__/execute_job.js @@ -10,9 +10,9 @@ import sinon from 'sinon'; import nodeCrypto from '@elastic/node-crypto'; import { CancellationToken } from '../../../../common/cancellation_token'; -import { FieldFormat } from '../../../../../../../src/legacy/ui/field_formats/field_format.js'; -import { FieldFormatsService } from '../../../../../../../src/legacy/ui/field_formats/field_formats_service.js'; -import { createStringFormat } from '../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/string.js'; +import { FieldFormat } from '../../../../../../../../src/legacy/ui/field_formats/field_format.js'; +import { FieldFormatsService } from '../../../../../../../../src/legacy/ui/field_formats/field_formats_service.js'; +import { createStringFormat } from '../../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/string.js'; import { executeJobFactory } from '../execute_job'; diff --git a/x-pack/plugins/reporting/export_types/csv/server/create_job.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/create_job.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/create_job.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/create_job.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/execute_job.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/execute_job.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/execute_job.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/execute_job.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/index.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/index.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/index.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/escape_value.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/escape_value.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/escape_value.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/escape_value.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js similarity index 79% rename from x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js index 15d2bbbc60a44..164f2f96655e7 100644 --- a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js +++ b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/field_format_map.js @@ -6,10 +6,10 @@ import expect from '@kbn/expect'; -import { FieldFormat } from '../../../../../../../../src/legacy/ui/field_formats/field_format.js'; -import { FieldFormatsService } from '../../../../../../../../src/legacy/ui/field_formats/field_formats_service.js'; -import { createBytesFormat } from '../../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/bytes.js'; -import { createNumberFormat } from '../../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/number.js'; +import { FieldFormat } from '../../../../../../../../../src/legacy/ui/field_formats/field_format.js'; +import { FieldFormatsService } from '../../../../../../../../../src/legacy/ui/field_formats/field_formats_service.js'; +import { createBytesFormat } from '../../../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/bytes.js'; +import { createNumberFormat } from '../../../../../../../../../src/legacy/core_plugins/kibana/common/field_formats/types/number.js'; import { fieldFormatMapFactory } from '../field_format_map'; diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/flatten_hit.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/flatten_hit.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/flatten_hit.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/flatten_hit.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/format_csv_values.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/format_csv_values.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/format_csv_values.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/format_csv_values.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/max_size_string_builder.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/max_size_string_builder.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/__tests__/max_size_string_builder.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/__tests__/max_size_string_builder.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/escape_value.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/escape_value.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/escape_value.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/escape_value.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/field_format_map.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/field_format_map.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/field_format_map.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/field_format_map.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/flatten_hit.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/flatten_hit.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/flatten_hit.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/flatten_hit.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/format_csv_values.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/format_csv_values.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/format_csv_values.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/format_csv_values.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/generate_csv.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/generate_csv.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/generate_csv.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/generate_csv.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/hit_iterator.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/hit_iterator.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/hit_iterator.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/hit_iterator.js diff --git a/x-pack/plugins/reporting/export_types/csv/server/lib/max_size_string_builder.js b/x-pack/legacy/plugins/reporting/export_types/csv/server/lib/max_size_string_builder.js similarity index 100% rename from x-pack/plugins/reporting/export_types/csv/server/lib/max_size_string_builder.js rename to x-pack/legacy/plugins/reporting/export_types/csv/server/lib/max_size_string_builder.js diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/index.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/index.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/metadata.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/metadata.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/metadata.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/metadata.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job_search.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job_search.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job_search.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/create_job_search.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/create_job/index.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/create_job/index.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/execute_job.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/execute_job.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/execute_job.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/execute_job.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/index.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/index.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv_search.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv_search.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv_search.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/generate_csv_search.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_data_source.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_data_source.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_data_source.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_data_source.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.test.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.test.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.test.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.test.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/get_filters.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/index.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/index.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/index.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/index.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/types.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/types.ts similarity index 100% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/server/lib/types.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/server/lib/types.ts diff --git a/x-pack/plugins/reporting/export_types/csv_from_savedobject/types.ts b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/types.ts similarity index 97% rename from x-pack/plugins/reporting/export_types/csv_from_savedobject/types.ts rename to x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/types.ts index 3f35f7e237f5b..f737e65ff0368 100644 --- a/x-pack/plugins/reporting/export_types/csv_from_savedobject/types.ts +++ b/x-pack/legacy/plugins/reporting/export_types/csv_from_savedobject/types.ts @@ -78,7 +78,7 @@ export interface SavedObject { /* This object is passed to different helpers in different parts of the code - packages/kbn-es-query/src/es_query/build_es_query - - x-pack/plugins/reporting/export_types/csv/server/lib/field_format_map + - x-pack/legacy/plugins/reporting/export_types/csv/server/lib/field_format_map The structure has redundant parts and json-parsed / json-unparsed versions of the same data */ export interface IndexPatternSavedObject { diff --git a/x-pack/plugins/reporting/export_types/png/metadata.js b/x-pack/legacy/plugins/reporting/export_types/png/metadata.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/metadata.js rename to x-pack/legacy/plugins/reporting/export_types/png/metadata.js diff --git a/x-pack/plugins/reporting/export_types/png/server/create_job/index.js b/x-pack/legacy/plugins/reporting/export_types/png/server/create_job/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/server/create_job/index.js rename to x-pack/legacy/plugins/reporting/export_types/png/server/create_job/index.js diff --git a/x-pack/plugins/reporting/export_types/png/server/execute_job/index.js b/x-pack/legacy/plugins/reporting/export_types/png/server/execute_job/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/server/execute_job/index.js rename to x-pack/legacy/plugins/reporting/export_types/png/server/execute_job/index.js diff --git a/x-pack/plugins/reporting/export_types/png/server/execute_job/index.test.js b/x-pack/legacy/plugins/reporting/export_types/png/server/execute_job/index.test.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/server/execute_job/index.test.js rename to x-pack/legacy/plugins/reporting/export_types/png/server/execute_job/index.test.js diff --git a/x-pack/plugins/reporting/export_types/png/server/index.js b/x-pack/legacy/plugins/reporting/export_types/png/server/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/server/index.js rename to x-pack/legacy/plugins/reporting/export_types/png/server/index.js diff --git a/x-pack/plugins/reporting/export_types/png/server/lib/generate_png.js b/x-pack/legacy/plugins/reporting/export_types/png/server/lib/generate_png.js similarity index 100% rename from x-pack/plugins/reporting/export_types/png/server/lib/generate_png.js rename to x-pack/legacy/plugins/reporting/export_types/png/server/lib/generate_png.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/metadata.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/metadata.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/metadata.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/metadata.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.test.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.test.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.test.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/compatibility_shim.test.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/index.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/create_job/index.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/create_job/index.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.test.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.test.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.test.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/compatibility_shim.test.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/index.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/index.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/index.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/index.test.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/index.test.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/execute_job/index.test.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/execute_job/index.test.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/index.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/index.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/index.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/encode_uri_query.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/encode_uri_query.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/encode_uri_query.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/encode_uri_query.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/generate_pdf.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/generate_pdf.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/generate_pdf.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/generate_pdf.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/LICENSE_OFL.txt b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/LICENSE_OFL.txt similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/LICENSE_OFL.txt rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/LICENSE_OFL.txt diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Medium.ttf diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/NotoSansCJKtc-Regular.ttf diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/index.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/index.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/noto/index.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/LICENSE.txt b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/LICENSE.txt similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/LICENSE.txt rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/LICENSE.txt diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Italic.ttf diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Medium.ttf diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/fonts/roboto/Roboto-Regular.ttf diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/assets/img/logo-grey.png diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/index.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/index.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/pdf/index.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/pdf/index.js diff --git a/x-pack/plugins/reporting/export_types/printable_pdf/server/lib/uri_encode.js b/x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/uri_encode.js similarity index 100% rename from x-pack/plugins/reporting/export_types/printable_pdf/server/lib/uri_encode.js rename to x-pack/legacy/plugins/reporting/export_types/printable_pdf/server/lib/uri_encode.js diff --git a/x-pack/plugins/reporting/index.js b/x-pack/legacy/plugins/reporting/index.js similarity index 100% rename from x-pack/plugins/reporting/index.js rename to x-pack/legacy/plugins/reporting/index.js diff --git a/x-pack/plugins/reporting/index.test.js b/x-pack/legacy/plugins/reporting/index.test.js similarity index 95% rename from x-pack/plugins/reporting/index.test.js rename to x-pack/legacy/plugins/reporting/index.test.js index 2595507af2ab8..b27c32b567c77 100644 --- a/x-pack/plugins/reporting/index.test.js +++ b/x-pack/legacy/plugins/reporting/index.test.js @@ -5,7 +5,7 @@ */ import { reporting } from './index'; -import { getConfigSchema } from '../../test_utils'; +import { getConfigSchema } from '../../../test_utils'; // The snapshot records the number of cpus available // to make the snapshot deterministic `os.cpus` needs to be mocked diff --git a/x-pack/plugins/reporting/log_configuration.js b/x-pack/legacy/plugins/reporting/log_configuration.js similarity index 100% rename from x-pack/plugins/reporting/log_configuration.js rename to x-pack/legacy/plugins/reporting/log_configuration.js diff --git a/x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap b/x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap rename to x-pack/legacy/plugins/reporting/public/components/__snapshots__/report_info_button.test.tsx.snap diff --git a/x-pack/plugins/reporting/public/components/report_error_button.tsx b/x-pack/legacy/plugins/reporting/public/components/report_error_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/report_error_button.tsx rename to x-pack/legacy/plugins/reporting/public/components/report_error_button.tsx diff --git a/x-pack/plugins/reporting/public/components/report_info_button.test.mocks.ts b/x-pack/legacy/plugins/reporting/public/components/report_info_button.test.mocks.ts similarity index 100% rename from x-pack/plugins/reporting/public/components/report_info_button.test.mocks.ts rename to x-pack/legacy/plugins/reporting/public/components/report_info_button.test.mocks.ts diff --git a/x-pack/plugins/reporting/public/components/report_info_button.test.tsx b/x-pack/legacy/plugins/reporting/public/components/report_info_button.test.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/report_info_button.test.tsx rename to x-pack/legacy/plugins/reporting/public/components/report_info_button.test.tsx diff --git a/x-pack/plugins/reporting/public/components/report_info_button.tsx b/x-pack/legacy/plugins/reporting/public/components/report_info_button.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/report_info_button.tsx rename to x-pack/legacy/plugins/reporting/public/components/report_info_button.tsx diff --git a/x-pack/plugins/reporting/public/components/report_listing.tsx b/x-pack/legacy/plugins/reporting/public/components/report_listing.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/report_listing.tsx rename to x-pack/legacy/plugins/reporting/public/components/report_listing.tsx diff --git a/x-pack/plugins/reporting/public/components/reporting_panel_content.tsx b/x-pack/legacy/plugins/reporting/public/components/reporting_panel_content.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/reporting_panel_content.tsx rename to x-pack/legacy/plugins/reporting/public/components/reporting_panel_content.tsx diff --git a/x-pack/plugins/reporting/public/components/screen_capture_panel_content.tsx b/x-pack/legacy/plugins/reporting/public/components/screen_capture_panel_content.tsx similarity index 100% rename from x-pack/plugins/reporting/public/components/screen_capture_panel_content.tsx rename to x-pack/legacy/plugins/reporting/public/components/screen_capture_panel_content.tsx diff --git a/x-pack/plugins/reporting/public/constants/job_statuses.tsx b/x-pack/legacy/plugins/reporting/public/constants/job_statuses.tsx similarity index 100% rename from x-pack/plugins/reporting/public/constants/job_statuses.tsx rename to x-pack/legacy/plugins/reporting/public/constants/job_statuses.tsx diff --git a/x-pack/plugins/reporting/public/hacks/__tests__/job_completion_notifier.js b/x-pack/legacy/plugins/reporting/public/hacks/__tests__/job_completion_notifier.js similarity index 100% rename from x-pack/plugins/reporting/public/hacks/__tests__/job_completion_notifier.js rename to x-pack/legacy/plugins/reporting/public/hacks/__tests__/job_completion_notifier.js diff --git a/x-pack/plugins/reporting/public/hacks/job_completion_notifier.js b/x-pack/legacy/plugins/reporting/public/hacks/job_completion_notifier.js similarity index 100% rename from x-pack/plugins/reporting/public/hacks/job_completion_notifier.js rename to x-pack/legacy/plugins/reporting/public/hacks/job_completion_notifier.js diff --git a/x-pack/plugins/reporting/public/lib/download_report.ts b/x-pack/legacy/plugins/reporting/public/lib/download_report.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/download_report.ts rename to x-pack/legacy/plugins/reporting/public/lib/download_report.ts diff --git a/x-pack/plugins/reporting/public/lib/job_completion_notifications.d.ts b/x-pack/legacy/plugins/reporting/public/lib/job_completion_notifications.d.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/job_completion_notifications.d.ts rename to x-pack/legacy/plugins/reporting/public/lib/job_completion_notifications.d.ts diff --git a/x-pack/plugins/reporting/public/lib/job_completion_notifications.js b/x-pack/legacy/plugins/reporting/public/lib/job_completion_notifications.js similarity index 100% rename from x-pack/plugins/reporting/public/lib/job_completion_notifications.js rename to x-pack/legacy/plugins/reporting/public/lib/job_completion_notifications.js diff --git a/x-pack/plugins/reporting/public/lib/job_queue_client.ts b/x-pack/legacy/plugins/reporting/public/lib/job_queue_client.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/job_queue_client.ts rename to x-pack/legacy/plugins/reporting/public/lib/job_queue_client.ts diff --git a/x-pack/plugins/reporting/public/lib/reporting_client.ts b/x-pack/legacy/plugins/reporting/public/lib/reporting_client.ts similarity index 100% rename from x-pack/plugins/reporting/public/lib/reporting_client.ts rename to x-pack/legacy/plugins/reporting/public/lib/reporting_client.ts diff --git a/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx b/x-pack/legacy/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx similarity index 100% rename from x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx rename to x-pack/legacy/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx diff --git a/x-pack/plugins/reporting/public/register_feature.js b/x-pack/legacy/plugins/reporting/public/register_feature.js similarity index 100% rename from x-pack/plugins/reporting/public/register_feature.js rename to x-pack/legacy/plugins/reporting/public/register_feature.js diff --git a/x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx b/x-pack/legacy/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx similarity index 100% rename from x-pack/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx rename to x-pack/legacy/plugins/reporting/public/share_context_menu/register_csv_reporting.tsx diff --git a/x-pack/plugins/reporting/public/share_context_menu/register_reporting.tsx b/x-pack/legacy/plugins/reporting/public/share_context_menu/register_reporting.tsx similarity index 100% rename from x-pack/plugins/reporting/public/share_context_menu/register_reporting.tsx rename to x-pack/legacy/plugins/reporting/public/share_context_menu/register_reporting.tsx diff --git a/x-pack/plugins/reporting/public/views/management/index.js b/x-pack/legacy/plugins/reporting/public/views/management/index.js similarity index 100% rename from x-pack/plugins/reporting/public/views/management/index.js rename to x-pack/legacy/plugins/reporting/public/views/management/index.js diff --git a/x-pack/plugins/reporting/public/views/management/jobs.html b/x-pack/legacy/plugins/reporting/public/views/management/jobs.html similarity index 100% rename from x-pack/plugins/reporting/public/views/management/jobs.html rename to x-pack/legacy/plugins/reporting/public/views/management/jobs.html diff --git a/x-pack/plugins/reporting/public/views/management/jobs.js b/x-pack/legacy/plugins/reporting/public/views/management/jobs.js similarity index 100% rename from x-pack/plugins/reporting/public/views/management/jobs.js rename to x-pack/legacy/plugins/reporting/public/views/management/jobs.js diff --git a/x-pack/plugins/reporting/public/views/management/management.js b/x-pack/legacy/plugins/reporting/public/views/management/management.js similarity index 100% rename from x-pack/plugins/reporting/public/views/management/management.js rename to x-pack/legacy/plugins/reporting/public/views/management/management.js diff --git a/x-pack/plugins/reporting/server/browsers/browser_types.ts b/x-pack/legacy/plugins/reporting/server/browsers/browser_types.ts similarity index 100% rename from x-pack/plugins/reporting/server/browsers/browser_types.ts rename to x-pack/legacy/plugins/reporting/server/browsers/browser_types.ts diff --git a/x-pack/plugins/reporting/server/browsers/browsers.js b/x-pack/legacy/plugins/reporting/server/browsers/browsers.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/browsers.js rename to x-pack/legacy/plugins/reporting/server/browsers/browsers.js diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts b/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/driver/chromium_driver.ts diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver/index.ts b/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/driver/index.ts rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/driver/index.ts diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/args.ts b/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/args.ts similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/driver_factory/args.ts rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/args.ts diff --git a/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.js b/x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/index.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.js rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/driver_factory/index.js diff --git a/x-pack/plugins/reporting/server/browsers/chromium/index.js b/x-pack/legacy/plugins/reporting/server/browsers/chromium/index.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/index.js rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/index.js diff --git a/x-pack/plugins/reporting/server/browsers/chromium/paths.js b/x-pack/legacy/plugins/reporting/server/browsers/chromium/paths.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/chromium/paths.js rename to x-pack/legacy/plugins/reporting/server/browsers/chromium/paths.js diff --git a/x-pack/plugins/reporting/server/browsers/create_browser_driver_factory.js b/x-pack/legacy/plugins/reporting/server/browsers/create_browser_driver_factory.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/create_browser_driver_factory.js rename to x-pack/legacy/plugins/reporting/server/browsers/create_browser_driver_factory.js diff --git a/x-pack/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.js b/x-pack/legacy/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.js rename to x-pack/legacy/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.js diff --git a/x-pack/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.test.js b/x-pack/legacy/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.test.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.test.js rename to x-pack/legacy/plugins/reporting/server/browsers/default_chromium_sandbox_disabled.test.js diff --git a/x-pack/plugins/reporting/server/browsers/download/checksum.js b/x-pack/legacy/plugins/reporting/server/browsers/download/checksum.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/checksum.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/checksum.js diff --git a/x-pack/plugins/reporting/server/browsers/download/clean.js b/x-pack/legacy/plugins/reporting/server/browsers/download/clean.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/clean.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/clean.js diff --git a/x-pack/plugins/reporting/server/browsers/download/download.js b/x-pack/legacy/plugins/reporting/server/browsers/download/download.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/download.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/download.js diff --git a/x-pack/plugins/reporting/server/browsers/download/download.test.js b/x-pack/legacy/plugins/reporting/server/browsers/download/download.test.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/download.test.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/download.test.js diff --git a/x-pack/plugins/reporting/server/browsers/download/ensure_downloaded.js b/x-pack/legacy/plugins/reporting/server/browsers/download/ensure_downloaded.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/ensure_downloaded.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/ensure_downloaded.js diff --git a/x-pack/plugins/reporting/server/browsers/download/index.js b/x-pack/legacy/plugins/reporting/server/browsers/download/index.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/index.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/index.js diff --git a/x-pack/plugins/reporting/server/browsers/download/util.js b/x-pack/legacy/plugins/reporting/server/browsers/download/util.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/download/util.js rename to x-pack/legacy/plugins/reporting/server/browsers/download/util.js diff --git a/x-pack/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md b/x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md rename to x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md diff --git a/x-pack/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md.zip b/x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md.zip similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md.zip rename to x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/__fixtures__/file.md.zip diff --git a/x-pack/plugins/reporting/server/browsers/extract/__tests__/extract.js b/x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/extract.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/__tests__/extract.js rename to x-pack/legacy/plugins/reporting/server/browsers/extract/__tests__/extract.js diff --git a/x-pack/plugins/reporting/server/browsers/extract/extract.js b/x-pack/legacy/plugins/reporting/server/browsers/extract/extract.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/extract.js rename to x-pack/legacy/plugins/reporting/server/browsers/extract/extract.js diff --git a/x-pack/plugins/reporting/server/browsers/extract/extract_error.js b/x-pack/legacy/plugins/reporting/server/browsers/extract/extract_error.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/extract_error.js rename to x-pack/legacy/plugins/reporting/server/browsers/extract/extract_error.js diff --git a/x-pack/plugins/reporting/server/browsers/extract/index.js b/x-pack/legacy/plugins/reporting/server/browsers/extract/index.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/index.js rename to x-pack/legacy/plugins/reporting/server/browsers/extract/index.js diff --git a/x-pack/plugins/reporting/server/browsers/extract/unzip.js b/x-pack/legacy/plugins/reporting/server/browsers/extract/unzip.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/extract/unzip.js rename to x-pack/legacy/plugins/reporting/server/browsers/extract/unzip.js diff --git a/x-pack/plugins/reporting/server/browsers/index.js b/x-pack/legacy/plugins/reporting/server/browsers/index.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/index.js rename to x-pack/legacy/plugins/reporting/server/browsers/index.js diff --git a/x-pack/plugins/reporting/server/browsers/install.js b/x-pack/legacy/plugins/reporting/server/browsers/install.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/install.js rename to x-pack/legacy/plugins/reporting/server/browsers/install.js diff --git a/x-pack/plugins/reporting/server/browsers/safe_child_process.js b/x-pack/legacy/plugins/reporting/server/browsers/safe_child_process.js similarity index 100% rename from x-pack/plugins/reporting/server/browsers/safe_child_process.js rename to x-pack/legacy/plugins/reporting/server/browsers/safe_child_process.js diff --git a/x-pack/plugins/reporting/server/config/config.js b/x-pack/legacy/plugins/reporting/server/config/config.js similarity index 100% rename from x-pack/plugins/reporting/server/config/config.js rename to x-pack/legacy/plugins/reporting/server/config/config.js diff --git a/x-pack/plugins/reporting/server/lib/__tests__/check_license.js b/x-pack/legacy/plugins/reporting/server/lib/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/__tests__/check_license.js rename to x-pack/legacy/plugins/reporting/server/lib/__tests__/check_license.js diff --git a/x-pack/plugins/reporting/server/lib/check_license.js b/x-pack/legacy/plugins/reporting/server/lib/check_license.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/check_license.js rename to x-pack/legacy/plugins/reporting/server/lib/check_license.js diff --git a/x-pack/plugins/reporting/server/lib/create_queue.js b/x-pack/legacy/plugins/reporting/server/lib/create_queue.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/create_queue.js rename to x-pack/legacy/plugins/reporting/server/lib/create_queue.js diff --git a/x-pack/plugins/reporting/server/lib/create_tagged_logger.js b/x-pack/legacy/plugins/reporting/server/lib/create_tagged_logger.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/create_tagged_logger.js rename to x-pack/legacy/plugins/reporting/server/lib/create_tagged_logger.js diff --git a/x-pack/plugins/reporting/server/lib/create_worker.test.ts b/x-pack/legacy/plugins/reporting/server/lib/create_worker.test.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/create_worker.test.ts rename to x-pack/legacy/plugins/reporting/server/lib/create_worker.test.ts diff --git a/x-pack/plugins/reporting/server/lib/create_worker.ts b/x-pack/legacy/plugins/reporting/server/lib/create_worker.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/create_worker.ts rename to x-pack/legacy/plugins/reporting/server/lib/create_worker.ts diff --git a/x-pack/plugins/reporting/server/lib/crypto.js b/x-pack/legacy/plugins/reporting/server/lib/crypto.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/crypto.js rename to x-pack/legacy/plugins/reporting/server/lib/crypto.js diff --git a/x-pack/plugins/reporting/server/lib/enqueue_job.js b/x-pack/legacy/plugins/reporting/server/lib/enqueue_job.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/enqueue_job.js rename to x-pack/legacy/plugins/reporting/server/lib/enqueue_job.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/elasticsearch.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/elasticsearch.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/elasticsearch.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/elasticsearch.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/job.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/job.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/job.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/job.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/queue.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/queue.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/queue.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/queue.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/worker.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/worker.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/fixtures/worker.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/fixtures/worker.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/cancellation_token.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/cancellation_token.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/cancellation_token.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/cancellation_token.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/create_index.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/create_index.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/create_index.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/create_index.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/errors.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/errors.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/errors.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/errors.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/index_timestamp.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/index_timestamp.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/helpers/index_timestamp.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/helpers/index_timestamp.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/index.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/index.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/index.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/index.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/job.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/job.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/job.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/job.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/__tests__/worker.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/worker.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/__tests__/worker.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/__tests__/worker.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/constants/default_settings.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/default_settings.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/constants/default_settings.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/default_settings.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/constants/events.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/events.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/constants/events.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/events.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/constants/index.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/index.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/constants/index.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/index.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/constants/statuses.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/statuses.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/constants/statuses.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/constants/statuses.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/helpers/create_index.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/create_index.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/helpers/create_index.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/create_index.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/helpers/errors.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/errors.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/helpers/errors.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/errors.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/helpers/index_timestamp.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/index_timestamp.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/helpers/index_timestamp.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/helpers/index_timestamp.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/index.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/index.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/index.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/index.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/job.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/job.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/job.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/job.js diff --git a/x-pack/plugins/reporting/server/lib/esqueue/worker.js b/x-pack/legacy/plugins/reporting/server/lib/esqueue/worker.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/esqueue/worker.js rename to x-pack/legacy/plugins/reporting/server/lib/esqueue/worker.js diff --git a/x-pack/plugins/reporting/server/lib/export_types_registry.js b/x-pack/legacy/plugins/reporting/server/lib/export_types_registry.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/export_types_registry.js rename to x-pack/legacy/plugins/reporting/server/lib/export_types_registry.js diff --git a/x-pack/plugins/reporting/server/lib/get_user.js b/x-pack/legacy/plugins/reporting/server/lib/get_user.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/get_user.js rename to x-pack/legacy/plugins/reporting/server/lib/get_user.js diff --git a/x-pack/plugins/reporting/server/lib/index.ts b/x-pack/legacy/plugins/reporting/server/lib/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/index.ts rename to x-pack/legacy/plugins/reporting/server/lib/index.ts diff --git a/x-pack/plugins/reporting/server/lib/jobs_query.js b/x-pack/legacy/plugins/reporting/server/lib/jobs_query.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/jobs_query.js rename to x-pack/legacy/plugins/reporting/server/lib/jobs_query.js diff --git a/x-pack/plugins/reporting/server/lib/level_logger.ts b/x-pack/legacy/plugins/reporting/server/lib/level_logger.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/level_logger.ts rename to x-pack/legacy/plugins/reporting/server/lib/level_logger.ts diff --git a/x-pack/plugins/reporting/server/lib/once_per_server.js b/x-pack/legacy/plugins/reporting/server/lib/once_per_server.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/once_per_server.js rename to x-pack/legacy/plugins/reporting/server/lib/once_per_server.js diff --git a/x-pack/plugins/reporting/server/lib/validate/__tests__/validate_config.js b/x-pack/legacy/plugins/reporting/server/lib/validate/__tests__/validate_config.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/__tests__/validate_config.js rename to x-pack/legacy/plugins/reporting/server/lib/validate/__tests__/validate_config.js diff --git a/x-pack/plugins/reporting/server/lib/validate/__tests__/validate_max_content_length.js b/x-pack/legacy/plugins/reporting/server/lib/validate/__tests__/validate_max_content_length.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/__tests__/validate_max_content_length.js rename to x-pack/legacy/plugins/reporting/server/lib/validate/__tests__/validate_max_content_length.js diff --git a/x-pack/plugins/reporting/server/lib/validate/index.ts b/x-pack/legacy/plugins/reporting/server/lib/validate/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/index.ts rename to x-pack/legacy/plugins/reporting/server/lib/validate/index.ts diff --git a/x-pack/plugins/reporting/server/lib/validate/validate_browser.ts b/x-pack/legacy/plugins/reporting/server/lib/validate/validate_browser.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/validate_browser.ts rename to x-pack/legacy/plugins/reporting/server/lib/validate/validate_browser.ts diff --git a/x-pack/plugins/reporting/server/lib/validate/validate_config.js b/x-pack/legacy/plugins/reporting/server/lib/validate/validate_config.js similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/validate_config.js rename to x-pack/legacy/plugins/reporting/server/lib/validate/validate_config.js diff --git a/x-pack/plugins/reporting/server/lib/validate/validate_max_content_length.ts b/x-pack/legacy/plugins/reporting/server/lib/validate/validate_max_content_length.ts similarity index 100% rename from x-pack/plugins/reporting/server/lib/validate/validate_max_content_length.ts rename to x-pack/legacy/plugins/reporting/server/lib/validate/validate_max_content_length.ts diff --git a/x-pack/plugins/reporting/server/routes/generate.ts b/x-pack/legacy/plugins/reporting/server/routes/generate.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/generate.ts rename to x-pack/legacy/plugins/reporting/server/routes/generate.ts diff --git a/x-pack/plugins/reporting/server/routes/generate_from_savedobject.ts b/x-pack/legacy/plugins/reporting/server/routes/generate_from_savedobject.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/generate_from_savedobject.ts rename to x-pack/legacy/plugins/reporting/server/routes/generate_from_savedobject.ts diff --git a/x-pack/plugins/reporting/server/routes/generate_from_savedobject_immediate.ts b/x-pack/legacy/plugins/reporting/server/routes/generate_from_savedobject_immediate.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/generate_from_savedobject_immediate.ts rename to x-pack/legacy/plugins/reporting/server/routes/generate_from_savedobject_immediate.ts diff --git a/x-pack/plugins/reporting/server/routes/index.ts b/x-pack/legacy/plugins/reporting/server/routes/index.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/index.ts rename to x-pack/legacy/plugins/reporting/server/routes/index.ts diff --git a/x-pack/plugins/reporting/server/routes/jobs.test.js b/x-pack/legacy/plugins/reporting/server/routes/jobs.test.js similarity index 100% rename from x-pack/plugins/reporting/server/routes/jobs.test.js rename to x-pack/legacy/plugins/reporting/server/routes/jobs.test.js diff --git a/x-pack/plugins/reporting/server/routes/jobs.ts b/x-pack/legacy/plugins/reporting/server/routes/jobs.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/jobs.ts rename to x-pack/legacy/plugins/reporting/server/routes/jobs.ts diff --git a/x-pack/plugins/reporting/server/routes/legacy.ts b/x-pack/legacy/plugins/reporting/server/routes/legacy.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/legacy.ts rename to x-pack/legacy/plugins/reporting/server/routes/legacy.ts diff --git a/x-pack/plugins/reporting/server/routes/lib/__tests__/authorized_user_pre_routing.test.js b/x-pack/legacy/plugins/reporting/server/routes/lib/__tests__/authorized_user_pre_routing.test.js similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/__tests__/authorized_user_pre_routing.test.js rename to x-pack/legacy/plugins/reporting/server/routes/lib/__tests__/authorized_user_pre_routing.test.js diff --git a/x-pack/plugins/reporting/server/routes/lib/authorized_user_pre_routing.js b/x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.js similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/authorized_user_pre_routing.js rename to x-pack/legacy/plugins/reporting/server/routes/lib/authorized_user_pre_routing.js diff --git a/x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts b/x-pack/legacy/plugins/reporting/server/routes/lib/get_document_payload.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/get_document_payload.ts rename to x-pack/legacy/plugins/reporting/server/routes/lib/get_document_payload.ts diff --git a/x-pack/plugins/reporting/server/routes/lib/get_job_params_from_request.ts b/x-pack/legacy/plugins/reporting/server/routes/lib/get_job_params_from_request.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/get_job_params_from_request.ts rename to x-pack/legacy/plugins/reporting/server/routes/lib/get_job_params_from_request.ts diff --git a/x-pack/plugins/reporting/server/routes/lib/job_response_handler.js b/x-pack/legacy/plugins/reporting/server/routes/lib/job_response_handler.js similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/job_response_handler.js rename to x-pack/legacy/plugins/reporting/server/routes/lib/job_response_handler.js diff --git a/x-pack/plugins/reporting/server/routes/lib/reporting_feature_pre_routing.js b/x-pack/legacy/plugins/reporting/server/routes/lib/reporting_feature_pre_routing.js similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/reporting_feature_pre_routing.js rename to x-pack/legacy/plugins/reporting/server/routes/lib/reporting_feature_pre_routing.js diff --git a/x-pack/plugins/reporting/server/routes/lib/route_config_factories.ts b/x-pack/legacy/plugins/reporting/server/routes/lib/route_config_factories.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/lib/route_config_factories.ts rename to x-pack/legacy/plugins/reporting/server/routes/lib/route_config_factories.ts diff --git a/x-pack/plugins/reporting/server/routes/types.d.ts b/x-pack/legacy/plugins/reporting/server/routes/types.d.ts similarity index 100% rename from x-pack/plugins/reporting/server/routes/types.d.ts rename to x-pack/legacy/plugins/reporting/server/routes/types.d.ts diff --git a/x-pack/plugins/reporting/server/usage/get_export_type_handler.js b/x-pack/legacy/plugins/reporting/server/usage/get_export_type_handler.js similarity index 100% rename from x-pack/plugins/reporting/server/usage/get_export_type_handler.js rename to x-pack/legacy/plugins/reporting/server/usage/get_export_type_handler.js diff --git a/x-pack/plugins/reporting/server/usage/get_reporting_type_counts.js b/x-pack/legacy/plugins/reporting/server/usage/get_reporting_type_counts.js similarity index 100% rename from x-pack/plugins/reporting/server/usage/get_reporting_type_counts.js rename to x-pack/legacy/plugins/reporting/server/usage/get_reporting_type_counts.js diff --git a/x-pack/plugins/reporting/server/usage/get_reporting_usage_collector.js b/x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.js similarity index 100% rename from x-pack/plugins/reporting/server/usage/get_reporting_usage_collector.js rename to x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.js diff --git a/x-pack/plugins/reporting/server/usage/get_reporting_usage_collector.test.js b/x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.test.js similarity index 100% rename from x-pack/plugins/reporting/server/usage/get_reporting_usage_collector.test.js rename to x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.test.js diff --git a/x-pack/plugins/reporting/server/usage/index.js b/x-pack/legacy/plugins/reporting/server/usage/index.js similarity index 100% rename from x-pack/plugins/reporting/server/usage/index.js rename to x-pack/legacy/plugins/reporting/server/usage/index.js diff --git a/x-pack/plugins/reporting/test_helpers/create_mock_server.ts b/x-pack/legacy/plugins/reporting/test_helpers/create_mock_server.ts similarity index 100% rename from x-pack/plugins/reporting/test_helpers/create_mock_server.ts rename to x-pack/legacy/plugins/reporting/test_helpers/create_mock_server.ts diff --git a/x-pack/plugins/reporting/types.d.ts b/x-pack/legacy/plugins/reporting/types.d.ts similarity index 100% rename from x-pack/plugins/reporting/types.d.ts rename to x-pack/legacy/plugins/reporting/types.d.ts diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/constants.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/constants.js similarity index 100% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/constants.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/constants.js diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/http_requests.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/http_requests.js similarity index 100% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/http_requests.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/http_requests.js diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/index.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/index.js similarity index 95% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/index.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/index.js index 2c356038eee5d..dbd81023df2bb 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/helpers/index.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/index.js @@ -7,7 +7,7 @@ import { setup as jobCreateSetup } from './job_create.helpers'; import { setup as jobListSetup } from './job_list.helpers'; -export { nextTick, getRandomString, findTestSubject } from '../../../../../test_utils'; +export { nextTick, getRandomString, findTestSubject } from '../../../../../../test_utils'; export { setupEnvironment } from './setup_environment'; diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js similarity index 97% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js index ae1a869ab0e33..57b551cad595b 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_create.helpers.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { rollupJobsStore } from '../../../public/crud_app/store'; import { JobCreate } from '../../../public/crud_app/sections'; diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js similarity index 91% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js index 9274319b3e2b6..8ed6f955016e3 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/job_list.helpers.js @@ -5,7 +5,7 @@ */ -import { registerTestBed } from '../../../../../test_utils'; +import { registerTestBed } from '../../../../../../test_utils'; import { registerRouter } from '../../../public/crud_app/services'; import { createRollupJobsStore } from '../../../public/crud_app/store'; import { JobList } from '../../../public/crud_app/sections/job_list'; diff --git a/x-pack/plugins/rollup/__jest__/client_integration/helpers/setup_environment.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/setup_environment.js similarity index 100% rename from x-pack/plugins/rollup/__jest__/client_integration/helpers/setup_environment.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/helpers/setup_environment.js diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js similarity index 97% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js index f8da10b38b4f0..5f2adaddb7ef9 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_date_histogram.test.js @@ -9,7 +9,7 @@ import moment from 'moment-timezone'; import { setupEnvironment, pageHelpers } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js similarity index 98% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js index fe656113a27c7..07aa58959d507 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_histogram.test.js @@ -7,7 +7,7 @@ import { setupEnvironment, pageHelpers } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js similarity index 99% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js index 20030e0c2187b..6971c55c1da8c 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_logistics.test.js @@ -5,11 +5,11 @@ */ import { MINUTE, HOUR, DAY, WEEK, MONTH, YEAR } from '../../public/crud_app/services'; -import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../src/legacy/ui/public/index_patterns'; +import { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } from '../../../../../../src/legacy/ui/public/index_patterns'; import { setupEnvironment, pageHelpers } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js similarity index 98% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js index 19630ca009036..357803c797244 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_metrics.test.js @@ -7,7 +7,7 @@ import { setupEnvironment, pageHelpers } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_review.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_review.test.js similarity index 96% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_review.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_review.test.js index 2083e9a70b29b..aa6ff1325c117 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_review.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_review.test.js @@ -7,7 +7,7 @@ import { setupEnvironment, pageHelpers, nextTick } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); @@ -19,7 +19,7 @@ jest.mock('ui/chrome', () => ({ jest.mock('lodash/function/debounce', () => fn => fn); -jest.mock('../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ +jest.mock('../../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ trackUiMetric: jest.fn(), })); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_create_terms.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_terms.test.js similarity index 98% rename from x-pack/plugins/rollup/__jest__/client_integration/job_create_terms.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_terms.test.js index d63da5072aa0f..4e655bc6c05b9 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_create_terms.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_create_terms.test.js @@ -7,7 +7,7 @@ import { setupEnvironment, pageHelpers } from './helpers'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); diff --git a/x-pack/plugins/rollup/__jest__/client_integration/job_list.test.js b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_list.test.js similarity index 94% rename from x-pack/plugins/rollup/__jest__/client_integration/job_list.test.js rename to x-pack/legacy/plugins/rollup/__jest__/client_integration/job_list.test.js index 760433bfb8230..5a629c094a632 100644 --- a/x-pack/plugins/rollup/__jest__/client_integration/job_list.test.js +++ b/x-pack/legacy/plugins/rollup/__jest__/client_integration/job_list.test.js @@ -9,7 +9,7 @@ import { setupEnvironment, pageHelpers, nextTick } from './helpers'; import { JOBS } from './helpers/constants'; jest.mock('ui/index_patterns', () => { - const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len + const { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE } = require.requireActual('../../../../../../src/legacy/ui/public/index_patterns/constants'); // eslint-disable-line max-len return { INDEX_PATTERN_ILLEGAL_CHARACTERS_VISIBLE }; }); @@ -28,7 +28,7 @@ jest.mock('ui/chrome', () => ({ } })); -jest.mock('../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ +jest.mock('../../../../../../src/legacy/core_plugins/ui_metric/public', () => ({ trackUiMetric: jest.fn(), })); diff --git a/x-pack/plugins/rollup/common/index.js b/x-pack/legacy/plugins/rollup/common/index.js similarity index 100% rename from x-pack/plugins/rollup/common/index.js rename to x-pack/legacy/plugins/rollup/common/index.js diff --git a/x-pack/plugins/rollup/common/ui_metric.js b/x-pack/legacy/plugins/rollup/common/ui_metric.js similarity index 100% rename from x-pack/plugins/rollup/common/ui_metric.js rename to x-pack/legacy/plugins/rollup/common/ui_metric.js diff --git a/x-pack/plugins/rollup/fixtures/index.js b/x-pack/legacy/plugins/rollup/fixtures/index.js similarity index 100% rename from x-pack/plugins/rollup/fixtures/index.js rename to x-pack/legacy/plugins/rollup/fixtures/index.js diff --git a/x-pack/plugins/rollup/fixtures/job.js b/x-pack/legacy/plugins/rollup/fixtures/job.js similarity index 95% rename from x-pack/plugins/rollup/fixtures/job.js rename to x-pack/legacy/plugins/rollup/fixtures/job.js index 36da2bce92b06..b155b05be12e0 100644 --- a/x-pack/plugins/rollup/fixtures/job.js +++ b/x-pack/legacy/plugins/rollup/fixtures/job.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { getRandomString } from '../../../test_utils'; +import { getRandomString } from '../../../../test_utils'; const initialValues = { dateHistogramField: 'timestamp', diff --git a/x-pack/plugins/rollup/index.js b/x-pack/legacy/plugins/rollup/index.js similarity index 100% rename from x-pack/plugins/rollup/index.js rename to x-pack/legacy/plugins/rollup/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/_crud_app.scss b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/_crud_app.scss diff --git a/x-pack/plugins/rollup/public/crud_app/app.js b/x-pack/legacy/plugins/rollup/public/crud_app/app.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/app.js rename to x-pack/legacy/plugins/rollup/public/crud_app/app.js diff --git a/x-pack/plugins/rollup/public/crud_app/constants/index.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/constants/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/constants/paths.js b/x-pack/legacy/plugins/rollup/public/crud_app/constants/paths.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/constants/paths.js rename to x-pack/legacy/plugins/rollup/public/crud_app/constants/paths.js diff --git a/x-pack/plugins/rollup/public/crud_app/index.js b/x-pack/legacy/plugins/rollup/public/crud_app/index.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/index.js rename to x-pack/legacy/plugins/rollup/public/crud_app/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/main.html b/x-pack/legacy/plugins/rollup/public/crud_app/main.html similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/main.html rename to x-pack/legacy/plugins/rollup/public/crud_app/main.html diff --git a/x-pack/plugins/rollup/public/crud_app/sections/components/field_list/field_list.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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_summary.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/cron_editor/cron_daily.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_daily.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_daily.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_daily.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_editor.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_editor.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_editor.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_editor.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_hourly.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_hourly.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_hourly.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_hourly.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_monthly.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_monthly.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_monthly.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_monthly.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_weekly.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_weekly.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_weekly.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_weekly.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_yearly.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_yearly.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_yearly.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/cron_yearly.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/index.js b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/index.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/index.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_create/steps/components/cron_editor/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_create/steps/components/field_chooser.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/detail_panel/detail_panel.container.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js similarity index 99% rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js index 6b7786d672e0d..f7b75bcfad6f4 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js +++ b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.test.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../../../test_utils'; +import { registerTestBed } from '../../../../../../../../test_utils'; import { getJob } from '../../../../../fixtures'; import { rollupJobsStore } from '../../../store'; import { DetailPanel } from './detail_panel'; diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js similarity index 97% rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js index 088f2d8ae4611..aabe240af0e6b 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js +++ b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/job_list.test.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed } from '../../../../../../test_utils'; +import { registerTestBed } from '../../../../../../../test_utils'; import { rollupJobsStore } from '../../store'; import { JobList } from './job_list'; diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js similarity index 98% rename from x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js rename to x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js index 6d5e518d6899d..ec0c258f91ffb 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js +++ b/x-pack/legacy/plugins/rollup/public/crud_app/sections/job_list/job_table/job_table.test.js @@ -6,7 +6,7 @@ import { Pager } from '@elastic/eui'; -import { registerTestBed } from '../../../../../../../test_utils'; +import { registerTestBed } from '../../../../../../../../test_utils'; import { getJobs } from '../../../../../fixtures'; import { rollupJobsStore } from '../../../store'; import { JobTable } from './job_table'; diff --git a/x-pack/plugins/rollup/public/crud_app/services/api.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/api.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/api_errors.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/api_errors.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/api_errors.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/api_errors.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/breadcrumbs.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/breadcrumbs.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/cron.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/cron.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/cron.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/cron.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/documentation_links.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/documentation_links.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/filter_items.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/format_fields.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/http_provider.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/http_provider.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/http_provider.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/http_provider.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/humanized_numbers.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/humanized_numbers.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/humanized_numbers.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/humanized_numbers.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/index.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/jobs.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/jobs.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/noticeable_delay.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/noticeable_delay.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/query_params.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/query_params.js similarity index 100% rename from x-pack/plugins/rollup/public/crud_app/services/query_params.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/query_params.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/routing.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/routing.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/sort_table.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/services/sort_table.js diff --git a/x-pack/plugins/rollup/public/crud_app/services/track_ui_metric.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/track_ui_metric.js similarity index 88% rename from x-pack/plugins/rollup/public/crud_app/services/track_ui_metric.js rename to x-pack/legacy/plugins/rollup/public/crud_app/services/track_ui_metric.js index 1152135f53bc7..efb97e05a05e6 100644 --- a/x-pack/plugins/rollup/public/crud_app/services/track_ui_metric.js +++ b/x-pack/legacy/plugins/rollup/public/crud_app/services/track_ui_metric.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { trackUiMetric as track } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../../../src/legacy/core_plugins/ui_metric/public'; import { UIM_APP_NAME } from '../../../common'; export function trackUiMetric(actionType) { diff --git a/x-pack/plugins/rollup/public/crud_app/store/action_types.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/store/actions/change_job_status.js diff --git a/x-pack/plugins/rollup/public/crud_app/store/actions/create_job.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/store/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/store/middleware/detail_panel.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/store/middleware/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/store/reducers/create_job.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/store/selectors/index.js diff --git a/x-pack/plugins/rollup/public/crud_app/store/store.js b/x-pack/legacy/plugins/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/legacy/plugins/rollup/public/crud_app/store/store.js diff --git a/x-pack/plugins/rollup/public/extend_index_management/index.js b/x-pack/legacy/plugins/rollup/public/extend_index_management/index.js similarity index 100% rename from x-pack/plugins/rollup/public/extend_index_management/index.js rename to x-pack/legacy/plugins/rollup/public/extend_index_management/index.js diff --git a/x-pack/plugins/rollup/public/index.scss b/x-pack/legacy/plugins/rollup/public/index.scss similarity index 100% rename from x-pack/plugins/rollup/public/index.scss rename to x-pack/legacy/plugins/rollup/public/index.scss diff --git a/x-pack/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/index.js b/x-pack/legacy/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/index.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/index.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/index.js diff --git a/x-pack/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/rollup_prompt.js b/x-pack/legacy/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/rollup_prompt.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/rollup_prompt.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_creation/components/rollup_prompt/rollup_prompt.js diff --git a/x-pack/plugins/rollup/public/index_pattern_creation/index.js b/x-pack/legacy/plugins/rollup/public/index_pattern_creation/index.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_creation/index.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_creation/index.js diff --git a/x-pack/plugins/rollup/public/index_pattern_creation/register.js b/x-pack/legacy/plugins/rollup/public/index_pattern_creation/register.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_creation/register.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_creation/register.js diff --git a/x-pack/plugins/rollup/public/index_pattern_creation/rollup_index_pattern_creation_config.js b/x-pack/legacy/plugins/rollup/public/index_pattern_creation/rollup_index_pattern_creation_config.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_creation/rollup_index_pattern_creation_config.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_creation/rollup_index_pattern_creation_config.js diff --git a/x-pack/plugins/rollup/public/index_pattern_list/index.js b/x-pack/legacy/plugins/rollup/public/index_pattern_list/index.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_list/index.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_list/index.js diff --git a/x-pack/plugins/rollup/public/index_pattern_list/register.js b/x-pack/legacy/plugins/rollup/public/index_pattern_list/register.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_list/register.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_list/register.js diff --git a/x-pack/plugins/rollup/public/index_pattern_list/rollup_index_pattern_list_config.js b/x-pack/legacy/plugins/rollup/public/index_pattern_list/rollup_index_pattern_list_config.js similarity index 100% rename from x-pack/plugins/rollup/public/index_pattern_list/rollup_index_pattern_list_config.js rename to x-pack/legacy/plugins/rollup/public/index_pattern_list/rollup_index_pattern_list_config.js diff --git a/x-pack/plugins/rollup/public/search/index.js b/x-pack/legacy/plugins/rollup/public/search/index.js similarity index 100% rename from x-pack/plugins/rollup/public/search/index.js rename to x-pack/legacy/plugins/rollup/public/search/index.js diff --git a/x-pack/plugins/rollup/public/search/register.js b/x-pack/legacy/plugins/rollup/public/search/register.js similarity index 100% rename from x-pack/plugins/rollup/public/search/register.js rename to x-pack/legacy/plugins/rollup/public/search/register.js diff --git a/x-pack/plugins/rollup/public/search/rollup_search_strategy.js b/x-pack/legacy/plugins/rollup/public/search/rollup_search_strategy.js similarity index 100% rename from x-pack/plugins/rollup/public/search/rollup_search_strategy.js rename to x-pack/legacy/plugins/rollup/public/search/rollup_search_strategy.js diff --git a/x-pack/plugins/rollup/public/services/api.js b/x-pack/legacy/plugins/rollup/public/services/api.js similarity index 100% rename from x-pack/plugins/rollup/public/services/api.js rename to x-pack/legacy/plugins/rollup/public/services/api.js diff --git a/x-pack/plugins/rollup/public/visualize/agg_type_field_filter.js b/x-pack/legacy/plugins/rollup/public/visualize/agg_type_field_filter.js similarity index 100% rename from x-pack/plugins/rollup/public/visualize/agg_type_field_filter.js rename to x-pack/legacy/plugins/rollup/public/visualize/agg_type_field_filter.js diff --git a/x-pack/plugins/rollup/public/visualize/agg_type_filter.js b/x-pack/legacy/plugins/rollup/public/visualize/agg_type_filter.js similarity index 100% rename from x-pack/plugins/rollup/public/visualize/agg_type_filter.js rename to x-pack/legacy/plugins/rollup/public/visualize/agg_type_filter.js diff --git a/x-pack/plugins/rollup/public/visualize/editor_config.js b/x-pack/legacy/plugins/rollup/public/visualize/editor_config.js similarity index 100% rename from x-pack/plugins/rollup/public/visualize/editor_config.js rename to x-pack/legacy/plugins/rollup/public/visualize/editor_config.js diff --git a/x-pack/plugins/rollup/public/visualize/index.js b/x-pack/legacy/plugins/rollup/public/visualize/index.js similarity index 100% rename from x-pack/plugins/rollup/public/visualize/index.js rename to x-pack/legacy/plugins/rollup/public/visualize/index.js diff --git a/x-pack/plugins/rollup/rollup_data_enricher.js b/x-pack/legacy/plugins/rollup/rollup_data_enricher.js similarity index 100% rename from x-pack/plugins/rollup/rollup_data_enricher.js rename to x-pack/legacy/plugins/rollup/rollup_data_enricher.js diff --git a/x-pack/plugins/rollup/server/client/elasticsearch_rollup.js b/x-pack/legacy/plugins/rollup/server/client/elasticsearch_rollup.js similarity index 100% rename from x-pack/plugins/rollup/server/client/elasticsearch_rollup.js rename to x-pack/legacy/plugins/rollup/server/client/elasticsearch_rollup.js diff --git a/x-pack/plugins/rollup/server/lib/__tests__/fixtures/index.js b/x-pack/legacy/plugins/rollup/server/lib/__tests__/fixtures/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/__tests__/fixtures/index.js rename to x-pack/legacy/plugins/rollup/server/lib/__tests__/fixtures/index.js diff --git a/x-pack/plugins/rollup/server/lib/__tests__/fixtures/jobs.js b/x-pack/legacy/plugins/rollup/server/lib/__tests__/fixtures/jobs.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/__tests__/fixtures/jobs.js rename to x-pack/legacy/plugins/rollup/server/lib/__tests__/fixtures/jobs.js diff --git a/x-pack/plugins/rollup/server/lib/__tests__/jobs_compatibility.js b/x-pack/legacy/plugins/rollup/server/lib/__tests__/jobs_compatibility.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/__tests__/jobs_compatibility.js rename to x-pack/legacy/plugins/rollup/server/lib/__tests__/jobs_compatibility.js diff --git a/x-pack/plugins/rollup/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/rollup/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/rollup/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/rollup/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/rollup/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/rollup/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/rollup/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/rollup/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/rollup/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/rollup/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/rollup/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/rollup/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/rollup/server/lib/check_license/index.js b/x-pack/legacy/plugins/rollup/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/check_license/index.js rename to x-pack/legacy/plugins/rollup/server/lib/check_license/index.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/wrap_custom_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_custom_error.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/rollup/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/plugins/rollup/server/lib/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/plugins/rollup/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js b/x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js rename to x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js diff --git a/x-pack/plugins/rollup/server/lib/is_es_error_factory/index.js b/x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/is_es_error_factory/index.js rename to x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/index.js diff --git a/x-pack/plugins/rollup/server/lib/is_es_error_factory/is_es_error_factory.js b/x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/is_es_error_factory/is_es_error_factory.js rename to x-pack/legacy/plugins/rollup/server/lib/is_es_error_factory/is_es_error_factory.js diff --git a/x-pack/plugins/rollup/server/lib/jobs_compatibility.js b/x-pack/legacy/plugins/rollup/server/lib/jobs_compatibility.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/jobs_compatibility.js rename to x-pack/legacy/plugins/rollup/server/lib/jobs_compatibility.js diff --git a/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/rollup/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/rollup/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/rollup/server/lib/map_capabilities.js b/x-pack/legacy/plugins/rollup/server/lib/map_capabilities.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/map_capabilities.js rename to x-pack/legacy/plugins/rollup/server/lib/map_capabilities.js diff --git a/x-pack/plugins/rollup/server/lib/merge_capabilities_with_fields.js b/x-pack/legacy/plugins/rollup/server/lib/merge_capabilities_with_fields.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/merge_capabilities_with_fields.js rename to x-pack/legacy/plugins/rollup/server/lib/merge_capabilities_with_fields.js diff --git a/x-pack/plugins/rollup/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/rollup/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/rollup/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/rollup/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/rollup/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/rollup/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/index.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/index.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/index.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/index.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/lib/interval_helper.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/lib/interval_helper.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/lib/interval_helper.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/lib/interval_helper.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/lib/interval_helper.test.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/lib/interval_helper.test.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/lib/interval_helper.test.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/lib/interval_helper.test.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.test.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.test.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.test.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/register_rollup_search_strategy.test.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.test.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.test.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.test.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_capabilities.test.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_request.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_request.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_request.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_request.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_request.test.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_request.test.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_request.test.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_request.test.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.js diff --git a/x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.test.js b/x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.test.js similarity index 100% rename from x-pack/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.test.js rename to x-pack/legacy/plugins/rollup/server/lib/search_strategies/rollup_search_strategy.test.js diff --git a/x-pack/plugins/rollup/server/routes/api/index.js b/x-pack/legacy/plugins/rollup/server/routes/api/index.js similarity index 100% rename from x-pack/plugins/rollup/server/routes/api/index.js rename to x-pack/legacy/plugins/rollup/server/routes/api/index.js diff --git a/x-pack/plugins/rollup/server/routes/api/index_patterns.js b/x-pack/legacy/plugins/rollup/server/routes/api/index_patterns.js similarity index 100% rename from x-pack/plugins/rollup/server/routes/api/index_patterns.js rename to x-pack/legacy/plugins/rollup/server/routes/api/index_patterns.js diff --git a/x-pack/plugins/rollup/server/routes/api/indices.js b/x-pack/legacy/plugins/rollup/server/routes/api/indices.js similarity index 100% rename from x-pack/plugins/rollup/server/routes/api/indices.js rename to x-pack/legacy/plugins/rollup/server/routes/api/indices.js diff --git a/x-pack/plugins/rollup/server/routes/api/jobs.js b/x-pack/legacy/plugins/rollup/server/routes/api/jobs.js similarity index 100% rename from x-pack/plugins/rollup/server/routes/api/jobs.js rename to x-pack/legacy/plugins/rollup/server/routes/api/jobs.js diff --git a/x-pack/plugins/rollup/server/routes/api/search.js b/x-pack/legacy/plugins/rollup/server/routes/api/search.js similarity index 100% rename from x-pack/plugins/rollup/server/routes/api/search.js rename to x-pack/legacy/plugins/rollup/server/routes/api/search.js diff --git a/x-pack/plugins/rollup/server/usage/collector.js b/x-pack/legacy/plugins/rollup/server/usage/collector.js similarity index 100% rename from x-pack/plugins/rollup/server/usage/collector.js rename to x-pack/legacy/plugins/rollup/server/usage/collector.js diff --git a/x-pack/plugins/rollup/server/usage/index.js b/x-pack/legacy/plugins/rollup/server/usage/index.js similarity index 100% rename from x-pack/plugins/rollup/server/usage/index.js rename to x-pack/legacy/plugins/rollup/server/usage/index.js diff --git a/x-pack/legacy/plugins/rollup/tsconfig.json b/x-pack/legacy/plugins/rollup/tsconfig.json new file mode 100644 index 0000000000000..618c6c3e97b57 --- /dev/null +++ b/x-pack/legacy/plugins/rollup/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.json" +} diff --git a/x-pack/plugins/searchprofiler/README.md b/x-pack/legacy/plugins/searchprofiler/README.md similarity index 100% rename from x-pack/plugins/searchprofiler/README.md rename to x-pack/legacy/plugins/searchprofiler/README.md diff --git a/x-pack/plugins/searchprofiler/index.js b/x-pack/legacy/plugins/searchprofiler/index.js similarity index 100% rename from x-pack/plugins/searchprofiler/index.js rename to x-pack/legacy/plugins/searchprofiler/index.js diff --git a/x-pack/plugins/searchprofiler/public/__tests__/app_util.js b/x-pack/legacy/plugins/searchprofiler/public/__tests__/app_util.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/__tests__/app_util.js rename to x-pack/legacy/plugins/searchprofiler/public/__tests__/app_util.js diff --git a/x-pack/plugins/searchprofiler/public/app.js b/x-pack/legacy/plugins/searchprofiler/public/app.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/app.js rename to x-pack/legacy/plugins/searchprofiler/public/app.js diff --git a/x-pack/plugins/searchprofiler/public/app_util.js b/x-pack/legacy/plugins/searchprofiler/public/app_util.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/app_util.js rename to x-pack/legacy/plugins/searchprofiler/public/app_util.js diff --git a/x-pack/plugins/searchprofiler/public/components/searchprofiler_tabs.js b/x-pack/legacy/plugins/searchprofiler/public/components/searchprofiler_tabs.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/components/searchprofiler_tabs.js rename to x-pack/legacy/plugins/searchprofiler/public/components/searchprofiler_tabs.js diff --git a/x-pack/plugins/searchprofiler/public/components/searchprofiler_tabs_directive.js b/x-pack/legacy/plugins/searchprofiler/public/components/searchprofiler_tabs_directive.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/components/searchprofiler_tabs_directive.js rename to x-pack/legacy/plugins/searchprofiler/public/components/searchprofiler_tabs_directive.js diff --git a/x-pack/plugins/searchprofiler/public/directives/_directives.scss b/x-pack/legacy/plugins/searchprofiler/public/directives/_directives.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/_directives.scss rename to x-pack/legacy/plugins/searchprofiler/public/directives/_directives.scss diff --git a/x-pack/plugins/searchprofiler/public/directives/_index.scss b/x-pack/legacy/plugins/searchprofiler/public/directives/_index.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/_index.scss rename to x-pack/legacy/plugins/searchprofiler/public/directives/_index.scss diff --git a/x-pack/plugins/searchprofiler/public/directives/_mixins.scss b/x-pack/legacy/plugins/searchprofiler/public/directives/_mixins.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/_mixins.scss rename to x-pack/legacy/plugins/searchprofiler/public/directives/_mixins.scss diff --git a/x-pack/plugins/searchprofiler/public/directives/highlight_details/index.html b/x-pack/legacy/plugins/searchprofiler/public/directives/highlight_details/index.html similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/highlight_details/index.html rename to x-pack/legacy/plugins/searchprofiler/public/directives/highlight_details/index.html diff --git a/x-pack/plugins/searchprofiler/public/directives/highlight_details/index.js b/x-pack/legacy/plugins/searchprofiler/public/directives/highlight_details/index.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/highlight_details/index.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/highlight_details/index.js diff --git a/x-pack/plugins/searchprofiler/public/directives/index.js b/x-pack/legacy/plugins/searchprofiler/public/directives/index.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/index.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/index.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/breakdown.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/breakdown.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/breakdown.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/breakdown.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/flatten_times.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/flatten_times.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/flatten_times.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/flatten_times.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_indices.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_indices.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_indices.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_indices.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_times.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_times.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_times.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/fixtures/normalize_times.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/profile_tree.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/profile_tree.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/__tests__/profile_tree.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/__tests__/profile_tree.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/index.html b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/index.html similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/index.html rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/index.html diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/index.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/index.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/index.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/index.js diff --git a/x-pack/plugins/searchprofiler/public/directives/profile_tree/util.js b/x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/util.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/directives/profile_tree/util.js rename to x-pack/legacy/plugins/searchprofiler/public/directives/profile_tree/util.js diff --git a/x-pack/plugins/searchprofiler/public/filters/__tests__/ns_to_pretty.js b/x-pack/legacy/plugins/searchprofiler/public/filters/__tests__/ns_to_pretty.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/filters/__tests__/ns_to_pretty.js rename to x-pack/legacy/plugins/searchprofiler/public/filters/__tests__/ns_to_pretty.js diff --git a/x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js b/x-pack/legacy/plugins/searchprofiler/public/filters/ms_to_pretty.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/filters/ms_to_pretty.js rename to x-pack/legacy/plugins/searchprofiler/public/filters/ms_to_pretty.js diff --git a/x-pack/plugins/searchprofiler/public/filters/ns_to_pretty.js b/x-pack/legacy/plugins/searchprofiler/public/filters/ns_to_pretty.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/filters/ns_to_pretty.js rename to x-pack/legacy/plugins/searchprofiler/public/filters/ns_to_pretty.js diff --git a/x-pack/plugins/searchprofiler/public/index.scss b/x-pack/legacy/plugins/searchprofiler/public/index.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/index.scss rename to x-pack/legacy/plugins/searchprofiler/public/index.scss diff --git a/x-pack/plugins/searchprofiler/public/range.js b/x-pack/legacy/plugins/searchprofiler/public/range.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/range.js rename to x-pack/legacy/plugins/searchprofiler/public/range.js diff --git a/x-pack/plugins/searchprofiler/public/register.js b/x-pack/legacy/plugins/searchprofiler/public/register.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/register.js rename to x-pack/legacy/plugins/searchprofiler/public/register.js diff --git a/x-pack/plugins/searchprofiler/public/register_feature.js b/x-pack/legacy/plugins/searchprofiler/public/register_feature.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/register_feature.js rename to x-pack/legacy/plugins/searchprofiler/public/register_feature.js diff --git a/x-pack/plugins/searchprofiler/public/templates/_index.scss b/x-pack/legacy/plugins/searchprofiler/public/templates/_index.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/templates/_index.scss rename to x-pack/legacy/plugins/searchprofiler/public/templates/_index.scss diff --git a/x-pack/plugins/searchprofiler/public/templates/_templates.scss b/x-pack/legacy/plugins/searchprofiler/public/templates/_templates.scss similarity index 100% rename from x-pack/plugins/searchprofiler/public/templates/_templates.scss rename to x-pack/legacy/plugins/searchprofiler/public/templates/_templates.scss diff --git a/x-pack/plugins/searchprofiler/public/templates/default_query.js b/x-pack/legacy/plugins/searchprofiler/public/templates/default_query.js similarity index 100% rename from x-pack/plugins/searchprofiler/public/templates/default_query.js rename to x-pack/legacy/plugins/searchprofiler/public/templates/default_query.js diff --git a/x-pack/plugins/searchprofiler/public/templates/index.html b/x-pack/legacy/plugins/searchprofiler/public/templates/index.html similarity index 100% rename from x-pack/plugins/searchprofiler/public/templates/index.html rename to x-pack/legacy/plugins/searchprofiler/public/templates/index.html diff --git a/x-pack/plugins/searchprofiler/server/lib/__tests__/check_license.js b/x-pack/legacy/plugins/searchprofiler/server/lib/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/searchprofiler/server/lib/__tests__/check_license.js rename to x-pack/legacy/plugins/searchprofiler/server/lib/__tests__/check_license.js diff --git a/x-pack/plugins/searchprofiler/server/lib/check_license.js b/x-pack/legacy/plugins/searchprofiler/server/lib/check_license.js similarity index 100% rename from x-pack/plugins/searchprofiler/server/lib/check_license.js rename to x-pack/legacy/plugins/searchprofiler/server/lib/check_license.js diff --git a/x-pack/plugins/searchprofiler/server/routes/profile.js b/x-pack/legacy/plugins/searchprofiler/server/routes/profile.js similarity index 100% rename from x-pack/plugins/searchprofiler/server/routes/profile.js rename to x-pack/legacy/plugins/searchprofiler/server/routes/profile.js diff --git a/x-pack/plugins/security/README.md b/x-pack/legacy/plugins/security/README.md similarity index 100% rename from x-pack/plugins/security/README.md rename to x-pack/legacy/plugins/security/README.md diff --git a/x-pack/plugins/security/__snapshots__/index.test.js.snap b/x-pack/legacy/plugins/security/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/security/__snapshots__/index.test.js.snap rename to x-pack/legacy/plugins/security/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/security/common/constants.ts b/x-pack/legacy/plugins/security/common/constants.ts similarity index 100% rename from x-pack/plugins/security/common/constants.ts rename to x-pack/legacy/plugins/security/common/constants.ts diff --git a/x-pack/plugins/security/common/login_state.ts b/x-pack/legacy/plugins/security/common/login_state.ts similarity index 100% rename from x-pack/plugins/security/common/login_state.ts rename to x-pack/legacy/plugins/security/common/login_state.ts diff --git a/x-pack/plugins/security/common/model/authenticated_user.test.ts b/x-pack/legacy/plugins/security/common/model/authenticated_user.test.ts similarity index 100% rename from x-pack/plugins/security/common/model/authenticated_user.test.ts rename to x-pack/legacy/plugins/security/common/model/authenticated_user.test.ts diff --git a/x-pack/plugins/security/common/model/authenticated_user.ts b/x-pack/legacy/plugins/security/common/model/authenticated_user.ts similarity index 100% rename from x-pack/plugins/security/common/model/authenticated_user.ts rename to x-pack/legacy/plugins/security/common/model/authenticated_user.ts diff --git a/x-pack/plugins/security/common/model/features_privileges.ts b/x-pack/legacy/plugins/security/common/model/features_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/features_privileges.ts rename to x-pack/legacy/plugins/security/common/model/features_privileges.ts diff --git a/x-pack/plugins/security/common/model/index.ts b/x-pack/legacy/plugins/security/common/model/index.ts similarity index 100% rename from x-pack/plugins/security/common/model/index.ts rename to x-pack/legacy/plugins/security/common/model/index.ts diff --git a/x-pack/plugins/security/common/model/kibana_privileges/feature_privileges.ts b/x-pack/legacy/plugins/security/common/model/kibana_privileges/feature_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/kibana_privileges/feature_privileges.ts rename to x-pack/legacy/plugins/security/common/model/kibana_privileges/feature_privileges.ts diff --git a/x-pack/plugins/security/common/model/kibana_privileges/global_privileges.ts b/x-pack/legacy/plugins/security/common/model/kibana_privileges/global_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/kibana_privileges/global_privileges.ts rename to x-pack/legacy/plugins/security/common/model/kibana_privileges/global_privileges.ts diff --git a/x-pack/plugins/security/common/model/kibana_privileges/index.ts b/x-pack/legacy/plugins/security/common/model/kibana_privileges/index.ts similarity index 100% rename from x-pack/plugins/security/common/model/kibana_privileges/index.ts rename to x-pack/legacy/plugins/security/common/model/kibana_privileges/index.ts diff --git a/x-pack/plugins/security/common/model/kibana_privileges/kibana_privileges.ts b/x-pack/legacy/plugins/security/common/model/kibana_privileges/kibana_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/kibana_privileges/kibana_privileges.ts rename to x-pack/legacy/plugins/security/common/model/kibana_privileges/kibana_privileges.ts diff --git a/x-pack/plugins/security/common/model/kibana_privileges/spaces_privileges.ts b/x-pack/legacy/plugins/security/common/model/kibana_privileges/spaces_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/kibana_privileges/spaces_privileges.ts rename to x-pack/legacy/plugins/security/common/model/kibana_privileges/spaces_privileges.ts diff --git a/x-pack/plugins/security/common/model/raw_kibana_privileges.ts b/x-pack/legacy/plugins/security/common/model/raw_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/security/common/model/raw_kibana_privileges.ts rename to x-pack/legacy/plugins/security/common/model/raw_kibana_privileges.ts diff --git a/x-pack/plugins/security/common/model/role.ts b/x-pack/legacy/plugins/security/common/model/role.ts similarity index 100% rename from x-pack/plugins/security/common/model/role.ts rename to x-pack/legacy/plugins/security/common/model/role.ts diff --git a/x-pack/plugins/security/common/model/user.test.ts b/x-pack/legacy/plugins/security/common/model/user.test.ts similarity index 100% rename from x-pack/plugins/security/common/model/user.test.ts rename to x-pack/legacy/plugins/security/common/model/user.test.ts diff --git a/x-pack/plugins/security/common/model/user.ts b/x-pack/legacy/plugins/security/common/model/user.ts similarity index 100% rename from x-pack/plugins/security/common/model/user.ts rename to x-pack/legacy/plugins/security/common/model/user.ts diff --git a/x-pack/plugins/security/common/privilege_calculator_utils.test.ts b/x-pack/legacy/plugins/security/common/privilege_calculator_utils.test.ts similarity index 100% rename from x-pack/plugins/security/common/privilege_calculator_utils.test.ts rename to x-pack/legacy/plugins/security/common/privilege_calculator_utils.test.ts diff --git a/x-pack/plugins/security/common/privilege_calculator_utils.ts b/x-pack/legacy/plugins/security/common/privilege_calculator_utils.ts similarity index 100% rename from x-pack/plugins/security/common/privilege_calculator_utils.ts rename to x-pack/legacy/plugins/security/common/privilege_calculator_utils.ts diff --git a/x-pack/plugins/security/index.d.ts b/x-pack/legacy/plugins/security/index.d.ts similarity index 100% rename from x-pack/plugins/security/index.d.ts rename to x-pack/legacy/plugins/security/index.d.ts diff --git a/x-pack/plugins/security/index.js b/x-pack/legacy/plugins/security/index.js similarity index 100% rename from x-pack/plugins/security/index.js rename to x-pack/legacy/plugins/security/index.js diff --git a/x-pack/plugins/security/index.test.js b/x-pack/legacy/plugins/security/index.test.js similarity index 98% rename from x-pack/plugins/security/index.test.js rename to x-pack/legacy/plugins/security/index.test.js index 9c276aa0cb9bc..34f95fe798fe8 100644 --- a/x-pack/plugins/security/index.test.js +++ b/x-pack/legacy/plugins/security/index.test.js @@ -5,7 +5,7 @@ */ import { security } from './index'; -import { getConfigSchema } from '../../test_utils'; +import { getConfigSchema } from '../../../test_utils'; const describeWithContext = describe.each([[{ dist: false }], [{ dist: true }]]); diff --git a/x-pack/plugins/security/public/components/_index.scss b/x-pack/legacy/plugins/security/public/components/_index.scss similarity index 100% rename from x-pack/plugins/security/public/components/_index.scss rename to x-pack/legacy/plugins/security/public/components/_index.scss diff --git a/x-pack/plugins/security/public/components/authentication_state_page/__snapshots__/authentication_state_page.test.tsx.snap b/x-pack/legacy/plugins/security/public/components/authentication_state_page/__snapshots__/authentication_state_page.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/__snapshots__/authentication_state_page.test.tsx.snap rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/__snapshots__/authentication_state_page.test.tsx.snap diff --git a/x-pack/plugins/security/public/components/authentication_state_page/_authentication_state_page.scss b/x-pack/legacy/plugins/security/public/components/authentication_state_page/_authentication_state_page.scss similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/_authentication_state_page.scss rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/_authentication_state_page.scss diff --git a/x-pack/plugins/security/public/components/authentication_state_page/_index.scss b/x-pack/legacy/plugins/security/public/components/authentication_state_page/_index.scss similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/_index.scss rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/_index.scss diff --git a/x-pack/plugins/security/public/components/authentication_state_page/authentication_state_page.test.tsx b/x-pack/legacy/plugins/security/public/components/authentication_state_page/authentication_state_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/authentication_state_page.test.tsx rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/authentication_state_page.test.tsx diff --git a/x-pack/plugins/security/public/components/authentication_state_page/authentication_state_page.tsx b/x-pack/legacy/plugins/security/public/components/authentication_state_page/authentication_state_page.tsx similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/authentication_state_page.tsx rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/authentication_state_page.tsx diff --git a/x-pack/plugins/security/public/components/authentication_state_page/index.tsx b/x-pack/legacy/plugins/security/public/components/authentication_state_page/index.tsx similarity index 100% rename from x-pack/plugins/security/public/components/authentication_state_page/index.tsx rename to x-pack/legacy/plugins/security/public/components/authentication_state_page/index.tsx diff --git a/x-pack/plugins/security/public/components/management/change_password_form/change_password_form.test.tsx b/x-pack/legacy/plugins/security/public/components/management/change_password_form/change_password_form.test.tsx similarity index 100% rename from x-pack/plugins/security/public/components/management/change_password_form/change_password_form.test.tsx rename to x-pack/legacy/plugins/security/public/components/management/change_password_form/change_password_form.test.tsx diff --git a/x-pack/plugins/security/public/components/management/change_password_form/change_password_form.tsx b/x-pack/legacy/plugins/security/public/components/management/change_password_form/change_password_form.tsx similarity index 100% rename from x-pack/plugins/security/public/components/management/change_password_form/change_password_form.tsx rename to x-pack/legacy/plugins/security/public/components/management/change_password_form/change_password_form.tsx diff --git a/x-pack/plugins/security/public/components/management/change_password_form/index.ts b/x-pack/legacy/plugins/security/public/components/management/change_password_form/index.ts similarity index 100% rename from x-pack/plugins/security/public/components/management/change_password_form/index.ts rename to x-pack/legacy/plugins/security/public/components/management/change_password_form/index.ts diff --git a/x-pack/plugins/security/public/components/management/users/confirm_delete.test.tsx b/x-pack/legacy/plugins/security/public/components/management/users/confirm_delete.test.tsx similarity index 100% rename from x-pack/plugins/security/public/components/management/users/confirm_delete.test.tsx rename to x-pack/legacy/plugins/security/public/components/management/users/confirm_delete.test.tsx diff --git a/x-pack/plugins/security/public/components/management/users/confirm_delete.tsx b/x-pack/legacy/plugins/security/public/components/management/users/confirm_delete.tsx similarity index 100% rename from x-pack/plugins/security/public/components/management/users/confirm_delete.tsx rename to x-pack/legacy/plugins/security/public/components/management/users/confirm_delete.tsx diff --git a/x-pack/plugins/security/public/components/management/users/index.ts b/x-pack/legacy/plugins/security/public/components/management/users/index.ts similarity index 100% rename from x-pack/plugins/security/public/components/management/users/index.ts rename to x-pack/legacy/plugins/security/public/components/management/users/index.ts diff --git a/x-pack/plugins/security/public/components/session_expiration_warning/index.ts b/x-pack/legacy/plugins/security/public/components/session_expiration_warning/index.ts similarity index 100% rename from x-pack/plugins/security/public/components/session_expiration_warning/index.ts rename to x-pack/legacy/plugins/security/public/components/session_expiration_warning/index.ts diff --git a/x-pack/plugins/security/public/components/session_expiration_warning/session_expiration_warning.test.tsx b/x-pack/legacy/plugins/security/public/components/session_expiration_warning/session_expiration_warning.test.tsx similarity index 100% rename from x-pack/plugins/security/public/components/session_expiration_warning/session_expiration_warning.test.tsx rename to x-pack/legacy/plugins/security/public/components/session_expiration_warning/session_expiration_warning.test.tsx diff --git a/x-pack/plugins/security/public/components/session_expiration_warning/session_expiration_warning.tsx b/x-pack/legacy/plugins/security/public/components/session_expiration_warning/session_expiration_warning.tsx similarity index 100% rename from x-pack/plugins/security/public/components/session_expiration_warning/session_expiration_warning.tsx rename to x-pack/legacy/plugins/security/public/components/session_expiration_warning/session_expiration_warning.tsx diff --git a/x-pack/plugins/security/public/documentation_links.js b/x-pack/legacy/plugins/security/public/documentation_links.js similarity index 100% rename from x-pack/plugins/security/public/documentation_links.js rename to x-pack/legacy/plugins/security/public/documentation_links.js diff --git a/x-pack/plugins/security/public/hacks/on_session_timeout.js b/x-pack/legacy/plugins/security/public/hacks/on_session_timeout.js similarity index 100% rename from x-pack/plugins/security/public/hacks/on_session_timeout.js rename to x-pack/legacy/plugins/security/public/hacks/on_session_timeout.js diff --git a/x-pack/plugins/security/public/hacks/on_unauthorized_response.js b/x-pack/legacy/plugins/security/public/hacks/on_unauthorized_response.js similarity index 100% rename from x-pack/plugins/security/public/hacks/on_unauthorized_response.js rename to x-pack/legacy/plugins/security/public/hacks/on_unauthorized_response.js diff --git a/x-pack/plugins/security/public/images/logout.svg b/x-pack/legacy/plugins/security/public/images/logout.svg similarity index 100% rename from x-pack/plugins/security/public/images/logout.svg rename to x-pack/legacy/plugins/security/public/images/logout.svg diff --git a/x-pack/plugins/security/public/images/person.svg b/x-pack/legacy/plugins/security/public/images/person.svg similarity index 100% rename from x-pack/plugins/security/public/images/person.svg rename to x-pack/legacy/plugins/security/public/images/person.svg diff --git a/x-pack/plugins/security/public/index.scss b/x-pack/legacy/plugins/security/public/index.scss similarity index 100% rename from x-pack/plugins/security/public/index.scss rename to x-pack/legacy/plugins/security/public/index.scss diff --git a/x-pack/plugins/security/public/lib/__tests__/parse_next.js b/x-pack/legacy/plugins/security/public/lib/__tests__/parse_next.js similarity index 100% rename from x-pack/plugins/security/public/lib/__tests__/parse_next.js rename to x-pack/legacy/plugins/security/public/lib/__tests__/parse_next.js diff --git a/x-pack/plugins/security/public/lib/__tests__/util.js b/x-pack/legacy/plugins/security/public/lib/__tests__/util.js similarity index 100% rename from x-pack/plugins/security/public/lib/__tests__/util.js rename to x-pack/legacy/plugins/security/public/lib/__tests__/util.js diff --git a/x-pack/plugins/security/public/lib/api.ts b/x-pack/legacy/plugins/security/public/lib/api.ts similarity index 100% rename from x-pack/plugins/security/public/lib/api.ts rename to x-pack/legacy/plugins/security/public/lib/api.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/build_role.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/build_role.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/build_role.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/build_role.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/common_allowed_privileges.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/common_allowed_privileges.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/common_allowed_privileges.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/common_allowed_privileges.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/default_privilege_definition.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/default_privilege_definition.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/default_privilege_definition.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/default_privilege_definition.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/index.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/index.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/index.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/__fixtures__/index.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/index.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/index.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/index.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/index.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.test.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.test.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.test.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_allowed_privileges_calculator.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.test.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.test.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.test.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_base_privilege_calculator.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.test.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.test.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.test.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_feature_privilege_calculator.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.test.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.test.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.test.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator_types.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator_types.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator_types.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privilege_calculator_types.ts diff --git a/x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privileges_calculator_factory.ts b/x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privileges_calculator_factory.ts similarity index 100% rename from x-pack/plugins/security/public/lib/kibana_privilege_calculator/kibana_privileges_calculator_factory.ts rename to x-pack/legacy/plugins/security/public/lib/kibana_privilege_calculator/kibana_privileges_calculator_factory.ts diff --git a/x-pack/plugins/security/public/lib/parse_next.ts b/x-pack/legacy/plugins/security/public/lib/parse_next.ts similarity index 100% rename from x-pack/plugins/security/public/lib/parse_next.ts rename to x-pack/legacy/plugins/security/public/lib/parse_next.ts diff --git a/x-pack/plugins/security/public/lib/privilege_utils.test.ts b/x-pack/legacy/plugins/security/public/lib/privilege_utils.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/privilege_utils.test.ts rename to x-pack/legacy/plugins/security/public/lib/privilege_utils.test.ts diff --git a/x-pack/plugins/security/public/lib/privilege_utils.ts b/x-pack/legacy/plugins/security/public/lib/privilege_utils.ts similarity index 100% rename from x-pack/plugins/security/public/lib/privilege_utils.ts rename to x-pack/legacy/plugins/security/public/lib/privilege_utils.ts diff --git a/x-pack/plugins/security/public/lib/role_utils.test.ts b/x-pack/legacy/plugins/security/public/lib/role_utils.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/role_utils.test.ts rename to x-pack/legacy/plugins/security/public/lib/role_utils.test.ts diff --git a/x-pack/plugins/security/public/lib/role_utils.ts b/x-pack/legacy/plugins/security/public/lib/role_utils.ts similarity index 100% rename from x-pack/plugins/security/public/lib/role_utils.ts rename to x-pack/legacy/plugins/security/public/lib/role_utils.ts diff --git a/x-pack/plugins/security/public/lib/roles_api.ts b/x-pack/legacy/plugins/security/public/lib/roles_api.ts similarity index 100% rename from x-pack/plugins/security/public/lib/roles_api.ts rename to x-pack/legacy/plugins/security/public/lib/roles_api.ts diff --git a/x-pack/plugins/security/public/lib/transform_role_for_save.test.ts b/x-pack/legacy/plugins/security/public/lib/transform_role_for_save.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/transform_role_for_save.test.ts rename to x-pack/legacy/plugins/security/public/lib/transform_role_for_save.test.ts diff --git a/x-pack/plugins/security/public/lib/transform_role_for_save.ts b/x-pack/legacy/plugins/security/public/lib/transform_role_for_save.ts similarity index 100% rename from x-pack/plugins/security/public/lib/transform_role_for_save.ts rename to x-pack/legacy/plugins/security/public/lib/transform_role_for_save.ts diff --git a/x-pack/plugins/security/public/lib/util.js b/x-pack/legacy/plugins/security/public/lib/util.js similarity index 100% rename from x-pack/plugins/security/public/lib/util.js rename to x-pack/legacy/plugins/security/public/lib/util.js diff --git a/x-pack/plugins/security/public/lib/validate_user.test.ts b/x-pack/legacy/plugins/security/public/lib/validate_user.test.ts similarity index 100% rename from x-pack/plugins/security/public/lib/validate_user.test.ts rename to x-pack/legacy/plugins/security/public/lib/validate_user.test.ts diff --git a/x-pack/plugins/security/public/lib/validate_user.ts b/x-pack/legacy/plugins/security/public/lib/validate_user.ts similarity index 100% rename from x-pack/plugins/security/public/lib/validate_user.ts rename to x-pack/legacy/plugins/security/public/lib/validate_user.ts diff --git a/x-pack/plugins/security/public/objects/index.ts b/x-pack/legacy/plugins/security/public/objects/index.ts similarity index 100% rename from x-pack/plugins/security/public/objects/index.ts rename to x-pack/legacy/plugins/security/public/objects/index.ts diff --git a/x-pack/plugins/security/public/objects/lib/get_fields.ts b/x-pack/legacy/plugins/security/public/objects/lib/get_fields.ts similarity index 100% rename from x-pack/plugins/security/public/objects/lib/get_fields.ts rename to x-pack/legacy/plugins/security/public/objects/lib/get_fields.ts diff --git a/x-pack/plugins/security/public/objects/lib/roles.ts b/x-pack/legacy/plugins/security/public/objects/lib/roles.ts similarity index 100% rename from x-pack/plugins/security/public/objects/lib/roles.ts rename to x-pack/legacy/plugins/security/public/objects/lib/roles.ts diff --git a/x-pack/plugins/security/public/register_feature.js b/x-pack/legacy/plugins/security/public/register_feature.js similarity index 100% rename from x-pack/plugins/security/public/register_feature.js rename to x-pack/legacy/plugins/security/public/register_feature.js diff --git a/x-pack/plugins/security/public/services/application_privilege.js b/x-pack/legacy/plugins/security/public/services/application_privilege.js similarity index 100% rename from x-pack/plugins/security/public/services/application_privilege.js rename to x-pack/legacy/plugins/security/public/services/application_privilege.js diff --git a/x-pack/plugins/security/public/services/auto_logout.js b/x-pack/legacy/plugins/security/public/services/auto_logout.js similarity index 100% rename from x-pack/plugins/security/public/services/auto_logout.js rename to x-pack/legacy/plugins/security/public/services/auto_logout.js diff --git a/x-pack/plugins/security/public/services/role_privileges.js b/x-pack/legacy/plugins/security/public/services/role_privileges.js similarity index 100% rename from x-pack/plugins/security/public/services/role_privileges.js rename to x-pack/legacy/plugins/security/public/services/role_privileges.js diff --git a/x-pack/plugins/security/public/services/shield_indices.js b/x-pack/legacy/plugins/security/public/services/shield_indices.js similarity index 100% rename from x-pack/plugins/security/public/services/shield_indices.js rename to x-pack/legacy/plugins/security/public/services/shield_indices.js diff --git a/x-pack/plugins/security/public/services/shield_role.js b/x-pack/legacy/plugins/security/public/services/shield_role.js similarity index 100% rename from x-pack/plugins/security/public/services/shield_role.js rename to x-pack/legacy/plugins/security/public/services/shield_role.js diff --git a/x-pack/plugins/security/public/services/shield_user.js b/x-pack/legacy/plugins/security/public/services/shield_user.js similarity index 100% rename from x-pack/plugins/security/public/services/shield_user.js rename to x-pack/legacy/plugins/security/public/services/shield_user.js diff --git a/x-pack/plugins/security/public/views/_index.scss b/x-pack/legacy/plugins/security/public/views/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/_index.scss rename to x-pack/legacy/plugins/security/public/views/_index.scss diff --git a/x-pack/plugins/security/public/views/account/account.html b/x-pack/legacy/plugins/security/public/views/account/account.html similarity index 100% rename from x-pack/plugins/security/public/views/account/account.html rename to x-pack/legacy/plugins/security/public/views/account/account.html diff --git a/x-pack/plugins/security/public/views/account/account.js b/x-pack/legacy/plugins/security/public/views/account/account.js similarity index 100% rename from x-pack/plugins/security/public/views/account/account.js rename to x-pack/legacy/plugins/security/public/views/account/account.js diff --git a/x-pack/plugins/security/public/views/account/components/account_management_page.test.tsx b/x-pack/legacy/plugins/security/public/views/account/components/account_management_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/account/components/account_management_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/account/components/account_management_page.test.tsx diff --git a/x-pack/plugins/security/public/views/account/components/account_management_page.tsx b/x-pack/legacy/plugins/security/public/views/account/components/account_management_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/account/components/account_management_page.tsx rename to x-pack/legacy/plugins/security/public/views/account/components/account_management_page.tsx diff --git a/x-pack/plugins/security/public/views/account/components/change_password/change_password.tsx b/x-pack/legacy/plugins/security/public/views/account/components/change_password/change_password.tsx similarity index 100% rename from x-pack/plugins/security/public/views/account/components/change_password/change_password.tsx rename to x-pack/legacy/plugins/security/public/views/account/components/change_password/change_password.tsx diff --git a/x-pack/plugins/security/public/views/account/components/change_password/index.ts b/x-pack/legacy/plugins/security/public/views/account/components/change_password/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/account/components/change_password/index.ts rename to x-pack/legacy/plugins/security/public/views/account/components/change_password/index.ts diff --git a/x-pack/plugins/security/public/views/account/components/index.ts b/x-pack/legacy/plugins/security/public/views/account/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/account/components/index.ts rename to x-pack/legacy/plugins/security/public/views/account/components/index.ts diff --git a/x-pack/plugins/security/public/views/account/components/personal_info/index.ts b/x-pack/legacy/plugins/security/public/views/account/components/personal_info/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/account/components/personal_info/index.ts rename to x-pack/legacy/plugins/security/public/views/account/components/personal_info/index.ts diff --git a/x-pack/plugins/security/public/views/account/components/personal_info/personal_info.tsx b/x-pack/legacy/plugins/security/public/views/account/components/personal_info/personal_info.tsx similarity index 100% rename from x-pack/plugins/security/public/views/account/components/personal_info/personal_info.tsx rename to x-pack/legacy/plugins/security/public/views/account/components/personal_info/personal_info.tsx diff --git a/x-pack/plugins/security/public/views/logged_out/index.js b/x-pack/legacy/plugins/security/public/views/logged_out/index.js similarity index 100% rename from x-pack/plugins/security/public/views/logged_out/index.js rename to x-pack/legacy/plugins/security/public/views/logged_out/index.js diff --git a/x-pack/plugins/security/public/views/logged_out/logged_out.html b/x-pack/legacy/plugins/security/public/views/logged_out/logged_out.html similarity index 100% rename from x-pack/plugins/security/public/views/logged_out/logged_out.html rename to x-pack/legacy/plugins/security/public/views/logged_out/logged_out.html diff --git a/x-pack/plugins/security/public/views/logged_out/logged_out.tsx b/x-pack/legacy/plugins/security/public/views/logged_out/logged_out.tsx similarity index 100% rename from x-pack/plugins/security/public/views/logged_out/logged_out.tsx rename to x-pack/legacy/plugins/security/public/views/logged_out/logged_out.tsx diff --git a/x-pack/plugins/security/public/views/login/_index.scss b/x-pack/legacy/plugins/security/public/views/login/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/login/_index.scss rename to x-pack/legacy/plugins/security/public/views/login/_index.scss diff --git a/x-pack/plugins/security/public/views/login/_login.scss b/x-pack/legacy/plugins/security/public/views/login/_login.scss similarity index 100% rename from x-pack/plugins/security/public/views/login/_login.scss rename to x-pack/legacy/plugins/security/public/views/login/_login.scss diff --git a/x-pack/plugins/security/public/views/login/components/basic_login_form/__snapshots__/basic_login_form.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/__snapshots__/basic_login_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/login/components/basic_login_form/__snapshots__/basic_login_form.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/__snapshots__/basic_login_form.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/login/components/basic_login_form/basic_login_form.test.tsx b/x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/basic_login_form.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/basic_login_form/basic_login_form.test.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/basic_login_form.test.tsx diff --git a/x-pack/plugins/security/public/views/login/components/basic_login_form/basic_login_form.tsx b/x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/basic_login_form.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/basic_login_form/basic_login_form.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/basic_login_form.tsx diff --git a/x-pack/plugins/security/public/views/login/components/basic_login_form/index.ts b/x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/login/components/basic_login_form/index.ts rename to x-pack/legacy/plugins/security/public/views/login/components/basic_login_form/index.ts diff --git a/x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/__snapshots__/disabled_login_form.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.test.tsx b/x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.test.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.test.tsx diff --git a/x-pack/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.tsx b/x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/disabled_login_form.tsx diff --git a/x-pack/plugins/security/public/views/login/components/disabled_login_form/index.ts b/x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/login/components/disabled_login_form/index.ts rename to x-pack/legacy/plugins/security/public/views/login/components/disabled_login_form/index.ts diff --git a/x-pack/plugins/security/public/views/login/components/index.ts b/x-pack/legacy/plugins/security/public/views/login/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/login/components/index.ts rename to x-pack/legacy/plugins/security/public/views/login/components/index.ts diff --git a/x-pack/plugins/security/public/views/login/components/login_page/__snapshots__/login_page.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/login/components/login_page/__snapshots__/login_page.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/login/components/login_page/__snapshots__/login_page.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/login/components/login_page/__snapshots__/login_page.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/login/components/login_page/index.ts b/x-pack/legacy/plugins/security/public/views/login/components/login_page/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/login/components/login_page/index.ts rename to x-pack/legacy/plugins/security/public/views/login/components/login_page/index.ts diff --git a/x-pack/plugins/security/public/views/login/components/login_page/login_page.test.tsx b/x-pack/legacy/plugins/security/public/views/login/components/login_page/login_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/login_page/login_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/login_page/login_page.test.tsx diff --git a/x-pack/plugins/security/public/views/login/components/login_page/login_page.tsx b/x-pack/legacy/plugins/security/public/views/login/components/login_page/login_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/components/login_page/login_page.tsx rename to x-pack/legacy/plugins/security/public/views/login/components/login_page/login_page.tsx diff --git a/x-pack/plugins/security/public/views/login/index.ts b/x-pack/legacy/plugins/security/public/views/login/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/login/index.ts rename to x-pack/legacy/plugins/security/public/views/login/index.ts diff --git a/x-pack/plugins/security/public/views/login/login.html b/x-pack/legacy/plugins/security/public/views/login/login.html similarity index 100% rename from x-pack/plugins/security/public/views/login/login.html rename to x-pack/legacy/plugins/security/public/views/login/login.html diff --git a/x-pack/plugins/security/public/views/login/login.tsx b/x-pack/legacy/plugins/security/public/views/login/login.tsx similarity index 100% rename from x-pack/plugins/security/public/views/login/login.tsx rename to x-pack/legacy/plugins/security/public/views/login/login.tsx diff --git a/x-pack/plugins/security/public/views/logout/index.js b/x-pack/legacy/plugins/security/public/views/logout/index.js similarity index 100% rename from x-pack/plugins/security/public/views/logout/index.js rename to x-pack/legacy/plugins/security/public/views/logout/index.js diff --git a/x-pack/plugins/security/public/views/logout/logout.js b/x-pack/legacy/plugins/security/public/views/logout/logout.js similarity index 100% rename from x-pack/plugins/security/public/views/logout/logout.js rename to x-pack/legacy/plugins/security/public/views/logout/logout.js diff --git a/x-pack/plugins/security/public/views/management/_index.scss b/x-pack/legacy/plugins/security/public/views/management/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/_index.scss diff --git a/x-pack/plugins/security/public/views/management/breadcrumbs.ts b/x-pack/legacy/plugins/security/public/views/management/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/breadcrumbs.ts rename to x-pack/legacy/plugins/security/public/views/management/breadcrumbs.ts diff --git a/x-pack/plugins/security/public/views/management/change_password_form/_change_password_form.scss b/x-pack/legacy/plugins/security/public/views/management/change_password_form/_change_password_form.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/change_password_form/_change_password_form.scss rename to x-pack/legacy/plugins/security/public/views/management/change_password_form/_change_password_form.scss diff --git a/x-pack/plugins/security/public/views/management/change_password_form/_index.scss b/x-pack/legacy/plugins/security/public/views/management/change_password_form/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/change_password_form/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/change_password_form/_index.scss diff --git a/x-pack/plugins/security/public/views/management/change_password_form/change_password_form.html b/x-pack/legacy/plugins/security/public/views/management/change_password_form/change_password_form.html similarity index 100% rename from x-pack/plugins/security/public/views/management/change_password_form/change_password_form.html rename to x-pack/legacy/plugins/security/public/views/management/change_password_form/change_password_form.html diff --git a/x-pack/plugins/security/public/views/management/change_password_form/change_password_form.js b/x-pack/legacy/plugins/security/public/views/management/change_password_form/change_password_form.js similarity index 100% rename from x-pack/plugins/security/public/views/management/change_password_form/change_password_form.js rename to x-pack/legacy/plugins/security/public/views/management/change_password_form/change_password_form.js diff --git a/x-pack/plugins/security/public/views/management/edit_role/_index.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/_index.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/_index.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/_index.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/__snapshots__/collapsible_panel.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/_collapsible_panel.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/_collapsible_panel.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/_collapsible_panel.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/_collapsible_panel.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/collapsible_panel.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/collapsible_panel/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/collapsible_panel/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/delete_role_button.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/delete_role_button.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/delete_role_button.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/delete_role_button.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/delete_role_button.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/delete_role_button.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/delete_role_button.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/delete_role_button.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/edit_role_page.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/edit_role_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/edit_role_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/edit_role_page.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/edit_role_page.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/edit_role_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/edit_role_page.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/edit_role_page.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/cluster_privileges.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/cluster_privileges.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/cluster_privileges.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/cluster_privileges.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/elasticsearch_privileges.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privilege_form.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/__snapshots__/index_privileges.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/cluster_privileges.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/elasticsearch_privileges.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privilege_form.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/es/index_privileges.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/kibana_privileges_region.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/kibana_privileges_region.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/kibana_privileges_region.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/__snapshots__/kibana_privileges_region.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/__snapshots__/feature_table.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/__snapshots__/feature_table.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/__snapshots__/feature_table.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/__snapshots__/feature_table.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/_index.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/_index.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/change_all_privileges.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/change_all_privileges.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/change_all_privileges.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/change_all_privileges.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/feature_table.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/feature_table/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/kibana_privileges_region.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/privilege_selector.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/privilege_selector.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/privilege_selector.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/privilege_selector.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/simple_privilege_section.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_display.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_display.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_display.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_display.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_index.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_index.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_privilege_matrix.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_privilege_matrix.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_privilege_matrix.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/_privilege_matrix.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_display.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_matrix.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_form.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/privilege_space_table.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_aware_privilege_section.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_selector.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_selector.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_selector.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/space_selector.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/transform_error_section.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/transform_error_section.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/transform_error_section.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/transform_error_section/transform_error_section.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/reserved_role_badge.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/reserved_role_badge.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/reserved_role_badge.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/reserved_role_badge.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/reserved_role_badge.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/reserved_role_badge.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/reserved_role_badge.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/reserved_role_badge.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/_spaces_popover_list.scss b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/_spaces_popover_list.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/_spaces_popover_list.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/_spaces_popover_list.scss diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/spaces_popover_list.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/spaces_popover_list.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/components/spaces_popover_list/spaces_popover_list.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_role/components/spaces_popover_list/spaces_popover_list.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_role/edit_role.html b/x-pack/legacy/plugins/security/public/views/management/edit_role/edit_role.html similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/edit_role.html rename to x-pack/legacy/plugins/security/public/views/management/edit_role/edit_role.html diff --git a/x-pack/plugins/security/public/views/management/edit_role/index.js b/x-pack/legacy/plugins/security/public/views/management/edit_role/index.js similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/index.js rename to x-pack/legacy/plugins/security/public/views/management/edit_role/index.js diff --git a/x-pack/plugins/security/public/views/management/edit_role/lib/__snapshots__/validate_role.test.ts.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/lib/__snapshots__/validate_role.test.ts.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/lib/__snapshots__/validate_role.test.ts.snap rename to x-pack/legacy/plugins/security/public/views/management/edit_role/lib/__snapshots__/validate_role.test.ts.snap diff --git a/x-pack/plugins/security/public/views/management/edit_role/lib/constants.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/lib/constants.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/lib/constants.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/lib/constants.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/lib/validate_role.test.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/lib/validate_role.test.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/lib/validate_role.test.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/lib/validate_role.test.ts diff --git a/x-pack/plugins/security/public/views/management/edit_role/lib/validate_role.ts b/x-pack/legacy/plugins/security/public/views/management/edit_role/lib/validate_role.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_role/lib/validate_role.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_role/lib/validate_role.ts diff --git a/x-pack/plugins/security/public/views/management/edit_user/_index.scss b/x-pack/legacy/plugins/security/public/views/management/edit_user/_index.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/_index.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_user/_index.scss diff --git a/x-pack/plugins/security/public/views/management/edit_user/_users.scss b/x-pack/legacy/plugins/security/public/views/management/edit_user/_users.scss similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/_users.scss rename to x-pack/legacy/plugins/security/public/views/management/edit_user/_users.scss diff --git a/x-pack/plugins/security/public/views/management/edit_user/components/edit_user_page.test.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_user/components/edit_user_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/components/edit_user_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_user/components/edit_user_page.test.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_user/components/edit_user_page.tsx b/x-pack/legacy/plugins/security/public/views/management/edit_user/components/edit_user_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/components/edit_user_page.tsx rename to x-pack/legacy/plugins/security/public/views/management/edit_user/components/edit_user_page.tsx diff --git a/x-pack/plugins/security/public/views/management/edit_user/components/index.ts b/x-pack/legacy/plugins/security/public/views/management/edit_user/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/components/index.ts rename to x-pack/legacy/plugins/security/public/views/management/edit_user/components/index.ts diff --git a/x-pack/plugins/security/public/views/management/edit_user/edit_user.html b/x-pack/legacy/plugins/security/public/views/management/edit_user/edit_user.html similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/edit_user.html rename to x-pack/legacy/plugins/security/public/views/management/edit_user/edit_user.html diff --git a/x-pack/plugins/security/public/views/management/edit_user/edit_user.js b/x-pack/legacy/plugins/security/public/views/management/edit_user/edit_user.js similarity index 100% rename from x-pack/plugins/security/public/views/management/edit_user/edit_user.js rename to x-pack/legacy/plugins/security/public/views/management/edit_user/edit_user.js diff --git a/x-pack/plugins/security/public/views/management/index.js b/x-pack/legacy/plugins/security/public/views/management/index.js similarity index 100% rename from x-pack/plugins/security/public/views/management/index.js rename to x-pack/legacy/plugins/security/public/views/management/index.js diff --git a/x-pack/plugins/security/public/views/management/management.js b/x-pack/legacy/plugins/security/public/views/management/management.js similarity index 100% rename from x-pack/plugins/security/public/views/management/management.js rename to x-pack/legacy/plugins/security/public/views/management/management.js diff --git a/x-pack/plugins/security/public/views/management/management_urls.ts b/x-pack/legacy/plugins/security/public/views/management/management_urls.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/management_urls.ts rename to x-pack/legacy/plugins/security/public/views/management/management_urls.ts diff --git a/x-pack/plugins/security/public/views/management/password_form/password_form.html b/x-pack/legacy/plugins/security/public/views/management/password_form/password_form.html similarity index 100% rename from x-pack/plugins/security/public/views/management/password_form/password_form.html rename to x-pack/legacy/plugins/security/public/views/management/password_form/password_form.html diff --git a/x-pack/plugins/security/public/views/management/password_form/password_form.js b/x-pack/legacy/plugins/security/public/views/management/password_form/password_form.js similarity index 100% rename from x-pack/plugins/security/public/views/management/password_form/password_form.js rename to x-pack/legacy/plugins/security/public/views/management/password_form/password_form.js diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/__snapshots__/roles_grid_page.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/__snapshots__/roles_grid_page.test.tsx.snap similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/__snapshots__/roles_grid_page.test.tsx.snap rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/__snapshots__/roles_grid_page.test.tsx.snap diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/confirm_delete/confirm_delete.tsx b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/confirm_delete/confirm_delete.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/confirm_delete/confirm_delete.tsx rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/confirm_delete/confirm_delete.tsx diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/confirm_delete/index.ts b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/confirm_delete/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/confirm_delete/index.ts rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/confirm_delete/index.ts diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/index.ts b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/index.ts rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/index.ts diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/permission_denied/index.ts b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/permission_denied/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/permission_denied/index.ts rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/permission_denied/index.ts diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/permission_denied/permission_denied.tsx b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/permission_denied/permission_denied.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/permission_denied/permission_denied.tsx rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/permission_denied/permission_denied.tsx diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/roles_grid_page.test.tsx b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/roles_grid_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/roles_grid_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/roles_grid_page.test.tsx diff --git a/x-pack/plugins/security/public/views/management/roles_grid/components/roles_grid_page.tsx b/x-pack/legacy/plugins/security/public/views/management/roles_grid/components/roles_grid_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/components/roles_grid_page.tsx rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/components/roles_grid_page.tsx diff --git a/x-pack/plugins/security/public/views/management/roles_grid/roles.html b/x-pack/legacy/plugins/security/public/views/management/roles_grid/roles.html similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/roles.html rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/roles.html diff --git a/x-pack/plugins/security/public/views/management/roles_grid/roles.js b/x-pack/legacy/plugins/security/public/views/management/roles_grid/roles.js similarity index 100% rename from x-pack/plugins/security/public/views/management/roles_grid/roles.js rename to x-pack/legacy/plugins/security/public/views/management/roles_grid/roles.js diff --git a/x-pack/plugins/security/public/views/management/users_grid/components/index.ts b/x-pack/legacy/plugins/security/public/views/management/users_grid/components/index.ts similarity index 100% rename from x-pack/plugins/security/public/views/management/users_grid/components/index.ts rename to x-pack/legacy/plugins/security/public/views/management/users_grid/components/index.ts diff --git a/x-pack/plugins/security/public/views/management/users_grid/components/users_list_page.test.tsx b/x-pack/legacy/plugins/security/public/views/management/users_grid/components/users_list_page.test.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/users_grid/components/users_list_page.test.tsx rename to x-pack/legacy/plugins/security/public/views/management/users_grid/components/users_list_page.test.tsx diff --git a/x-pack/plugins/security/public/views/management/users_grid/components/users_list_page.tsx b/x-pack/legacy/plugins/security/public/views/management/users_grid/components/users_list_page.tsx similarity index 100% rename from x-pack/plugins/security/public/views/management/users_grid/components/users_list_page.tsx rename to x-pack/legacy/plugins/security/public/views/management/users_grid/components/users_list_page.tsx diff --git a/x-pack/plugins/security/public/views/management/users_grid/users.html b/x-pack/legacy/plugins/security/public/views/management/users_grid/users.html similarity index 100% rename from x-pack/plugins/security/public/views/management/users_grid/users.html rename to x-pack/legacy/plugins/security/public/views/management/users_grid/users.html diff --git a/x-pack/plugins/security/public/views/management/users_grid/users.js b/x-pack/legacy/plugins/security/public/views/management/users_grid/users.js similarity index 100% rename from x-pack/plugins/security/public/views/management/users_grid/users.js rename to x-pack/legacy/plugins/security/public/views/management/users_grid/users.js diff --git a/x-pack/plugins/security/public/views/nav_control/index.js b/x-pack/legacy/plugins/security/public/views/nav_control/index.js similarity index 100% rename from x-pack/plugins/security/public/views/nav_control/index.js rename to x-pack/legacy/plugins/security/public/views/nav_control/index.js diff --git a/x-pack/plugins/security/public/views/nav_control/nav_control.html b/x-pack/legacy/plugins/security/public/views/nav_control/nav_control.html similarity index 100% rename from x-pack/plugins/security/public/views/nav_control/nav_control.html rename to x-pack/legacy/plugins/security/public/views/nav_control/nav_control.html diff --git a/x-pack/plugins/security/public/views/nav_control/nav_control.js b/x-pack/legacy/plugins/security/public/views/nav_control/nav_control.js similarity index 100% rename from x-pack/plugins/security/public/views/nav_control/nav_control.js rename to x-pack/legacy/plugins/security/public/views/nav_control/nav_control.js diff --git a/x-pack/plugins/security/public/views/nav_control/nav_control_component.js b/x-pack/legacy/plugins/security/public/views/nav_control/nav_control_component.js similarity index 100% rename from x-pack/plugins/security/public/views/nav_control/nav_control_component.js rename to x-pack/legacy/plugins/security/public/views/nav_control/nav_control_component.js diff --git a/x-pack/plugins/security/public/views/overwritten_session/index.js b/x-pack/legacy/plugins/security/public/views/overwritten_session/index.js similarity index 100% rename from x-pack/plugins/security/public/views/overwritten_session/index.js rename to x-pack/legacy/plugins/security/public/views/overwritten_session/index.js diff --git a/x-pack/plugins/security/public/views/overwritten_session/overwritten_session.tsx b/x-pack/legacy/plugins/security/public/views/overwritten_session/overwritten_session.tsx similarity index 100% rename from x-pack/plugins/security/public/views/overwritten_session/overwritten_session.tsx rename to x-pack/legacy/plugins/security/public/views/overwritten_session/overwritten_session.tsx diff --git a/x-pack/plugins/security/server/lib/__tests__/__fixtures__/h.js b/x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/h.js similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/__fixtures__/h.js rename to x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/h.js diff --git a/x-pack/plugins/security/server/lib/__tests__/__fixtures__/request.ts b/x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/request.ts similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/__fixtures__/request.ts rename to x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/request.ts diff --git a/x-pack/plugins/security/server/lib/__tests__/__fixtures__/server.ts b/x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/server.ts similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/__fixtures__/server.ts rename to x-pack/legacy/plugins/security/server/lib/__tests__/__fixtures__/server.ts diff --git a/x-pack/plugins/security/server/lib/__tests__/auth_redirect.js b/x-pack/legacy/plugins/security/server/lib/__tests__/auth_redirect.js similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/auth_redirect.js rename to x-pack/legacy/plugins/security/server/lib/__tests__/auth_redirect.js diff --git a/x-pack/plugins/security/server/lib/__tests__/check_license.js b/x-pack/legacy/plugins/security/server/lib/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/check_license.js rename to x-pack/legacy/plugins/security/server/lib/__tests__/check_license.js diff --git a/x-pack/plugins/security/server/lib/__tests__/parse_next.js b/x-pack/legacy/plugins/security/server/lib/__tests__/parse_next.js similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/parse_next.js rename to x-pack/legacy/plugins/security/server/lib/__tests__/parse_next.js diff --git a/x-pack/plugins/security/server/lib/__tests__/validate_config.js b/x-pack/legacy/plugins/security/server/lib/__tests__/validate_config.js similarity index 100% rename from x-pack/plugins/security/server/lib/__tests__/validate_config.js rename to x-pack/legacy/plugins/security/server/lib/__tests__/validate_config.js diff --git a/x-pack/plugins/security/server/lib/audit_logger.js b/x-pack/legacy/plugins/security/server/lib/audit_logger.js similarity index 100% rename from x-pack/plugins/security/server/lib/audit_logger.js rename to x-pack/legacy/plugins/security/server/lib/audit_logger.js diff --git a/x-pack/plugins/security/server/lib/audit_logger.test.js b/x-pack/legacy/plugins/security/server/lib/audit_logger.test.js similarity index 100% rename from x-pack/plugins/security/server/lib/audit_logger.test.js rename to x-pack/legacy/plugins/security/server/lib/audit_logger.test.js diff --git a/x-pack/plugins/security/server/lib/auth_redirect.js b/x-pack/legacy/plugins/security/server/lib/auth_redirect.js similarity index 100% rename from x-pack/plugins/security/server/lib/auth_redirect.js rename to x-pack/legacy/plugins/security/server/lib/auth_redirect.js diff --git a/x-pack/plugins/security/server/lib/authentication/authentication_result.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/authentication_result.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/authentication_result.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/authentication_result.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/authentication_result.ts b/x-pack/legacy/plugins/security/server/lib/authentication/authentication_result.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/authentication_result.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/authentication_result.ts diff --git a/x-pack/plugins/security/server/lib/authentication/authenticator.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/authenticator.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/authenticator.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/authenticator.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/authenticator.ts b/x-pack/legacy/plugins/security/server/lib/authentication/authenticator.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/authenticator.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/authenticator.ts diff --git a/x-pack/plugins/security/server/lib/authentication/deauthentication_result.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/deauthentication_result.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/deauthentication_result.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/deauthentication_result.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/deauthentication_result.ts b/x-pack/legacy/plugins/security/server/lib/authentication/deauthentication_result.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/deauthentication_result.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/deauthentication_result.ts diff --git a/x-pack/plugins/security/server/lib/authentication/index.ts b/x-pack/legacy/plugins/security/server/lib/authentication/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/index.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/index.ts diff --git a/x-pack/plugins/security/server/lib/authentication/login_attempt.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/login_attempt.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/login_attempt.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/login_attempt.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/login_attempt.ts b/x-pack/legacy/plugins/security/server/lib/authentication/login_attempt.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/login_attempt.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/login_attempt.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/base.mock.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/base.mock.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/base.mock.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/base.mock.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/base.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/base.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/base.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/base.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/basic.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/basic.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/basic.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/basic.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/basic.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/basic.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/basic.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/basic.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/index.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/index.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/index.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/kerberos.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/kerberos.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/kerberos.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/kerberos.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/kerberos.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/kerberos.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/kerberos.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/kerberos.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/oidc.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/oidc.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/oidc.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/oidc.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/oidc.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/oidc.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/oidc.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/oidc.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/saml.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/saml.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/saml.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/saml.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/saml.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/saml.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/saml.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/saml.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/token.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/token.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/token.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/token.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/providers/token.ts b/x-pack/legacy/plugins/security/server/lib/authentication/providers/token.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/providers/token.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/providers/token.ts diff --git a/x-pack/plugins/security/server/lib/authentication/session.test.ts b/x-pack/legacy/plugins/security/server/lib/authentication/session.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/session.test.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/session.test.ts diff --git a/x-pack/plugins/security/server/lib/authentication/session.ts b/x-pack/legacy/plugins/security/server/lib/authentication/session.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authentication/session.ts rename to x-pack/legacy/plugins/security/server/lib/authentication/session.ts diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/check_privileges.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/check_privileges.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/check_privileges.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/check_privileges.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/disable_ui_capabilities.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/disable_ui_capabilities.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/disable_ui_capabilities.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/disable_ui_capabilities.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/privilege_serializer.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/privilege_serializer.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/privilege_serializer.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/privilege_serializer.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/privileges_serializer.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/privileges_serializer.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/privileges_serializer.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/privileges_serializer.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/resource_serializer.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/resource_serializer.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/resource_serializer.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/resource_serializer.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/__snapshots__/validate_es_response.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/validate_es_response.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/__snapshots__/validate_es_response.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/__snapshots__/validate_es_response.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/api.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/api.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/api.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/api.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/app.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/app.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/app.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/app.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/saved_object.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/saved_object.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/saved_object.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/saved_object.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/ui.test.ts.snap b/x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/ui.test.ts.snap similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/__snapshots__/ui.test.ts.snap rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/__snapshots__/ui.test.ts.snap diff --git a/x-pack/plugins/security/server/lib/authorization/actions/actions.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/actions.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/actions.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/actions.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/actions.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/actions.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/actions.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/actions.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/api.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/api.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/api.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/api.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/api.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/api.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/api.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/api.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/app.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/app.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/app.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/app.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/app.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/app.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/app.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/app.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/index.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/index.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/index.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/saved_object.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/saved_object.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/saved_object.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/saved_object.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/saved_object.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/saved_object.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/saved_object.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/saved_object.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/space.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/space.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/space.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/space.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/space.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/space.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/space.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/space.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/ui.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/ui.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/ui.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/ui.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/actions/ui.ts b/x-pack/legacy/plugins/security/server/lib/authorization/actions/ui.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/actions/ui.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/actions/ui.ts diff --git a/x-pack/plugins/security/server/lib/authorization/api_authorization.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/api_authorization.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/api_authorization.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/api_authorization.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/api_authorization.ts b/x-pack/legacy/plugins/security/server/lib/authorization/api_authorization.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/api_authorization.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/api_authorization.ts diff --git a/x-pack/plugins/security/server/lib/authorization/app_authorization.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/app_authorization.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/app_authorization.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/app_authorization.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/app_authorization.ts b/x-pack/legacy/plugins/security/server/lib/authorization/app_authorization.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/app_authorization.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/app_authorization.ts diff --git a/x-pack/plugins/security/server/lib/authorization/check_privileges.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/check_privileges.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/check_privileges.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/check_privileges.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/check_privileges.ts b/x-pack/legacy/plugins/security/server/lib/authorization/check_privileges.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/check_privileges.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/check_privileges.ts diff --git a/x-pack/plugins/security/server/lib/authorization/check_privileges_dynamically.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/check_privileges_dynamically.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/check_privileges_dynamically.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/check_privileges_dynamically.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/check_privileges_dynamically.ts b/x-pack/legacy/plugins/security/server/lib/authorization/check_privileges_dynamically.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/check_privileges_dynamically.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/check_privileges_dynamically.ts diff --git a/x-pack/plugins/security/server/lib/authorization/disable_ui_capabilities.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/disable_ui_capabilities.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/disable_ui_capabilities.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/disable_ui_capabilities.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/disable_ui_capabilities.ts b/x-pack/legacy/plugins/security/server/lib/authorization/disable_ui_capabilities.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/disable_ui_capabilities.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/disable_ui_capabilities.ts diff --git a/x-pack/plugins/security/server/lib/authorization/index.ts b/x-pack/legacy/plugins/security/server/lib/authorization/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/index.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/index.ts diff --git a/x-pack/plugins/security/server/lib/authorization/mode.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/mode.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/mode.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/mode.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/mode.ts b/x-pack/legacy/plugins/security/server/lib/authorization/mode.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/mode.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/mode.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privilege_serializer.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privilege_serializer.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privilege_serializer.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privilege_serializer.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privilege_serializer.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privilege_serializer.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privilege_serializer.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privilege_serializer.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/api.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/api.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/api.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/api.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/app.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/app.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/app.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/app.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/catalogue.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/catalogue.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/catalogue.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/catalogue.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/feature_privilege_builder.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/feature_privilege_builder.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/feature_privilege_builder.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/feature_privilege_builder.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/index.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/index.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/index.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/management.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/management.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/management.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/management.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/navlink.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/navlink.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/navlink.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/navlink.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/saved_object.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/saved_object.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/saved_object.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/saved_object.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/ui.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/ui.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/ui.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/feature_privilege_builder/ui.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/index.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/index.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/index.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/index.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/privileges.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/privileges.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/privileges.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/privileges.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges/privileges.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges/privileges.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges/privileges.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges/privileges.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges_serializer.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges_serializer.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges_serializer.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges_serializer.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/privileges_serializer.ts b/x-pack/legacy/plugins/security/server/lib/authorization/privileges_serializer.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/privileges_serializer.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/privileges_serializer.ts diff --git a/x-pack/plugins/security/server/lib/authorization/register_privileges_with_cluster.js b/x-pack/legacy/plugins/security/server/lib/authorization/register_privileges_with_cluster.js similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/register_privileges_with_cluster.js rename to x-pack/legacy/plugins/security/server/lib/authorization/register_privileges_with_cluster.js diff --git a/x-pack/plugins/security/server/lib/authorization/register_privileges_with_cluster.test.js b/x-pack/legacy/plugins/security/server/lib/authorization/register_privileges_with_cluster.test.js similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/register_privileges_with_cluster.test.js rename to x-pack/legacy/plugins/security/server/lib/authorization/register_privileges_with_cluster.test.js diff --git a/x-pack/plugins/security/server/lib/authorization/resource_serializer.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/resource_serializer.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/resource_serializer.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/resource_serializer.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/resource_serializer.ts b/x-pack/legacy/plugins/security/server/lib/authorization/resource_serializer.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/resource_serializer.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/resource_serializer.ts diff --git a/x-pack/plugins/security/server/lib/authorization/service.test.mocks.ts b/x-pack/legacy/plugins/security/server/lib/authorization/service.test.mocks.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/service.test.mocks.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/service.test.mocks.ts diff --git a/x-pack/plugins/security/server/lib/authorization/service.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/service.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/service.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/service.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/service.ts b/x-pack/legacy/plugins/security/server/lib/authorization/service.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/service.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/service.ts diff --git a/x-pack/plugins/security/server/lib/authorization/types.ts b/x-pack/legacy/plugins/security/server/lib/authorization/types.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/types.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/types.ts diff --git a/x-pack/plugins/security/server/lib/authorization/validate_es_response.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/validate_es_response.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/validate_es_response.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/validate_es_response.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/validate_es_response.ts b/x-pack/legacy/plugins/security/server/lib/authorization/validate_es_response.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/validate_es_response.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/validate_es_response.ts diff --git a/x-pack/plugins/security/server/lib/authorization/validate_feature_privileges.test.ts b/x-pack/legacy/plugins/security/server/lib/authorization/validate_feature_privileges.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/validate_feature_privileges.test.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/validate_feature_privileges.test.ts diff --git a/x-pack/plugins/security/server/lib/authorization/validate_feature_privileges.ts b/x-pack/legacy/plugins/security/server/lib/authorization/validate_feature_privileges.ts similarity index 100% rename from x-pack/plugins/security/server/lib/authorization/validate_feature_privileges.ts rename to x-pack/legacy/plugins/security/server/lib/authorization/validate_feature_privileges.ts diff --git a/x-pack/plugins/security/server/lib/can_redirect_request.test.ts b/x-pack/legacy/plugins/security/server/lib/can_redirect_request.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/can_redirect_request.test.ts rename to x-pack/legacy/plugins/security/server/lib/can_redirect_request.test.ts diff --git a/x-pack/plugins/security/server/lib/can_redirect_request.ts b/x-pack/legacy/plugins/security/server/lib/can_redirect_request.ts similarity index 100% rename from x-pack/plugins/security/server/lib/can_redirect_request.ts rename to x-pack/legacy/plugins/security/server/lib/can_redirect_request.ts diff --git a/x-pack/plugins/security/server/lib/check_license.js b/x-pack/legacy/plugins/security/server/lib/check_license.js similarity index 100% rename from x-pack/plugins/security/server/lib/check_license.js rename to x-pack/legacy/plugins/security/server/lib/check_license.js diff --git a/x-pack/plugins/security/server/lib/deep_freeze.js b/x-pack/legacy/plugins/security/server/lib/deep_freeze.js similarity index 100% rename from x-pack/plugins/security/server/lib/deep_freeze.js rename to x-pack/legacy/plugins/security/server/lib/deep_freeze.js diff --git a/x-pack/plugins/security/server/lib/deep_freeze.test.js b/x-pack/legacy/plugins/security/server/lib/deep_freeze.test.js similarity index 100% rename from x-pack/plugins/security/server/lib/deep_freeze.test.js rename to x-pack/legacy/plugins/security/server/lib/deep_freeze.test.js diff --git a/x-pack/plugins/security/server/lib/errors.test.ts b/x-pack/legacy/plugins/security/server/lib/errors.test.ts similarity index 100% rename from x-pack/plugins/security/server/lib/errors.test.ts rename to x-pack/legacy/plugins/security/server/lib/errors.test.ts diff --git a/x-pack/plugins/security/server/lib/errors.ts b/x-pack/legacy/plugins/security/server/lib/errors.ts similarity index 100% rename from x-pack/plugins/security/server/lib/errors.ts rename to x-pack/legacy/plugins/security/server/lib/errors.ts diff --git a/x-pack/plugins/security/server/lib/get_user.ts b/x-pack/legacy/plugins/security/server/lib/get_user.ts similarity index 100% rename from x-pack/plugins/security/server/lib/get_user.ts rename to x-pack/legacy/plugins/security/server/lib/get_user.ts diff --git a/x-pack/plugins/security/server/lib/parse_next.js b/x-pack/legacy/plugins/security/server/lib/parse_next.js similarity index 100% rename from x-pack/plugins/security/server/lib/parse_next.js rename to x-pack/legacy/plugins/security/server/lib/parse_next.js diff --git a/x-pack/plugins/security/server/lib/route_pre_check_license.js b/x-pack/legacy/plugins/security/server/lib/route_pre_check_license.js similarity index 100% rename from x-pack/plugins/security/server/lib/route_pre_check_license.js rename to x-pack/legacy/plugins/security/server/lib/route_pre_check_license.js diff --git a/x-pack/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.js b/x-pack/legacy/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.js similarity index 100% rename from x-pack/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.js rename to x-pack/legacy/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.js diff --git a/x-pack/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.test.js b/x-pack/legacy/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.test.js similarity index 100% rename from x-pack/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.test.js rename to x-pack/legacy/plugins/security/server/lib/saved_objects_client/secure_saved_objects_client_wrapper.test.js diff --git a/x-pack/plugins/security/server/lib/user_schema.js b/x-pack/legacy/plugins/security/server/lib/user_schema.js similarity index 100% rename from x-pack/plugins/security/server/lib/user_schema.js rename to x-pack/legacy/plugins/security/server/lib/user_schema.js diff --git a/x-pack/plugins/security/server/lib/validate_config.js b/x-pack/legacy/plugins/security/server/lib/validate_config.js similarity index 100% rename from x-pack/plugins/security/server/lib/validate_config.js rename to x-pack/legacy/plugins/security/server/lib/validate_config.js diff --git a/x-pack/plugins/security/server/routes/api/external/privileges/get.test.ts b/x-pack/legacy/plugins/security/server/routes/api/external/privileges/get.test.ts similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/privileges/get.test.ts rename to x-pack/legacy/plugins/security/server/routes/api/external/privileges/get.test.ts diff --git a/x-pack/plugins/security/server/routes/api/external/privileges/get.ts b/x-pack/legacy/plugins/security/server/routes/api/external/privileges/get.ts similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/privileges/get.ts rename to x-pack/legacy/plugins/security/server/routes/api/external/privileges/get.ts diff --git a/x-pack/plugins/security/server/routes/api/external/privileges/index.ts b/x-pack/legacy/plugins/security/server/routes/api/external/privileges/index.ts similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/privileges/index.ts rename to x-pack/legacy/plugins/security/server/routes/api/external/privileges/index.ts diff --git a/x-pack/plugins/security/server/routes/api/external/roles/delete.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/delete.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/delete.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/delete.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/delete.test.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/delete.test.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/delete.test.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/delete.test.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/get.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/get.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/get.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/get.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/get.test.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/get.test.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/get.test.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/get.test.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/index.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/index.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/index.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/index.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/put.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/put.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/external/roles/put.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/put.js diff --git a/x-pack/plugins/security/server/routes/api/external/roles/put.test.js b/x-pack/legacy/plugins/security/server/routes/api/external/roles/put.test.js similarity index 99% rename from x-pack/plugins/security/server/routes/api/external/roles/put.test.js rename to x-pack/legacy/plugins/security/server/routes/api/external/roles/put.test.js index 99ba93d10d7a4..01016b2b077c3 100644 --- a/x-pack/plugins/security/server/routes/api/external/roles/put.test.js +++ b/x-pack/legacy/plugins/security/server/routes/api/external/roles/put.test.js @@ -7,7 +7,7 @@ import Hapi from 'hapi'; import Boom from 'boom'; import { initPutRolesApi } from './put'; -import { defaultValidationErrorHandler } from '../../../../../../../../src/core/server/http/http_tools'; +import { defaultValidationErrorHandler } from '../../../../../../../../../src/core/server/http/http_tools'; import { GLOBAL_RESOURCE } from '../../../../../common/constants'; const application = 'kibana-.kibana'; diff --git a/x-pack/plugins/security/server/routes/api/v1/__tests__/authenticate.js b/x-pack/legacy/plugins/security/server/routes/api/v1/__tests__/authenticate.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/v1/__tests__/authenticate.js rename to x-pack/legacy/plugins/security/server/routes/api/v1/__tests__/authenticate.js diff --git a/x-pack/plugins/security/server/routes/api/v1/__tests__/users.js b/x-pack/legacy/plugins/security/server/routes/api/v1/__tests__/users.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/v1/__tests__/users.js rename to x-pack/legacy/plugins/security/server/routes/api/v1/__tests__/users.js diff --git a/x-pack/plugins/security/server/routes/api/v1/authenticate.js b/x-pack/legacy/plugins/security/server/routes/api/v1/authenticate.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/v1/authenticate.js rename to x-pack/legacy/plugins/security/server/routes/api/v1/authenticate.js diff --git a/x-pack/plugins/security/server/routes/api/v1/indices.js b/x-pack/legacy/plugins/security/server/routes/api/v1/indices.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/v1/indices.js rename to x-pack/legacy/plugins/security/server/routes/api/v1/indices.js diff --git a/x-pack/plugins/security/server/routes/api/v1/users.js b/x-pack/legacy/plugins/security/server/routes/api/v1/users.js similarity index 100% rename from x-pack/plugins/security/server/routes/api/v1/users.js rename to x-pack/legacy/plugins/security/server/routes/api/v1/users.js diff --git a/x-pack/plugins/security/server/routes/views/logged_out.js b/x-pack/legacy/plugins/security/server/routes/views/logged_out.js similarity index 100% rename from x-pack/plugins/security/server/routes/views/logged_out.js rename to x-pack/legacy/plugins/security/server/routes/views/logged_out.js diff --git a/x-pack/plugins/security/server/routes/views/login.js b/x-pack/legacy/plugins/security/server/routes/views/login.js similarity index 100% rename from x-pack/plugins/security/server/routes/views/login.js rename to x-pack/legacy/plugins/security/server/routes/views/login.js diff --git a/x-pack/plugins/security/server/routes/views/logout.js b/x-pack/legacy/plugins/security/server/routes/views/logout.js similarity index 100% rename from x-pack/plugins/security/server/routes/views/logout.js rename to x-pack/legacy/plugins/security/server/routes/views/logout.js diff --git a/x-pack/plugins/security/server/routes/views/overwritten_session.ts b/x-pack/legacy/plugins/security/server/routes/views/overwritten_session.ts similarity index 100% rename from x-pack/plugins/security/server/routes/views/overwritten_session.ts rename to x-pack/legacy/plugins/security/server/routes/views/overwritten_session.ts diff --git a/x-pack/legacy/plugins/siem/.gitattributes b/x-pack/legacy/plugins/siem/.gitattributes new file mode 100644 index 0000000000000..f40e829b65453 --- /dev/null +++ b/x-pack/legacy/plugins/siem/.gitattributes @@ -0,0 +1,6 @@ +# Auto-collapse generated files in GitHub +# https://help.github.com/en/articles/customizing-how-changed-files-appear-on-github +x-pack/legacy/plugins/siem/public/graphql/types.ts linguist-generated=true +x-pack/legacy/plugins/siem/server/graphql/types.ts linguist-generated=true +x-pack/legacy/plugins/siem/public/graphql/introspection.json linguist-generated=true + diff --git a/x-pack/plugins/siem/common/constants.ts b/x-pack/legacy/plugins/siem/common/constants.ts similarity index 100% rename from x-pack/plugins/siem/common/constants.ts rename to x-pack/legacy/plugins/siem/common/constants.ts diff --git a/x-pack/plugins/siem/common/graphql/root/index.ts b/x-pack/legacy/plugins/siem/common/graphql/root/index.ts similarity index 100% rename from x-pack/plugins/siem/common/graphql/root/index.ts rename to x-pack/legacy/plugins/siem/common/graphql/root/index.ts diff --git a/x-pack/plugins/siem/common/graphql/root/schema.gql.ts b/x-pack/legacy/plugins/siem/common/graphql/root/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/common/graphql/root/schema.gql.ts rename to x-pack/legacy/plugins/siem/common/graphql/root/schema.gql.ts diff --git a/x-pack/plugins/siem/common/graphql/shared/index.ts b/x-pack/legacy/plugins/siem/common/graphql/shared/index.ts similarity index 100% rename from x-pack/plugins/siem/common/graphql/shared/index.ts rename to x-pack/legacy/plugins/siem/common/graphql/shared/index.ts diff --git a/x-pack/plugins/siem/common/graphql/shared/schema.gql.ts b/x-pack/legacy/plugins/siem/common/graphql/shared/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/common/graphql/shared/schema.gql.ts rename to x-pack/legacy/plugins/siem/common/graphql/shared/schema.gql.ts diff --git a/x-pack/plugins/siem/common/typed_json.ts b/x-pack/legacy/plugins/siem/common/typed_json.ts similarity index 100% rename from x-pack/plugins/siem/common/typed_json.ts rename to x-pack/legacy/plugins/siem/common/typed_json.ts diff --git a/x-pack/plugins/siem/common/utility_types.ts b/x-pack/legacy/plugins/siem/common/utility_types.ts similarity index 100% rename from x-pack/plugins/siem/common/utility_types.ts rename to x-pack/legacy/plugins/siem/common/utility_types.ts diff --git a/x-pack/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js b/x-pack/legacy/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js similarity index 93% rename from x-pack/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js rename to x-pack/legacy/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js index ae23cfcefc5fe..29d6074f0f67b 100644 --- a/x-pack/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js +++ b/x-pack/legacy/plugins/siem/dev_tools/circular_deps/run_check_circular_deps_cli.js @@ -9,7 +9,7 @@ import { resolve } from 'path'; // eslint-disable-next-line import/no-extraneous-dependencies import madge from 'madge'; -import { run, createFailError } from '../../../../../src/dev/run'; +import { run, createFailError } from '../../../../../../src/dev/run'; run( async ({ log }) => { diff --git a/x-pack/plugins/siem/index.ts b/x-pack/legacy/plugins/siem/index.ts similarity index 100% rename from x-pack/plugins/siem/index.ts rename to x-pack/legacy/plugins/siem/index.ts diff --git a/x-pack/plugins/siem/package.json b/x-pack/legacy/plugins/siem/package.json similarity index 100% rename from x-pack/plugins/siem/package.json rename to x-pack/legacy/plugins/siem/package.json diff --git a/x-pack/plugins/siem/public/app.ts b/x-pack/legacy/plugins/siem/public/app.ts similarity index 100% rename from x-pack/plugins/siem/public/app.ts rename to x-pack/legacy/plugins/siem/public/app.ts diff --git a/x-pack/plugins/siem/public/apps/kibana_app.ts b/x-pack/legacy/plugins/siem/public/apps/kibana_app.ts similarity index 100% rename from x-pack/plugins/siem/public/apps/kibana_app.ts rename to x-pack/legacy/plugins/siem/public/apps/kibana_app.ts diff --git a/x-pack/plugins/siem/public/apps/start_app.tsx b/x-pack/legacy/plugins/siem/public/apps/start_app.tsx similarity index 100% rename from x-pack/plugins/siem/public/apps/start_app.tsx rename to x-pack/legacy/plugins/siem/public/apps/start_app.tsx diff --git a/x-pack/plugins/siem/public/apps/testing_app.ts b/x-pack/legacy/plugins/siem/public/apps/testing_app.ts similarity index 100% rename from x-pack/plugins/siem/public/apps/testing_app.ts rename to x-pack/legacy/plugins/siem/public/apps/testing_app.ts diff --git a/x-pack/plugins/siem/public/components/and_or_badge/index.tsx b/x-pack/legacy/plugins/siem/public/components/and_or_badge/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/and_or_badge/index.tsx rename to x-pack/legacy/plugins/siem/public/components/and_or_badge/index.tsx diff --git a/x-pack/plugins/siem/public/components/and_or_badge/translations.ts b/x-pack/legacy/plugins/siem/public/components/and_or_badge/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/and_or_badge/translations.ts rename to x-pack/legacy/plugins/siem/public/components/and_or_badge/translations.ts diff --git a/x-pack/plugins/siem/public/components/arrows/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/arrows/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/arrows/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/arrows/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/arrows/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/arrows/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/arrows/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/arrows/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/arrows/helpers.ts b/x-pack/legacy/plugins/siem/public/components/arrows/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/arrows/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/arrows/helpers.ts diff --git a/x-pack/plugins/siem/public/components/arrows/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/arrows/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/arrows/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/arrows/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/arrows/index.tsx b/x-pack/legacy/plugins/siem/public/components/arrows/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/arrows/index.tsx rename to x-pack/legacy/plugins/siem/public/components/arrows/index.tsx diff --git a/x-pack/plugins/siem/public/components/auto_sizer/index.tsx b/x-pack/legacy/plugins/siem/public/components/auto_sizer/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/auto_sizer/index.tsx rename to x-pack/legacy/plugins/siem/public/components/auto_sizer/index.tsx diff --git a/x-pack/plugins/siem/public/components/autocomplete_field/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/autocomplete_field/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/autocomplete_field/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/autocomplete_field/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/autocomplete_field/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/autocomplete_field/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/autocomplete_field/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/autocomplete_field/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/autocomplete_field/index.tsx b/x-pack/legacy/plugins/siem/public/components/autocomplete_field/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/autocomplete_field/index.tsx rename to x-pack/legacy/plugins/siem/public/components/autocomplete_field/index.tsx diff --git a/x-pack/plugins/siem/public/components/autocomplete_field/suggestion_item.tsx b/x-pack/legacy/plugins/siem/public/components/autocomplete_field/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/autocomplete_field/suggestion_item.tsx rename to x-pack/legacy/plugins/siem/public/components/autocomplete_field/suggestion_item.tsx diff --git a/x-pack/plugins/siem/public/components/certificate_fingerprint/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/certificate_fingerprint/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/certificate_fingerprint/index.tsx b/x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/certificate_fingerprint/index.tsx rename to x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/index.tsx diff --git a/x-pack/plugins/siem/public/components/certificate_fingerprint/translations.ts b/x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/certificate_fingerprint/translations.ts rename to x-pack/legacy/plugins/siem/public/components/certificate_fingerprint/translations.ts diff --git a/x-pack/plugins/siem/public/components/charts/__snapshots__/areachart.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/charts/__snapshots__/areachart.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/charts/__snapshots__/areachart.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/charts/__snapshots__/areachart.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/charts/__snapshots__/barchart.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/charts/__snapshots__/barchart.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/charts/__snapshots__/barchart.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/charts/__snapshots__/barchart.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/charts/areachart.test.tsx b/x-pack/legacy/plugins/siem/public/components/charts/areachart.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/charts/areachart.test.tsx rename to x-pack/legacy/plugins/siem/public/components/charts/areachart.test.tsx diff --git a/x-pack/plugins/siem/public/components/charts/areachart.tsx b/x-pack/legacy/plugins/siem/public/components/charts/areachart.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/charts/areachart.tsx rename to x-pack/legacy/plugins/siem/public/components/charts/areachart.tsx diff --git a/x-pack/plugins/siem/public/components/charts/barchart.test.tsx b/x-pack/legacy/plugins/siem/public/components/charts/barchart.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/charts/barchart.test.tsx rename to x-pack/legacy/plugins/siem/public/components/charts/barchart.test.tsx diff --git a/x-pack/plugins/siem/public/components/charts/barchart.tsx b/x-pack/legacy/plugins/siem/public/components/charts/barchart.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/charts/barchart.tsx rename to x-pack/legacy/plugins/siem/public/components/charts/barchart.tsx diff --git a/x-pack/plugins/siem/public/components/charts/common.tsx b/x-pack/legacy/plugins/siem/public/components/charts/common.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/charts/common.tsx rename to x-pack/legacy/plugins/siem/public/components/charts/common.tsx diff --git a/x-pack/plugins/siem/public/components/direction/direction.test.tsx b/x-pack/legacy/plugins/siem/public/components/direction/direction.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/direction/direction.test.tsx rename to x-pack/legacy/plugins/siem/public/components/direction/direction.test.tsx diff --git a/x-pack/plugins/siem/public/components/direction/index.tsx b/x-pack/legacy/plugins/siem/public/components/direction/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/direction/index.tsx rename to x-pack/legacy/plugins/siem/public/components/direction/index.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/drag_drop_context_wrapper.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/drag_drop_context_wrapper.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/drag_drop_context_wrapper.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/drag_drop_context_wrapper.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/draggable_wrapper.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/draggable_wrapper.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/draggable_wrapper.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/draggable_wrapper.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/droppable_wrapper.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/droppable_wrapper.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/__snapshots__/droppable_wrapper.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/__snapshots__/droppable_wrapper.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.test.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.test.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.test.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/drag_drop_context_wrapper.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/draggable_wrapper.test.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/draggable_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/draggable_wrapper.test.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/draggable_wrapper.test.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/draggable_wrapper.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/draggable_wrapper.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/draggable_wrapper.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/draggable_wrapper.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/droppable_wrapper.test.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/droppable_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/droppable_wrapper.test.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/droppable_wrapper.test.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/droppable_wrapper.tsx b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/droppable_wrapper.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/droppable_wrapper.tsx rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/droppable_wrapper.tsx diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/drag_and_drop/helpers.ts b/x-pack/legacy/plugins/siem/public/components/drag_and_drop/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/drag_and_drop/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/drag_and_drop/helpers.ts diff --git a/x-pack/plugins/siem/public/components/draggables/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/draggables/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/draggables/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/draggables/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/draggables/field_badge/index.tsx b/x-pack/legacy/plugins/siem/public/components/draggables/field_badge/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/draggables/field_badge/index.tsx rename to x-pack/legacy/plugins/siem/public/components/draggables/field_badge/index.tsx diff --git a/x-pack/plugins/siem/public/components/draggables/field_badge/translations.ts b/x-pack/legacy/plugins/siem/public/components/draggables/field_badge/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/draggables/field_badge/translations.ts rename to x-pack/legacy/plugins/siem/public/components/draggables/field_badge/translations.ts diff --git a/x-pack/plugins/siem/public/components/draggables/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/draggables/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/draggables/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/draggables/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/draggables/index.tsx b/x-pack/legacy/plugins/siem/public/components/draggables/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/draggables/index.tsx rename to x-pack/legacy/plugins/siem/public/components/draggables/index.tsx diff --git a/x-pack/plugins/siem/public/components/duration/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/duration/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/duration/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/duration/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/duration/index.tsx b/x-pack/legacy/plugins/siem/public/components/duration/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/duration/index.tsx rename to x-pack/legacy/plugins/siem/public/components/duration/index.tsx diff --git a/x-pack/plugins/siem/public/components/edit_data_provider/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/edit_data_provider/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/edit_data_provider/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/edit_data_provider/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/edit_data_provider/index.tsx b/x-pack/legacy/plugins/siem/public/components/edit_data_provider/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/edit_data_provider/index.tsx rename to x-pack/legacy/plugins/siem/public/components/edit_data_provider/index.tsx diff --git a/x-pack/plugins/siem/public/components/edit_data_provider/translations.ts b/x-pack/legacy/plugins/siem/public/components/edit_data_provider/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/edit_data_provider/translations.ts rename to x-pack/legacy/plugins/siem/public/components/edit_data_provider/translations.ts diff --git a/x-pack/plugins/siem/public/components/empty_page/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/empty_page/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/empty_page/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/empty_page/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/empty_page/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/empty_page/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/empty_page/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/empty_page/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/empty_page/index.tsx b/x-pack/legacy/plugins/siem/public/components/empty_page/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/empty_page/index.tsx rename to x-pack/legacy/plugins/siem/public/components/empty_page/index.tsx diff --git a/x-pack/plugins/siem/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/empty_value/empty_value.test.tsx b/x-pack/legacy/plugins/siem/public/components/empty_value/empty_value.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/empty_value/empty_value.test.tsx rename to x-pack/legacy/plugins/siem/public/components/empty_value/empty_value.test.tsx diff --git a/x-pack/plugins/siem/public/components/empty_value/index.tsx b/x-pack/legacy/plugins/siem/public/components/empty_value/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/empty_value/index.tsx rename to x-pack/legacy/plugins/siem/public/components/empty_value/index.tsx diff --git a/x-pack/plugins/siem/public/components/empty_value/translations.ts b/x-pack/legacy/plugins/siem/public/components/empty_value/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/empty_value/translations.ts rename to x-pack/legacy/plugins/siem/public/components/empty_value/translations.ts diff --git a/x-pack/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/error_toast_dispatcher/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/error_toast_dispatcher/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/error_toast_dispatcher/index.tsx b/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/error_toast_dispatcher/index.tsx rename to x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/index.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/__snapshots__/event_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/event_details/__snapshots__/event_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/__snapshots__/event_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/event_details/__snapshots__/event_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/event_details/__snapshots__/json_view.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/event_details/__snapshots__/json_view.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/__snapshots__/json_view.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/event_details/__snapshots__/json_view.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/event_details/columns.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/columns.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/event_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/event_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/event_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/event_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/event_details.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/event_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/event_details.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/event_details.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/event_fields_browser.test.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/event_fields_browser.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/event_fields_browser.test.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/event_fields_browser.test.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/event_fields_browser.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/event_fields_browser.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/event_fields_browser.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/event_fields_browser.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/event_id.ts b/x-pack/legacy/plugins/siem/public/components/event_details/event_id.ts similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/event_id.ts rename to x-pack/legacy/plugins/siem/public/components/event_details/event_id.ts diff --git a/x-pack/plugins/siem/public/components/event_details/helpers.test.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/helpers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/helpers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/helpers.test.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/json_view.test.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/json_view.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/json_view.test.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/json_view.test.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/json_view.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/json_view.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/json_view.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/json_view.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/stateful_event_details.tsx b/x-pack/legacy/plugins/siem/public/components/event_details/stateful_event_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/stateful_event_details.tsx rename to x-pack/legacy/plugins/siem/public/components/event_details/stateful_event_details.tsx diff --git a/x-pack/plugins/siem/public/components/event_details/translations.ts b/x-pack/legacy/plugins/siem/public/components/event_details/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/event_details/translations.ts rename to x-pack/legacy/plugins/siem/public/components/event_details/translations.ts diff --git a/x-pack/plugins/siem/public/components/external_link_icon/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/external_link_icon/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/external_link_icon/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/external_link_icon/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/external_link_icon/index.tsx b/x-pack/legacy/plugins/siem/public/components/external_link_icon/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/external_link_icon/index.tsx rename to x-pack/legacy/plugins/siem/public/components/external_link_icon/index.tsx diff --git a/x-pack/plugins/siem/public/components/field_renderers/__snapshots__/field_renderers.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/field_renderers/__snapshots__/field_renderers.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/field_renderers/__snapshots__/field_renderers.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/field_renderers/__snapshots__/field_renderers.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/field_renderers/field_renderers.test.tsx b/x-pack/legacy/plugins/siem/public/components/field_renderers/field_renderers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/field_renderers/field_renderers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/field_renderers/field_renderers.test.tsx diff --git a/x-pack/plugins/siem/public/components/field_renderers/field_renderers.tsx b/x-pack/legacy/plugins/siem/public/components/field_renderers/field_renderers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/field_renderers/field_renderers.tsx rename to x-pack/legacy/plugins/siem/public/components/field_renderers/field_renderers.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/categories_pane.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/categories_pane.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/categories_pane.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/categories_pane.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/category.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/category.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/category.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/category.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/category_buttons.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/category_buttons.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/category_buttons.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/category_buttons.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/category_columns.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/category_columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/category_columns.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/category_columns.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/category_title.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/category_title.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/category_title.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/category_title.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/field_browser.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/field_browser.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/field_browser.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/field_browser.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/field_items.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/field_items.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/field_items.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/field_items.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/field_name.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/field_name.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/field_name.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/field_name.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/fields_pane.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/fields_pane.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/fields_pane.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/fields_pane.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/header.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/header.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/header.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/header.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/index.tsx b/x-pack/legacy/plugins/siem/public/components/fields_browser/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/index.tsx rename to x-pack/legacy/plugins/siem/public/components/fields_browser/index.tsx diff --git a/x-pack/plugins/siem/public/components/fields_browser/translations.ts b/x-pack/legacy/plugins/siem/public/components/fields_browser/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/translations.ts rename to x-pack/legacy/plugins/siem/public/components/fields_browser/translations.ts diff --git a/x-pack/plugins/siem/public/components/fields_browser/types.ts b/x-pack/legacy/plugins/siem/public/components/fields_browser/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/fields_browser/types.ts rename to x-pack/legacy/plugins/siem/public/components/fields_browser/types.ts diff --git a/x-pack/plugins/siem/public/components/filters_global/__snapshots__/filters_global.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/filters_global/__snapshots__/filters_global.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/filters_global/__snapshots__/filters_global.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/filters_global/__snapshots__/filters_global.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/filters_global/filters_global.test.tsx b/x-pack/legacy/plugins/siem/public/components/filters_global/filters_global.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/filters_global/filters_global.test.tsx rename to x-pack/legacy/plugins/siem/public/components/filters_global/filters_global.test.tsx diff --git a/x-pack/plugins/siem/public/components/filters_global/filters_global.tsx b/x-pack/legacy/plugins/siem/public/components/filters_global/filters_global.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/filters_global/filters_global.tsx rename to x-pack/legacy/plugins/siem/public/components/filters_global/filters_global.tsx diff --git a/x-pack/plugins/siem/public/components/filters_global/index.tsx b/x-pack/legacy/plugins/siem/public/components/filters_global/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/filters_global/index.tsx rename to x-pack/legacy/plugins/siem/public/components/filters_global/index.tsx diff --git a/x-pack/plugins/siem/public/components/flow_controls/__snapshots__/flow_direction_select.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/flow_controls/__snapshots__/flow_direction_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/__snapshots__/flow_direction_select.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/flow_controls/__snapshots__/flow_direction_select.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/flow_controls/__snapshots__/flow_target_select.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/flow_controls/__snapshots__/flow_target_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/__snapshots__/flow_target_select.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/flow_controls/__snapshots__/flow_target_select.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/flow_controls/flow_direction_select.test.tsx b/x-pack/legacy/plugins/siem/public/components/flow_controls/flow_direction_select.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/flow_direction_select.test.tsx rename to x-pack/legacy/plugins/siem/public/components/flow_controls/flow_direction_select.test.tsx diff --git a/x-pack/plugins/siem/public/components/flow_controls/flow_direction_select.tsx b/x-pack/legacy/plugins/siem/public/components/flow_controls/flow_direction_select.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/flow_direction_select.tsx rename to x-pack/legacy/plugins/siem/public/components/flow_controls/flow_direction_select.tsx diff --git a/x-pack/plugins/siem/public/components/flow_controls/flow_target_select.test.tsx b/x-pack/legacy/plugins/siem/public/components/flow_controls/flow_target_select.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/flow_target_select.test.tsx rename to x-pack/legacy/plugins/siem/public/components/flow_controls/flow_target_select.test.tsx diff --git a/x-pack/plugins/siem/public/components/flow_controls/flow_target_select.tsx b/x-pack/legacy/plugins/siem/public/components/flow_controls/flow_target_select.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/flow_target_select.tsx rename to x-pack/legacy/plugins/siem/public/components/flow_controls/flow_target_select.tsx diff --git a/x-pack/plugins/siem/public/components/flow_controls/translations.ts b/x-pack/legacy/plugins/siem/public/components/flow_controls/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/flow_controls/translations.ts rename to x-pack/legacy/plugins/siem/public/components/flow_controls/translations.ts diff --git a/x-pack/plugins/siem/public/components/flyout/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/flyout/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/flyout/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/flyout/button/index.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/button/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/button/index.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/button/index.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/button/translations.ts b/x-pack/legacy/plugins/siem/public/components/flyout/button/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/button/translations.ts rename to x-pack/legacy/plugins/siem/public/components/flyout/button/translations.ts diff --git a/x-pack/plugins/siem/public/components/flyout/header/index.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/header/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/header/index.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/header/index.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/index.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/index.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/index.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/pane/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/flyout/pane/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/pane/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/flyout/pane/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/flyout/pane/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/pane/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/pane/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/pane/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/pane/index.tsx b/x-pack/legacy/plugins/siem/public/components/flyout/pane/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/pane/index.tsx rename to x-pack/legacy/plugins/siem/public/components/flyout/pane/index.tsx diff --git a/x-pack/plugins/siem/public/components/flyout/pane/translations.ts b/x-pack/legacy/plugins/siem/public/components/flyout/pane/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/flyout/pane/translations.ts rename to x-pack/legacy/plugins/siem/public/components/flyout/pane/translations.ts diff --git a/x-pack/plugins/siem/public/components/formatted_bytes/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/formatted_bytes/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_bytes/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/formatted_bytes/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/formatted_bytes/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_bytes/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_bytes/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_bytes/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_bytes/index.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_bytes/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_bytes/index.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_bytes/index.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_date/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/formatted_date/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_date/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/formatted_date/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/formatted_date/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_date/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_date/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_date/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_date/index.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_date/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_date/index.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_date/index.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_date/maybe_date.test.ts b/x-pack/legacy/plugins/siem/public/components/formatted_date/maybe_date.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_date/maybe_date.test.ts rename to x-pack/legacy/plugins/siem/public/components/formatted_date/maybe_date.test.ts diff --git a/x-pack/plugins/siem/public/components/formatted_date/maybe_date.ts b/x-pack/legacy/plugins/siem/public/components/formatted_date/maybe_date.ts similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_date/maybe_date.ts rename to x-pack/legacy/plugins/siem/public/components/formatted_date/maybe_date.ts diff --git a/x-pack/plugins/siem/public/components/formatted_duration/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/formatted_duration/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_duration/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/formatted_duration/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/formatted_duration/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_duration/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_duration/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_duration/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_duration/index.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_duration/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_duration/index.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_duration/index.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_duration/tooltip/index.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_duration/tooltip/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_duration/tooltip/index.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_duration/tooltip/index.tsx diff --git a/x-pack/plugins/siem/public/components/formatted_duration/translations.ts b/x-pack/legacy/plugins/siem/public/components/formatted_duration/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_duration/translations.ts rename to x-pack/legacy/plugins/siem/public/components/formatted_duration/translations.ts diff --git a/x-pack/plugins/siem/public/components/formatted_ip/index.tsx b/x-pack/legacy/plugins/siem/public/components/formatted_ip/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/formatted_ip/index.tsx rename to x-pack/legacy/plugins/siem/public/components/formatted_ip/index.tsx diff --git a/x-pack/plugins/siem/public/components/header_page/__snapshots__/header_page.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/header_page/__snapshots__/header_page.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/header_page/__snapshots__/header_page.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/header_page/__snapshots__/header_page.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/header_page/header_page.test.tsx b/x-pack/legacy/plugins/siem/public/components/header_page/header_page.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_page/header_page.test.tsx rename to x-pack/legacy/plugins/siem/public/components/header_page/header_page.test.tsx diff --git a/x-pack/plugins/siem/public/components/header_page/header_page.tsx b/x-pack/legacy/plugins/siem/public/components/header_page/header_page.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_page/header_page.tsx rename to x-pack/legacy/plugins/siem/public/components/header_page/header_page.tsx diff --git a/x-pack/plugins/siem/public/components/header_page/index.tsx b/x-pack/legacy/plugins/siem/public/components/header_page/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_page/index.tsx rename to x-pack/legacy/plugins/siem/public/components/header_page/index.tsx diff --git a/x-pack/plugins/siem/public/components/header_panel/__snapshots__/header_panel.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/header_panel/__snapshots__/header_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/header_panel/__snapshots__/header_panel.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/header_panel/__snapshots__/header_panel.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/header_panel/header_panel.test.tsx b/x-pack/legacy/plugins/siem/public/components/header_panel/header_panel.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_panel/header_panel.test.tsx rename to x-pack/legacy/plugins/siem/public/components/header_panel/header_panel.test.tsx diff --git a/x-pack/plugins/siem/public/components/header_panel/header_panel.tsx b/x-pack/legacy/plugins/siem/public/components/header_panel/header_panel.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_panel/header_panel.tsx rename to x-pack/legacy/plugins/siem/public/components/header_panel/header_panel.tsx diff --git a/x-pack/plugins/siem/public/components/header_panel/index.tsx b/x-pack/legacy/plugins/siem/public/components/header_panel/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/header_panel/index.tsx rename to x-pack/legacy/plugins/siem/public/components/header_panel/index.tsx diff --git a/x-pack/plugins/siem/public/components/help_menu/help_menu.tsx b/x-pack/legacy/plugins/siem/public/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/help_menu/help_menu.tsx rename to x-pack/legacy/plugins/siem/public/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/siem/public/components/help_menu/index.tsx b/x-pack/legacy/plugins/siem/public/components/help_menu/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/help_menu/index.tsx rename to x-pack/legacy/plugins/siem/public/components/help_menu/index.tsx diff --git a/x-pack/plugins/siem/public/components/ip/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/ip/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/ip/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/ip/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/ip/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/ip/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/ip/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/ip/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/ip/index.tsx b/x-pack/legacy/plugins/siem/public/components/ip/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/ip/index.tsx rename to x-pack/legacy/plugins/siem/public/components/ip/index.tsx diff --git a/x-pack/plugins/siem/public/components/ja3_fingerprint/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/ja3_fingerprint/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/ja3_fingerprint/index.tsx b/x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/ja3_fingerprint/index.tsx rename to x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/index.tsx diff --git a/x-pack/plugins/siem/public/components/ja3_fingerprint/translations.ts b/x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/ja3_fingerprint/translations.ts rename to x-pack/legacy/plugins/siem/public/components/ja3_fingerprint/translations.ts diff --git a/x-pack/plugins/siem/public/components/last_event_time/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/last_event_time/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/last_event_time/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/last_event_time/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/last_event_time/index.tsx b/x-pack/legacy/plugins/siem/public/components/last_event_time/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/last_event_time/index.tsx rename to x-pack/legacy/plugins/siem/public/components/last_event_time/index.tsx diff --git a/x-pack/plugins/siem/public/components/lazy_accordion/index.tsx b/x-pack/legacy/plugins/siem/public/components/lazy_accordion/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/lazy_accordion/index.tsx rename to x-pack/legacy/plugins/siem/public/components/lazy_accordion/index.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/index.ts b/x-pack/legacy/plugins/siem/public/components/link_to/index.ts similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/index.ts rename to x-pack/legacy/plugins/siem/public/components/link_to/index.ts diff --git a/x-pack/plugins/siem/public/components/link_to/link_to.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/link_to.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/link_to.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/link_to.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/redirect_to_hosts.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_hosts.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/redirect_to_hosts.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_hosts.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/redirect_to_network.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_network.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/redirect_to_network.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_network.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/redirect_to_overview.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_overview.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/redirect_to_overview.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_overview.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/redirect_to_timelines.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_timelines.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/redirect_to_timelines.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/redirect_to_timelines.tsx diff --git a/x-pack/plugins/siem/public/components/link_to/redirect_wrapper.tsx b/x-pack/legacy/plugins/siem/public/components/link_to/redirect_wrapper.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/link_to/redirect_wrapper.tsx rename to x-pack/legacy/plugins/siem/public/components/link_to/redirect_wrapper.tsx diff --git a/x-pack/plugins/siem/public/components/links/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/links/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/links/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/links/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/links/index.tsx b/x-pack/legacy/plugins/siem/public/components/links/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/links/index.tsx rename to x-pack/legacy/plugins/siem/public/components/links/index.tsx diff --git a/x-pack/plugins/siem/public/components/load_more_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/load_more_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/load_more_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/load_more_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/load_more_table/index.mock.tsx b/x-pack/legacy/plugins/siem/public/components/load_more_table/index.mock.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/load_more_table/index.mock.tsx rename to x-pack/legacy/plugins/siem/public/components/load_more_table/index.mock.tsx diff --git a/x-pack/plugins/siem/public/components/load_more_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/load_more_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/load_more_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/load_more_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/load_more_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/load_more_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/load_more_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/load_more_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/load_more_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/load_more_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/load_more_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/load_more_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/loading/index.tsx b/x-pack/legacy/plugins/siem/public/components/loading/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/loading/index.tsx rename to x-pack/legacy/plugins/siem/public/components/loading/index.tsx diff --git a/x-pack/plugins/siem/public/components/localized_date_tooltip/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/localized_date_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/localized_date_tooltip/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/localized_date_tooltip/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/localized_date_tooltip/index.tsx b/x-pack/legacy/plugins/siem/public/components/localized_date_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/localized_date_tooltip/index.tsx rename to x-pack/legacy/plugins/siem/public/components/localized_date_tooltip/index.tsx diff --git a/x-pack/plugins/siem/public/components/markdown/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/markdown/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/markdown/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/markdown/__snapshots__/markdown_hint.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/markdown/__snapshots__/markdown_hint.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/__snapshots__/markdown_hint.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/markdown/__snapshots__/markdown_hint.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/markdown/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/markdown/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/markdown/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/markdown/index.tsx b/x-pack/legacy/plugins/siem/public/components/markdown/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/index.tsx rename to x-pack/legacy/plugins/siem/public/components/markdown/index.tsx diff --git a/x-pack/plugins/siem/public/components/markdown/markdown_hint.test.tsx b/x-pack/legacy/plugins/siem/public/components/markdown/markdown_hint.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/markdown_hint.test.tsx rename to x-pack/legacy/plugins/siem/public/components/markdown/markdown_hint.test.tsx diff --git a/x-pack/plugins/siem/public/components/markdown/markdown_hint.tsx b/x-pack/legacy/plugins/siem/public/components/markdown/markdown_hint.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/markdown_hint.tsx rename to x-pack/legacy/plugins/siem/public/components/markdown/markdown_hint.tsx diff --git a/x-pack/plugins/siem/public/components/markdown/translations.ts b/x-pack/legacy/plugins/siem/public/components/markdown/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/markdown/translations.ts rename to x-pack/legacy/plugins/siem/public/components/markdown/translations.ts diff --git a/x-pack/plugins/siem/public/components/navigation/breadcrumbs/index.test.ts b/x-pack/legacy/plugins/siem/public/components/navigation/breadcrumbs/index.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/breadcrumbs/index.test.ts rename to x-pack/legacy/plugins/siem/public/components/navigation/breadcrumbs/index.test.ts diff --git a/x-pack/plugins/siem/public/components/navigation/breadcrumbs/index.ts b/x-pack/legacy/plugins/siem/public/components/navigation/breadcrumbs/index.ts similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/breadcrumbs/index.ts rename to x-pack/legacy/plugins/siem/public/components/navigation/breadcrumbs/index.ts diff --git a/x-pack/plugins/siem/public/components/navigation/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/navigation/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/navigation/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/navigation/index.tsx b/x-pack/legacy/plugins/siem/public/components/navigation/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/index.tsx rename to x-pack/legacy/plugins/siem/public/components/navigation/index.tsx diff --git a/x-pack/plugins/siem/public/components/navigation/tab_navigation/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/navigation/tab_navigation/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/tab_navigation/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/navigation/tab_navigation/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/navigation/tab_navigation/index.tsx b/x-pack/legacy/plugins/siem/public/components/navigation/tab_navigation/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/tab_navigation/index.tsx rename to x-pack/legacy/plugins/siem/public/components/navigation/tab_navigation/index.tsx diff --git a/x-pack/plugins/siem/public/components/navigation/translations.ts b/x-pack/legacy/plugins/siem/public/components/navigation/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/navigation/translations.ts rename to x-pack/legacy/plugins/siem/public/components/navigation/translations.ts diff --git a/x-pack/plugins/siem/public/components/netflow/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/netflow/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/netflow/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/netflow/fingerprints/index.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/fingerprints/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/fingerprints/index.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/fingerprints/index.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/index.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/index.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/index.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/netflow_columns/duration_event_start_end.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/duration_event_start_end.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/netflow_columns/duration_event_start_end.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/duration_event_start_end.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/netflow_columns/index.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/netflow_columns/index.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/index.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/netflow_columns/types.ts b/x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/netflow_columns/types.ts rename to x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/types.ts diff --git a/x-pack/plugins/siem/public/components/netflow/netflow_columns/user_process.tsx b/x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/user_process.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/netflow_columns/user_process.tsx rename to x-pack/legacy/plugins/siem/public/components/netflow/netflow_columns/user_process.tsx diff --git a/x-pack/plugins/siem/public/components/netflow/types.ts b/x-pack/legacy/plugins/siem/public/components/netflow/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/netflow/types.ts rename to x-pack/legacy/plugins/siem/public/components/netflow/types.ts diff --git a/x-pack/plugins/siem/public/components/notes/add_note/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/notes/add_note/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/notes/add_note/__snapshots__/new_note.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/notes/add_note/__snapshots__/new_note.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/__snapshots__/new_note.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/__snapshots__/new_note.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/notes/add_note/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/add_note/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/add_note/index.tsx b/x-pack/legacy/plugins/siem/public/components/notes/add_note/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/index.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/index.tsx diff --git a/x-pack/plugins/siem/public/components/notes/add_note/new_note.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/add_note/new_note.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/new_note.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/new_note.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/add_note/new_note.tsx b/x-pack/legacy/plugins/siem/public/components/notes/add_note/new_note.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/add_note/new_note.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/add_note/new_note.tsx diff --git a/x-pack/plugins/siem/public/components/notes/columns.tsx b/x-pack/legacy/plugins/siem/public/components/notes/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/columns.tsx diff --git a/x-pack/plugins/siem/public/components/notes/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/notes/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/notes/index.tsx b/x-pack/legacy/plugins/siem/public/components/notes/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/index.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/index.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/__snapshots__/note_card_body.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/notes/note_card/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/index.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/index.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/index.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_card_body.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_body.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_card_body.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_body.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_card_body.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_body.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_card_body.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_body.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_card_header.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_header.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_card_header.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_header.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_card_header.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_header.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_card_header.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_card_header.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_created.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_created.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_created.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_created.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_card/note_created.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_card/note_created.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_card/note_created.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_card/note_created.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_cards/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_cards/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_cards/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_cards/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/notes/note_cards/index.tsx b/x-pack/legacy/plugins/siem/public/components/notes/note_cards/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/notes/note_cards/index.tsx rename to x-pack/legacy/plugins/siem/public/components/notes/note_cards/index.tsx diff --git a/x-pack/plugins/siem/public/components/notes/translations.ts b/x-pack/legacy/plugins/siem/public/components/notes/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/notes/translations.ts rename to x-pack/legacy/plugins/siem/public/components/notes/translations.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/constants.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/constants.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/constants.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/constants.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/delete_timeline_modal.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/delete_timeline_modal/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/helpers.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/helpers.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/note_previews/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/note_previews/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/note_previews/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/note_previews/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/note_previews/note_preview.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/note_preview.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/note_previews/note_preview.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/note_preview.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/note_previews/note_preview.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/note_preview.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/note_previews/note_preview.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/note_previews/note_preview.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/open_timeline_modal/open_timeline_modal.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/search_row/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/search_row/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/search_row/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/search_row/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/search_row/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/search_row/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/search_row/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/search_row/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/actions_columns.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_columns.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_columns.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_columns.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_columns.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_columns.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_columns.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_columns.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_styles.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_styles.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/common_styles.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/common_styles.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/extended_columns.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/icon_header_columns.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/timelines_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/timelines_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/timelines_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/title_row/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/title_row/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/title_row/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/title_row/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/title_row/index.tsx b/x-pack/legacy/plugins/siem/public/components/open_timeline/title_row/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/title_row/index.tsx rename to x-pack/legacy/plugins/siem/public/components/open_timeline/title_row/index.tsx diff --git a/x-pack/plugins/siem/public/components/open_timeline/translations.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/translations.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/translations.ts diff --git a/x-pack/plugins/siem/public/components/open_timeline/types.ts b/x-pack/legacy/plugins/siem/public/components/open_timeline/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/open_timeline/types.ts rename to x-pack/legacy/plugins/siem/public/components/open_timeline/types.ts diff --git a/x-pack/plugins/siem/public/components/page/add_to_kql/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/add_to_kql/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/add_to_kql/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/add_to_kql/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/add_to_kql/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/add_to_kql/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/add_to_kql/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/add_to_kql/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/add_to_kql/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/add_to_kql/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/add_to_kql/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/add_to_kql/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/add_to_kql/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/add_to_kql/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/add_to_kql/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/add_to_kql/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/authentications_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/authentications_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/hosts/authentications_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/authentications_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/authentications_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/authentications_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/authentications_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/authentications_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/authentications_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/authentications_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/authentications_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/events_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/events_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/hosts/events_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/events_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/events_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/events_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/events_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/events_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/events_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/events_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/events_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/first_last_seen_host/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/first_last_seen_host/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/first_last_seen_host/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/first_last_seen_host/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/first_last_seen_host/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/first_last_seen_host/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/first_last_seen_host/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/first_last_seen_host/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/host_overview/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/host_overview/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/hosts/host_overview/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/host_overview/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/host_overview/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/host_overview/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/host_overview/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/host_overview/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/host_overview/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/host_overview/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/host_overview/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/hosts_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/hosts_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/hosts_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/kpi_hosts/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/kpi_hosts/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/kpi_hosts/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/kpi_hosts/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/kpi_hosts/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/kpi_hosts/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/kpi_hosts/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/kpi_hosts/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/hosts/uncommon_process_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/hosts/uncommon_process_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/manage_query.tsx b/x-pack/legacy/plugins/siem/public/components/page/manage_query.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/manage_query.tsx rename to x-pack/legacy/plugins/siem/public/components/page/manage_query.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/domains_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/domains_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/domains_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/domains_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/first_last_seen_domain/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/first_last_seen_domain/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/first_last_seen_domain/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/first_last_seen_domain/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/first_last_seen_domain/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/first_last_seen_domain/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/first_last_seen_domain/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/first_last_seen_domain/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/flow_target_select_connected/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/flow_target_select_connected/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/flow_target_select_connected/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/flow_target_select_connected/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/flow_target_select_connected/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/flow_target_select_connected/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/flow_target_select_connected/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/flow_target_select_connected/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/ip_overview/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/ip_overview/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/ip_overview/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/ip_overview/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/ip_overview/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/ip_overview/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/ip_overview/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/ip_overview/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/ip_overview/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/ip_overview/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/ip_overview/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/kpi_network/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/kpi_network/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/kpi_network/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/kpi_network/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/kpi_network/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/kpi_network/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/kpi_network/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/kpi_network/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/kpi_network/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/kpi_network/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/kpi_network/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/is_ptr_included.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/is_ptr_included.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/is_ptr_included.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/__snapshots__/is_ptr_included.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/is_ptr_included.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/network_dns_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_dns_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/network_dns_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/network_top_n_flow_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/network_top_n_flow_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/tls_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/tls_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/tls_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/tls_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/columns.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/columns.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/columns.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/columns.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/network/users_table/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/network/users_table/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/network/users_table/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/network/users_table/translations.ts diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_host/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_host/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_host/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_host/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_host_stats/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_host_stats/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_host_stats/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_host_stats/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_host_stats/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_host_stats/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_host_stats/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_host_stats/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_host_stats/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_network/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_network/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_network/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_network_stats/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_network_stats/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_network_stats/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_network_stats/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_network_stats/index.tsx b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_network_stats/index.tsx rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/index.tsx diff --git a/x-pack/plugins/siem/public/components/page/overview/overview_network_stats/mock.ts b/x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/overview/overview_network_stats/mock.ts rename to x-pack/legacy/plugins/siem/public/components/page/overview/overview_network_stats/mock.ts diff --git a/x-pack/plugins/siem/public/components/page/translations.ts b/x-pack/legacy/plugins/siem/public/components/page/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/page/translations.ts rename to x-pack/legacy/plugins/siem/public/components/page/translations.ts diff --git a/x-pack/plugins/siem/public/components/pin/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/pin/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/pin/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/pin/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/pin/index.tsx b/x-pack/legacy/plugins/siem/public/components/pin/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/pin/index.tsx rename to x-pack/legacy/plugins/siem/public/components/pin/index.tsx diff --git a/x-pack/plugins/siem/public/components/port/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/port/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/port/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/port/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/port/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/port/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/port/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/port/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/port/index.tsx b/x-pack/legacy/plugins/siem/public/components/port/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/port/index.tsx rename to x-pack/legacy/plugins/siem/public/components/port/index.tsx diff --git a/x-pack/plugins/siem/public/components/resize_handle/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/resize_handle/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/resize_handle/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/resize_handle/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/resize_handle/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/resize_handle/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/resize_handle/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/resize_handle/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/resize_handle/index.tsx b/x-pack/legacy/plugins/siem/public/components/resize_handle/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/resize_handle/index.tsx rename to x-pack/legacy/plugins/siem/public/components/resize_handle/index.tsx diff --git a/x-pack/plugins/siem/public/components/resize_handle/is_resizing.tsx b/x-pack/legacy/plugins/siem/public/components/resize_handle/is_resizing.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/resize_handle/is_resizing.tsx rename to x-pack/legacy/plugins/siem/public/components/resize_handle/is_resizing.tsx diff --git a/x-pack/plugins/siem/public/components/resize_handle/styled_handles.tsx b/x-pack/legacy/plugins/siem/public/components/resize_handle/styled_handles.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/resize_handle/styled_handles.tsx rename to x-pack/legacy/plugins/siem/public/components/resize_handle/styled_handles.tsx diff --git a/x-pack/plugins/siem/public/components/scroll_to_top/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/scroll_to_top/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/scroll_to_top/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/scroll_to_top/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/scroll_to_top/index.tsx b/x-pack/legacy/plugins/siem/public/components/scroll_to_top/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/scroll_to_top/index.tsx rename to x-pack/legacy/plugins/siem/public/components/scroll_to_top/index.tsx diff --git a/x-pack/plugins/siem/public/components/selectable_text/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/selectable_text/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/selectable_text/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/selectable_text/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/selectable_text/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/selectable_text/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/selectable_text/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/selectable_text/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/selectable_text/index.tsx b/x-pack/legacy/plugins/siem/public/components/selectable_text/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/selectable_text/index.tsx rename to x-pack/legacy/plugins/siem/public/components/selectable_text/index.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/source_destination/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/source_destination/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/source_destination/country_flag.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/country_flag.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/country_flag.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/country_flag.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/field_names.ts b/x-pack/legacy/plugins/siem/public/components/source_destination/field_names.ts similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/field_names.ts rename to x-pack/legacy/plugins/siem/public/components/source_destination/field_names.ts diff --git a/x-pack/plugins/siem/public/components/source_destination/geo_fields.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/geo_fields.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/geo_fields.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/geo_fields.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/index.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/index.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/index.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/ip_with_port.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/ip_with_port.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/ip_with_port.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/ip_with_port.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/label.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/label.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/label.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/label.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/network.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/network.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/network.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/network.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/source_destination_arrows.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_arrows.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/source_destination_arrows.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_arrows.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/source_destination_ip.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_ip.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/source_destination_ip.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_ip.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/source_destination_with_arrows.tsx b/x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_with_arrows.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/source_destination_with_arrows.tsx rename to x-pack/legacy/plugins/siem/public/components/source_destination/source_destination_with_arrows.tsx diff --git a/x-pack/plugins/siem/public/components/source_destination/translations.ts b/x-pack/legacy/plugins/siem/public/components/source_destination/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/translations.ts rename to x-pack/legacy/plugins/siem/public/components/source_destination/translations.ts diff --git a/x-pack/plugins/siem/public/components/source_destination/types.ts b/x-pack/legacy/plugins/siem/public/components/source_destination/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/source_destination/types.ts rename to x-pack/legacy/plugins/siem/public/components/source_destination/types.ts diff --git a/x-pack/plugins/siem/public/components/stat_items/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/stat_items/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/stat_items/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/stat_items/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/stat_items/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/stat_items/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/stat_items/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/stat_items/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/stat_items/index.tsx b/x-pack/legacy/plugins/siem/public/components/stat_items/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/stat_items/index.tsx rename to x-pack/legacy/plugins/siem/public/components/stat_items/index.tsx diff --git a/x-pack/plugins/siem/public/components/super_date_picker/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/super_date_picker/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/super_date_picker/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/super_date_picker/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/super_date_picker/index.tsx b/x-pack/legacy/plugins/siem/public/components/super_date_picker/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/super_date_picker/index.tsx rename to x-pack/legacy/plugins/siem/public/components/super_date_picker/index.tsx diff --git a/x-pack/plugins/siem/public/components/tables/__snapshots__/helpers.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/tables/__snapshots__/helpers.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/tables/__snapshots__/helpers.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/tables/__snapshots__/helpers.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/tables/helpers.test.tsx b/x-pack/legacy/plugins/siem/public/components/tables/helpers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/tables/helpers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/tables/helpers.test.tsx diff --git a/x-pack/plugins/siem/public/components/tables/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/tables/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/tables/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/tables/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/__snapshots__/timeline.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/__snapshots__/timeline.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/__snapshots__/timeline.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/__snapshots__/timeline.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/auto_save_warning/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/auto_save_warning/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/auto_save_warning/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/auto_save_warning/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/auto_save_warning/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/auto_save_warning/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/auto_save_warning/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/auto_save_warning/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/actions/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/actions/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/actions/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/actions/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/actions/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/actions/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/actions/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/actions/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/actions/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/actions/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/actions/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/actions/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/column_header.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/column_header.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/column_header.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/column_header.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/common/styles.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/common/styles.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/common/styles.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/common/styles.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/default_headers.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/default_headers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/default_headers.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/default_headers.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/events_select/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/events_select/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/filter/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/filter/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header/helpers.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/helpers.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/header_tooltip_content/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/ranges.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/ranges.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/ranges.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/ranges.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/range_picker/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/range_picker/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/text_filter/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_headers/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_headers/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_headers/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/column_id.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/column_id.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/column_id.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/column_id.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/data_driven_columns/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/data_driven_columns/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/events/event_column_view.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/events/event_column_view.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/events/event_column_view.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/events/event_column_view.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/events/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/events/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/events/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/events/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/events/stateful_event.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/events/stateful_event.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/events/stateful_event.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/events/stateful_event.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/helpers.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/helpers.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/mini_map/date_ranges.test.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/mini_map/date_ranges.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/mini_map/date_ranges.test.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/mini_map/date_ranges.test.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/mini_map/date_ranges.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/mini_map/date_ranges.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/mini_map/date_ranges.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/mini_map/date_ranges.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/args.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/args.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/args.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/args.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/empty_column_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/empty_column_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/empty_column_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/empty_column_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/formatted_field.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/formatted_field.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/formatted_field.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/formatted_field.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_column_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_column_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_column_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_column_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/get_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/host_working_dir.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/host_working_dir.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/host_working_dir.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/host_working_dir.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_column_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_column_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_column_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_column_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/plain_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/process_draggable.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/process_draggable.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/process_draggable.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/process_draggable.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/unknown_column_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/unknown_column_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/unknown_column_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/unknown_column_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/user_host_working_dir.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/user_host_working_dir.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/__snapshots__/user_host_working_dir.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/__snapshots__/user_host_working_dir.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/args.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/args.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/args.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/args.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/args.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/args.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/args.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/args.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_file_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_file_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_file_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_file_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/generic_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/primary_secondary_user_info.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/primary_secondary_user_info.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/primary_secondary_user_info.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/primary_secondary_user_info.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/session_user_host_working_dir.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/session_user_host_working_dir.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/session_user_host_working_dir.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/__snapshots__/session_user_host_working_dir.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_file_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/generic_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/primary_secondary_user_info.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/session_user_host_working_dir.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/auditd/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/auditd/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/column_renderer.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/column_renderer.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/column_renderer.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/column_renderer.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/constants.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/constants.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/constants.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/constants.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/empty_column_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/formatted_field.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/formatted_field.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/formatted_field.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/formatted_field.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/formatted_field.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/formatted_field.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/formatted_field.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/formatted_field.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_column_renderer.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/get_row_renderer.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/helpers.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/helpers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/helpers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/helpers.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/host_working_dir.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/host_working_dir.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/host_working_dir.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/host_working_dir.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/host_working_dir.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/host_working_dir.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/host_working_dir.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/host_working_dir.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/index.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/index.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/index.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/index.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/netflow.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/netflow.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/__snapshots__/netflow_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/netflow/netflow_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/parse_query_value.test.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_query_value.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/parse_query_value.test.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_query_value.test.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/parse_query_value.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_query_value.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/parse_query_value.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_query_value.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/parse_value.test.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_value.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/parse_value.test.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_value.test.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/parse_value.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_value.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/parse_value.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/parse_value.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_column_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/plain_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/process_draggable.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/process_draggable.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/process_draggable.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/process_draggable.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/process_draggable.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/process_draggable.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/process_draggable.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/process_draggable.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/row_renderer.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/row_renderer.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/row_renderer.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/row_renderer.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_signature.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_signature.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_signature.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/__snapshots__/suricata_signature.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.test.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.test.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.test.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_links.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_refs.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_refs.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_refs.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_refs.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/suricata/suricata_signature.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/auth_ssh.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/auth_ssh.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/auth_ssh.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/auth_ssh.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_file_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_file_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_file_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_file_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/generic_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/package.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/package.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/package.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/__snapshots__/package.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/auth_ssh.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_file_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/generic_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/package.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/package.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/package.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/package.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/package.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/package.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/package.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/package.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/system/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/system/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/system/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/unknown_column_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/user_host_working_dir.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_row_renderer.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_row_renderer.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_row_renderer.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_row_renderer.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_signature.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_signature.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_signature.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_signature.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_row_renderer.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_signature.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/body/sort/index.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/sort/index.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/sort/index.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/sort/index.ts diff --git a/x-pack/plugins/siem/public/components/timeline/body/sort/sort_indicator.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/sort/sort_indicator.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/sort/sort_indicator.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/sort/sort_indicator.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/sort/sort_indicator.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/sort/sort_indicator.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/sort/sort_indicator.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/sort/sort_indicator.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/stateful_body.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/stateful_body.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/stateful_body.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/stateful_body.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/stateful_body.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/body/stateful_body.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/stateful_body.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/body/stateful_body.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/body/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/body/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/body/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/body/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/data_providers.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/data_providers.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/data_providers.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/data_providers.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/empty.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/empty.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/empty.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/empty.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/provider.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/provider.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/provider.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/provider.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/providers.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/providers.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/__snapshots__/providers.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/__snapshots__/providers.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/data_provider.ts b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/data_provider.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/data_provider.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/data_provider.ts diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/data_providers.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/data_providers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/data_providers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/data_providers.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/empty.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/empty.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/empty.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/empty.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/empty.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/empty.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/empty.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/empty.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/mock/mock_data_providers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/mock/mock_data_providers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/mock/mock_data_providers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/mock/mock_data_providers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider_badge.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_badge.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider_badge.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_badge.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_actions.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_actions.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_actions.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_actions.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_and.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_and.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_and.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_and.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_and_drag_drop.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_and_drag_drop.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_and_drag_drop.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_and_drag_drop.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_badge.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_badge.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/provider_item_badge.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/provider_item_badge.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/providers.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/providers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/providers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/providers.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/providers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/providers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/providers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/providers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/data_providers/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/data_providers/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/data_providers/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/data_providers/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/events.ts b/x-pack/legacy/plugins/siem/public/components/timeline/events.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/events.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/events.ts diff --git a/x-pack/plugins/siem/public/components/timeline/expandable_event/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/expandable_event/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/expandable_event/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/expandable_event/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/expandable_event/translations.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/expandable_event/translations.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/expandable_event/translations.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/expandable_event/translations.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/footer/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/footer/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/footer/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/footer/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/footer/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/footer/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/footer/last_updated.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/footer/last_updated.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/last_updated.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/last_updated.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/footer/mock.ts b/x-pack/legacy/plugins/siem/public/components/timeline/footer/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/mock.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/mock.ts diff --git a/x-pack/plugins/siem/public/components/timeline/footer/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/footer/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/footer/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/footer/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/header/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/timeline/header/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/header/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/timeline/header/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/timeline/header/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/header/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/header/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/header/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/header/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/header/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/header/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/header/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/helpers.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/helpers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/helpers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/helpers.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/properties/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/properties/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/properties/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/properties/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/properties/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/properties/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/properties/notes_size.ts b/x-pack/legacy/plugins/siem/public/components/timeline/properties/notes_size.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/notes_size.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/notes_size.ts diff --git a/x-pack/plugins/siem/public/components/timeline/properties/styles.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/properties/styles.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/styles.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/styles.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/properties/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/properties/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/properties/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/properties/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/refetch_timeline.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/refetch_timeline.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/refetch_timeline.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/refetch_timeline.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/search_or_filter/helpers.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/helpers.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/search_or_filter/helpers.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/helpers.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/search_or_filter/helpers.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/helpers.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/search_or_filter/helpers.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/helpers.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/search_or_filter/index.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/search_or_filter/index.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/index.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/search_or_filter/search_or_filter.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/search_or_filter.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/search_or_filter/search_or_filter.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/search_or_filter.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/search_or_filter/translations.ts b/x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/search_or_filter/translations.ts rename to x-pack/legacy/plugins/siem/public/components/timeline/search_or_filter/translations.ts diff --git a/x-pack/plugins/siem/public/components/timeline/timeline.test.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/timeline.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/timeline.test.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/timeline.test.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/timeline.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/timeline.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/timeline.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/timeline.tsx diff --git a/x-pack/plugins/siem/public/components/timeline/timeline_context.tsx b/x-pack/legacy/plugins/siem/public/components/timeline/timeline_context.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/timeline/timeline_context.tsx rename to x-pack/legacy/plugins/siem/public/components/timeline/timeline_context.tsx diff --git a/x-pack/plugins/siem/public/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/toasters/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/toasters/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/toasters/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/toasters/index.tsx b/x-pack/legacy/plugins/siem/public/components/toasters/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/index.tsx rename to x-pack/legacy/plugins/siem/public/components/toasters/index.tsx diff --git a/x-pack/plugins/siem/public/components/toasters/modal_all_errors.test.tsx b/x-pack/legacy/plugins/siem/public/components/toasters/modal_all_errors.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/modal_all_errors.test.tsx rename to x-pack/legacy/plugins/siem/public/components/toasters/modal_all_errors.test.tsx diff --git a/x-pack/plugins/siem/public/components/toasters/modal_all_errors.tsx b/x-pack/legacy/plugins/siem/public/components/toasters/modal_all_errors.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/modal_all_errors.tsx rename to x-pack/legacy/plugins/siem/public/components/toasters/modal_all_errors.tsx diff --git a/x-pack/plugins/siem/public/components/toasters/translations.ts b/x-pack/legacy/plugins/siem/public/components/toasters/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/components/toasters/translations.ts rename to x-pack/legacy/plugins/siem/public/components/toasters/translations.ts diff --git a/x-pack/plugins/siem/public/components/truncatable_text/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/truncatable_text/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/truncatable_text/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/truncatable_text/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/truncatable_text/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/truncatable_text/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/truncatable_text/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/truncatable_text/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/truncatable_text/index.tsx b/x-pack/legacy/plugins/siem/public/components/truncatable_text/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/truncatable_text/index.tsx rename to x-pack/legacy/plugins/siem/public/components/truncatable_text/index.tsx diff --git a/x-pack/plugins/siem/public/components/url_state/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/url_state/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/__snapshots__/index.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/components/url_state/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/siem/public/components/url_state/constants.ts b/x-pack/legacy/plugins/siem/public/components/url_state/constants.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/constants.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/constants.ts diff --git a/x-pack/plugins/siem/public/components/url_state/helpers.test.ts b/x-pack/legacy/plugins/siem/public/components/url_state/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/helpers.test.ts diff --git a/x-pack/plugins/siem/public/components/url_state/helpers.ts b/x-pack/legacy/plugins/siem/public/components/url_state/helpers.ts similarity index 97% rename from x-pack/plugins/siem/public/components/url_state/helpers.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/helpers.ts index fb69469d25424..42accb03414ed 100644 --- a/x-pack/plugins/siem/public/components/url_state/helpers.ts +++ b/x-pack/legacy/plugins/siem/public/components/url_state/helpers.ts @@ -38,7 +38,7 @@ export const replaceStateKeyInQueryString = ( urlState: UrlState | undefined ) => (queryString: string) => { const previousQueryValues = QueryString.decode(queryString); - // ಠ_ಠ Code was copied from x-pack/plugins/infra/public/utils/url_state.tsx ಠ_ಠ + // ಠ_ಠ Code was copied from x-pack/legacy/plugins/infra/public/utils/url_state.tsx ಠ_ಠ // Remove this if these utilities are promoted to kibana core const encodedUrlState = typeof urlState !== 'undefined' ? encodeRisonUrlState(urlState) : undefined; diff --git a/x-pack/plugins/siem/public/components/url_state/index.test.tsx b/x-pack/legacy/plugins/siem/public/components/url_state/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/index.test.tsx rename to x-pack/legacy/plugins/siem/public/components/url_state/index.test.tsx diff --git a/x-pack/plugins/siem/public/components/url_state/index.tsx b/x-pack/legacy/plugins/siem/public/components/url_state/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/index.tsx rename to x-pack/legacy/plugins/siem/public/components/url_state/index.tsx diff --git a/x-pack/plugins/siem/public/components/url_state/index_mocked.test.tsx b/x-pack/legacy/plugins/siem/public/components/url_state/index_mocked.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/index_mocked.test.tsx rename to x-pack/legacy/plugins/siem/public/components/url_state/index_mocked.test.tsx diff --git a/x-pack/plugins/siem/public/components/url_state/normalize_time_range.test.ts b/x-pack/legacy/plugins/siem/public/components/url_state/normalize_time_range.test.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/normalize_time_range.test.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/normalize_time_range.test.ts diff --git a/x-pack/plugins/siem/public/components/url_state/normalize_time_range.ts b/x-pack/legacy/plugins/siem/public/components/url_state/normalize_time_range.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/normalize_time_range.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/normalize_time_range.ts diff --git a/x-pack/plugins/siem/public/components/url_state/test_dependencies.ts b/x-pack/legacy/plugins/siem/public/components/url_state/test_dependencies.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/test_dependencies.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/test_dependencies.ts diff --git a/x-pack/plugins/siem/public/components/url_state/types.ts b/x-pack/legacy/plugins/siem/public/components/url_state/types.ts similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/types.ts rename to x-pack/legacy/plugins/siem/public/components/url_state/types.ts diff --git a/x-pack/plugins/siem/public/components/url_state/use_url_state.tsx b/x-pack/legacy/plugins/siem/public/components/url_state/use_url_state.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/url_state/use_url_state.tsx rename to x-pack/legacy/plugins/siem/public/components/url_state/use_url_state.tsx diff --git a/x-pack/plugins/siem/public/components/with_hover_actions/index.tsx b/x-pack/legacy/plugins/siem/public/components/with_hover_actions/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/components/with_hover_actions/index.tsx rename to x-pack/legacy/plugins/siem/public/components/with_hover_actions/index.tsx diff --git a/x-pack/plugins/siem/public/containers/authentications/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/authentications/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/authentications/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/authentications/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/authentications/index.tsx b/x-pack/legacy/plugins/siem/public/containers/authentications/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/authentications/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/authentications/index.tsx diff --git a/x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/first_last_seen.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/first_last_seen.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/first_last_seen.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/first_last_seen.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/index.ts b/x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/index.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/index.ts rename to x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/index.ts diff --git a/x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/mock.ts b/x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/domains/first_last_seen_domain/mock.ts rename to x-pack/legacy/plugins/siem/public/containers/domains/first_last_seen_domain/mock.ts diff --git a/x-pack/plugins/siem/public/containers/domains/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/domains/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/domains/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/domains/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/domains/index.tsx b/x-pack/legacy/plugins/siem/public/containers/domains/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/domains/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/domains/index.tsx diff --git a/x-pack/plugins/siem/public/containers/errors/index.test.tsx b/x-pack/legacy/plugins/siem/public/containers/errors/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/errors/index.test.tsx rename to x-pack/legacy/plugins/siem/public/containers/errors/index.test.tsx diff --git a/x-pack/plugins/siem/public/containers/errors/index.tsx b/x-pack/legacy/plugins/siem/public/containers/errors/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/errors/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/errors/index.tsx diff --git a/x-pack/plugins/siem/public/containers/errors/translations.ts b/x-pack/legacy/plugins/siem/public/containers/errors/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/errors/translations.ts rename to x-pack/legacy/plugins/siem/public/containers/errors/translations.ts diff --git a/x-pack/plugins/siem/public/containers/events/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/events/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/events/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/events/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/events/index.tsx b/x-pack/legacy/plugins/siem/public/containers/events/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/events/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/events/index.tsx diff --git a/x-pack/plugins/siem/public/containers/events/last_event_time/index.ts b/x-pack/legacy/plugins/siem/public/containers/events/last_event_time/index.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/events/last_event_time/index.ts rename to x-pack/legacy/plugins/siem/public/containers/events/last_event_time/index.ts diff --git a/x-pack/plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/events/last_event_time/mock.ts b/x-pack/legacy/plugins/siem/public/containers/events/last_event_time/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/events/last_event_time/mock.ts rename to x-pack/legacy/plugins/siem/public/containers/events/last_event_time/mock.ts diff --git a/x-pack/plugins/siem/public/containers/global_time/index.tsx b/x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/global_time/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/global_time/index.tsx diff --git a/x-pack/plugins/siem/public/containers/helpers.test.ts b/x-pack/legacy/plugins/siem/public/containers/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/containers/helpers.test.ts diff --git a/x-pack/plugins/siem/public/containers/helpers.ts b/x-pack/legacy/plugins/siem/public/containers/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/helpers.ts rename to x-pack/legacy/plugins/siem/public/containers/helpers.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/filter.tsx b/x-pack/legacy/plugins/siem/public/containers/hosts/filter.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/filter.tsx rename to x-pack/legacy/plugins/siem/public/containers/hosts/filter.tsx diff --git a/x-pack/plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/first_last_seen/index.ts b/x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/index.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/first_last_seen/index.ts rename to x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/index.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/first_last_seen/mock.ts b/x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/first_last_seen/mock.ts rename to x-pack/legacy/plugins/siem/public/containers/hosts/first_last_seen/mock.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/hosts_table.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/hosts/hosts_table.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/hosts_table.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/hosts/hosts_table.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/index.tsx b/x-pack/legacy/plugins/siem/public/containers/hosts/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/hosts/index.tsx diff --git a/x-pack/plugins/siem/public/containers/hosts/overview/host_overview.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/hosts/overview/host_overview.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/overview/host_overview.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/hosts/overview/host_overview.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/hosts/overview/index.tsx b/x-pack/legacy/plugins/siem/public/containers/hosts/overview/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/hosts/overview/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/hosts/overview/index.tsx diff --git a/x-pack/plugins/siem/public/containers/ip_overview/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/ip_overview/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/ip_overview/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/ip_overview/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/ip_overview/index.tsx b/x-pack/legacy/plugins/siem/public/containers/ip_overview/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/ip_overview/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/ip_overview/index.tsx diff --git a/x-pack/plugins/siem/public/containers/kpi_hosts/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/kpi_hosts/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/kpi_hosts/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/kpi_hosts/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/kpi_hosts/index.tsx b/x-pack/legacy/plugins/siem/public/containers/kpi_hosts/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/kpi_hosts/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/kpi_hosts/index.tsx diff --git a/x-pack/plugins/siem/public/containers/kpi_network/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/kpi_network/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/kpi_network/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/kpi_network/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/kpi_network/index.tsx b/x-pack/legacy/plugins/siem/public/containers/kpi_network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/kpi_network/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/kpi_network/index.tsx diff --git a/x-pack/plugins/siem/public/containers/kuery_autocompletion/index.tsx b/x-pack/legacy/plugins/siem/public/containers/kuery_autocompletion/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/kuery_autocompletion/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/kuery_autocompletion/index.tsx diff --git a/x-pack/plugins/siem/public/containers/network/filter.tsx b/x-pack/legacy/plugins/siem/public/containers/network/filter.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/network/filter.tsx rename to x-pack/legacy/plugins/siem/public/containers/network/filter.tsx diff --git a/x-pack/plugins/siem/public/containers/network/index.tsx b/x-pack/legacy/plugins/siem/public/containers/network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/network/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/network/index.tsx diff --git a/x-pack/plugins/siem/public/containers/network_dns/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/network_dns/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/network_dns/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/network_dns/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/network_dns/index.tsx b/x-pack/legacy/plugins/siem/public/containers/network_dns/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/network_dns/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/network_dns/index.tsx diff --git a/x-pack/plugins/siem/public/containers/network_top_n_flow/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/network_top_n_flow/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/network_top_n_flow/index.tsx b/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/network_top_n_flow/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx diff --git a/x-pack/plugins/siem/public/containers/overview/overview_host/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/overview/overview_host/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/overview/overview_host/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/overview/overview_host/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/overview/overview_host/index.tsx b/x-pack/legacy/plugins/siem/public/containers/overview/overview_host/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/overview/overview_host/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/overview/overview_host/index.tsx diff --git a/x-pack/plugins/siem/public/containers/overview/overview_network/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/overview/overview_network/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/overview/overview_network/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/overview/overview_network/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/overview/overview_network/index.tsx b/x-pack/legacy/plugins/siem/public/containers/overview/overview_network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/overview/overview_network/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/overview/overview_network/index.tsx diff --git a/x-pack/plugins/siem/public/containers/query_template.tsx b/x-pack/legacy/plugins/siem/public/containers/query_template.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/query_template.tsx rename to x-pack/legacy/plugins/siem/public/containers/query_template.tsx diff --git a/x-pack/plugins/siem/public/containers/source/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/source/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/source/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/source/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/source/index.test.tsx b/x-pack/legacy/plugins/siem/public/containers/source/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/source/index.test.tsx rename to x-pack/legacy/plugins/siem/public/containers/source/index.test.tsx diff --git a/x-pack/plugins/siem/public/containers/source/index.tsx b/x-pack/legacy/plugins/siem/public/containers/source/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/source/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/source/index.tsx diff --git a/x-pack/plugins/siem/public/containers/source/mock.ts b/x-pack/legacy/plugins/siem/public/containers/source/mock.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/source/mock.ts rename to x-pack/legacy/plugins/siem/public/containers/source/mock.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/all/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/all/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/all/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/all/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/all/index.tsx b/x-pack/legacy/plugins/siem/public/containers/timeline/all/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/all/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/timeline/all/index.tsx diff --git a/x-pack/plugins/siem/public/containers/timeline/delete/persist.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/delete/persist.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/delete/persist.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/delete/persist.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/details/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/details/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/details/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/details/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/details/index.tsx b/x-pack/legacy/plugins/siem/public/containers/timeline/details/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/details/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/timeline/details/index.tsx diff --git a/x-pack/plugins/siem/public/containers/timeline/favorite/persist.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/favorite/persist.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/favorite/persist.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/favorite/persist.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/index.tsx b/x-pack/legacy/plugins/siem/public/containers/timeline/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/timeline/index.tsx diff --git a/x-pack/plugins/siem/public/containers/timeline/notes/persist.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/notes/persist.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/notes/persist.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/notes/persist.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/one/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/one/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/one/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/one/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/persist.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/persist.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/persist.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/persist.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/timeline/pinned_event/persist.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/timeline/pinned_event/persist.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/timeline/pinned_event/persist.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/timeline/pinned_event/persist.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/tls/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/tls/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/tls/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/tls/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/tls/index.tsx b/x-pack/legacy/plugins/siem/public/containers/tls/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/tls/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/tls/index.tsx diff --git a/x-pack/plugins/siem/public/containers/uncommon_processes/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/uncommon_processes/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/uncommon_processes/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/uncommon_processes/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/uncommon_processes/index.tsx b/x-pack/legacy/plugins/siem/public/containers/uncommon_processes/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/uncommon_processes/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/uncommon_processes/index.tsx diff --git a/x-pack/plugins/siem/public/containers/users/index.gql_query.ts b/x-pack/legacy/plugins/siem/public/containers/users/index.gql_query.ts similarity index 100% rename from x-pack/plugins/siem/public/containers/users/index.gql_query.ts rename to x-pack/legacy/plugins/siem/public/containers/users/index.gql_query.ts diff --git a/x-pack/plugins/siem/public/containers/users/index.tsx b/x-pack/legacy/plugins/siem/public/containers/users/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/containers/users/index.tsx rename to x-pack/legacy/plugins/siem/public/containers/users/index.tsx diff --git a/x-pack/plugins/siem/public/graphql/introspection.json b/x-pack/legacy/plugins/siem/public/graphql/introspection.json similarity index 100% rename from x-pack/plugins/siem/public/graphql/introspection.json rename to x-pack/legacy/plugins/siem/public/graphql/introspection.json diff --git a/x-pack/plugins/siem/public/graphql/types.ts b/x-pack/legacy/plugins/siem/public/graphql/types.ts similarity index 100% rename from x-pack/plugins/siem/public/graphql/types.ts rename to x-pack/legacy/plugins/siem/public/graphql/types.ts diff --git a/x-pack/plugins/siem/public/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/siem/public/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/siem/public/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/siem/public/lib/adapters/framework/testing_framework_adapter.ts b/x-pack/legacy/plugins/siem/public/lib/adapters/framework/testing_framework_adapter.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/adapters/framework/testing_framework_adapter.ts rename to x-pack/legacy/plugins/siem/public/lib/adapters/framework/testing_framework_adapter.ts diff --git a/x-pack/plugins/siem/public/lib/adapters/observable_api/kibana_observable_api.ts b/x-pack/legacy/plugins/siem/public/lib/adapters/observable_api/kibana_observable_api.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/adapters/observable_api/kibana_observable_api.ts rename to x-pack/legacy/plugins/siem/public/lib/adapters/observable_api/kibana_observable_api.ts diff --git a/x-pack/plugins/siem/public/lib/clipboard/clipboard.tsx b/x-pack/legacy/plugins/siem/public/lib/clipboard/clipboard.tsx similarity index 100% rename from x-pack/plugins/siem/public/lib/clipboard/clipboard.tsx rename to x-pack/legacy/plugins/siem/public/lib/clipboard/clipboard.tsx diff --git a/x-pack/plugins/siem/public/lib/clipboard/translations.ts b/x-pack/legacy/plugins/siem/public/lib/clipboard/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/clipboard/translations.ts rename to x-pack/legacy/plugins/siem/public/lib/clipboard/translations.ts diff --git a/x-pack/plugins/siem/public/lib/clipboard/with_copy_to_clipboard.tsx b/x-pack/legacy/plugins/siem/public/lib/clipboard/with_copy_to_clipboard.tsx similarity index 100% rename from x-pack/plugins/siem/public/lib/clipboard/with_copy_to_clipboard.tsx rename to x-pack/legacy/plugins/siem/public/lib/clipboard/with_copy_to_clipboard.tsx diff --git a/x-pack/plugins/siem/public/lib/compose/helpers.test.ts b/x-pack/legacy/plugins/siem/public/lib/compose/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/compose/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/lib/compose/helpers.test.ts diff --git a/x-pack/plugins/siem/public/lib/compose/helpers.ts b/x-pack/legacy/plugins/siem/public/lib/compose/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/compose/helpers.ts rename to x-pack/legacy/plugins/siem/public/lib/compose/helpers.ts diff --git a/x-pack/plugins/siem/public/lib/compose/kibana_compose.ts b/x-pack/legacy/plugins/siem/public/lib/compose/kibana_compose.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/compose/kibana_compose.ts rename to x-pack/legacy/plugins/siem/public/lib/compose/kibana_compose.ts diff --git a/x-pack/plugins/siem/public/lib/compose/testing_compose.ts b/x-pack/legacy/plugins/siem/public/lib/compose/testing_compose.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/compose/testing_compose.ts rename to x-pack/legacy/plugins/siem/public/lib/compose/testing_compose.ts diff --git a/x-pack/plugins/siem/public/lib/helpers/index.test.tsx b/x-pack/legacy/plugins/siem/public/lib/helpers/index.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/lib/helpers/index.test.tsx rename to x-pack/legacy/plugins/siem/public/lib/helpers/index.test.tsx diff --git a/x-pack/plugins/siem/public/lib/helpers/index.tsx b/x-pack/legacy/plugins/siem/public/lib/helpers/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/lib/helpers/index.tsx rename to x-pack/legacy/plugins/siem/public/lib/helpers/index.tsx diff --git a/x-pack/plugins/siem/public/lib/history/index.ts b/x-pack/legacy/plugins/siem/public/lib/history/index.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/history/index.ts rename to x-pack/legacy/plugins/siem/public/lib/history/index.ts diff --git a/x-pack/plugins/siem/public/lib/keury/index.test.ts b/x-pack/legacy/plugins/siem/public/lib/keury/index.test.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/keury/index.test.ts rename to x-pack/legacy/plugins/siem/public/lib/keury/index.test.ts diff --git a/x-pack/plugins/siem/public/lib/keury/index.ts b/x-pack/legacy/plugins/siem/public/lib/keury/index.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/keury/index.ts rename to x-pack/legacy/plugins/siem/public/lib/keury/index.ts diff --git a/x-pack/plugins/siem/public/lib/lib.ts b/x-pack/legacy/plugins/siem/public/lib/lib.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/lib.ts rename to x-pack/legacy/plugins/siem/public/lib/lib.ts diff --git a/x-pack/plugins/siem/public/lib/note/index.ts b/x-pack/legacy/plugins/siem/public/lib/note/index.ts similarity index 100% rename from x-pack/plugins/siem/public/lib/note/index.ts rename to x-pack/legacy/plugins/siem/public/lib/note/index.ts diff --git a/x-pack/plugins/siem/public/lib/track_usage/index.ts b/x-pack/legacy/plugins/siem/public/lib/track_usage/index.ts similarity index 80% rename from x-pack/plugins/siem/public/lib/track_usage/index.ts rename to x-pack/legacy/plugins/siem/public/lib/track_usage/index.ts index fadeace8ba628..b2ebbaa2baea6 100644 --- a/x-pack/plugins/siem/public/lib/track_usage/index.ts +++ b/x-pack/legacy/plugins/siem/public/lib/track_usage/index.ts @@ -5,7 +5,7 @@ */ // @ts-ignore -import { trackUiMetric } from '../../../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric } from '../../../../../../../src/legacy/core_plugins/ui_metric/public'; import { APP_ID } from '../../../common/constants'; export const trackUiAction = (metricType: string) => trackUiMetric(APP_ID, metricType); diff --git a/x-pack/plugins/siem/public/mock/global_state.ts b/x-pack/legacy/plugins/siem/public/mock/global_state.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/global_state.ts rename to x-pack/legacy/plugins/siem/public/mock/global_state.ts diff --git a/x-pack/plugins/siem/public/mock/header.ts b/x-pack/legacy/plugins/siem/public/mock/header.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/header.ts rename to x-pack/legacy/plugins/siem/public/mock/header.ts diff --git a/x-pack/plugins/siem/public/mock/hook_wrapper.tsx b/x-pack/legacy/plugins/siem/public/mock/hook_wrapper.tsx similarity index 100% rename from x-pack/plugins/siem/public/mock/hook_wrapper.tsx rename to x-pack/legacy/plugins/siem/public/mock/hook_wrapper.tsx diff --git a/x-pack/plugins/siem/public/mock/index.ts b/x-pack/legacy/plugins/siem/public/mock/index.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/index.ts rename to x-pack/legacy/plugins/siem/public/mock/index.ts diff --git a/x-pack/plugins/siem/public/mock/index_pattern.ts b/x-pack/legacy/plugins/siem/public/mock/index_pattern.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/index_pattern.ts rename to x-pack/legacy/plugins/siem/public/mock/index_pattern.ts diff --git a/x-pack/plugins/siem/public/mock/kibana_config.ts b/x-pack/legacy/plugins/siem/public/mock/kibana_config.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/kibana_config.ts rename to x-pack/legacy/plugins/siem/public/mock/kibana_config.ts diff --git a/x-pack/plugins/siem/public/mock/match_media.ts b/x-pack/legacy/plugins/siem/public/mock/match_media.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/match_media.ts rename to x-pack/legacy/plugins/siem/public/mock/match_media.ts diff --git a/x-pack/plugins/siem/public/mock/mock_detail_item.ts b/x-pack/legacy/plugins/siem/public/mock/mock_detail_item.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/mock_detail_item.ts rename to x-pack/legacy/plugins/siem/public/mock/mock_detail_item.ts diff --git a/x-pack/plugins/siem/public/mock/mock_ecs.ts b/x-pack/legacy/plugins/siem/public/mock/mock_ecs.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/mock_ecs.ts rename to x-pack/legacy/plugins/siem/public/mock/mock_ecs.ts diff --git a/x-pack/plugins/siem/public/mock/mock_timeline_data.ts b/x-pack/legacy/plugins/siem/public/mock/mock_timeline_data.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/mock_timeline_data.ts rename to x-pack/legacy/plugins/siem/public/mock/mock_timeline_data.ts diff --git a/x-pack/plugins/siem/public/mock/netflow.ts b/x-pack/legacy/plugins/siem/public/mock/netflow.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/netflow.ts rename to x-pack/legacy/plugins/siem/public/mock/netflow.ts diff --git a/x-pack/plugins/siem/public/mock/test_providers.tsx b/x-pack/legacy/plugins/siem/public/mock/test_providers.tsx similarity index 100% rename from x-pack/plugins/siem/public/mock/test_providers.tsx rename to x-pack/legacy/plugins/siem/public/mock/test_providers.tsx diff --git a/x-pack/plugins/siem/public/mock/timeline_results.ts b/x-pack/legacy/plugins/siem/public/mock/timeline_results.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/timeline_results.ts rename to x-pack/legacy/plugins/siem/public/mock/timeline_results.ts diff --git a/x-pack/plugins/siem/public/mock/ui_settings.ts b/x-pack/legacy/plugins/siem/public/mock/ui_settings.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/ui_settings.ts rename to x-pack/legacy/plugins/siem/public/mock/ui_settings.ts diff --git a/x-pack/plugins/siem/public/mock/utils.ts b/x-pack/legacy/plugins/siem/public/mock/utils.ts similarity index 100% rename from x-pack/plugins/siem/public/mock/utils.ts rename to x-pack/legacy/plugins/siem/public/mock/utils.ts diff --git a/x-pack/plugins/siem/public/pages/404.tsx b/x-pack/legacy/plugins/siem/public/pages/404.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/404.tsx rename to x-pack/legacy/plugins/siem/public/pages/404.tsx diff --git a/x-pack/plugins/siem/public/pages/home/index.tsx b/x-pack/legacy/plugins/siem/public/pages/home/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/home/index.tsx rename to x-pack/legacy/plugins/siem/public/pages/home/index.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/host_details.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/host_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/host_details.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/host_details.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/hosts.test.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/hosts.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/hosts.test.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/hosts.test.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/hosts.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/hosts.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/hosts.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/hosts.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/hosts_empty_page.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/hosts_empty_page.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/hosts_empty_page.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/hosts_empty_page.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/index.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/index.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/index.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/kql.tsx b/x-pack/legacy/plugins/siem/public/pages/hosts/kql.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/kql.tsx rename to x-pack/legacy/plugins/siem/public/pages/hosts/kql.tsx diff --git a/x-pack/plugins/siem/public/pages/hosts/translations.ts b/x-pack/legacy/plugins/siem/public/pages/hosts/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/pages/hosts/translations.ts rename to x-pack/legacy/plugins/siem/public/pages/hosts/translations.ts diff --git a/x-pack/plugins/siem/public/pages/network/__snapshots__/ip_details.test.tsx.snap b/x-pack/legacy/plugins/siem/public/pages/network/__snapshots__/ip_details.test.tsx.snap similarity index 100% rename from x-pack/plugins/siem/public/pages/network/__snapshots__/ip_details.test.tsx.snap rename to x-pack/legacy/plugins/siem/public/pages/network/__snapshots__/ip_details.test.tsx.snap diff --git a/x-pack/plugins/siem/public/pages/network/index.tsx b/x-pack/legacy/plugins/siem/public/pages/network/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/index.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/index.tsx diff --git a/x-pack/plugins/siem/public/pages/network/ip_details.test.tsx b/x-pack/legacy/plugins/siem/public/pages/network/ip_details.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/ip_details.test.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/ip_details.test.tsx diff --git a/x-pack/plugins/siem/public/pages/network/ip_details.tsx b/x-pack/legacy/plugins/siem/public/pages/network/ip_details.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/ip_details.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/ip_details.tsx diff --git a/x-pack/plugins/siem/public/pages/network/kql.tsx b/x-pack/legacy/plugins/siem/public/pages/network/kql.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/kql.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/kql.tsx diff --git a/x-pack/plugins/siem/public/pages/network/network.test.tsx b/x-pack/legacy/plugins/siem/public/pages/network/network.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/network.test.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/network.test.tsx diff --git a/x-pack/plugins/siem/public/pages/network/network.tsx b/x-pack/legacy/plugins/siem/public/pages/network/network.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/network.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/network.tsx diff --git a/x-pack/plugins/siem/public/pages/network/network_empty_page.tsx b/x-pack/legacy/plugins/siem/public/pages/network/network_empty_page.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/network/network_empty_page.tsx rename to x-pack/legacy/plugins/siem/public/pages/network/network_empty_page.tsx diff --git a/x-pack/plugins/siem/public/pages/network/translations.ts b/x-pack/legacy/plugins/siem/public/pages/network/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/pages/network/translations.ts rename to x-pack/legacy/plugins/siem/public/pages/network/translations.ts diff --git a/x-pack/plugins/siem/public/pages/overview/index.tsx b/x-pack/legacy/plugins/siem/public/pages/overview/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/overview/index.tsx rename to x-pack/legacy/plugins/siem/public/pages/overview/index.tsx diff --git a/x-pack/plugins/siem/public/pages/overview/overview.test.tsx b/x-pack/legacy/plugins/siem/public/pages/overview/overview.test.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/overview/overview.test.tsx rename to x-pack/legacy/plugins/siem/public/pages/overview/overview.test.tsx diff --git a/x-pack/plugins/siem/public/pages/overview/overview.tsx b/x-pack/legacy/plugins/siem/public/pages/overview/overview.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/overview/overview.tsx rename to x-pack/legacy/plugins/siem/public/pages/overview/overview.tsx diff --git a/x-pack/plugins/siem/public/pages/overview/summary.tsx b/x-pack/legacy/plugins/siem/public/pages/overview/summary.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/overview/summary.tsx rename to x-pack/legacy/plugins/siem/public/pages/overview/summary.tsx diff --git a/x-pack/plugins/siem/public/pages/overview/translations.ts b/x-pack/legacy/plugins/siem/public/pages/overview/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/pages/overview/translations.ts rename to x-pack/legacy/plugins/siem/public/pages/overview/translations.ts diff --git a/x-pack/plugins/siem/public/pages/timelines/index.tsx b/x-pack/legacy/plugins/siem/public/pages/timelines/index.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/timelines/index.tsx rename to x-pack/legacy/plugins/siem/public/pages/timelines/index.tsx diff --git a/x-pack/plugins/siem/public/pages/timelines/timelines_page.tsx b/x-pack/legacy/plugins/siem/public/pages/timelines/timelines_page.tsx similarity index 100% rename from x-pack/plugins/siem/public/pages/timelines/timelines_page.tsx rename to x-pack/legacy/plugins/siem/public/pages/timelines/timelines_page.tsx diff --git a/x-pack/plugins/siem/public/pages/timelines/translations.ts b/x-pack/legacy/plugins/siem/public/pages/timelines/translations.ts similarity index 100% rename from x-pack/plugins/siem/public/pages/timelines/translations.ts rename to x-pack/legacy/plugins/siem/public/pages/timelines/translations.ts diff --git a/x-pack/plugins/siem/public/register_feature.ts b/x-pack/legacy/plugins/siem/public/register_feature.ts similarity index 100% rename from x-pack/plugins/siem/public/register_feature.ts rename to x-pack/legacy/plugins/siem/public/register_feature.ts diff --git a/x-pack/plugins/siem/public/routes.tsx b/x-pack/legacy/plugins/siem/public/routes.tsx similarity index 100% rename from x-pack/plugins/siem/public/routes.tsx rename to x-pack/legacy/plugins/siem/public/routes.tsx diff --git a/x-pack/plugins/siem/public/store/actions.ts b/x-pack/legacy/plugins/siem/public/store/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/actions.ts rename to x-pack/legacy/plugins/siem/public/store/actions.ts diff --git a/x-pack/plugins/siem/public/store/app/actions.ts b/x-pack/legacy/plugins/siem/public/store/app/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/app/actions.ts rename to x-pack/legacy/plugins/siem/public/store/app/actions.ts diff --git a/x-pack/plugins/siem/public/store/app/index.ts b/x-pack/legacy/plugins/siem/public/store/app/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/app/index.ts rename to x-pack/legacy/plugins/siem/public/store/app/index.ts diff --git a/x-pack/plugins/siem/public/store/app/model.ts b/x-pack/legacy/plugins/siem/public/store/app/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/app/model.ts rename to x-pack/legacy/plugins/siem/public/store/app/model.ts diff --git a/x-pack/plugins/siem/public/store/app/reducer.ts b/x-pack/legacy/plugins/siem/public/store/app/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/app/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/app/reducer.ts diff --git a/x-pack/plugins/siem/public/store/app/selectors.ts b/x-pack/legacy/plugins/siem/public/store/app/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/app/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/app/selectors.ts diff --git a/x-pack/plugins/siem/public/store/constants.ts b/x-pack/legacy/plugins/siem/public/store/constants.ts similarity index 100% rename from x-pack/plugins/siem/public/store/constants.ts rename to x-pack/legacy/plugins/siem/public/store/constants.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/actions.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/actions.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/actions.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/index.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/index.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/index.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/model.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/model.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/model.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/reducer.test.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/reducer.test.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/reducer.test.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/reducer.test.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/reducer.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/reducer.ts diff --git a/x-pack/plugins/siem/public/store/drag_and_drop/selectors.ts b/x-pack/legacy/plugins/siem/public/store/drag_and_drop/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/drag_and_drop/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/drag_and_drop/selectors.ts diff --git a/x-pack/plugins/siem/public/store/epic.ts b/x-pack/legacy/plugins/siem/public/store/epic.ts similarity index 100% rename from x-pack/plugins/siem/public/store/epic.ts rename to x-pack/legacy/plugins/siem/public/store/epic.ts diff --git a/x-pack/plugins/siem/public/store/hosts/actions.ts b/x-pack/legacy/plugins/siem/public/store/hosts/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/hosts/actions.ts rename to x-pack/legacy/plugins/siem/public/store/hosts/actions.ts diff --git a/x-pack/plugins/siem/public/store/hosts/index.ts b/x-pack/legacy/plugins/siem/public/store/hosts/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/hosts/index.ts rename to x-pack/legacy/plugins/siem/public/store/hosts/index.ts diff --git a/x-pack/plugins/siem/public/store/hosts/model.ts b/x-pack/legacy/plugins/siem/public/store/hosts/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/hosts/model.ts rename to x-pack/legacy/plugins/siem/public/store/hosts/model.ts diff --git a/x-pack/plugins/siem/public/store/hosts/reducer.ts b/x-pack/legacy/plugins/siem/public/store/hosts/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/hosts/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/hosts/reducer.ts diff --git a/x-pack/plugins/siem/public/store/hosts/selectors.ts b/x-pack/legacy/plugins/siem/public/store/hosts/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/hosts/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/hosts/selectors.ts diff --git a/x-pack/plugins/siem/public/store/index.ts b/x-pack/legacy/plugins/siem/public/store/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/index.ts rename to x-pack/legacy/plugins/siem/public/store/index.ts diff --git a/x-pack/plugins/siem/public/store/inputs/actions.ts b/x-pack/legacy/plugins/siem/public/store/inputs/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/actions.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/actions.ts diff --git a/x-pack/plugins/siem/public/store/inputs/constants.ts b/x-pack/legacy/plugins/siem/public/store/inputs/constants.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/constants.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/constants.ts diff --git a/x-pack/plugins/siem/public/store/inputs/helpers.test.ts b/x-pack/legacy/plugins/siem/public/store/inputs/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/helpers.test.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/helpers.test.ts diff --git a/x-pack/plugins/siem/public/store/inputs/helpers.ts b/x-pack/legacy/plugins/siem/public/store/inputs/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/helpers.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/helpers.ts diff --git a/x-pack/plugins/siem/public/store/inputs/index.ts b/x-pack/legacy/plugins/siem/public/store/inputs/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/index.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/index.ts diff --git a/x-pack/plugins/siem/public/store/inputs/model.ts b/x-pack/legacy/plugins/siem/public/store/inputs/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/model.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/model.ts diff --git a/x-pack/plugins/siem/public/store/inputs/reducer.ts b/x-pack/legacy/plugins/siem/public/store/inputs/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/reducer.ts diff --git a/x-pack/plugins/siem/public/store/inputs/selectors.ts b/x-pack/legacy/plugins/siem/public/store/inputs/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/inputs/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/inputs/selectors.ts diff --git a/x-pack/plugins/siem/public/store/model.ts b/x-pack/legacy/plugins/siem/public/store/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/model.ts rename to x-pack/legacy/plugins/siem/public/store/model.ts diff --git a/x-pack/plugins/siem/public/store/network/actions.ts b/x-pack/legacy/plugins/siem/public/store/network/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/actions.ts rename to x-pack/legacy/plugins/siem/public/store/network/actions.ts diff --git a/x-pack/plugins/siem/public/store/network/helper.ts b/x-pack/legacy/plugins/siem/public/store/network/helper.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/helper.ts rename to x-pack/legacy/plugins/siem/public/store/network/helper.ts diff --git a/x-pack/plugins/siem/public/store/network/index.ts b/x-pack/legacy/plugins/siem/public/store/network/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/index.ts rename to x-pack/legacy/plugins/siem/public/store/network/index.ts diff --git a/x-pack/plugins/siem/public/store/network/model.ts b/x-pack/legacy/plugins/siem/public/store/network/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/model.ts rename to x-pack/legacy/plugins/siem/public/store/network/model.ts diff --git a/x-pack/plugins/siem/public/store/network/reducer.ts b/x-pack/legacy/plugins/siem/public/store/network/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/network/reducer.ts diff --git a/x-pack/plugins/siem/public/store/network/selectors.ts b/x-pack/legacy/plugins/siem/public/store/network/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/network/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/network/selectors.ts diff --git a/x-pack/plugins/siem/public/store/reducer.ts b/x-pack/legacy/plugins/siem/public/store/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/reducer.ts diff --git a/x-pack/plugins/siem/public/store/selectors.ts b/x-pack/legacy/plugins/siem/public/store/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/selectors.ts diff --git a/x-pack/plugins/siem/public/store/store.ts b/x-pack/legacy/plugins/siem/public/store/store.ts similarity index 100% rename from x-pack/plugins/siem/public/store/store.ts rename to x-pack/legacy/plugins/siem/public/store/store.ts diff --git a/x-pack/plugins/siem/public/store/timeline/actions.ts b/x-pack/legacy/plugins/siem/public/store/timeline/actions.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/actions.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/actions.ts diff --git a/x-pack/plugins/siem/public/store/timeline/epic.ts b/x-pack/legacy/plugins/siem/public/store/timeline/epic.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/epic.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/epic.ts diff --git a/x-pack/plugins/siem/public/store/timeline/epic_dispatcher_timeline_persistence_queue.ts b/x-pack/legacy/plugins/siem/public/store/timeline/epic_dispatcher_timeline_persistence_queue.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/epic_dispatcher_timeline_persistence_queue.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/epic_dispatcher_timeline_persistence_queue.ts diff --git a/x-pack/plugins/siem/public/store/timeline/epic_favorite.ts b/x-pack/legacy/plugins/siem/public/store/timeline/epic_favorite.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/epic_favorite.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/epic_favorite.ts diff --git a/x-pack/plugins/siem/public/store/timeline/epic_note.ts b/x-pack/legacy/plugins/siem/public/store/timeline/epic_note.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/epic_note.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/epic_note.ts diff --git a/x-pack/plugins/siem/public/store/timeline/epic_pinned_event.ts b/x-pack/legacy/plugins/siem/public/store/timeline/epic_pinned_event.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/epic_pinned_event.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/epic_pinned_event.ts diff --git a/x-pack/plugins/siem/public/store/timeline/helpers.ts b/x-pack/legacy/plugins/siem/public/store/timeline/helpers.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/helpers.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/helpers.ts diff --git a/x-pack/plugins/siem/public/store/timeline/index.ts b/x-pack/legacy/plugins/siem/public/store/timeline/index.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/index.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/index.ts diff --git a/x-pack/plugins/siem/public/store/timeline/manage_timeline_id.tsx b/x-pack/legacy/plugins/siem/public/store/timeline/manage_timeline_id.tsx similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/manage_timeline_id.tsx rename to x-pack/legacy/plugins/siem/public/store/timeline/manage_timeline_id.tsx diff --git a/x-pack/plugins/siem/public/store/timeline/model.ts b/x-pack/legacy/plugins/siem/public/store/timeline/model.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/model.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/model.ts diff --git a/x-pack/plugins/siem/public/store/timeline/my_epic_timeline_id.ts b/x-pack/legacy/plugins/siem/public/store/timeline/my_epic_timeline_id.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/my_epic_timeline_id.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/my_epic_timeline_id.ts diff --git a/x-pack/plugins/siem/public/store/timeline/reducer.test.ts b/x-pack/legacy/plugins/siem/public/store/timeline/reducer.test.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/reducer.test.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/reducer.test.ts diff --git a/x-pack/plugins/siem/public/store/timeline/reducer.ts b/x-pack/legacy/plugins/siem/public/store/timeline/reducer.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/reducer.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/reducer.ts diff --git a/x-pack/plugins/siem/public/store/timeline/refetch_queries.ts b/x-pack/legacy/plugins/siem/public/store/timeline/refetch_queries.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/refetch_queries.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/refetch_queries.ts diff --git a/x-pack/plugins/siem/public/store/timeline/selectors.ts b/x-pack/legacy/plugins/siem/public/store/timeline/selectors.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/selectors.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/selectors.ts diff --git a/x-pack/plugins/siem/public/store/timeline/types.ts b/x-pack/legacy/plugins/siem/public/store/timeline/types.ts similarity index 100% rename from x-pack/plugins/siem/public/store/timeline/types.ts rename to x-pack/legacy/plugins/siem/public/store/timeline/types.ts diff --git a/x-pack/plugins/siem/scripts/check_circular_deps.js b/x-pack/legacy/plugins/siem/scripts/check_circular_deps.js similarity index 87% rename from x-pack/plugins/siem/scripts/check_circular_deps.js rename to x-pack/legacy/plugins/siem/scripts/check_circular_deps.js index c855e4a9ee885..706866f73f5fb 100644 --- a/x-pack/plugins/siem/scripts/check_circular_deps.js +++ b/x-pack/legacy/plugins/siem/scripts/check_circular_deps.js @@ -4,6 +4,6 @@ * you may not use this file except in compliance with the Elastic License. */ -require('../../../../src/setup_node_env'); +require('../../../../../src/setup_node_env'); require('../dev_tools/circular_deps/run_check_circular_deps_cli'); diff --git a/x-pack/plugins/siem/scripts/combined_schema.ts b/x-pack/legacy/plugins/siem/scripts/combined_schema.ts similarity index 100% rename from x-pack/plugins/siem/scripts/combined_schema.ts rename to x-pack/legacy/plugins/siem/scripts/combined_schema.ts diff --git a/x-pack/plugins/siem/scripts/generate_types_from_graphql.js b/x-pack/legacy/plugins/siem/scripts/generate_types_from_graphql.js similarity index 97% rename from x-pack/plugins/siem/scripts/generate_types_from_graphql.js rename to x-pack/legacy/plugins/siem/scripts/generate_types_from_graphql.js index ff377f9d14ec6..4f299548faeca 100644 --- a/x-pack/plugins/siem/scripts/generate_types_from_graphql.js +++ b/x-pack/legacy/plugins/siem/scripts/generate_types_from_graphql.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -require('../../../../src/setup_node_env'); +require('../../../../../src/setup_node_env'); const { join, resolve } = require('path'); // eslint-disable-next-line import/no-extraneous-dependencies, import/no-unresolved diff --git a/x-pack/plugins/siem/scripts/gql_gen_client.json b/x-pack/legacy/plugins/siem/scripts/gql_gen_client.json similarity index 100% rename from x-pack/plugins/siem/scripts/gql_gen_client.json rename to x-pack/legacy/plugins/siem/scripts/gql_gen_client.json diff --git a/x-pack/plugins/siem/scripts/gql_gen_server.json b/x-pack/legacy/plugins/siem/scripts/gql_gen_server.json similarity index 100% rename from x-pack/plugins/siem/scripts/gql_gen_server.json rename to x-pack/legacy/plugins/siem/scripts/gql_gen_server.json diff --git a/x-pack/plugins/siem/server/graphql/authentications/index.ts b/x-pack/legacy/plugins/siem/server/graphql/authentications/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/authentications/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/authentications/index.ts diff --git a/x-pack/plugins/siem/server/graphql/authentications/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/authentications/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/authentications/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/authentications/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/authentications/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/authentications/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/authentications/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/authentications/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/ecs/index.ts b/x-pack/legacy/plugins/siem/server/graphql/ecs/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ecs/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/ecs/index.ts diff --git a/x-pack/plugins/siem/server/graphql/ecs/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/ecs/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ecs/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/ecs/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/ecs/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/ecs/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ecs/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/ecs/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/events/index.ts b/x-pack/legacy/plugins/siem/server/graphql/events/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/events/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/events/index.ts diff --git a/x-pack/plugins/siem/server/graphql/events/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/events/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/events/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/events/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/events/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/events/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/events/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/events/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/hosts/index.ts b/x-pack/legacy/plugins/siem/server/graphql/hosts/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/hosts/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/hosts/index.ts diff --git a/x-pack/plugins/siem/server/graphql/hosts/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/hosts/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/hosts/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/hosts/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/hosts/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/hosts/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/hosts/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/hosts/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/index.ts b/x-pack/legacy/plugins/siem/server/graphql/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/index.ts diff --git a/x-pack/plugins/siem/server/graphql/ip_details/index.ts b/x-pack/legacy/plugins/siem/server/graphql/ip_details/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ip_details/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/ip_details/index.ts diff --git a/x-pack/plugins/siem/server/graphql/ip_details/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/ip_details/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ip_details/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/ip_details/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/ip_details/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/ip_details/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/ip_details/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/ip_details/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_hosts/index.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_hosts/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/index.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_hosts/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_hosts/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_hosts/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_hosts/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_hosts/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_network/index.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_network/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_network/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_network/index.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_network/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_network/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_network/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_network/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/kpi_network/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/kpi_network/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/kpi_network/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/kpi_network/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/network/index.ts b/x-pack/legacy/plugins/siem/server/graphql/network/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/network/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/network/index.ts diff --git a/x-pack/plugins/siem/server/graphql/network/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/network/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/network/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/network/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/network/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/network/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/network/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/network/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/note/index.ts b/x-pack/legacy/plugins/siem/server/graphql/note/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/note/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/note/index.ts diff --git a/x-pack/plugins/siem/server/graphql/note/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/note/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/note/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/note/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/note/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/note/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/note/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/note/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/overview/index.ts b/x-pack/legacy/plugins/siem/server/graphql/overview/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/overview/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/overview/index.ts diff --git a/x-pack/plugins/siem/server/graphql/overview/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/overview/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/overview/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/overview/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/overview/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/overview/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/overview/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/overview/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/pinned_event/index.ts b/x-pack/legacy/plugins/siem/server/graphql/pinned_event/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/pinned_event/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/pinned_event/index.ts diff --git a/x-pack/plugins/siem/server/graphql/pinned_event/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/pinned_event/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/pinned_event/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/pinned_event/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/pinned_event/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/pinned_event/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/pinned_event/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/pinned_event/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_date/index.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_date/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_date/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_date/index.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_date/resolvers.test.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_date/resolvers.test.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_date/resolvers.test.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_date/resolvers.test.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_date/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_date/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_date/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_date/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_date/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_date/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_date/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_date/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/index.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/index.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.test.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.test.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.test.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.test.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_boolean_array/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_boolean_array/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_date_array/index.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_date_array/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/index.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_date_array/resolvers.test.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/resolvers.test.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_date_array/resolvers.test.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/resolvers.test.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_date_array/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_date_array/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_date_array/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_date_array/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_date_array/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_number_array/index.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_number_array/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/index.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_number_array/resolvers.test.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/resolvers.test.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_number_array/resolvers.test.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/resolvers.test.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_number_array/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_number_array/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/scalar_to_number_array/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/scalar_to_number_array/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/scalar_to_number_array/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/source_status/index.ts b/x-pack/legacy/plugins/siem/server/graphql/source_status/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/source_status/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/source_status/index.ts diff --git a/x-pack/plugins/siem/server/graphql/source_status/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/source_status/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/source_status/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/source_status/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/source_status/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/source_status/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/source_status/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/source_status/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/sources/index.ts b/x-pack/legacy/plugins/siem/server/graphql/sources/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/sources/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/sources/index.ts diff --git a/x-pack/plugins/siem/server/graphql/sources/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/sources/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/sources/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/sources/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/sources/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/sources/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/sources/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/sources/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/timeline/index.ts b/x-pack/legacy/plugins/siem/server/graphql/timeline/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/timeline/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/timeline/index.ts diff --git a/x-pack/plugins/siem/server/graphql/timeline/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/timeline/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/timeline/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/timeline/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/timeline/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/timeline/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/timeline/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/timeline/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/types.ts b/x-pack/legacy/plugins/siem/server/graphql/types.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/types.ts rename to x-pack/legacy/plugins/siem/server/graphql/types.ts diff --git a/x-pack/plugins/siem/server/graphql/uncommon_processes/index.ts b/x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/uncommon_processes/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/index.ts diff --git a/x-pack/plugins/siem/server/graphql/uncommon_processes/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/uncommon_processes/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/uncommon_processes/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/uncommon_processes/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/uncommon_processes/schema.gql.ts diff --git a/x-pack/plugins/siem/server/graphql/who_am_i/index.ts b/x-pack/legacy/plugins/siem/server/graphql/who_am_i/index.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/who_am_i/index.ts rename to x-pack/legacy/plugins/siem/server/graphql/who_am_i/index.ts diff --git a/x-pack/plugins/siem/server/graphql/who_am_i/resolvers.ts b/x-pack/legacy/plugins/siem/server/graphql/who_am_i/resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/who_am_i/resolvers.ts rename to x-pack/legacy/plugins/siem/server/graphql/who_am_i/resolvers.ts diff --git a/x-pack/plugins/siem/server/graphql/who_am_i/schema.gql.ts b/x-pack/legacy/plugins/siem/server/graphql/who_am_i/schema.gql.ts similarity index 100% rename from x-pack/plugins/siem/server/graphql/who_am_i/schema.gql.ts rename to x-pack/legacy/plugins/siem/server/graphql/who_am_i/schema.gql.ts diff --git a/x-pack/plugins/siem/server/init_server.ts b/x-pack/legacy/plugins/siem/server/init_server.ts similarity index 100% rename from x-pack/plugins/siem/server/init_server.ts rename to x-pack/legacy/plugins/siem/server/init_server.ts diff --git a/x-pack/plugins/siem/server/kibana.index.test.ts b/x-pack/legacy/plugins/siem/server/kibana.index.test.ts similarity index 100% rename from x-pack/plugins/siem/server/kibana.index.test.ts rename to x-pack/legacy/plugins/siem/server/kibana.index.test.ts diff --git a/x-pack/plugins/siem/server/kibana.index.ts b/x-pack/legacy/plugins/siem/server/kibana.index.ts similarity index 100% rename from x-pack/plugins/siem/server/kibana.index.ts rename to x-pack/legacy/plugins/siem/server/kibana.index.ts diff --git a/x-pack/plugins/siem/server/lib/authentications/elastic_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/authentications/elastic_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/authentications/elastic_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/authentications/elastic_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/authentications/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/authentications/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/authentications/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/authentications/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/authentications/index.ts b/x-pack/legacy/plugins/siem/server/lib/authentications/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/authentications/index.ts rename to x-pack/legacy/plugins/siem/server/lib/authentications/index.ts diff --git a/x-pack/plugins/siem/server/lib/authentications/query.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/authentications/query.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/authentications/query.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/authentications/query.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/authentications/types.ts b/x-pack/legacy/plugins/siem/server/lib/authentications/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/authentications/types.ts rename to x-pack/legacy/plugins/siem/server/lib/authentications/types.ts diff --git a/x-pack/plugins/siem/server/lib/compose/kibana.ts b/x-pack/legacy/plugins/siem/server/lib/compose/kibana.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/compose/kibana.ts rename to x-pack/legacy/plugins/siem/server/lib/compose/kibana.ts diff --git a/x-pack/plugins/siem/server/lib/configuration/adapter_types.ts b/x-pack/legacy/plugins/siem/server/lib/configuration/adapter_types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/configuration/adapter_types.ts rename to x-pack/legacy/plugins/siem/server/lib/configuration/adapter_types.ts diff --git a/x-pack/plugins/siem/server/lib/configuration/index.ts b/x-pack/legacy/plugins/siem/server/lib/configuration/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/configuration/index.ts rename to x-pack/legacy/plugins/siem/server/lib/configuration/index.ts diff --git a/x-pack/plugins/siem/server/lib/configuration/inmemory_configuration_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/configuration/inmemory_configuration_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/configuration/inmemory_configuration_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/configuration/inmemory_configuration_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/configuration/kibana_configuration_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/configuration/kibana_configuration_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/configuration/kibana_configuration_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/configuration/kibana_configuration_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/configuration/kibana_configuration_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/configuration/kibana_configuration_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/configuration/kibana_configuration_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/configuration/kibana_configuration_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/ecs_fields/extend_map.test.ts b/x-pack/legacy/plugins/siem/server/lib/ecs_fields/extend_map.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ecs_fields/extend_map.test.ts rename to x-pack/legacy/plugins/siem/server/lib/ecs_fields/extend_map.test.ts diff --git a/x-pack/plugins/siem/server/lib/ecs_fields/extend_map.ts b/x-pack/legacy/plugins/siem/server/lib/ecs_fields/extend_map.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ecs_fields/extend_map.ts rename to x-pack/legacy/plugins/siem/server/lib/ecs_fields/extend_map.ts diff --git a/x-pack/plugins/siem/server/lib/ecs_fields/index.ts b/x-pack/legacy/plugins/siem/server/lib/ecs_fields/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ecs_fields/index.ts rename to x-pack/legacy/plugins/siem/server/lib/ecs_fields/index.ts diff --git a/x-pack/plugins/siem/server/lib/events/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/events/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/events/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/events/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/events/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/events/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/events/index.ts b/x-pack/legacy/plugins/siem/server/lib/events/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/index.ts rename to x-pack/legacy/plugins/siem/server/lib/events/index.ts diff --git a/x-pack/plugins/siem/server/lib/events/mock.ts b/x-pack/legacy/plugins/siem/server/lib/events/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/events/mock.ts diff --git a/x-pack/plugins/siem/server/lib/events/query.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/events/query.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/query.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/events/query.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/events/query.last_event_time.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/events/query.last_event_time.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/query.last_event_time.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/events/query.last_event_time.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/events/types.ts b/x-pack/legacy/plugins/siem/server/lib/events/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/events/types.ts rename to x-pack/legacy/plugins/siem/server/lib/events/types.ts diff --git a/x-pack/plugins/siem/server/lib/framework/apollo_server_hapi.ts b/x-pack/legacy/plugins/siem/server/lib/framework/apollo_server_hapi.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/framework/apollo_server_hapi.ts rename to x-pack/legacy/plugins/siem/server/lib/framework/apollo_server_hapi.ts diff --git a/x-pack/plugins/siem/server/lib/framework/index.ts b/x-pack/legacy/plugins/siem/server/lib/framework/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/framework/index.ts rename to x-pack/legacy/plugins/siem/server/lib/framework/index.ts diff --git a/x-pack/plugins/siem/server/lib/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/framework/types.ts b/x-pack/legacy/plugins/siem/server/lib/framework/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/framework/types.ts rename to x-pack/legacy/plugins/siem/server/lib/framework/types.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/helpers.test.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/helpers.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/helpers.test.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/helpers.test.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/helpers.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/helpers.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/helpers.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/helpers.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/index.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/index.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/index.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/mock.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/mock.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/query.detail_host.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/query.detail_host.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/query.detail_host.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/query.detail_host.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/query.hosts.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/query.hosts.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/query.hosts.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/query.hosts.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/query.last_first_seen_host.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/query.last_first_seen_host.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/query.last_first_seen_host.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/query.last_first_seen_host.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/hosts/types.ts b/x-pack/legacy/plugins/siem/server/lib/hosts/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/hosts/types.ts rename to x-pack/legacy/plugins/siem/server/lib/hosts/types.ts diff --git a/x-pack/plugins/siem/server/lib/index_fields/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/index_fields/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/index_fields/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/index_fields/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/index_fields/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/index_fields/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/index_fields/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/index_fields/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/index_fields/index.ts b/x-pack/legacy/plugins/siem/server/lib/index_fields/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/index_fields/index.ts rename to x-pack/legacy/plugins/siem/server/lib/index_fields/index.ts diff --git a/x-pack/plugins/siem/server/lib/index_fields/mock.ts b/x-pack/legacy/plugins/siem/server/lib/index_fields/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/index_fields/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/index_fields/mock.ts diff --git a/x-pack/plugins/siem/server/lib/index_fields/types.ts b/x-pack/legacy/plugins/siem/server/lib/index_fields/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/index_fields/types.ts rename to x-pack/legacy/plugins/siem/server/lib/index_fields/types.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/index.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/index.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/index.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/mock.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/mock.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/query_domains.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/query_domains.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/query_domains.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/query_domains.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/query_last_first_seen_domain.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/query_last_first_seen_domain.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/query_last_first_seen_domain.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/query_last_first_seen_domain.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/query_overview.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/query_overview.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/query_overview.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/query_overview.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/query_tls.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/query_tls.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/query_tls.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/query_tls.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/query_users.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/query_users.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/query_users.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/query_users.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/ip_details/types.ts b/x-pack/legacy/plugins/siem/server/lib/ip_details/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/ip_details/types.ts rename to x-pack/legacy/plugins/siem/server/lib/ip_details/types.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/index.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/index.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/index.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/mock.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/mock.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/query_authentication.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/query_authentication.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/query_authentication.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/query_authentication.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/query_general.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/query_general.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/query_general.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/query_general.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_hosts/types.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_hosts/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_hosts/types.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_hosts/types.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/elastic_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/elastic_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/elastic_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/elastic_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/index.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/index.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/index.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/mock.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/mock.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/query_dns.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/query_dns.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/query_dns.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/query_dns.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/query_general.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/query_general.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/query_general.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/query_general.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/query_tls_handshakes.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/query_tls_handshakes.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/query_tls_handshakes.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/query_tls_handshakes.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/query_unique_private_ips.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/query_unique_private_ips.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/query_unique_private_ips.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/query_unique_private_ips.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/kpi_network/types.ts b/x-pack/legacy/plugins/siem/server/lib/kpi_network/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/kpi_network/types.ts rename to x-pack/legacy/plugins/siem/server/lib/kpi_network/types.ts diff --git a/x-pack/plugins/siem/server/lib/network/elastic_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/network/elastic_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/elastic_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/network/elastic_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/network/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/network/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/network/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/network/index.ts b/x-pack/legacy/plugins/siem/server/lib/network/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/index.ts rename to x-pack/legacy/plugins/siem/server/lib/network/index.ts diff --git a/x-pack/plugins/siem/server/lib/network/mock.ts b/x-pack/legacy/plugins/siem/server/lib/network/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/network/mock.ts diff --git a/x-pack/plugins/siem/server/lib/network/query_dns.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/network/query_dns.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/query_dns.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/network/query_dns.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/network/query_top_n_flow.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/network/query_top_n_flow.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/query_top_n_flow.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/network/query_top_n_flow.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/network/types.ts b/x-pack/legacy/plugins/siem/server/lib/network/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/network/types.ts rename to x-pack/legacy/plugins/siem/server/lib/network/types.ts diff --git a/x-pack/plugins/siem/server/lib/note/saved_object.ts b/x-pack/legacy/plugins/siem/server/lib/note/saved_object.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/note/saved_object.ts rename to x-pack/legacy/plugins/siem/server/lib/note/saved_object.ts diff --git a/x-pack/plugins/siem/server/lib/note/saved_object_mappings.ts b/x-pack/legacy/plugins/siem/server/lib/note/saved_object_mappings.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/note/saved_object_mappings.ts rename to x-pack/legacy/plugins/siem/server/lib/note/saved_object_mappings.ts diff --git a/x-pack/plugins/siem/server/lib/note/types.ts b/x-pack/legacy/plugins/siem/server/lib/note/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/note/types.ts rename to x-pack/legacy/plugins/siem/server/lib/note/types.ts diff --git a/x-pack/plugins/siem/server/lib/overview/elastic_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/overview/elastic_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/elastic_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/elastic_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/overview/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/overview/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/overview/index.ts b/x-pack/legacy/plugins/siem/server/lib/overview/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/index.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/index.ts diff --git a/x-pack/plugins/siem/server/lib/overview/mock.ts b/x-pack/legacy/plugins/siem/server/lib/overview/mock.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/mock.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/mock.ts diff --git a/x-pack/plugins/siem/server/lib/overview/query.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/overview/query.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/query.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/query.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/overview/types.ts b/x-pack/legacy/plugins/siem/server/lib/overview/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/overview/types.ts rename to x-pack/legacy/plugins/siem/server/lib/overview/types.ts diff --git a/x-pack/plugins/siem/server/lib/pinned_event/saved_object.ts b/x-pack/legacy/plugins/siem/server/lib/pinned_event/saved_object.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/pinned_event/saved_object.ts rename to x-pack/legacy/plugins/siem/server/lib/pinned_event/saved_object.ts diff --git a/x-pack/plugins/siem/server/lib/pinned_event/saved_object_mappings.ts b/x-pack/legacy/plugins/siem/server/lib/pinned_event/saved_object_mappings.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/pinned_event/saved_object_mappings.ts rename to x-pack/legacy/plugins/siem/server/lib/pinned_event/saved_object_mappings.ts diff --git a/x-pack/plugins/siem/server/lib/pinned_event/types.ts b/x-pack/legacy/plugins/siem/server/lib/pinned_event/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/pinned_event/types.ts rename to x-pack/legacy/plugins/siem/server/lib/pinned_event/types.ts diff --git a/x-pack/plugins/siem/server/lib/source_status/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/source_status/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/source_status/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/source_status/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/source_status/index.ts b/x-pack/legacy/plugins/siem/server/lib/source_status/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/source_status/index.ts rename to x-pack/legacy/plugins/siem/server/lib/source_status/index.ts diff --git a/x-pack/plugins/siem/server/lib/sources/configuration.test.ts b/x-pack/legacy/plugins/siem/server/lib/sources/configuration.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/sources/configuration.test.ts rename to x-pack/legacy/plugins/siem/server/lib/sources/configuration.test.ts diff --git a/x-pack/plugins/siem/server/lib/sources/configuration.ts b/x-pack/legacy/plugins/siem/server/lib/sources/configuration.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/sources/configuration.ts rename to x-pack/legacy/plugins/siem/server/lib/sources/configuration.ts diff --git a/x-pack/plugins/siem/server/lib/sources/index.ts b/x-pack/legacy/plugins/siem/server/lib/sources/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/sources/index.ts rename to x-pack/legacy/plugins/siem/server/lib/sources/index.ts diff --git a/x-pack/plugins/siem/server/lib/sources/types.ts b/x-pack/legacy/plugins/siem/server/lib/sources/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/sources/types.ts rename to x-pack/legacy/plugins/siem/server/lib/sources/types.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/convert_saved_object_to_savedtimeline.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/convert_saved_object_to_savedtimeline.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/convert_saved_object_to_savedtimeline.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/convert_saved_object_to_savedtimeline.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/pick_saved_timeline.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/pick_saved_timeline.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/pick_saved_timeline.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/pick_saved_timeline.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/saved_object.test.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/saved_object.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/saved_object.test.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/saved_object.test.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/saved_object.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/saved_object.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/saved_object.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/saved_object.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/saved_object_mappings.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/saved_object_mappings.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/saved_object_mappings.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/saved_object_mappings.ts diff --git a/x-pack/plugins/siem/server/lib/timeline/types.ts b/x-pack/legacy/plugins/siem/server/lib/timeline/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/timeline/types.ts rename to x-pack/legacy/plugins/siem/server/lib/timeline/types.ts diff --git a/x-pack/plugins/siem/server/lib/types.ts b/x-pack/legacy/plugins/siem/server/lib/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/types.ts rename to x-pack/legacy/plugins/siem/server/lib/types.ts diff --git a/x-pack/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.test.ts b/x-pack/legacy/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.test.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.test.ts rename to x-pack/legacy/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.test.ts diff --git a/x-pack/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.ts b/x-pack/legacy/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.ts rename to x-pack/legacy/plugins/siem/server/lib/uncommon_processes/elasticsearch_adapter.ts diff --git a/x-pack/plugins/siem/server/lib/uncommon_processes/index.ts b/x-pack/legacy/plugins/siem/server/lib/uncommon_processes/index.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/uncommon_processes/index.ts rename to x-pack/legacy/plugins/siem/server/lib/uncommon_processes/index.ts diff --git a/x-pack/plugins/siem/server/lib/uncommon_processes/query.dsl.ts b/x-pack/legacy/plugins/siem/server/lib/uncommon_processes/query.dsl.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/uncommon_processes/query.dsl.ts rename to x-pack/legacy/plugins/siem/server/lib/uncommon_processes/query.dsl.ts diff --git a/x-pack/plugins/siem/server/lib/uncommon_processes/types.ts b/x-pack/legacy/plugins/siem/server/lib/uncommon_processes/types.ts similarity index 100% rename from x-pack/plugins/siem/server/lib/uncommon_processes/types.ts rename to x-pack/legacy/plugins/siem/server/lib/uncommon_processes/types.ts diff --git a/x-pack/plugins/siem/server/saved_objects.ts b/x-pack/legacy/plugins/siem/server/saved_objects.ts similarity index 100% rename from x-pack/plugins/siem/server/saved_objects.ts rename to x-pack/legacy/plugins/siem/server/saved_objects.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/auditbeat.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/auditbeat.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/auditbeat.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/auditbeat.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/ecs.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/ecs.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/ecs.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/ecs.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/filebeat.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/filebeat.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/filebeat.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/filebeat.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/index.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/index.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/index.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/index.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/packetbeat.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/packetbeat.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/packetbeat.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/packetbeat.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/8.0.0/winlogbeat.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/winlogbeat.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/8.0.0/winlogbeat.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/8.0.0/winlogbeat.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/index.test.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/index.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/index.test.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/index.test.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/index.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/index.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/index.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/index.ts diff --git a/x-pack/plugins/siem/server/utils/beat_schema/type.ts b/x-pack/legacy/plugins/siem/server/utils/beat_schema/type.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/beat_schema/type.ts rename to x-pack/legacy/plugins/siem/server/utils/beat_schema/type.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/create_options.test.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/create_options.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/create_options.test.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/create_options.test.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/create_options.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/create_options.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/create_options.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/create_options.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/field.mock.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/field.mock.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/field.mock.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/field.mock.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/fields.test.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/fields.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/fields.test.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/fields.test.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/fields.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/fields.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/fields.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/fields.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/filters.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/filters.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/filters.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/filters.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/index.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/index.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/index.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/index.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/merge_fields_with_hits.test.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/merge_fields_with_hits.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/merge_fields_with_hits.test.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/merge_fields_with_hits.test.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/merge_fields_with_hits.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/merge_fields_with_hits.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/merge_fields_with_hits.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/merge_fields_with_hits.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/reduce_fields.test.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/reduce_fields.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/reduce_fields.test.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/reduce_fields.test.ts diff --git a/x-pack/plugins/siem/server/utils/build_query/reduce_fields.ts b/x-pack/legacy/plugins/siem/server/utils/build_query/reduce_fields.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/build_query/reduce_fields.ts rename to x-pack/legacy/plugins/siem/server/utils/build_query/reduce_fields.ts diff --git a/x-pack/plugins/siem/server/utils/logger.test.ts b/x-pack/legacy/plugins/siem/server/utils/logger.test.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/logger.test.ts rename to x-pack/legacy/plugins/siem/server/utils/logger.test.ts diff --git a/x-pack/plugins/siem/server/utils/logger.ts b/x-pack/legacy/plugins/siem/server/utils/logger.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/logger.ts rename to x-pack/legacy/plugins/siem/server/utils/logger.ts diff --git a/x-pack/plugins/siem/server/utils/serialized_query.ts b/x-pack/legacy/plugins/siem/server/utils/serialized_query.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/serialized_query.ts rename to x-pack/legacy/plugins/siem/server/utils/serialized_query.ts diff --git a/x-pack/plugins/siem/server/utils/typed_elasticsearch_mappings.ts b/x-pack/legacy/plugins/siem/server/utils/typed_elasticsearch_mappings.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/typed_elasticsearch_mappings.ts rename to x-pack/legacy/plugins/siem/server/utils/typed_elasticsearch_mappings.ts diff --git a/x-pack/plugins/siem/server/utils/typed_resolvers.ts b/x-pack/legacy/plugins/siem/server/utils/typed_resolvers.ts similarity index 100% rename from x-pack/plugins/siem/server/utils/typed_resolvers.ts rename to x-pack/legacy/plugins/siem/server/utils/typed_resolvers.ts diff --git a/x-pack/legacy/plugins/siem/tsconfig.json b/x-pack/legacy/plugins/siem/tsconfig.json new file mode 100644 index 0000000000000..0a26f297882e4 --- /dev/null +++ b/x-pack/legacy/plugins/siem/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.json", +} \ No newline at end of file diff --git a/x-pack/plugins/siem/yarn.lock b/x-pack/legacy/plugins/siem/yarn.lock similarity index 100% rename from x-pack/plugins/siem/yarn.lock rename to x-pack/legacy/plugins/siem/yarn.lock diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/constant.ts b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts similarity index 99% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts index 021da3f31e9d4..3290e1341057e 100644 --- a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts +++ b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/home.helpers.ts @@ -12,7 +12,7 @@ import { TestBed, TestBedConfig, nextTick, -} from '../../../../../test_utils'; +} from '../../../../../../test_utils'; import { SnapshotRestoreHome } from '../../../public/app/sections/home/home'; import { BASE_PATH } from '../../../public/app/constants'; import { WithProviders } from './providers'; diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/http_requests.ts b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts similarity index 95% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts index f2b5d3254917a..d8bb3d4c25e10 100644 --- a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts +++ b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/index.ts @@ -8,7 +8,7 @@ import { setup as homeSetup } from './home.helpers'; import { setup as repositoryAddSetup } from './repository_add.helpers'; import { setup as repositoryEditSetup } from './repository_edit.helpers'; -export { nextTick, getRandomString, findTestSubject, TestBed } from '../../../../../test_utils'; +export { nextTick, getRandomString, findTestSubject, TestBed } from '../../../../../../test_utils'; export { setupEnvironment } from './setup_environment'; diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/providers.tsx b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/providers.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/providers.tsx rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/providers.tsx diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts similarity index 98% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts index c7f8b02fd7a68..598289bfc2677 100644 --- a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts +++ b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_add.helpers.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed, TestBed } from '../../../../../test_utils'; +import { registerTestBed, TestBed } from '../../../../../../test_utils'; import { RepositoryType } from '../../../common/types'; import { RepositoryAdd } from '../../../public/app/sections/repository_add'; import { WithProviders } from './providers'; diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts similarity index 96% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts index afe900bb5fc91..7d8672f576472 100644 --- a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts +++ b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/repository_edit.helpers.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { registerTestBed, TestBedConfig } from '../../../../../test_utils'; +import { registerTestBed, TestBedConfig } from '../../../../../../test_utils'; import { RepositoryEdit } from '../../../public/app/sections/repository_edit'; import { WithProviders } from './providers'; import { REPOSITORY_NAME } from './constant'; diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.ts b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/helpers/setup_environment.ts diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/__jest__/client_integration/home.test.ts diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts diff --git a/x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts b/x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts rename to x-pack/legacy/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts diff --git a/x-pack/plugins/snapshot_restore/common/constants.ts b/x-pack/legacy/plugins/snapshot_restore/common/constants.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/constants.ts rename to x-pack/legacy/plugins/snapshot_restore/common/constants.ts diff --git a/x-pack/plugins/snapshot_restore/common/lib/flatten.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/common/lib/flatten.test.ts diff --git a/x-pack/plugins/snapshot_restore/common/lib/flatten.ts b/x-pack/legacy/plugins/snapshot_restore/common/lib/flatten.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/lib/flatten.ts rename to x-pack/legacy/plugins/snapshot_restore/common/lib/flatten.ts diff --git a/x-pack/plugins/snapshot_restore/common/lib/index.ts b/x-pack/legacy/plugins/snapshot_restore/common/lib/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/lib/index.ts rename to x-pack/legacy/plugins/snapshot_restore/common/lib/index.ts diff --git a/x-pack/plugins/snapshot_restore/common/types/index.ts b/x-pack/legacy/plugins/snapshot_restore/common/types/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/types/index.ts rename to x-pack/legacy/plugins/snapshot_restore/common/types/index.ts diff --git a/x-pack/plugins/snapshot_restore/common/types/repository.ts b/x-pack/legacy/plugins/snapshot_restore/common/types/repository.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/types/repository.ts rename to x-pack/legacy/plugins/snapshot_restore/common/types/repository.ts diff --git a/x-pack/plugins/snapshot_restore/common/types/snapshot.ts b/x-pack/legacy/plugins/snapshot_restore/common/types/snapshot.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/common/types/snapshot.ts rename to x-pack/legacy/plugins/snapshot_restore/common/types/snapshot.ts diff --git a/x-pack/plugins/snapshot_restore/index.ts b/x-pack/legacy/plugins/snapshot_restore/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/index.ts rename to x-pack/legacy/plugins/snapshot_restore/index.ts diff --git a/x-pack/plugins/snapshot_restore/plugin.ts b/x-pack/legacy/plugins/snapshot_restore/plugin.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/plugin.ts rename to x-pack/legacy/plugins/snapshot_restore/plugin.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/app.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/app.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/app.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/app.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/data_placeholder.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/data_placeholder.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/data_placeholder.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/data_placeholder.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_delete_provider.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_delete_provider.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_delete_provider.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_delete_provider.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/repository_form.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/repository_form.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/repository_form.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/repository_form.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/step_one.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/step_one.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/step_one.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/step_one.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/step_two.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/step_two.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/step_two.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/step_two.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/azure_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/azure_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/azure_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/azure_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/fs_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/fs_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/fs_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/fs_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/gcs_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/gcs_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/gcs_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/gcs_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/hdfs_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/hdfs_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/hdfs_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/hdfs_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/index.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/index.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/index.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/index.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/readonly_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/readonly_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/readonly_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/readonly_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/s3_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/s3_settings.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_form/type_settings/s3_settings.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_form/type_settings/s3_settings.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_type_logo.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_type_logo.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_type_logo.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_type_logo.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/repository_verification_badge.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_verification_badge.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/repository_verification_badge.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/repository_verification_badge.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/section_error.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/section_error.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/section_error.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/section_error.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/components/section_loading.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/section_loading.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/components/section_loading.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/components/section_loading.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/constants/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/constants/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/constants/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/constants/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/index.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/index.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/index.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/index.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/home.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/home.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/home.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/home.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/repository_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/repository_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/repository_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/repository_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/azure_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/azure_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/azure_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/azure_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/default_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/default_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/default_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/default_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/fs_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/fs_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/fs_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/fs_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/gcs_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/gcs_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/gcs_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/gcs_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/hdfs_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/index.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/index.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/index.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/index.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/readonly_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/readonly_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/readonly_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/readonly_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/s3_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/s3_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/s3_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_details/type_details/s3_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_list.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_list.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_list.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_list.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/repository_table.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/repository_table.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/repository_table.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/repository_list/repository_table/repository_table.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/snapshot_details.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/snapshot_state.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_failures.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_details/tabs/tab_summary.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_list.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_list.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_list.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_list.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/snapshot_table.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/snapshot_table.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/snapshot_table.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/home/snapshot_list/snapshot_table/snapshot_table.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/repository_add/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_add/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/repository_add/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_add/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/repository_add/repository_add.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_add/repository_add.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/repository_add/repository_add.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_add/repository_add.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/repository_edit/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_edit/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/repository_edit/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_edit/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/sections/repository_edit/repository_edit.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_edit/repository_edit.tsx similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/sections/repository_edit/repository_edit.tsx rename to x-pack/legacy/plugins/snapshot_restore/public/app/sections/repository_edit/repository_edit.tsx diff --git a/x-pack/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/documentation/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/documentation/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/app_requests.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/app_requests.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/app_requests.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/app_requests.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/http.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/http.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/http.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/http.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/repository_requests.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/repository_requests.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/repository_requests.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/repository_requests.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/snapshot_requests.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/snapshot_requests.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/snapshot_requests.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/snapshot_requests.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/http/use_request.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/http/use_request.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/http/use_request.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/http/use_request.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/navigation/breadcrumb.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/breadcrumb.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/navigation/breadcrumb.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/breadcrumb.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/navigation/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/navigation/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/navigation/links.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/links.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/navigation/links.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/navigation/links.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/state/app_state.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/state/app_state.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/state/app_state.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/state/app_state.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/state/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/state/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/state/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/state/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/text/format_date.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/text/format_date.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/text/format_date.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/text/format_date.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/text/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/text/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/text/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/text/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/text/text.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/text/text.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/text/text.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/text/text.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/ui_metric/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/ui_metric/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/ui_metric/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/ui_metric/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/ui_metric/ui_metric.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/ui_metric/ui_metric.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/ui_metric/ui_metric.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/ui_metric/ui_metric.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/validation/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/validation/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/validation/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/validation/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/services/validation/validate_repository.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/validation/validate_repository.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/services/validation/validate_repository.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/services/validation/validate_repository.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/types/app.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/types/app.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/types/app.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/types/app.ts diff --git a/x-pack/plugins/snapshot_restore/public/app/types/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/types/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/app/types/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/app/types/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/index.html b/x-pack/legacy/plugins/snapshot_restore/public/index.html similarity index 100% rename from x-pack/plugins/snapshot_restore/public/index.html rename to x-pack/legacy/plugins/snapshot_restore/public/index.html diff --git a/x-pack/plugins/snapshot_restore/public/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/index.ts diff --git a/x-pack/plugins/snapshot_restore/public/plugin.ts b/x-pack/legacy/plugins/snapshot_restore/public/plugin.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/plugin.ts rename to x-pack/legacy/plugins/snapshot_restore/public/plugin.ts diff --git a/x-pack/plugins/snapshot_restore/public/shim.ts b/x-pack/legacy/plugins/snapshot_restore/public/shim.ts similarity index 96% rename from x-pack/plugins/snapshot_restore/public/shim.ts rename to x-pack/legacy/plugins/snapshot_restore/public/shim.ts index 61e44f255dd17..6fd2d6aed7b23 100644 --- a/x-pack/plugins/snapshot_restore/public/shim.ts +++ b/x-pack/legacy/plugins/snapshot_restore/public/shim.ts @@ -16,7 +16,7 @@ import routes from 'ui/routes'; import { HashRouter } from 'react-router-dom'; // @ts-ignore: allow traversal to fail on x-pack build -import { trackUiMetric as track } from '../../../../src/legacy/core_plugins/ui_metric/public'; +import { trackUiMetric as track } from '../../../../../src/legacy/core_plugins/ui_metric/public'; export interface AppCore { i18n: { diff --git a/x-pack/plugins/snapshot_restore/public/test/mocks/chrome.ts b/x-pack/legacy/plugins/snapshot_restore/public/test/mocks/chrome.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/test/mocks/chrome.ts rename to x-pack/legacy/plugins/snapshot_restore/public/test/mocks/chrome.ts diff --git a/x-pack/plugins/snapshot_restore/public/test/mocks/index.ts b/x-pack/legacy/plugins/snapshot_restore/public/test/mocks/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/public/test/mocks/index.ts rename to x-pack/legacy/plugins/snapshot_restore/public/test/mocks/index.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/clean_settings.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/lib/clean_settings.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/index.ts b/x-pack/legacy/plugins/snapshot_restore/server/lib/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/lib/index.ts rename to x-pack/legacy/plugins/snapshot_restore/server/lib/index.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/repository_serialization.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/lib/repository_serialization.test.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/repository_serialization.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/lib/repository_serialization.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/snapshot_serialization.test.ts b/x-pack/legacy/plugins/snapshot_restore/server/lib/snapshot_serialization.test.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/lib/snapshot_serialization.test.ts rename to x-pack/legacy/plugins/snapshot_restore/server/lib/snapshot_serialization.test.ts diff --git a/x-pack/plugins/snapshot_restore/server/lib/snapshot_serialization.ts b/x-pack/legacy/plugins/snapshot_restore/server/lib/snapshot_serialization.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/lib/snapshot_serialization.ts rename to x-pack/legacy/plugins/snapshot_restore/server/lib/snapshot_serialization.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/app.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/routes/api/app.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/register_routes.ts b/x-pack/legacy/plugins/snapshot_restore/server/routes/api/register_routes.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/routes/api/register_routes.ts rename to x-pack/legacy/plugins/snapshot_restore/server/routes/api/register_routes.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/repositories.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/routes/api/repositories.test.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/repositories.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/routes/api/repositories.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/snapshots.test.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/routes/api/snapshots.test.ts diff --git a/x-pack/plugins/snapshot_restore/server/routes/api/snapshots.ts b/x-pack/legacy/plugins/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/legacy/plugins/snapshot_restore/server/routes/api/snapshots.ts diff --git a/x-pack/plugins/snapshot_restore/server/types/index.ts b/x-pack/legacy/plugins/snapshot_restore/server/types/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/types/index.ts rename to x-pack/legacy/plugins/snapshot_restore/server/types/index.ts diff --git a/x-pack/plugins/snapshot_restore/server/types/snapshot.ts b/x-pack/legacy/plugins/snapshot_restore/server/types/snapshot.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/server/types/snapshot.ts rename to x-pack/legacy/plugins/snapshot_restore/server/types/snapshot.ts diff --git a/x-pack/plugins/snapshot_restore/shim.ts b/x-pack/legacy/plugins/snapshot_restore/shim.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/shim.ts rename to x-pack/legacy/plugins/snapshot_restore/shim.ts diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/index.ts b/x-pack/legacy/plugins/snapshot_restore/test/fixtures/index.ts similarity index 100% rename from x-pack/plugins/snapshot_restore/test/fixtures/index.ts rename to x-pack/legacy/plugins/snapshot_restore/test/fixtures/index.ts diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/repository.ts b/x-pack/legacy/plugins/snapshot_restore/test/fixtures/repository.ts similarity index 91% rename from x-pack/plugins/snapshot_restore/test/fixtures/repository.ts rename to x-pack/legacy/plugins/snapshot_restore/test/fixtures/repository.ts index f8b30f3c5d362..6417c1e96308c 100644 --- a/x-pack/plugins/snapshot_restore/test/fixtures/repository.ts +++ b/x-pack/legacy/plugins/snapshot_restore/test/fixtures/repository.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { getRandomString } from '../../../../test_utils'; +import { getRandomString } from '../../../../../test_utils'; import { RepositoryType } from '../../common/types'; const defaultSettings: any = { chunkSize: '10mb', location: '/tmp/es-backups' }; diff --git a/x-pack/plugins/snapshot_restore/test/fixtures/snapshot.ts b/x-pack/legacy/plugins/snapshot_restore/test/fixtures/snapshot.ts similarity index 93% rename from x-pack/plugins/snapshot_restore/test/fixtures/snapshot.ts rename to x-pack/legacy/plugins/snapshot_restore/test/fixtures/snapshot.ts index d6a55579b322d..81580677fa6c4 100644 --- a/x-pack/plugins/snapshot_restore/test/fixtures/snapshot.ts +++ b/x-pack/legacy/plugins/snapshot_restore/test/fixtures/snapshot.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { getRandomString, getRandomNumber } from '../../../../test_utils'; +import { getRandomString, getRandomNumber } from '../../../../../test_utils'; export const getSnapshot = ({ repository = 'my-repo', diff --git a/x-pack/plugins/spaces/common/constants.ts b/x-pack/legacy/plugins/spaces/common/constants.ts similarity index 100% rename from x-pack/plugins/spaces/common/constants.ts rename to x-pack/legacy/plugins/spaces/common/constants.ts diff --git a/x-pack/plugins/spaces/common/index.ts b/x-pack/legacy/plugins/spaces/common/index.ts similarity index 100% rename from x-pack/plugins/spaces/common/index.ts rename to x-pack/legacy/plugins/spaces/common/index.ts diff --git a/x-pack/plugins/spaces/common/is_reserved_space.test.ts b/x-pack/legacy/plugins/spaces/common/is_reserved_space.test.ts similarity index 100% rename from x-pack/plugins/spaces/common/is_reserved_space.test.ts rename to x-pack/legacy/plugins/spaces/common/is_reserved_space.test.ts diff --git a/x-pack/plugins/spaces/common/is_reserved_space.ts b/x-pack/legacy/plugins/spaces/common/is_reserved_space.ts similarity index 100% rename from x-pack/plugins/spaces/common/is_reserved_space.ts rename to x-pack/legacy/plugins/spaces/common/is_reserved_space.ts diff --git a/x-pack/plugins/spaces/common/model/space.ts b/x-pack/legacy/plugins/spaces/common/model/space.ts similarity index 100% rename from x-pack/plugins/spaces/common/model/space.ts rename to x-pack/legacy/plugins/spaces/common/model/space.ts diff --git a/x-pack/plugins/spaces/common/space_attributes.test.ts b/x-pack/legacy/plugins/spaces/common/space_attributes.test.ts similarity index 100% rename from x-pack/plugins/spaces/common/space_attributes.test.ts rename to x-pack/legacy/plugins/spaces/common/space_attributes.test.ts diff --git a/x-pack/plugins/spaces/common/space_attributes.ts b/x-pack/legacy/plugins/spaces/common/space_attributes.ts similarity index 100% rename from x-pack/plugins/spaces/common/space_attributes.ts rename to x-pack/legacy/plugins/spaces/common/space_attributes.ts diff --git a/x-pack/plugins/spaces/index.ts b/x-pack/legacy/plugins/spaces/index.ts similarity index 100% rename from x-pack/plugins/spaces/index.ts rename to x-pack/legacy/plugins/spaces/index.ts diff --git a/x-pack/plugins/spaces/mappings.json b/x-pack/legacy/plugins/spaces/mappings.json similarity index 100% rename from x-pack/plugins/spaces/mappings.json rename to x-pack/legacy/plugins/spaces/mappings.json diff --git a/x-pack/plugins/spaces/public/__mocks__/ui_capabilities.ts b/x-pack/legacy/plugins/spaces/public/__mocks__/ui_capabilities.ts similarity index 100% rename from x-pack/plugins/spaces/public/__mocks__/ui_capabilities.ts rename to x-pack/legacy/plugins/spaces/public/__mocks__/ui_capabilities.ts diff --git a/x-pack/plugins/spaces/public/components/__snapshots__/manage_spaces_button.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/components/__snapshots__/manage_spaces_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/components/__snapshots__/manage_spaces_button.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/components/__snapshots__/manage_spaces_button.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/components/__snapshots__/space_avatar.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/components/__snapshots__/space_avatar.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/components/__snapshots__/space_avatar.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/components/__snapshots__/space_avatar.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/components/index.ts b/x-pack/legacy/plugins/spaces/public/components/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/components/index.ts rename to x-pack/legacy/plugins/spaces/public/components/index.ts diff --git a/x-pack/plugins/spaces/public/components/manage_spaces_button.test.tsx b/x-pack/legacy/plugins/spaces/public/components/manage_spaces_button.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/components/manage_spaces_button.test.tsx rename to x-pack/legacy/plugins/spaces/public/components/manage_spaces_button.test.tsx diff --git a/x-pack/plugins/spaces/public/components/manage_spaces_button.tsx b/x-pack/legacy/plugins/spaces/public/components/manage_spaces_button.tsx similarity index 100% rename from x-pack/plugins/spaces/public/components/manage_spaces_button.tsx rename to x-pack/legacy/plugins/spaces/public/components/manage_spaces_button.tsx diff --git a/x-pack/plugins/spaces/public/components/space_avatar.test.tsx b/x-pack/legacy/plugins/spaces/public/components/space_avatar.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/components/space_avatar.test.tsx rename to x-pack/legacy/plugins/spaces/public/components/space_avatar.test.tsx diff --git a/x-pack/plugins/spaces/public/components/space_avatar.tsx b/x-pack/legacy/plugins/spaces/public/components/space_avatar.tsx similarity index 100% rename from x-pack/plugins/spaces/public/components/space_avatar.tsx rename to x-pack/legacy/plugins/spaces/public/components/space_avatar.tsx diff --git a/x-pack/plugins/spaces/public/index.scss b/x-pack/legacy/plugins/spaces/public/index.scss similarity index 100% rename from x-pack/plugins/spaces/public/index.scss rename to x-pack/legacy/plugins/spaces/public/index.scss diff --git a/x-pack/plugins/spaces/public/lib/constants.ts b/x-pack/legacy/plugins/spaces/public/lib/constants.ts similarity index 100% rename from x-pack/plugins/spaces/public/lib/constants.ts rename to x-pack/legacy/plugins/spaces/public/lib/constants.ts diff --git a/x-pack/plugins/spaces/public/lib/index.ts b/x-pack/legacy/plugins/spaces/public/lib/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/lib/index.ts rename to x-pack/legacy/plugins/spaces/public/lib/index.ts diff --git a/x-pack/plugins/spaces/public/lib/mocks.ts b/x-pack/legacy/plugins/spaces/public/lib/mocks.ts similarity index 100% rename from x-pack/plugins/spaces/public/lib/mocks.ts rename to x-pack/legacy/plugins/spaces/public/lib/mocks.ts diff --git a/x-pack/plugins/spaces/public/lib/spaces_manager.mock.ts b/x-pack/legacy/plugins/spaces/public/lib/spaces_manager.mock.ts similarity index 100% rename from x-pack/plugins/spaces/public/lib/spaces_manager.mock.ts rename to x-pack/legacy/plugins/spaces/public/lib/spaces_manager.mock.ts diff --git a/x-pack/plugins/spaces/public/lib/spaces_manager.ts b/x-pack/legacy/plugins/spaces/public/lib/spaces_manager.ts similarity index 100% rename from x-pack/plugins/spaces/public/lib/spaces_manager.ts rename to x-pack/legacy/plugins/spaces/public/lib/spaces_manager.ts diff --git a/x-pack/plugins/spaces/public/register_feature.ts b/x-pack/legacy/plugins/spaces/public/register_feature.ts similarity index 100% rename from x-pack/plugins/spaces/public/register_feature.ts rename to x-pack/legacy/plugins/spaces/public/register_feature.ts diff --git a/x-pack/plugins/spaces/public/views/_index.scss b/x-pack/legacy/plugins/spaces/public/views/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/_index.scss diff --git a/x-pack/plugins/spaces/public/views/components/_index.scss b/x-pack/legacy/plugins/spaces/public/views/components/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/components/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/components/_index.scss diff --git a/x-pack/plugins/spaces/public/views/components/_space_card.scss b/x-pack/legacy/plugins/spaces/public/views/components/_space_card.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/components/_space_card.scss rename to x-pack/legacy/plugins/spaces/public/views/components/_space_card.scss diff --git a/x-pack/plugins/spaces/public/views/components/_space_cards.scss b/x-pack/legacy/plugins/spaces/public/views/components/_space_cards.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/components/_space_cards.scss rename to x-pack/legacy/plugins/spaces/public/views/components/_space_cards.scss diff --git a/x-pack/plugins/spaces/public/views/components/index.ts b/x-pack/legacy/plugins/spaces/public/views/components/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/components/index.ts rename to x-pack/legacy/plugins/spaces/public/views/components/index.ts diff --git a/x-pack/plugins/spaces/public/views/components/space_card.test.tsx b/x-pack/legacy/plugins/spaces/public/views/components/space_card.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/components/space_card.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/components/space_card.test.tsx diff --git a/x-pack/plugins/spaces/public/views/components/space_card.tsx b/x-pack/legacy/plugins/spaces/public/views/components/space_card.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/components/space_card.tsx rename to x-pack/legacy/plugins/spaces/public/views/components/space_card.tsx diff --git a/x-pack/plugins/spaces/public/views/components/space_cards.test.tsx b/x-pack/legacy/plugins/spaces/public/views/components/space_cards.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/components/space_cards.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/components/space_cards.test.tsx diff --git a/x-pack/plugins/spaces/public/views/components/space_cards.tsx b/x-pack/legacy/plugins/spaces/public/views/components/space_cards.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/components/space_cards.tsx rename to x-pack/legacy/plugins/spaces/public/views/components/space_cards.tsx diff --git a/x-pack/plugins/spaces/public/views/management/_index.scss b/x-pack/legacy/plugins/spaces/public/views/management/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/management/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/management/_index.scss diff --git a/x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/components/__snapshots__/unauthorized_prompt.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/unauthorized_prompt.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/__snapshots__/unauthorized_prompt.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/unauthorized_prompt.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/components/_confirm_delete_modal.scss b/x-pack/legacy/plugins/spaces/public/views/management/components/_confirm_delete_modal.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/_confirm_delete_modal.scss rename to x-pack/legacy/plugins/spaces/public/views/management/components/_confirm_delete_modal.scss diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/__snapshots__/advanced_settings_subtitle.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/advanced_settings_subtitle.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_subtitle/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_subtitle/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/__snapshots__/advanced_settings_title.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/__snapshots__/advanced_settings_title.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/__snapshots__/advanced_settings_title.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/__snapshots__/advanced_settings_title.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/advanced_settings_title.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/advanced_settings_title/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/components/advanced_settings_title/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/components/confirm_delete_modal.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/confirm_delete_modal.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/confirm_delete_modal.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/confirm_delete_modal.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/confirm_delete_modal.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/confirm_delete_modal.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/confirm_delete_modal.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/components/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/components/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/secure_space_message/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/secure_space_message.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/unauthorized_prompt.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/unauthorized_prompt.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/unauthorized_prompt.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/unauthorized_prompt.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/components/unauthorized_prompt.tsx b/x-pack/legacy/plugins/spaces/public/views/management/components/unauthorized_prompt.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/components/unauthorized_prompt.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/components/unauthorized_prompt.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/__snapshots__/delete_spaces_button.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/__snapshots__/confirm_alter_active_space_modal.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/__snapshots__/confirm_alter_active_space_modal.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/__snapshots__/confirm_alter_active_space_modal.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/__snapshots__/confirm_alter_active_space_modal.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/confirm_alter_active_space_modal.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/confirm_alter_active_space_modal/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/customize_space_avatar.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/space_identifier.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/delete_spaces_button.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/delete_spaces_button.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/delete_spaces_button.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/delete_spaces_button.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/delete_spaces_button.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/delete_spaces_button.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/delete_spaces_button.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/delete_spaces_button.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/_index.scss b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/_index.scss diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/enabled_features.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/feature_table.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/toggle_all_features.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/toggle_all_features.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/enabled_features/toggle_all_features.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/toggle_all_features.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/manage_space_page.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/manage_space_page.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/manage_space_page.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/manage_space_page.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/manage_space_page.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/manage_space_page.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/manage_space_page.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/manage_space_page.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/reserved_space_badge.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/reserved_space_badge.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/reserved_space_badge.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/reserved_space_badge.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/reserved_space_badge.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/reserved_space_badge.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/reserved_space_badge.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/reserved_space_badge.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/_section_panel.scss b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/_section_panel.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/section_panel/_section_panel.scss rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/_section_panel.scss diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/section_panel/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.tsx b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/section_panel.tsx diff --git a/x-pack/plugins/spaces/public/views/management/index.tsx b/x-pack/legacy/plugins/spaces/public/views/management/index.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/index.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/index.tsx diff --git a/x-pack/plugins/spaces/public/views/management/lib/breadcrumbs.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/breadcrumbs.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/breadcrumbs.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/feature_utils.test.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/feature_utils.test.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/feature_utils.test.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/feature_utils.test.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/feature_utils.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/feature_utils.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/feature_utils.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/feature_utils.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/space_identifier_utils.test.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/space_identifier_utils.test.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/space_identifier_utils.test.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/space_identifier_utils.test.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/space_identifier_utils.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/space_identifier_utils.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/space_identifier_utils.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/space_identifier_utils.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/validate_space.test.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/validate_space.test.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/validate_space.test.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/validate_space.test.ts diff --git a/x-pack/plugins/spaces/public/views/management/lib/validate_space.ts b/x-pack/legacy/plugins/spaces/public/views/management/lib/validate_space.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/lib/validate_space.ts rename to x-pack/legacy/plugins/spaces/public/views/management/lib/validate_space.ts diff --git a/x-pack/plugins/spaces/public/views/management/page_routes.tsx b/x-pack/legacy/plugins/spaces/public/views/management/page_routes.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/page_routes.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/page_routes.tsx diff --git a/x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/__snapshots__/spaces_grid_pages.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/management/spaces_grid/index.ts b/x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/management/spaces_grid/index.ts rename to x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/index.ts diff --git a/x-pack/plugins/spaces/public/views/management/spaces_grid/spaces_grid_page.tsx b/x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/spaces_grid_page.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/spaces_grid/spaces_grid_page.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/spaces_grid_page.tsx diff --git a/x-pack/plugins/spaces/public/views/management/spaces_grid/spaces_grid_pages.test.tsx b/x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/spaces_grid_pages.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/management/spaces_grid/spaces_grid_pages.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/management/spaces_grid/spaces_grid_pages.test.tsx diff --git a/x-pack/plugins/spaces/public/views/management/template.html b/x-pack/legacy/plugins/spaces/public/views/management/template.html similarity index 100% rename from x-pack/plugins/spaces/public/views/management/template.html rename to x-pack/legacy/plugins/spaces/public/views/management/template.html diff --git a/x-pack/plugins/spaces/public/views/nav_control/__snapshots__/nav_control_popover.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/nav_control/__snapshots__/nav_control_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/__snapshots__/nav_control_popover.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/nav_control/__snapshots__/nav_control_popover.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/nav_control/_index.scss b/x-pack/legacy/plugins/spaces/public/views/nav_control/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/nav_control/_index.scss diff --git a/x-pack/plugins/spaces/public/views/nav_control/_nav_control.scss b/x-pack/legacy/plugins/spaces/public/views/nav_control/_nav_control.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/_nav_control.scss rename to x-pack/legacy/plugins/spaces/public/views/nav_control/_nav_control.scss diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/__snapshots__/spaces_description.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/_index.scss b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/_index.scss diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/_spaces_description.scss b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/_spaces_description.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/_spaces_description.scss rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/_spaces_description.scss diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/_spaces_menu.scss b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/_spaces_menu.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/_spaces_menu.scss rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/_spaces_menu.scss diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_description.test.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_description.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/spaces_description.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_description.test.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_description.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_description.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/spaces_description.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_description.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_global_nav_button.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_global_nav_button.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/spaces_global_nav_button.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_global_nav_button.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_header_nav_button.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_header_nav_button.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/spaces_header_nav_button.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_header_nav_button.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_menu.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/components/spaces_menu.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/components/spaces_menu.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/index.ts b/x-pack/legacy/plugins/spaces/public/views/nav_control/index.ts similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/index.ts rename to x-pack/legacy/plugins/spaces/public/views/nav_control/index.ts diff --git a/x-pack/plugins/spaces/public/views/nav_control/nav_control.html b/x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control.html similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/nav_control.html rename to x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control.html diff --git a/x-pack/plugins/spaces/public/views/nav_control/nav_control.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/nav_control.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.test.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control_popover.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control_popover.test.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control_popover.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/nav_control_popover.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/nav_control_popover.tsx diff --git a/x-pack/plugins/spaces/public/views/nav_control/types.tsx b/x-pack/legacy/plugins/spaces/public/views/nav_control/types.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/nav_control/types.tsx rename to x-pack/legacy/plugins/spaces/public/views/nav_control/types.tsx diff --git a/x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap rename to x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap diff --git a/x-pack/plugins/spaces/public/views/space_selector/_index.scss b/x-pack/legacy/plugins/spaces/public/views/space_selector/_index.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/_index.scss rename to x-pack/legacy/plugins/spaces/public/views/space_selector/_index.scss diff --git a/x-pack/plugins/spaces/public/views/space_selector/_space_selector.scss b/x-pack/legacy/plugins/spaces/public/views/space_selector/_space_selector.scss similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/_space_selector.scss rename to x-pack/legacy/plugins/spaces/public/views/space_selector/_space_selector.scss diff --git a/x-pack/plugins/spaces/public/views/space_selector/index.tsx b/x-pack/legacy/plugins/spaces/public/views/space_selector/index.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/index.tsx rename to x-pack/legacy/plugins/spaces/public/views/space_selector/index.tsx diff --git a/x-pack/plugins/spaces/public/views/space_selector/space_selector.html b/x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.html similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/space_selector.html rename to x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.html diff --git a/x-pack/plugins/spaces/public/views/space_selector/space_selector.test.tsx b/x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.test.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/space_selector.test.tsx rename to x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.test.tsx diff --git a/x-pack/plugins/spaces/public/views/space_selector/space_selector.tsx b/x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.tsx similarity index 100% rename from x-pack/plugins/spaces/public/views/space_selector/space_selector.tsx rename to x-pack/legacy/plugins/spaces/public/views/space_selector/space_selector.tsx diff --git a/x-pack/plugins/spaces/server/lib/__snapshots__/create_default_space.test.ts.snap b/x-pack/legacy/plugins/spaces/server/lib/__snapshots__/create_default_space.test.ts.snap similarity index 100% rename from x-pack/plugins/spaces/server/lib/__snapshots__/create_default_space.test.ts.snap rename to x-pack/legacy/plugins/spaces/server/lib/__snapshots__/create_default_space.test.ts.snap diff --git a/x-pack/plugins/spaces/server/lib/__snapshots__/spaces_url_parser.test.ts.snap b/x-pack/legacy/plugins/spaces/server/lib/__snapshots__/spaces_url_parser.test.ts.snap similarity index 100% rename from x-pack/plugins/spaces/server/lib/__snapshots__/spaces_url_parser.test.ts.snap rename to x-pack/legacy/plugins/spaces/server/lib/__snapshots__/spaces_url_parser.test.ts.snap diff --git a/x-pack/plugins/spaces/server/lib/audit_logger.test.ts b/x-pack/legacy/plugins/spaces/server/lib/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/audit_logger.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/audit_logger.test.ts diff --git a/x-pack/plugins/spaces/server/lib/audit_logger.ts b/x-pack/legacy/plugins/spaces/server/lib/audit_logger.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/audit_logger.ts rename to x-pack/legacy/plugins/spaces/server/lib/audit_logger.ts diff --git a/x-pack/plugins/spaces/server/lib/check_license.ts b/x-pack/legacy/plugins/spaces/server/lib/check_license.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/check_license.ts rename to x-pack/legacy/plugins/spaces/server/lib/check_license.ts diff --git a/x-pack/plugins/spaces/server/lib/create_default_space.test.ts b/x-pack/legacy/plugins/spaces/server/lib/create_default_space.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/create_default_space.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/create_default_space.test.ts diff --git a/x-pack/plugins/spaces/server/lib/create_default_space.ts b/x-pack/legacy/plugins/spaces/server/lib/create_default_space.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/create_default_space.ts rename to x-pack/legacy/plugins/spaces/server/lib/create_default_space.ts diff --git a/x-pack/plugins/spaces/server/lib/errors.ts b/x-pack/legacy/plugins/spaces/server/lib/errors.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/errors.ts rename to x-pack/legacy/plugins/spaces/server/lib/errors.ts diff --git a/x-pack/plugins/spaces/server/lib/get_active_space.ts b/x-pack/legacy/plugins/spaces/server/lib/get_active_space.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/get_active_space.ts rename to x-pack/legacy/plugins/spaces/server/lib/get_active_space.ts diff --git a/x-pack/plugins/spaces/server/lib/get_space_selector_url.test.ts b/x-pack/legacy/plugins/spaces/server/lib/get_space_selector_url.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/get_space_selector_url.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/get_space_selector_url.test.ts diff --git a/x-pack/plugins/spaces/server/lib/get_space_selector_url.ts b/x-pack/legacy/plugins/spaces/server/lib/get_space_selector_url.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/get_space_selector_url.ts rename to x-pack/legacy/plugins/spaces/server/lib/get_space_selector_url.ts diff --git a/x-pack/plugins/spaces/server/lib/get_spaces_usage_collector.test.ts b/x-pack/legacy/plugins/spaces/server/lib/get_spaces_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/get_spaces_usage_collector.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/get_spaces_usage_collector.test.ts diff --git a/x-pack/plugins/spaces/server/lib/get_spaces_usage_collector.ts b/x-pack/legacy/plugins/spaces/server/lib/get_spaces_usage_collector.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/get_spaces_usage_collector.ts rename to x-pack/legacy/plugins/spaces/server/lib/get_spaces_usage_collector.ts diff --git a/x-pack/plugins/spaces/server/lib/migrations/index.ts b/x-pack/legacy/plugins/spaces/server/lib/migrations/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/migrations/index.ts rename to x-pack/legacy/plugins/spaces/server/lib/migrations/index.ts diff --git a/x-pack/plugins/spaces/server/lib/migrations/migrate_6x.test.ts b/x-pack/legacy/plugins/spaces/server/lib/migrations/migrate_6x.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/migrations/migrate_6x.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/migrations/migrate_6x.test.ts diff --git a/x-pack/plugins/spaces/server/lib/migrations/migrate_6x.ts b/x-pack/legacy/plugins/spaces/server/lib/migrations/migrate_6x.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/migrations/migrate_6x.ts rename to x-pack/legacy/plugins/spaces/server/lib/migrations/migrate_6x.ts diff --git a/x-pack/plugins/spaces/server/lib/request_interceptors/index.ts b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/request_interceptors/index.ts rename to x-pack/legacy/plugins/spaces/server/lib/request_interceptors/index.ts diff --git a/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts similarity index 98% rename from x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts index bb2227c5fec6b..532c47b7d12ee 100644 --- a/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts +++ b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.test.ts @@ -14,8 +14,11 @@ import { SpacesService } from '../../new_platform/spaces_service'; import { SecurityPlugin } from '../../../../security'; import { SpacesAuditLogger } from '../audit_logger'; import { SpacesServiceSetup } from '../../new_platform/spaces_service/spaces_service'; -import { elasticsearchServiceMock, httpServiceMock } from '../../../../../../src/core/server/mocks'; -import * as kbnTestServer from '../../../../../../src/test_utils/kbn_server'; +import { + elasticsearchServiceMock, + httpServiceMock, +} from '../../../../../../../src/core/server/mocks'; +import * as kbnTestServer from '../../../../../../../src/test_utils/kbn_server'; import { HttpServiceSetup } from 'src/core/server'; import { KibanaConfig, Server } from 'src/legacy/server/kbn_server'; import { XPackMainPlugin } from '../../../../xpack_main/xpack_main'; diff --git a/x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts rename to x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_post_auth_interceptor.ts diff --git a/x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts similarity index 97% rename from x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts index 5cc6601fc8a35..df8ebe29e8788 100644 --- a/x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts +++ b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.test.ts @@ -6,10 +6,10 @@ import { Legacy } from 'kibana'; import { initSpacesOnRequestInterceptor } from './on_request_interceptor'; -import { HttpServiceSetup, Router, KibanaRequest } from '../../../../../../src/core/server'; +import { HttpServiceSetup, Router, KibanaRequest } from '../../../../../../../src/core/server'; -import * as kbnTestServer from '../../../../../../src/test_utils/kbn_server'; -import { KibanaConfig } from '../../../../../../src/legacy/server/kbn_server'; +import * as kbnTestServer from '../../../../../../../src/test_utils/kbn_server'; +import { KibanaConfig } from '../../../../../../../src/legacy/server/kbn_server'; describe('onRequestInterceptor', () => { let root: ReturnType; diff --git a/x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.ts b/x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.ts rename to x-pack/legacy/plugins/spaces/server/lib/request_interceptors/on_request_interceptor.ts diff --git a/x-pack/plugins/spaces/server/lib/route_pre_check_license.ts b/x-pack/legacy/plugins/spaces/server/lib/route_pre_check_license.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/route_pre_check_license.ts rename to x-pack/legacy/plugins/spaces/server/lib/route_pre_check_license.ts diff --git a/x-pack/plugins/spaces/server/lib/saved_objects_client/__snapshots__/spaces_saved_objects_client.test.ts.snap b/x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/__snapshots__/spaces_saved_objects_client.test.ts.snap similarity index 100% rename from x-pack/plugins/spaces/server/lib/saved_objects_client/__snapshots__/spaces_saved_objects_client.test.ts.snap rename to x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/__snapshots__/spaces_saved_objects_client.test.ts.snap diff --git a/x-pack/plugins/spaces/server/lib/saved_objects_client/saved_objects_client_wrapper_factory.ts b/x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/saved_objects_client_wrapper_factory.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/saved_objects_client/saved_objects_client_wrapper_factory.ts rename to x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/saved_objects_client_wrapper_factory.ts diff --git a/x-pack/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.test.ts b/x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.test.ts diff --git a/x-pack/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.ts b/x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.ts rename to x-pack/legacy/plugins/spaces/server/lib/saved_objects_client/spaces_saved_objects_client.ts diff --git a/x-pack/plugins/spaces/server/lib/space_schema.test.ts b/x-pack/legacy/plugins/spaces/server/lib/space_schema.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/space_schema.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/space_schema.test.ts diff --git a/x-pack/plugins/spaces/server/lib/space_schema.ts b/x-pack/legacy/plugins/spaces/server/lib/space_schema.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/space_schema.ts rename to x-pack/legacy/plugins/spaces/server/lib/space_schema.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_client/__snapshots__/spaces_client.test.ts.snap b/x-pack/legacy/plugins/spaces/server/lib/spaces_client/__snapshots__/spaces_client.test.ts.snap similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_client/__snapshots__/spaces_client.test.ts.snap rename to x-pack/legacy/plugins/spaces/server/lib/spaces_client/__snapshots__/spaces_client.test.ts.snap diff --git a/x-pack/plugins/spaces/server/lib/spaces_client/index.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_client/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_client/index.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_client/index.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.mock.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.mock.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.mock.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.mock.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.test.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.test.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_client/spaces_client.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_client/spaces_client.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts similarity index 98% rename from x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts index 3eb54c6b4e08e..4c548924c2818 100644 --- a/x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts +++ b/x-pack/legacy/plugins/spaces/server/lib/spaces_tutorial_context_factory.test.ts @@ -10,7 +10,7 @@ import { createSpacesTutorialContextFactory } from './spaces_tutorial_context_fa import { SpacesService } from '../new_platform/spaces_service'; import { SavedObjectsService } from 'src/core/server'; import { SpacesAuditLogger } from './audit_logger'; -import { elasticsearchServiceMock, httpServiceMock } from '../../../../../src/core/server/mocks'; +import { elasticsearchServiceMock, httpServiceMock } from '../../../../../../src/core/server/mocks'; import { spacesServiceMock } from '../new_platform/spaces_service/spaces_service.mock'; import { createOptionalPlugin } from '../../../../server/lib/optional_plugin'; diff --git a/x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_tutorial_context_factory.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_tutorial_context_factory.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_tutorial_context_factory.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_url_parser.test.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_url_parser.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_url_parser.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_url_parser.test.ts diff --git a/x-pack/plugins/spaces/server/lib/spaces_url_parser.ts b/x-pack/legacy/plugins/spaces/server/lib/spaces_url_parser.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/spaces_url_parser.ts rename to x-pack/legacy/plugins/spaces/server/lib/spaces_url_parser.ts diff --git a/x-pack/plugins/spaces/server/lib/toggle_ui_capabilities.test.ts b/x-pack/legacy/plugins/spaces/server/lib/toggle_ui_capabilities.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/toggle_ui_capabilities.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/toggle_ui_capabilities.test.ts diff --git a/x-pack/plugins/spaces/server/lib/toggle_ui_capabilities.ts b/x-pack/legacy/plugins/spaces/server/lib/toggle_ui_capabilities.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/toggle_ui_capabilities.ts rename to x-pack/legacy/plugins/spaces/server/lib/toggle_ui_capabilities.ts diff --git a/x-pack/plugins/spaces/server/lib/utils/url.test.ts b/x-pack/legacy/plugins/spaces/server/lib/utils/url.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/utils/url.test.ts rename to x-pack/legacy/plugins/spaces/server/lib/utils/url.test.ts diff --git a/x-pack/plugins/spaces/server/lib/utils/url.ts b/x-pack/legacy/plugins/spaces/server/lib/utils/url.ts similarity index 100% rename from x-pack/plugins/spaces/server/lib/utils/url.ts rename to x-pack/legacy/plugins/spaces/server/lib/utils/url.ts diff --git a/x-pack/plugins/spaces/server/new_platform/config.ts b/x-pack/legacy/plugins/spaces/server/new_platform/config.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/config.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/config.ts diff --git a/x-pack/plugins/spaces/server/new_platform/index.ts b/x-pack/legacy/plugins/spaces/server/new_platform/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/index.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/index.ts diff --git a/x-pack/plugins/spaces/server/new_platform/plugin.ts b/x-pack/legacy/plugins/spaces/server/new_platform/plugin.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/plugin.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/plugin.ts diff --git a/x-pack/plugins/spaces/server/new_platform/spaces_service/index.ts b/x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/spaces_service/index.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/index.ts diff --git a/x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.mock.ts b/x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.mock.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.mock.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.mock.ts diff --git a/x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.test.ts b/x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.test.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.test.ts diff --git a/x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.ts b/x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.ts similarity index 100% rename from x-pack/plugins/spaces/server/new_platform/spaces_service/spaces_service.ts rename to x-pack/legacy/plugins/spaces/server/new_platform/spaces_service/spaces_service.ts diff --git a/x-pack/plugins/spaces/server/routes/api/__fixtures__/create_spaces.ts b/x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/create_spaces.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/__fixtures__/create_spaces.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/create_spaces.ts diff --git a/x-pack/plugins/spaces/server/routes/api/__fixtures__/create_test_handler.ts b/x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/create_test_handler.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/__fixtures__/create_test_handler.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/create_test_handler.ts diff --git a/x-pack/plugins/spaces/server/routes/api/__fixtures__/index.ts b/x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/__fixtures__/index.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/__fixtures__/index.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/delete.test.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/delete.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/delete.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/delete.test.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/delete.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/delete.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/delete.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/delete.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/get.test.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/get.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/get.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/get.test.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/get.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/get.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/get.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/get.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/index.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/index.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/index.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/post.test.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/post.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/post.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/post.test.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/post.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/post.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/post.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/post.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/put.test.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/put.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/put.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/put.test.ts diff --git a/x-pack/plugins/spaces/server/routes/api/external/put.ts b/x-pack/legacy/plugins/spaces/server/routes/api/external/put.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/external/put.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/external/put.ts diff --git a/x-pack/plugins/spaces/server/routes/api/v1/index.ts b/x-pack/legacy/plugins/spaces/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/v1/index.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/spaces/server/routes/api/v1/spaces.test.ts b/x-pack/legacy/plugins/spaces/server/routes/api/v1/spaces.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/v1/spaces.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/v1/spaces.test.ts diff --git a/x-pack/plugins/spaces/server/routes/api/v1/spaces.ts b/x-pack/legacy/plugins/spaces/server/routes/api/v1/spaces.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/api/v1/spaces.ts rename to x-pack/legacy/plugins/spaces/server/routes/api/v1/spaces.ts diff --git a/x-pack/plugins/spaces/server/routes/lib/convert_saved_object_to_space.test.ts b/x-pack/legacy/plugins/spaces/server/routes/lib/convert_saved_object_to_space.test.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/lib/convert_saved_object_to_space.test.ts rename to x-pack/legacy/plugins/spaces/server/routes/lib/convert_saved_object_to_space.test.ts diff --git a/x-pack/plugins/spaces/server/routes/lib/convert_saved_object_to_space.ts b/x-pack/legacy/plugins/spaces/server/routes/lib/convert_saved_object_to_space.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/lib/convert_saved_object_to_space.ts rename to x-pack/legacy/plugins/spaces/server/routes/lib/convert_saved_object_to_space.ts diff --git a/x-pack/plugins/spaces/server/routes/lib/get_space_by_id.ts b/x-pack/legacy/plugins/spaces/server/routes/lib/get_space_by_id.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/lib/get_space_by_id.ts rename to x-pack/legacy/plugins/spaces/server/routes/lib/get_space_by_id.ts diff --git a/x-pack/plugins/spaces/server/routes/lib/index.ts b/x-pack/legacy/plugins/spaces/server/routes/lib/index.ts similarity index 100% rename from x-pack/plugins/spaces/server/routes/lib/index.ts rename to x-pack/legacy/plugins/spaces/server/routes/lib/index.ts diff --git a/x-pack/plugins/spaces/types.d.ts b/x-pack/legacy/plugins/spaces/types.d.ts similarity index 100% rename from x-pack/plugins/spaces/types.d.ts rename to x-pack/legacy/plugins/spaces/types.d.ts diff --git a/x-pack/plugins/task_manager/README.md b/x-pack/legacy/plugins/task_manager/README.md similarity index 100% rename from x-pack/plugins/task_manager/README.md rename to x-pack/legacy/plugins/task_manager/README.md diff --git a/x-pack/plugins/task_manager/constants.ts b/x-pack/legacy/plugins/task_manager/constants.ts similarity index 90% rename from x-pack/plugins/task_manager/constants.ts rename to x-pack/legacy/plugins/task_manager/constants.ts index 3b671842d4c51..a43ac1893b685 100644 --- a/x-pack/plugins/task_manager/constants.ts +++ b/x-pack/legacy/plugins/task_manager/constants.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import xPackage from '../../package.json'; +import xPackage from '../../../package.json'; import { getTemplateVersion } from './lib/get_template_version'; export const TASK_MANAGER_API_VERSION = 1; diff --git a/x-pack/plugins/task_manager/index.js b/x-pack/legacy/plugins/task_manager/index.js similarity index 100% rename from x-pack/plugins/task_manager/index.js rename to x-pack/legacy/plugins/task_manager/index.js diff --git a/x-pack/plugins/task_manager/lib/fill_pool.test.ts b/x-pack/legacy/plugins/task_manager/lib/fill_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/fill_pool.test.ts rename to x-pack/legacy/plugins/task_manager/lib/fill_pool.test.ts diff --git a/x-pack/plugins/task_manager/lib/fill_pool.ts b/x-pack/legacy/plugins/task_manager/lib/fill_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/fill_pool.ts rename to x-pack/legacy/plugins/task_manager/lib/fill_pool.ts diff --git a/x-pack/plugins/task_manager/lib/get_template_version.test.ts b/x-pack/legacy/plugins/task_manager/lib/get_template_version.test.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/get_template_version.test.ts rename to x-pack/legacy/plugins/task_manager/lib/get_template_version.test.ts diff --git a/x-pack/plugins/task_manager/lib/get_template_version.ts b/x-pack/legacy/plugins/task_manager/lib/get_template_version.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/get_template_version.ts rename to x-pack/legacy/plugins/task_manager/lib/get_template_version.ts diff --git a/x-pack/plugins/task_manager/lib/intervals.test.ts b/x-pack/legacy/plugins/task_manager/lib/intervals.test.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/intervals.test.ts rename to x-pack/legacy/plugins/task_manager/lib/intervals.test.ts diff --git a/x-pack/plugins/task_manager/lib/intervals.ts b/x-pack/legacy/plugins/task_manager/lib/intervals.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/intervals.ts rename to x-pack/legacy/plugins/task_manager/lib/intervals.ts diff --git a/x-pack/plugins/task_manager/lib/logger.ts b/x-pack/legacy/plugins/task_manager/lib/logger.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/logger.ts rename to x-pack/legacy/plugins/task_manager/lib/logger.ts diff --git a/x-pack/plugins/task_manager/lib/middleware.test.ts b/x-pack/legacy/plugins/task_manager/lib/middleware.test.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/middleware.test.ts rename to x-pack/legacy/plugins/task_manager/lib/middleware.test.ts diff --git a/x-pack/plugins/task_manager/lib/middleware.ts b/x-pack/legacy/plugins/task_manager/lib/middleware.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/middleware.ts rename to x-pack/legacy/plugins/task_manager/lib/middleware.ts diff --git a/x-pack/plugins/task_manager/lib/sanitize_task_definitions.test.ts b/x-pack/legacy/plugins/task_manager/lib/sanitize_task_definitions.test.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/sanitize_task_definitions.test.ts rename to x-pack/legacy/plugins/task_manager/lib/sanitize_task_definitions.test.ts diff --git a/x-pack/plugins/task_manager/lib/sanitize_task_definitions.ts b/x-pack/legacy/plugins/task_manager/lib/sanitize_task_definitions.ts similarity index 100% rename from x-pack/plugins/task_manager/lib/sanitize_task_definitions.ts rename to x-pack/legacy/plugins/task_manager/lib/sanitize_task_definitions.ts diff --git a/x-pack/plugins/task_manager/task.ts b/x-pack/legacy/plugins/task_manager/task.ts similarity index 100% rename from x-pack/plugins/task_manager/task.ts rename to x-pack/legacy/plugins/task_manager/task.ts diff --git a/x-pack/plugins/task_manager/task_manager.test.ts b/x-pack/legacy/plugins/task_manager/task_manager.test.ts similarity index 100% rename from x-pack/plugins/task_manager/task_manager.test.ts rename to x-pack/legacy/plugins/task_manager/task_manager.test.ts diff --git a/x-pack/plugins/task_manager/task_manager.ts b/x-pack/legacy/plugins/task_manager/task_manager.ts similarity index 100% rename from x-pack/plugins/task_manager/task_manager.ts rename to x-pack/legacy/plugins/task_manager/task_manager.ts diff --git a/x-pack/plugins/task_manager/task_poller.test.ts b/x-pack/legacy/plugins/task_manager/task_poller.test.ts similarity index 100% rename from x-pack/plugins/task_manager/task_poller.test.ts rename to x-pack/legacy/plugins/task_manager/task_poller.test.ts diff --git a/x-pack/plugins/task_manager/task_poller.ts b/x-pack/legacy/plugins/task_manager/task_poller.ts similarity index 100% rename from x-pack/plugins/task_manager/task_poller.ts rename to x-pack/legacy/plugins/task_manager/task_poller.ts diff --git a/x-pack/plugins/task_manager/task_pool.test.ts b/x-pack/legacy/plugins/task_manager/task_pool.test.ts similarity index 100% rename from x-pack/plugins/task_manager/task_pool.test.ts rename to x-pack/legacy/plugins/task_manager/task_pool.test.ts diff --git a/x-pack/plugins/task_manager/task_pool.ts b/x-pack/legacy/plugins/task_manager/task_pool.ts similarity index 100% rename from x-pack/plugins/task_manager/task_pool.ts rename to x-pack/legacy/plugins/task_manager/task_pool.ts diff --git a/x-pack/plugins/task_manager/task_runner.test.ts b/x-pack/legacy/plugins/task_manager/task_runner.test.ts similarity index 100% rename from x-pack/plugins/task_manager/task_runner.test.ts rename to x-pack/legacy/plugins/task_manager/task_runner.test.ts diff --git a/x-pack/plugins/task_manager/task_runner.ts b/x-pack/legacy/plugins/task_manager/task_runner.ts similarity index 100% rename from x-pack/plugins/task_manager/task_runner.ts rename to x-pack/legacy/plugins/task_manager/task_runner.ts diff --git a/x-pack/plugins/task_manager/task_store.test.ts b/x-pack/legacy/plugins/task_manager/task_store.test.ts similarity index 100% rename from x-pack/plugins/task_manager/task_store.test.ts rename to x-pack/legacy/plugins/task_manager/task_store.test.ts diff --git a/x-pack/plugins/task_manager/task_store.ts b/x-pack/legacy/plugins/task_manager/task_store.ts similarity index 100% rename from x-pack/plugins/task_manager/task_store.ts rename to x-pack/legacy/plugins/task_manager/task_store.ts diff --git a/x-pack/plugins/task_manager/test_utils/index.ts b/x-pack/legacy/plugins/task_manager/test_utils/index.ts similarity index 100% rename from x-pack/plugins/task_manager/test_utils/index.ts rename to x-pack/legacy/plugins/task_manager/test_utils/index.ts diff --git a/x-pack/plugins/telemetry/common/constants.ts b/x-pack/legacy/plugins/telemetry/common/constants.ts similarity index 100% rename from x-pack/plugins/telemetry/common/constants.ts rename to x-pack/legacy/plugins/telemetry/common/constants.ts diff --git a/x-pack/plugins/telemetry/common/get_xpack_config_with_deprecated.ts b/x-pack/legacy/plugins/telemetry/common/get_xpack_config_with_deprecated.ts similarity index 100% rename from x-pack/plugins/telemetry/common/get_xpack_config_with_deprecated.ts rename to x-pack/legacy/plugins/telemetry/common/get_xpack_config_with_deprecated.ts diff --git a/x-pack/plugins/telemetry/index.ts b/x-pack/legacy/plugins/telemetry/index.ts similarity index 100% rename from x-pack/plugins/telemetry/index.ts rename to x-pack/legacy/plugins/telemetry/index.ts diff --git a/x-pack/plugins/telemetry/mappings.json b/x-pack/legacy/plugins/telemetry/mappings.json similarity index 100% rename from x-pack/plugins/telemetry/mappings.json rename to x-pack/legacy/plugins/telemetry/mappings.json diff --git a/x-pack/plugins/telemetry/public/components/__snapshots__/opt_in_details_component.test.js.snap b/x-pack/legacy/plugins/telemetry/public/components/__snapshots__/opt_in_details_component.test.js.snap similarity index 100% rename from x-pack/plugins/telemetry/public/components/__snapshots__/opt_in_details_component.test.js.snap rename to x-pack/legacy/plugins/telemetry/public/components/__snapshots__/opt_in_details_component.test.js.snap diff --git a/x-pack/plugins/telemetry/public/components/__snapshots__/telemetry_form.test.js.snap b/x-pack/legacy/plugins/telemetry/public/components/__snapshots__/telemetry_form.test.js.snap similarity index 100% rename from x-pack/plugins/telemetry/public/components/__snapshots__/telemetry_form.test.js.snap rename to x-pack/legacy/plugins/telemetry/public/components/__snapshots__/telemetry_form.test.js.snap diff --git a/x-pack/plugins/telemetry/public/components/index.js b/x-pack/legacy/plugins/telemetry/public/components/index.js similarity index 100% rename from x-pack/plugins/telemetry/public/components/index.js rename to x-pack/legacy/plugins/telemetry/public/components/index.js diff --git a/x-pack/plugins/telemetry/public/components/opt_in_details_component.js b/x-pack/legacy/plugins/telemetry/public/components/opt_in_details_component.js similarity index 100% rename from x-pack/plugins/telemetry/public/components/opt_in_details_component.js rename to x-pack/legacy/plugins/telemetry/public/components/opt_in_details_component.js diff --git a/x-pack/plugins/telemetry/public/components/opt_in_details_component.test.js b/x-pack/legacy/plugins/telemetry/public/components/opt_in_details_component.test.js similarity index 100% rename from x-pack/plugins/telemetry/public/components/opt_in_details_component.test.js rename to x-pack/legacy/plugins/telemetry/public/components/opt_in_details_component.test.js diff --git a/x-pack/plugins/telemetry/public/components/telemetry_form.js b/x-pack/legacy/plugins/telemetry/public/components/telemetry_form.js similarity index 100% rename from x-pack/plugins/telemetry/public/components/telemetry_form.js rename to x-pack/legacy/plugins/telemetry/public/components/telemetry_form.js diff --git a/x-pack/plugins/telemetry/public/components/telemetry_form.test.js b/x-pack/legacy/plugins/telemetry/public/components/telemetry_form.test.js similarity index 100% rename from x-pack/plugins/telemetry/public/components/telemetry_form.test.js rename to x-pack/legacy/plugins/telemetry/public/components/telemetry_form.test.js diff --git a/x-pack/plugins/telemetry/public/hacks/__tests__/fetch_telemetry.js b/x-pack/legacy/plugins/telemetry/public/hacks/__tests__/fetch_telemetry.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/__tests__/fetch_telemetry.js rename to x-pack/legacy/plugins/telemetry/public/hacks/__tests__/fetch_telemetry.js diff --git a/x-pack/plugins/telemetry/public/hacks/__tests__/telemetry.js b/x-pack/legacy/plugins/telemetry/public/hacks/__tests__/telemetry.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/__tests__/telemetry.js rename to x-pack/legacy/plugins/telemetry/public/hacks/__tests__/telemetry.js diff --git a/x-pack/plugins/telemetry/public/hacks/fetch_telemetry.js b/x-pack/legacy/plugins/telemetry/public/hacks/fetch_telemetry.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/fetch_telemetry.js rename to x-pack/legacy/plugins/telemetry/public/hacks/fetch_telemetry.js diff --git a/x-pack/plugins/telemetry/public/hacks/telemetry.js b/x-pack/legacy/plugins/telemetry/public/hacks/telemetry.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/telemetry.js rename to x-pack/legacy/plugins/telemetry/public/hacks/telemetry.js diff --git a/x-pack/plugins/telemetry/public/hacks/telemetry.test.js b/x-pack/legacy/plugins/telemetry/public/hacks/telemetry.test.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/telemetry.test.js rename to x-pack/legacy/plugins/telemetry/public/hacks/telemetry.test.js diff --git a/x-pack/plugins/telemetry/public/hacks/telemetry_opt_in.js b/x-pack/legacy/plugins/telemetry/public/hacks/telemetry_opt_in.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/telemetry_opt_in.js rename to x-pack/legacy/plugins/telemetry/public/hacks/telemetry_opt_in.js diff --git a/x-pack/plugins/telemetry/public/hacks/telemetry_trigger.js b/x-pack/legacy/plugins/telemetry/public/hacks/telemetry_trigger.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/telemetry_trigger.js rename to x-pack/legacy/plugins/telemetry/public/hacks/telemetry_trigger.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/click_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/click_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/click_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/click_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/handle_old_settings.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/handle_old_settings.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/handle_old_settings.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/handle_old_settings.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/render_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/render_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/render_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/render_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/should_show_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/should_show_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/__tests__/should_show_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/__tests__/should_show_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/click_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/click_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/click_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/click_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/handle_old_settings.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/handle_old_settings.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/handle_old_settings.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/handle_old_settings.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/index.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/index.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/index.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/index.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/inject_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/inject_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/inject_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/inject_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/render_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/render_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/render_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/render_banner.js diff --git a/x-pack/plugins/telemetry/public/hacks/welcome_banner/should_show_banner.js b/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/should_show_banner.js similarity index 100% rename from x-pack/plugins/telemetry/public/hacks/welcome_banner/should_show_banner.js rename to x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/should_show_banner.js diff --git a/x-pack/plugins/telemetry/public/services/telemetry_opt_in.js b/x-pack/legacy/plugins/telemetry/public/services/telemetry_opt_in.js similarity index 100% rename from x-pack/plugins/telemetry/public/services/telemetry_opt_in.js rename to x-pack/legacy/plugins/telemetry/public/services/telemetry_opt_in.js diff --git a/x-pack/plugins/telemetry/public/services/telemetry_opt_in.test.js b/x-pack/legacy/plugins/telemetry/public/services/telemetry_opt_in.test.js similarity index 100% rename from x-pack/plugins/telemetry/public/services/telemetry_opt_in.test.js rename to x-pack/legacy/plugins/telemetry/public/services/telemetry_opt_in.test.js diff --git a/x-pack/plugins/telemetry/public/views/management/index.js b/x-pack/legacy/plugins/telemetry/public/views/management/index.js similarity index 100% rename from x-pack/plugins/telemetry/public/views/management/index.js rename to x-pack/legacy/plugins/telemetry/public/views/management/index.js diff --git a/x-pack/plugins/telemetry/public/views/management/management.js b/x-pack/legacy/plugins/telemetry/public/views/management/management.js similarity index 100% rename from x-pack/plugins/telemetry/public/views/management/management.js rename to x-pack/legacy/plugins/telemetry/public/views/management/management.js diff --git a/x-pack/plugins/telemetry/server/collectors/encryption/encrypt.test.ts b/x-pack/legacy/plugins/telemetry/server/collectors/encryption/encrypt.test.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/encryption/encrypt.test.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/encryption/encrypt.test.ts diff --git a/x-pack/plugins/telemetry/server/collectors/encryption/encrypt.ts b/x-pack/legacy/plugins/telemetry/server/collectors/encryption/encrypt.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/encryption/encrypt.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/encryption/encrypt.ts diff --git a/x-pack/plugins/telemetry/server/collectors/encryption/index.ts b/x-pack/legacy/plugins/telemetry/server/collectors/encryption/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/encryption/index.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/encryption/index.ts diff --git a/x-pack/plugins/telemetry/server/collectors/encryption/telemetry_jwks.ts b/x-pack/legacy/plugins/telemetry/server/collectors/encryption/telemetry_jwks.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/encryption/telemetry_jwks.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/encryption/telemetry_jwks.ts diff --git a/x-pack/plugins/telemetry/server/collectors/get_stats.ts b/x-pack/legacy/plugins/telemetry/server/collectors/get_stats.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/get_stats.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/get_stats.ts diff --git a/x-pack/plugins/telemetry/server/collectors/index.ts b/x-pack/legacy/plugins/telemetry/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/index.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/index.ts diff --git a/x-pack/plugins/telemetry/server/collectors/local/__tests__/get_cluster_info.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_cluster_info.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/__tests__/get_cluster_info.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_cluster_info.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/__tests__/get_cluster_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_cluster_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/__tests__/get_cluster_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_cluster_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/__tests__/get_local_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_local_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/__tests__/get_local_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_local_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/__tests__/get_xpack.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_xpack.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/__tests__/get_xpack.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/__tests__/get_xpack.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/constants.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/constants.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/constants.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/constants.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/get_cluster_info.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/get_cluster_info.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/get_cluster_info.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/get_cluster_info.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/get_cluster_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/get_cluster_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/get_cluster_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/get_cluster_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/get_kibana.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/get_kibana.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/get_kibana.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/get_kibana.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/get_local_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/get_local_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/get_local_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/get_local_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/get_xpack.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/get_xpack.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/get_xpack.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/get_xpack.js diff --git a/x-pack/plugins/telemetry/server/collectors/local/index.js b/x-pack/legacy/plugins/telemetry/server/collectors/local/index.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/local/index.js rename to x-pack/legacy/plugins/telemetry/server/collectors/local/index.js diff --git a/x-pack/plugins/telemetry/server/collectors/localization/file_integrity.test.mocks.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.test.mocks.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/file_integrity.test.mocks.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.test.mocks.ts diff --git a/x-pack/plugins/telemetry/server/collectors/localization/file_integrity.test.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.test.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/file_integrity.test.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.test.ts diff --git a/x-pack/plugins/telemetry/server/collectors/localization/file_integrity.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/file_integrity.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/file_integrity.ts diff --git a/x-pack/plugins/telemetry/server/collectors/localization/index.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/index.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/index.ts diff --git a/x-pack/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.test.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.test.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.test.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.test.ts diff --git a/x-pack/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.ts b/x-pack/legacy/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/localization/telemetry_localization_collector.ts diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/create_query.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/create_query.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/create_query.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/create_query.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/fixtures/beats_stats_results.json b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/fixtures/beats_stats_results.json similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/fixtures/beats_stats_results.json rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/fixtures/beats_stats_results.json diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_all_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_all_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_all_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_all_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_beats_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_beats_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_beats_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_beats_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_cluster_uuids.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_cluster_uuids.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_cluster_uuids.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_cluster_uuids.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_es_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_es_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_es_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_es_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_high_level_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_high_level_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_high_level_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_high_level_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_kibana_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_kibana_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/__tests__/get_kibana_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/__tests__/get_kibana_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/create_query.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/create_query.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/create_query.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/create_query.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_all_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_all_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_all_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_all_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_beats_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_beats_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_beats_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_beats_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_cluster_uuids.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_cluster_uuids.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_cluster_uuids.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_cluster_uuids.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_es_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_es_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_es_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_es_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_high_level_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_high_level_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_high_level_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_high_level_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/get_kibana_stats.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_kibana_stats.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/get_kibana_stats.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/get_kibana_stats.js diff --git a/x-pack/plugins/telemetry/server/collectors/monitoring/index.js b/x-pack/legacy/plugins/telemetry/server/collectors/monitoring/index.js similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/monitoring/index.js rename to x-pack/legacy/plugins/telemetry/server/collectors/monitoring/index.js diff --git a/x-pack/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts b/x-pack/legacy/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/usage/ensure_deep_object.test.ts diff --git a/x-pack/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts b/x-pack/legacy/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts similarity index 95% rename from x-pack/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts index 32a1bd8694436..5b00aab010d5c 100644 --- a/x-pack/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts +++ b/x-pack/legacy/plugins/telemetry/server/collectors/usage/ensure_deep_object.ts @@ -6,7 +6,7 @@ // // THIS IS A DIRECT COPY OF -// '../../../../../../../src/core/server/config/ensure_deep_object' +// '../../../../../../../../src/core/server/config/ensure_deep_object' // BECAUSE THAT IS BLOCKED FOR IMPORTING BY OUR LINTER. // // IF THAT IS EXPOSED, WE SHOULD USE IT RATHER THAN CLONE IT. diff --git a/x-pack/plugins/telemetry/server/collectors/usage/index.ts b/x-pack/legacy/plugins/telemetry/server/collectors/usage/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/usage/index.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/usage/index.ts diff --git a/x-pack/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts b/x-pack/legacy/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.test.ts diff --git a/x-pack/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts b/x-pack/legacy/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts similarity index 100% rename from x-pack/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts rename to x-pack/legacy/plugins/telemetry/server/collectors/usage/telemetry_usage_collector.ts diff --git a/x-pack/plugins/telemetry/server/get_telemetry_opt_in.ts b/x-pack/legacy/plugins/telemetry/server/get_telemetry_opt_in.ts similarity index 100% rename from x-pack/plugins/telemetry/server/get_telemetry_opt_in.ts rename to x-pack/legacy/plugins/telemetry/server/get_telemetry_opt_in.ts diff --git a/x-pack/plugins/telemetry/server/index.ts b/x-pack/legacy/plugins/telemetry/server/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/index.ts rename to x-pack/legacy/plugins/telemetry/server/index.ts diff --git a/x-pack/plugins/telemetry/server/plugin.ts b/x-pack/legacy/plugins/telemetry/server/plugin.ts similarity index 100% rename from x-pack/plugins/telemetry/server/plugin.ts rename to x-pack/legacy/plugins/telemetry/server/plugin.ts diff --git a/x-pack/plugins/telemetry/server/routes/index.ts b/x-pack/legacy/plugins/telemetry/server/routes/index.ts similarity index 100% rename from x-pack/plugins/telemetry/server/routes/index.ts rename to x-pack/legacy/plugins/telemetry/server/routes/index.ts diff --git a/x-pack/plugins/telemetry/server/routes/opt_in.ts b/x-pack/legacy/plugins/telemetry/server/routes/opt_in.ts similarity index 100% rename from x-pack/plugins/telemetry/server/routes/opt_in.ts rename to x-pack/legacy/plugins/telemetry/server/routes/opt_in.ts diff --git a/x-pack/plugins/telemetry/server/routes/telemetry_stats.ts b/x-pack/legacy/plugins/telemetry/server/routes/telemetry_stats.ts similarity index 100% rename from x-pack/plugins/telemetry/server/routes/telemetry_stats.ts rename to x-pack/legacy/plugins/telemetry/server/routes/telemetry_stats.ts diff --git a/x-pack/plugins/tilemap/README.md b/x-pack/legacy/plugins/tilemap/README.md similarity index 100% rename from x-pack/plugins/tilemap/README.md rename to x-pack/legacy/plugins/tilemap/README.md diff --git a/x-pack/plugins/tilemap/index.js b/x-pack/legacy/plugins/tilemap/index.js similarity index 100% rename from x-pack/plugins/tilemap/index.js rename to x-pack/legacy/plugins/tilemap/index.js diff --git a/x-pack/plugins/tilemap/public/vis_type_enhancers/update_tilemap_settings.js b/x-pack/legacy/plugins/tilemap/public/vis_type_enhancers/update_tilemap_settings.js similarity index 100% rename from x-pack/plugins/tilemap/public/vis_type_enhancers/update_tilemap_settings.js rename to x-pack/legacy/plugins/tilemap/public/vis_type_enhancers/update_tilemap_settings.js diff --git a/x-pack/plugins/tilemap/server/lib/__tests__/inspect_settings.js b/x-pack/legacy/plugins/tilemap/server/lib/__tests__/inspect_settings.js similarity index 100% rename from x-pack/plugins/tilemap/server/lib/__tests__/inspect_settings.js rename to x-pack/legacy/plugins/tilemap/server/lib/__tests__/inspect_settings.js diff --git a/x-pack/plugins/tilemap/server/lib/inspect_settings.js b/x-pack/legacy/plugins/tilemap/server/lib/inspect_settings.js similarity index 100% rename from x-pack/plugins/tilemap/server/lib/inspect_settings.js rename to x-pack/legacy/plugins/tilemap/server/lib/inspect_settings.js diff --git a/x-pack/plugins/translations/index.ts b/x-pack/legacy/plugins/translations/index.ts similarity index 100% rename from x-pack/plugins/translations/index.ts rename to x-pack/legacy/plugins/translations/index.ts diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/legacy/plugins/translations/translations/ja-JP.json similarity index 99% rename from x-pack/plugins/translations/translations/ja-JP.json rename to x-pack/legacy/plugins/translations/translations/ja-JP.json index d3b037c8c8f9b..c258bc81eec5f 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/legacy/plugins/translations/translations/ja-JP.json @@ -4499,7 +4499,6 @@ "xpack.idxMgmt.indexActionsMenu.clearIndexCacheLabel": "{selectedIndexCount, plural, one {インデックス} other {インデックス} }のキャッシュを消去", "xpack.idxMgmt.indexActionsMenu.closeIndexLabel": "{selectedIndexCount, plural, one {インデックス} other {インデックス} }を閉じる", "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.cancelButtonText": "キャンセル", - "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.confirmButtonText": "確認", "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.modalTitle": "{selectedIndexCount, plural, one {インデックス} other {インデックス} } の削除の確認", "xpack.idxMgmt.indexActionsMenu.deleteIndex.deleteDescription": "{selectedIndexCount, plural, one {このインデックス} other {これらのインデックス} }を削除しようとしています:", "xpack.idxMgmt.indexActionsMenu.deleteIndex.deleteWarningDescription": "この操作は元に戻すことができません。適切なバックアップがあることを確認してください。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/legacy/plugins/translations/translations/zh-CN.json similarity index 99% rename from x-pack/plugins/translations/translations/zh-CN.json rename to x-pack/legacy/plugins/translations/translations/zh-CN.json index 63e6d0f93bca8..ba3280d18b7d9 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/legacy/plugins/translations/translations/zh-CN.json @@ -3779,7 +3779,6 @@ "xpack.idxMgmt.indexActionsMenu.clearIndexCacheLabel": "清除 {selectedIndexCount, plural, one { 个索引} other { 个索引} } 缓存", "xpack.idxMgmt.indexActionsMenu.closeIndexLabel": "关闭 {selectedIndexCount, plural, one { 个索引} other { 个索引} }", "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.cancelButtonText": "取消", - "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.confirmButtonText": "确认", "xpack.idxMgmt.indexActionsMenu.deleteIndex.confirmModal.modalTitle": "确认删除 {selectedIndexCount, plural, one { 个索引} other { 个索引} }", "xpack.idxMgmt.indexActionsMenu.deleteIndex.deleteDescription": "您将要删除{selectedIndexCount, plural, one {以下索引} other {以下索引} }:", "xpack.idxMgmt.indexActionsMenu.deleteIndex.deleteWarningDescription": "此操作无法撤消。确保您有适当的备份。", diff --git a/x-pack/plugins/upgrade_assistant/common/types.ts b/x-pack/legacy/plugins/upgrade_assistant/common/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/common/types.ts rename to x-pack/legacy/plugins/upgrade_assistant/common/types.ts diff --git a/x-pack/plugins/upgrade_assistant/common/version.ts b/x-pack/legacy/plugins/upgrade_assistant/common/version.ts similarity index 92% rename from x-pack/plugins/upgrade_assistant/common/version.ts rename to x-pack/legacy/plugins/upgrade_assistant/common/version.ts index 090cf58c9b165..744ec4e87a49b 100644 --- a/x-pack/plugins/upgrade_assistant/common/version.ts +++ b/x-pack/legacy/plugins/upgrade_assistant/common/version.ts @@ -5,7 +5,7 @@ */ import { SemVer } from 'semver'; -import pkg from '../../../package.json'; +import pkg from '../../../../package.json'; export const CURRENT_VERSION = new SemVer(pkg.version as string); export const CURRENT_MAJOR_VERSION = CURRENT_VERSION.major; diff --git a/x-pack/plugins/upgrade_assistant/index.ts b/x-pack/legacy/plugins/upgrade_assistant/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/index.ts rename to x-pack/legacy/plugins/upgrade_assistant/index.ts diff --git a/x-pack/plugins/upgrade_assistant/mappings.json b/x-pack/legacy/plugins/upgrade_assistant/mappings.json similarity index 100% rename from x-pack/plugins/upgrade_assistant/mappings.json rename to x-pack/legacy/plugins/upgrade_assistant/mappings.json diff --git a/x-pack/plugins/upgrade_assistant/public/app.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/app.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/app.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/app.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/error_banner.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/error_banner.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/error_banner.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/error_banner.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/latest_minor_banner.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/latest_minor_banner.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/latest_minor_banner.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/latest_minor_banner.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/__fixtures__/checkup_api_response.json b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/__fixtures__/checkup_api_response.json similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/__fixtures__/checkup_api_response.json rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/__fixtures__/checkup_api_response.json diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/filter_bar.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/group_by_bar.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/group_by_bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/group_by_bar.test.tsx.snap rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/group_by_bar.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/checkup_tab.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/constants.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/constants.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/constants.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/constants.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/controls.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/controls.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/controls.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/controls.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_cell.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_cell.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_cell.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_cell.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/cell.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/cell.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/cell.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/cell.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/count_summary.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/count_summary.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/count_summary.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/count_summary.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/grouped.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/health.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/health.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/health.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/health.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/index_table.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/list.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_button.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_button.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_button.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_button.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/button.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/button.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/button.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/button.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/checklist_step.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/warning_step.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/warning_step.test.tsx.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/warning_step.test.tsx.snap rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/__snapshots__/warning_step.test.tsx.snap diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_step_progress.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_step_progress.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_step_progress.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_step_progress.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_warnings_step.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_warnings_step.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_warnings_step.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/_warnings_step.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/checklist_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/container.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/container.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/container.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/container.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/progress.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/step_progress.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/step_progress.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/step_progress.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/step_progress.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warning_step.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warning_step.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warning_step.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warning_step.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warnings_step.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warnings_step.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warnings_step.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/flyout/warnings_step.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.mocks.ts b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.mocks.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.mocks.ts rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.mocks.ts diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.ts b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.test.ts diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.ts b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.ts rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/deprecations/reindex/polling_service.ts diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/filter_bar.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.test.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.test.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.test.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.test.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/group_by_bar.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/checkup/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/overview/_index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/_index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/overview/_index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/_index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/overview/_steps.scss b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/_steps.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/overview/_steps.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/_steps.scss diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/overview/deprecation_logging_toggle.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/deprecation_logging_toggle.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/overview/deprecation_logging_toggle.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/deprecation_logging_toggle.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/overview/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/overview/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/tabs/overview/steps.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/steps.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/tabs/overview/steps.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/overview/steps.tsx diff --git a/x-pack/plugins/upgrade_assistant/public/components/types.ts b/x-pack/legacy/plugins/upgrade_assistant/public/components/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/components/types.ts rename to x-pack/legacy/plugins/upgrade_assistant/public/components/types.ts diff --git a/x-pack/plugins/upgrade_assistant/public/index.scss b/x-pack/legacy/plugins/upgrade_assistant/public/index.scss similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/index.scss rename to x-pack/legacy/plugins/upgrade_assistant/public/index.scss diff --git a/x-pack/plugins/upgrade_assistant/public/index.tsx b/x-pack/legacy/plugins/upgrade_assistant/public/index.tsx similarity index 100% rename from x-pack/plugins/upgrade_assistant/public/index.tsx rename to x-pack/legacy/plugins/upgrade_assistant/public/index.tsx diff --git a/x-pack/plugins/upgrade_assistant/server/index.ts b/x-pack/legacy/plugins/upgrade_assistant/server/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/index.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json b/x-pack/legacy/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/__fixtures__/fake_deprecations.json diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/__mocks__/es_version_precheck.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/__snapshots__/es_migration_apis.test.ts.snap b/x-pack/legacy/plugins/upgrade_assistant/server/lib/__snapshots__/es_migration_apis.test.ts.snap similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/__snapshots__/es_migration_apis.test.ts.snap rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/__snapshots__/es_migration_apis.test.ts.snap diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_deprecation_logging_apis.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_migration_apis.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_migration_apis.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_migration_apis.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_migration_apis.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_version_precheck.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/es_version_precheck.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/es_version_precheck.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/es_version_precheck.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/credential_store.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index_settings.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/index_settings.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_actions.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/types.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/types.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/types.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/types.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/worker.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/worker.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/reindexing/worker.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/reindexing/worker.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_open_apis.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/es_ui_reindex_apis.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/index.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/index.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/index.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/index.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts b/x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/cluster_checkup.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/cluster_checkup.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/cluster_checkup.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/cluster_checkup.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/deprecation_logging.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/deprecation_logging.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/deprecation_logging.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices.test.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/reindex_indices.test.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices.test.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/reindex_indices.test.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/reindex_indices.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/reindex_indices.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/reindex_indices.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/reindex_indices.ts diff --git a/x-pack/plugins/upgrade_assistant/server/routes/telemetry.test.js b/x-pack/legacy/plugins/upgrade_assistant/server/routes/telemetry.test.js similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/telemetry.test.js rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/telemetry.test.js diff --git a/x-pack/plugins/upgrade_assistant/server/routes/telemetry.ts b/x-pack/legacy/plugins/upgrade_assistant/server/routes/telemetry.ts similarity index 100% rename from x-pack/plugins/upgrade_assistant/server/routes/telemetry.ts rename to x-pack/legacy/plugins/upgrade_assistant/server/routes/telemetry.ts diff --git a/x-pack/plugins/uptime/README.md b/x-pack/legacy/plugins/uptime/README.md similarity index 100% rename from x-pack/plugins/uptime/README.md rename to x-pack/legacy/plugins/uptime/README.md diff --git a/x-pack/plugins/uptime/common/constants/capabilities.ts b/x-pack/legacy/plugins/uptime/common/constants/capabilities.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/capabilities.ts rename to x-pack/legacy/plugins/uptime/common/constants/capabilities.ts diff --git a/x-pack/plugins/uptime/common/constants/client_defaults.ts b/x-pack/legacy/plugins/uptime/common/constants/client_defaults.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/client_defaults.ts rename to x-pack/legacy/plugins/uptime/common/constants/client_defaults.ts diff --git a/x-pack/plugins/uptime/common/constants/index.ts b/x-pack/legacy/plugins/uptime/common/constants/index.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/index.ts rename to x-pack/legacy/plugins/uptime/common/constants/index.ts diff --git a/x-pack/plugins/uptime/common/constants/index_names.ts b/x-pack/legacy/plugins/uptime/common/constants/index_names.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/index_names.ts rename to x-pack/legacy/plugins/uptime/common/constants/index_names.ts diff --git a/x-pack/plugins/uptime/common/constants/plugin.ts b/x-pack/legacy/plugins/uptime/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/plugin.ts rename to x-pack/legacy/plugins/uptime/common/constants/plugin.ts diff --git a/x-pack/plugins/uptime/common/constants/query.ts b/x-pack/legacy/plugins/uptime/common/constants/query.ts similarity index 100% rename from x-pack/plugins/uptime/common/constants/query.ts rename to x-pack/legacy/plugins/uptime/common/constants/query.ts diff --git a/x-pack/plugins/uptime/common/domain_types/index.ts b/x-pack/legacy/plugins/uptime/common/domain_types/index.ts similarity index 100% rename from x-pack/plugins/uptime/common/domain_types/index.ts rename to x-pack/legacy/plugins/uptime/common/domain_types/index.ts diff --git a/x-pack/plugins/uptime/common/domain_types/monitors.ts b/x-pack/legacy/plugins/uptime/common/domain_types/monitors.ts similarity index 100% rename from x-pack/plugins/uptime/common/domain_types/monitors.ts rename to x-pack/legacy/plugins/uptime/common/domain_types/monitors.ts diff --git a/x-pack/plugins/uptime/common/graphql/introspection.json b/x-pack/legacy/plugins/uptime/common/graphql/introspection.json similarity index 100% rename from x-pack/plugins/uptime/common/graphql/introspection.json rename to x-pack/legacy/plugins/uptime/common/graphql/introspection.json diff --git a/x-pack/plugins/uptime/common/graphql/resolver_types.ts b/x-pack/legacy/plugins/uptime/common/graphql/resolver_types.ts similarity index 100% rename from x-pack/plugins/uptime/common/graphql/resolver_types.ts rename to x-pack/legacy/plugins/uptime/common/graphql/resolver_types.ts diff --git a/x-pack/plugins/uptime/common/graphql/types.ts b/x-pack/legacy/plugins/uptime/common/graphql/types.ts similarity index 100% rename from x-pack/plugins/uptime/common/graphql/types.ts rename to x-pack/legacy/plugins/uptime/common/graphql/types.ts diff --git a/x-pack/plugins/uptime/index.ts b/x-pack/legacy/plugins/uptime/index.ts similarity index 100% rename from x-pack/plugins/uptime/index.ts rename to x-pack/legacy/plugins/uptime/index.ts diff --git a/x-pack/plugins/uptime/public/app.ts b/x-pack/legacy/plugins/uptime/public/app.ts similarity index 100% rename from x-pack/plugins/uptime/public/app.ts rename to x-pack/legacy/plugins/uptime/public/app.ts diff --git a/x-pack/plugins/uptime/public/apps/kibana_app.ts b/x-pack/legacy/plugins/uptime/public/apps/kibana_app.ts similarity index 100% rename from x-pack/plugins/uptime/public/apps/kibana_app.ts rename to x-pack/legacy/plugins/uptime/public/apps/kibana_app.ts diff --git a/x-pack/plugins/uptime/public/apps/start_app.tsx b/x-pack/legacy/plugins/uptime/public/apps/start_app.tsx similarity index 100% rename from x-pack/plugins/uptime/public/apps/start_app.tsx rename to x-pack/legacy/plugins/uptime/public/apps/start_app.tsx diff --git a/x-pack/plugins/uptime/public/badge.ts b/x-pack/legacy/plugins/uptime/public/badge.ts similarity index 100% rename from x-pack/plugins/uptime/public/badge.ts rename to x-pack/legacy/plugins/uptime/public/badge.ts diff --git a/x-pack/plugins/uptime/public/breadcrumbs.ts b/x-pack/legacy/plugins/uptime/public/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/uptime/public/breadcrumbs.ts rename to x-pack/legacy/plugins/uptime/public/breadcrumbs.ts diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/empty_status_bar.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/empty_status_bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/empty_status_bar.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/empty_status_bar.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/error_list.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/error_list.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/error_list.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/error_list.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/filter_bar.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/filter_bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/filter_bar.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/filter_bar.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_group.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_group.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_group.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_group.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_charts.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_charts.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_charts.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_charts.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list_status_column.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list_status_column.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list_status_column.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_list_status_column.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_sparkline.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_sparkline.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_sparkline.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_sparkline.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_status.bar.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_status.bar.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_status.bar.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/monitor_status.bar.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/ping_list.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/ping_list.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/ping_list.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/ping_list.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot_histogram.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot_histogram.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot_histogram.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/snapshot_histogram.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/empty_status_bar.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/empty_status_bar.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/empty_status_bar.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/empty_status_bar.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/error_list.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/error_list.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/error_list.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/error_list.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/filter_bar.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/filter_bar.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/filter_bar.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/filter_bar.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/format_sparkline_counts.test.ts b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/format_sparkline_counts.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/format_sparkline_counts.test.ts rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/format_sparkline_counts.test.ts diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/integration_group.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/integration_group.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/integration_group.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/integration_group.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/integration_link.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/integration_link.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/integration_link.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/integration_link.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/monitor_charts.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_charts.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/monitor_charts.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_charts.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/monitor_list.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_list.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/monitor_list.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_list.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/monitor_list_status_column.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_list_status_column.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/monitor_list_status_column.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_list_status_column.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/monitor_sparkline.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_sparkline.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/monitor_sparkline.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_sparkline.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/monitor_status.bar.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_status.bar.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/monitor_status.bar.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/monitor_status.bar.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/ping_list.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/ping_list.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/ping_list.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/ping_list.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/snapshot.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/snapshot.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/snapshot.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/snapshot.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/__tests__/snapshot_histogram.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/snapshot_histogram.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/__tests__/snapshot_histogram.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/__tests__/snapshot_histogram.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/empty_state.test.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/empty_state.test.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/__tests__/empty_state.test.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/empty_state.test.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/empty_index.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_index.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/empty_index.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_index.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/empty_state.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/empty_state.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/empty_state_error.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state_error.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/empty_state_error.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state_error.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/empty_state_loading.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state_loading.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/empty_state_loading.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/empty_state_loading.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/empty_state/index.ts b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_state/index.ts rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_state/index.ts diff --git a/x-pack/plugins/uptime/public/components/functional/empty_status_bar.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/empty_status_bar.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/empty_status_bar.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/empty_status_bar.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/error_list.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/error_list.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/error_list.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/error_list.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/filter_bar.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/filter_bar.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/filter_bar.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/filter_bar.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/filter_bar_loading.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/filter_bar_loading.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/filter_bar_loading.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/filter_bar_loading.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/format_sparkline_counts.ts b/x-pack/legacy/plugins/uptime/public/components/functional/format_sparkline_counts.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/format_sparkline_counts.ts rename to x-pack/legacy/plugins/uptime/public/components/functional/format_sparkline_counts.ts diff --git a/x-pack/plugins/uptime/public/components/functional/index.ts b/x-pack/legacy/plugins/uptime/public/components/functional/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/index.ts rename to x-pack/legacy/plugins/uptime/public/components/functional/index.ts diff --git a/x-pack/plugins/uptime/public/components/functional/integration_group.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/integration_group.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/integration_group.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/integration_group.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/integration_link.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/integration_link.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/integration_link.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/integration_link.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_charts.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_charts.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_charts.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_charts.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_list.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_list.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_list.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_list_actions_popover.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list_actions_popover.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_list_actions_popover.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_list_actions_popover.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_list_status_column.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_list_status_column.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_list_status_column.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_list_status_column.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_page_link.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_page_link.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_page_link.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_page_link.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_page_title.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_page_title.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_page_title.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_page_title.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_sparkline.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_sparkline.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_sparkline.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_sparkline.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/monitor_status_bar.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/monitor_status_bar.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/monitor_status_bar.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/monitor_status_bar.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/ping_list.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/ping_list.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/ping_list.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/ping_list.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/search_schema.ts b/x-pack/legacy/plugins/uptime/public/components/functional/search_schema.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/search_schema.ts rename to x-pack/legacy/plugins/uptime/public/components/functional/search_schema.ts diff --git a/x-pack/plugins/uptime/public/components/functional/snapshot.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/snapshot.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/snapshot.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/snapshot.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/snapshot_histogram.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/snapshot_histogram.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/snapshot_loading.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/snapshot_loading.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/snapshot_loading.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/snapshot_loading.tsx diff --git a/x-pack/plugins/uptime/public/components/functional/uptime_date_picker.tsx b/x-pack/legacy/plugins/uptime/public/components/functional/uptime_date_picker.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/functional/uptime_date_picker.tsx rename to x-pack/legacy/plugins/uptime/public/components/functional/uptime_date_picker.tsx diff --git a/x-pack/plugins/uptime/public/components/higher_order/index.ts b/x-pack/legacy/plugins/uptime/public/components/higher_order/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/components/higher_order/index.ts rename to x-pack/legacy/plugins/uptime/public/components/higher_order/index.ts diff --git a/x-pack/plugins/uptime/public/components/higher_order/uptime_graphql_query.tsx b/x-pack/legacy/plugins/uptime/public/components/higher_order/uptime_graphql_query.tsx similarity index 100% rename from x-pack/plugins/uptime/public/components/higher_order/uptime_graphql_query.tsx rename to x-pack/legacy/plugins/uptime/public/components/higher_order/uptime_graphql_query.tsx diff --git a/x-pack/plugins/uptime/public/contexts/index.ts b/x-pack/legacy/plugins/uptime/public/contexts/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/contexts/index.ts rename to x-pack/legacy/plugins/uptime/public/contexts/index.ts diff --git a/x-pack/plugins/uptime/public/contexts/uptime_refresh_context.ts b/x-pack/legacy/plugins/uptime/public/contexts/uptime_refresh_context.ts similarity index 100% rename from x-pack/plugins/uptime/public/contexts/uptime_refresh_context.ts rename to x-pack/legacy/plugins/uptime/public/contexts/uptime_refresh_context.ts diff --git a/x-pack/plugins/uptime/public/contexts/uptime_settings_context.ts b/x-pack/legacy/plugins/uptime/public/contexts/uptime_settings_context.ts similarity index 100% rename from x-pack/plugins/uptime/public/contexts/uptime_settings_context.ts rename to x-pack/legacy/plugins/uptime/public/contexts/uptime_settings_context.ts diff --git a/x-pack/plugins/uptime/public/hooks/__tests__/use_url_params.test.ts b/x-pack/legacy/plugins/uptime/public/hooks/__tests__/use_url_params.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/hooks/__tests__/use_url_params.test.ts rename to x-pack/legacy/plugins/uptime/public/hooks/__tests__/use_url_params.test.ts diff --git a/x-pack/plugins/uptime/public/hooks/index.ts b/x-pack/legacy/plugins/uptime/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/hooks/index.ts rename to x-pack/legacy/plugins/uptime/public/hooks/index.ts diff --git a/x-pack/plugins/uptime/public/hooks/use_url_params.ts b/x-pack/legacy/plugins/uptime/public/hooks/use_url_params.ts similarity index 100% rename from x-pack/plugins/uptime/public/hooks/use_url_params.ts rename to x-pack/legacy/plugins/uptime/public/hooks/use_url_params.ts diff --git a/x-pack/plugins/uptime/public/icons/heartbeat_white.svg b/x-pack/legacy/plugins/uptime/public/icons/heartbeat_white.svg similarity index 100% rename from x-pack/plugins/uptime/public/icons/heartbeat_white.svg rename to x-pack/legacy/plugins/uptime/public/icons/heartbeat_white.svg diff --git a/x-pack/plugins/uptime/public/lib/adapters/framework/apollo_client_adapter.ts b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/apollo_client_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/adapters/framework/apollo_client_adapter.ts rename to x-pack/legacy/plugins/uptime/public/lib/adapters/framework/apollo_client_adapter.ts diff --git a/x-pack/plugins/uptime/public/lib/adapters/framework/capabilities_adapter.ts b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/capabilities_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/adapters/framework/capabilities_adapter.ts rename to x-pack/legacy/plugins/uptime/public/lib/adapters/framework/capabilities_adapter.ts diff --git a/x-pack/plugins/uptime/public/lib/adapters/framework/framework_adapter_types.ts b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/framework_adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/adapters/framework/framework_adapter_types.ts rename to x-pack/legacy/plugins/uptime/public/lib/adapters/framework/framework_adapter_types.ts diff --git a/x-pack/plugins/uptime/public/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/uptime/public/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/uptime/public/lib/adapters/framework/kibana_global_help.tsx b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/kibana_global_help.tsx similarity index 100% rename from x-pack/plugins/uptime/public/lib/adapters/framework/kibana_global_help.tsx rename to x-pack/legacy/plugins/uptime/public/lib/adapters/framework/kibana_global_help.tsx diff --git a/x-pack/plugins/uptime/public/lib/compose/kibana_compose.ts b/x-pack/legacy/plugins/uptime/public/lib/compose/kibana_compose.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/compose/kibana_compose.ts rename to x-pack/legacy/plugins/uptime/public/lib/compose/kibana_compose.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/__tests__/__snapshots__/format_error_string.test.ts.snap b/x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/__snapshots__/format_error_string.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/__tests__/__snapshots__/format_error_string.test.ts.snap rename to x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/__snapshots__/format_error_string.test.ts.snap diff --git a/x-pack/plugins/uptime/public/lib/helper/__tests__/convert_measurements.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/convert_measurements.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/__tests__/convert_measurements.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/convert_measurements.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/__tests__/format_error_string.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/format_error_string.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/__tests__/format_error_string.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/format_error_string.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/__tests__/stringify_url_params.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/stringify_url_params.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/__tests__/stringify_url_params.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/__tests__/stringify_url_params.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/convert_measurements.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/convert_measurements.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/convert_measurements.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/convert_measurements.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/format_error_list.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/format_error_list.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/format_error_list.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/format_error_list.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/index.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/index.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/index.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_apm_href.test.ts.snap b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_apm_href.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_apm_href.test.ts.snap rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_apm_href.test.ts.snap diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_infra_href.test.ts.snap b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_infra_href.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_infra_href.test.ts.snap rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_infra_href.test.ts.snap diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_logging_href.test.ts.snap b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_logging_href.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_logging_href.test.ts.snap rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/__snapshots__/get_logging_href.test.ts.snap diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_apm_href.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_apm_href.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_apm_href.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_apm_href.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_infra_href.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_infra_href.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_infra_href.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_infra_href.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_logging_href.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_logging_href.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_logging_href.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/__tests__/get_logging_href.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/add_base_path.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/add_base_path.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/add_base_path.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/add_base_path.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/build_href.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/build_href.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/build_href.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/build_href.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/get_apm_href.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_apm_href.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/get_apm_href.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_apm_href.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/get_infra_href.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_infra_href.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/get_infra_href.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_infra_href.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/get_logging_href.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_logging_href.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/get_logging_href.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/get_logging_href.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/observability_integration/index.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/observability_integration/index.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/observability_integration/index.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/stringify_url_params.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/stringify_url_params.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/stringify_url_params.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/stringify_url_params.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/get_supported_url_params.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/get_supported_url_params.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/get_supported_url_params.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/get_supported_url_params.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/parse_autorefresh_interval.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/parse_autorefresh_interval.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/parse_autorefresh_interval.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/parse_autorefresh_interval.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/parse_is_paused.test.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/parse_is_paused.test.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/__tests__/parse_is_paused.test.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/__tests__/parse_is_paused.test.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/get_supported_url_params.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/get_supported_url_params.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/get_supported_url_params.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/get_supported_url_params.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/index.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/index.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/index.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/parse_autorefresh_interval.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/parse_autorefresh_interval.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/parse_autorefresh_interval.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/parse_autorefresh_interval.ts diff --git a/x-pack/plugins/uptime/public/lib/helper/url_params/parse_is_paused.ts b/x-pack/legacy/plugins/uptime/public/lib/helper/url_params/parse_is_paused.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/helper/url_params/parse_is_paused.ts rename to x-pack/legacy/plugins/uptime/public/lib/helper/url_params/parse_is_paused.ts diff --git a/x-pack/plugins/uptime/public/lib/lib.ts b/x-pack/legacy/plugins/uptime/public/lib/lib.ts similarity index 100% rename from x-pack/plugins/uptime/public/lib/lib.ts rename to x-pack/legacy/plugins/uptime/public/lib/lib.ts diff --git a/x-pack/plugins/uptime/public/pages/index.ts b/x-pack/legacy/plugins/uptime/public/pages/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/pages/index.ts rename to x-pack/legacy/plugins/uptime/public/pages/index.ts diff --git a/x-pack/plugins/uptime/public/pages/monitor.tsx b/x-pack/legacy/plugins/uptime/public/pages/monitor.tsx similarity index 100% rename from x-pack/plugins/uptime/public/pages/monitor.tsx rename to x-pack/legacy/plugins/uptime/public/pages/monitor.tsx diff --git a/x-pack/plugins/uptime/public/pages/overview.tsx b/x-pack/legacy/plugins/uptime/public/pages/overview.tsx similarity index 100% rename from x-pack/plugins/uptime/public/pages/overview.tsx rename to x-pack/legacy/plugins/uptime/public/pages/overview.tsx diff --git a/x-pack/plugins/uptime/public/queries/doc_count_query.ts b/x-pack/legacy/plugins/uptime/public/queries/doc_count_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/doc_count_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/doc_count_query.ts diff --git a/x-pack/plugins/uptime/public/queries/error_list_query.ts b/x-pack/legacy/plugins/uptime/public/queries/error_list_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/error_list_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/error_list_query.ts diff --git a/x-pack/plugins/uptime/public/queries/filter_bar_query.ts b/x-pack/legacy/plugins/uptime/public/queries/filter_bar_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/filter_bar_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/filter_bar_query.ts diff --git a/x-pack/plugins/uptime/public/queries/index.ts b/x-pack/legacy/plugins/uptime/public/queries/index.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/index.ts rename to x-pack/legacy/plugins/uptime/public/queries/index.ts diff --git a/x-pack/plugins/uptime/public/queries/monitor_charts_query.ts b/x-pack/legacy/plugins/uptime/public/queries/monitor_charts_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/monitor_charts_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/monitor_charts_query.ts diff --git a/x-pack/plugins/uptime/public/queries/monitor_list_query.ts b/x-pack/legacy/plugins/uptime/public/queries/monitor_list_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/monitor_list_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/monitor_list_query.ts diff --git a/x-pack/plugins/uptime/public/queries/monitor_page_title_query.ts b/x-pack/legacy/plugins/uptime/public/queries/monitor_page_title_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/monitor_page_title_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/monitor_page_title_query.ts diff --git a/x-pack/plugins/uptime/public/queries/monitor_status_bar_query.ts b/x-pack/legacy/plugins/uptime/public/queries/monitor_status_bar_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/monitor_status_bar_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/monitor_status_bar_query.ts diff --git a/x-pack/plugins/uptime/public/queries/pings_query.ts b/x-pack/legacy/plugins/uptime/public/queries/pings_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/pings_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/pings_query.ts diff --git a/x-pack/plugins/uptime/public/queries/snapshot_query.ts b/x-pack/legacy/plugins/uptime/public/queries/snapshot_query.ts similarity index 100% rename from x-pack/plugins/uptime/public/queries/snapshot_query.ts rename to x-pack/legacy/plugins/uptime/public/queries/snapshot_query.ts diff --git a/x-pack/plugins/uptime/public/register_feature.ts b/x-pack/legacy/plugins/uptime/public/register_feature.ts similarity index 100% rename from x-pack/plugins/uptime/public/register_feature.ts rename to x-pack/legacy/plugins/uptime/public/register_feature.ts diff --git a/x-pack/plugins/uptime/public/uptime_app.tsx b/x-pack/legacy/plugins/uptime/public/uptime_app.tsx similarity index 100% rename from x-pack/plugins/uptime/public/uptime_app.tsx rename to x-pack/legacy/plugins/uptime/public/uptime_app.tsx diff --git a/x-pack/plugins/uptime/scripts/gql_gen.json b/x-pack/legacy/plugins/uptime/scripts/gql_gen.json similarity index 100% rename from x-pack/plugins/uptime/scripts/gql_gen.json rename to x-pack/legacy/plugins/uptime/scripts/gql_gen.json diff --git a/x-pack/plugins/uptime/scripts/graphql_schemas.ts b/x-pack/legacy/plugins/uptime/scripts/graphql_schemas.ts similarity index 100% rename from x-pack/plugins/uptime/scripts/graphql_schemas.ts rename to x-pack/legacy/plugins/uptime/scripts/graphql_schemas.ts diff --git a/x-pack/plugins/uptime/scripts/infer_graphql_types.js b/x-pack/legacy/plugins/uptime/scripts/infer_graphql_types.js similarity index 96% rename from x-pack/plugins/uptime/scripts/infer_graphql_types.js rename to x-pack/legacy/plugins/uptime/scripts/infer_graphql_types.js index b821fbde4084e..2499e15bf4e23 100644 --- a/x-pack/plugins/uptime/scripts/infer_graphql_types.js +++ b/x-pack/legacy/plugins/uptime/scripts/infer_graphql_types.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -require('../../../../src/setup_node_env'); +require('../../../../../src/setup_node_env'); const { resolve } = require('path'); // eslint-disable-next-line import/no-extraneous-dependencies, import/no-unresolved diff --git a/x-pack/plugins/uptime/server/graphql/constants.ts b/x-pack/legacy/plugins/uptime/server/graphql/constants.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/constants.ts rename to x-pack/legacy/plugins/uptime/server/graphql/constants.ts diff --git a/x-pack/plugins/uptime/server/graphql/index.ts b/x-pack/legacy/plugins/uptime/server/graphql/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/index.ts rename to x-pack/legacy/plugins/uptime/server/graphql/index.ts diff --git a/x-pack/plugins/uptime/server/graphql/monitors/index.ts b/x-pack/legacy/plugins/uptime/server/graphql/monitors/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/monitors/index.ts rename to x-pack/legacy/plugins/uptime/server/graphql/monitors/index.ts diff --git a/x-pack/plugins/uptime/server/graphql/monitors/resolvers.ts b/x-pack/legacy/plugins/uptime/server/graphql/monitors/resolvers.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/monitors/resolvers.ts rename to x-pack/legacy/plugins/uptime/server/graphql/monitors/resolvers.ts diff --git a/x-pack/plugins/uptime/server/graphql/monitors/schema.gql.ts b/x-pack/legacy/plugins/uptime/server/graphql/monitors/schema.gql.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/monitors/schema.gql.ts rename to x-pack/legacy/plugins/uptime/server/graphql/monitors/schema.gql.ts diff --git a/x-pack/plugins/uptime/server/graphql/pings/index.ts b/x-pack/legacy/plugins/uptime/server/graphql/pings/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/pings/index.ts rename to x-pack/legacy/plugins/uptime/server/graphql/pings/index.ts diff --git a/x-pack/plugins/uptime/server/graphql/pings/resolvers.ts b/x-pack/legacy/plugins/uptime/server/graphql/pings/resolvers.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/pings/resolvers.ts rename to x-pack/legacy/plugins/uptime/server/graphql/pings/resolvers.ts diff --git a/x-pack/plugins/uptime/server/graphql/pings/schema.gql.ts b/x-pack/legacy/plugins/uptime/server/graphql/pings/schema.gql.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/pings/schema.gql.ts rename to x-pack/legacy/plugins/uptime/server/graphql/pings/schema.gql.ts diff --git a/x-pack/plugins/uptime/server/graphql/types.ts b/x-pack/legacy/plugins/uptime/server/graphql/types.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/types.ts rename to x-pack/legacy/plugins/uptime/server/graphql/types.ts diff --git a/x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/index.ts b/x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/index.ts rename to x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/index.ts diff --git a/x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/resolvers.ts b/x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/resolvers.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/resolvers.ts rename to x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/resolvers.ts diff --git a/x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/schema.gql.ts b/x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/schema.gql.ts similarity index 100% rename from x-pack/plugins/uptime/server/graphql/unsigned_int_scalar/schema.gql.ts rename to x-pack/legacy/plugins/uptime/server/graphql/unsigned_int_scalar/schema.gql.ts diff --git a/x-pack/plugins/uptime/server/index.ts b/x-pack/legacy/plugins/uptime/server/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/index.ts rename to x-pack/legacy/plugins/uptime/server/index.ts diff --git a/x-pack/plugins/uptime/server/kibana.index.ts b/x-pack/legacy/plugins/uptime/server/kibana.index.ts similarity index 100% rename from x-pack/plugins/uptime/server/kibana.index.ts rename to x-pack/legacy/plugins/uptime/server/kibana.index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/__tests__/memory_auth_adapter.test.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/__tests__/memory_auth_adapter.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/__tests__/memory_auth_adapter.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/__tests__/memory_auth_adapter.test.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/__tests__/xpack_auth_adapter.test.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/__tests__/xpack_auth_adapter.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/__tests__/xpack_auth_adapter.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/__tests__/xpack_auth_adapter.test.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/adapter_types.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/adapter_types.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/adapter_types.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/index.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/memory_auth_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/memory_auth_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/memory_auth_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/memory_auth_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/auth/xpack_auth_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/auth/xpack_auth_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/auth/xpack_auth_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/auth/xpack_auth_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/database/adapter_types.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/database/adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/database/adapter_types.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/database/adapter_types.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/database/index.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/database/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/database/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/database/index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/database/kibana_database_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/database/kibana_database_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/database/kibana_database_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/database/kibana_database_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/framework/adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/framework/adapter_types.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/framework/adapter_types.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/framework/apollo_framework_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/framework/apollo_framework_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/framework/apollo_framework_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/framework/apollo_framework_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/framework/index.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/framework/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/framework/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/framework/index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/framework/kibana_framework_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/framework/kibana_framework_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/framework/kibana_framework_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/framework/kibana_framework_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/framework/test_backend_framework_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/framework/test_backend_framework_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/framework/test_backend_framework_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/framework/test_backend_framework_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/__tests__/__snapshots__/elasticsearch_monitors_adapter.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/__tests__/__snapshots__/elasticsearch_monitors_adapter.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/__tests__/__snapshots__/elasticsearch_monitors_adapter.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/__tests__/__snapshots__/elasticsearch_monitors_adapter.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/__tests__/elasticsearch_monitors_adapter.test.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/__tests__/elasticsearch_monitors_adapter.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/__tests__/elasticsearch_monitors_adapter.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/__tests__/elasticsearch_monitors_adapter.test.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/adapter_types.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/adapter_types.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/adapter_types.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/elasticsearch_monitors_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/index.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/monitors/memory_pings_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/memory_pings_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/monitors/memory_pings_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/monitors/memory_pings_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/__tests__/__snapshots__/elasticsearch_pings_adapter.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/__tests__/__snapshots__/elasticsearch_pings_adapter.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/__tests__/__snapshots__/elasticsearch_pings_adapter.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/__tests__/__snapshots__/elasticsearch_pings_adapter.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/__tests__/elasticsearch_pings_adapter.test.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/__tests__/elasticsearch_pings_adapter.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/__tests__/elasticsearch_pings_adapter.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/__tests__/elasticsearch_pings_adapter.test.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/adapter_types.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/adapter_types.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/adapter_types.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/adapter_types.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/elasticsearch_pings_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/elasticsearch_pings_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/elasticsearch_pings_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/elasticsearch_pings_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/index.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/index.ts diff --git a/x-pack/plugins/uptime/server/lib/adapters/pings/memory_pings_adapter.ts b/x-pack/legacy/plugins/uptime/server/lib/adapters/pings/memory_pings_adapter.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/adapters/pings/memory_pings_adapter.ts rename to x-pack/legacy/plugins/uptime/server/lib/adapters/pings/memory_pings_adapter.ts diff --git a/x-pack/plugins/uptime/server/lib/compose/kibana.ts b/x-pack/legacy/plugins/uptime/server/lib/compose/kibana.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/compose/kibana.ts rename to x-pack/legacy/plugins/uptime/server/lib/compose/kibana.ts diff --git a/x-pack/plugins/uptime/server/lib/compose/test_compose.ts b/x-pack/legacy/plugins/uptime/server/lib/compose/test_compose.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/compose/test_compose.ts rename to x-pack/legacy/plugins/uptime/server/lib/compose/test_compose.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/__tests__/__snapshots__/auth.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/__snapshots__/auth.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/__tests__/__snapshots__/auth.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/__snapshots__/auth.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/domains/__tests__/auth.test.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/auth.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/__tests__/auth.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/auth.test.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/__tests__/pings.test.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/pings.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/__tests__/pings.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/__tests__/pings.test.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/auth.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/auth.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/auth.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/auth.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/index.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/index.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/monitors.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/monitors.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/monitors.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/monitors.ts diff --git a/x-pack/plugins/uptime/server/lib/domains/pings.ts b/x-pack/legacy/plugins/uptime/server/lib/domains/pings.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/domains/pings.ts rename to x-pack/legacy/plugins/uptime/server/lib/domains/pings.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/drop_latest_buckets.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/drop_latest_buckets.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/drop_latest_buckets.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/drop_latest_buckets.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/format_es_buckets_for_histogram.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/format_es_buckets_for_histogram.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/format_es_buckets_for_histogram.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/format_es_buckets_for_histogram.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filter_from_must.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filter_from_must.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filter_from_must.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filter_from_must.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query_and_status.test.ts.snap b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query_and_status.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query_and_status.test.ts.snap rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/__snapshots__/get_filtered_query_and_status.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/drop_latest_buckets.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/drop_latest_buckets.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/drop_latest_buckets.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/drop_latest_buckets.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/format_es_buckets_for_histogram.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/format_es_buckets_for_histogram.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/format_es_buckets_for_histogram.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/format_es_buckets_for_histogram.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/get_filter_from_must.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filter_from_must.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/get_filter_from_must.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filter_from_must.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/get_filtered_query.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filtered_query.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/get_filtered_query.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filtered_query.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/get_filtered_query_and_status.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filtered_query_and_status.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/get_filtered_query_and_status.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_filtered_query_and_status.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/__test__/get_histogram_interval.test.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_histogram_interval.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__test__/get_histogram_interval.test.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/__test__/get_histogram_interval.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/drop_latest_bucket.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/drop_latest_bucket.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/drop_latest_bucket.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/drop_latest_bucket.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/format_es_buckets_for_histogram.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/format_es_buckets_for_histogram.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/format_es_buckets_for_histogram.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/format_es_buckets_for_histogram.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_filter_from_must.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/get_filter_from_must.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_filter_from_must.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/get_filter_from_must.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_filtered_query.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/get_filtered_query.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_filtered_query.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/get_filtered_query.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_filtered_query_and_status.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/get_filtered_query_and_status.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_filtered_query_and_status.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/get_filtered_query_and_status.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/get_histogram_interval.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/get_histogram_interval.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/index.ts b/x-pack/legacy/plugins/uptime/server/lib/helper/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/index.ts rename to x-pack/legacy/plugins/uptime/server/lib/helper/index.ts diff --git a/x-pack/plugins/uptime/server/lib/lib.ts b/x-pack/legacy/plugins/uptime/server/lib/lib.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/lib.ts rename to x-pack/legacy/plugins/uptime/server/lib/lib.ts diff --git a/x-pack/plugins/uptime/server/rest_api/auth/index.ts b/x-pack/legacy/plugins/uptime/server/rest_api/auth/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/auth/index.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/auth/index.ts diff --git a/x-pack/plugins/uptime/server/rest_api/auth/is_valid.ts b/x-pack/legacy/plugins/uptime/server/rest_api/auth/is_valid.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/auth/is_valid.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/auth/is_valid.ts diff --git a/x-pack/plugins/uptime/server/rest_api/create_route_with_auth.ts b/x-pack/legacy/plugins/uptime/server/rest_api/create_route_with_auth.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/create_route_with_auth.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/create_route_with_auth.ts diff --git a/x-pack/plugins/uptime/server/rest_api/index.ts b/x-pack/legacy/plugins/uptime/server/rest_api/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/index.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/index.ts diff --git a/x-pack/plugins/uptime/server/rest_api/pings/get_all.ts b/x-pack/legacy/plugins/uptime/server/rest_api/pings/get_all.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/pings/get_all.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/pings/get_all.ts diff --git a/x-pack/plugins/uptime/server/rest_api/pings/index.ts b/x-pack/legacy/plugins/uptime/server/rest_api/pings/index.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/pings/index.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/pings/index.ts diff --git a/x-pack/plugins/uptime/server/rest_api/types.ts b/x-pack/legacy/plugins/uptime/server/rest_api/types.ts similarity index 100% rename from x-pack/plugins/uptime/server/rest_api/types.ts rename to x-pack/legacy/plugins/uptime/server/rest_api/types.ts diff --git a/x-pack/plugins/uptime/server/uptime_server.ts b/x-pack/legacy/plugins/uptime/server/uptime_server.ts similarity index 100% rename from x-pack/plugins/uptime/server/uptime_server.ts rename to x-pack/legacy/plugins/uptime/server/uptime_server.ts diff --git a/x-pack/plugins/uptime/tsconfig.json b/x-pack/legacy/plugins/uptime/tsconfig.json similarity index 73% rename from x-pack/plugins/uptime/tsconfig.json rename to x-pack/legacy/plugins/uptime/tsconfig.json index 75df4e4a30c63..53425909db3e8 100644 --- a/x-pack/plugins/uptime/tsconfig.json +++ b/x-pack/legacy/plugins/uptime/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../../../tsconfig.json", "exclude": ["**/node_modules/**"], "paths": { "react": ["../../../node_modules/@types/react"] diff --git a/x-pack/plugins/watcher/README.md b/x-pack/legacy/plugins/watcher/README.md similarity index 100% rename from x-pack/plugins/watcher/README.md rename to x-pack/legacy/plugins/watcher/README.md diff --git a/x-pack/plugins/watcher/__tests__/plugin_definition.js b/x-pack/legacy/plugins/watcher/__tests__/plugin_definition.js similarity index 100% rename from x-pack/plugins/watcher/__tests__/plugin_definition.js rename to x-pack/legacy/plugins/watcher/__tests__/plugin_definition.js diff --git a/x-pack/plugins/watcher/common/constants/action_modes.js b/x-pack/legacy/plugins/watcher/common/constants/action_modes.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/action_modes.js rename to x-pack/legacy/plugins/watcher/common/constants/action_modes.js diff --git a/x-pack/plugins/watcher/common/constants/action_states.js b/x-pack/legacy/plugins/watcher/common/constants/action_states.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/action_states.js rename to x-pack/legacy/plugins/watcher/common/constants/action_states.js diff --git a/x-pack/plugins/watcher/common/constants/action_types.js b/x-pack/legacy/plugins/watcher/common/constants/action_types.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/action_types.js rename to x-pack/legacy/plugins/watcher/common/constants/action_types.js diff --git a/x-pack/plugins/watcher/common/constants/agg_types.js b/x-pack/legacy/plugins/watcher/common/constants/agg_types.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/agg_types.js rename to x-pack/legacy/plugins/watcher/common/constants/agg_types.js diff --git a/x-pack/plugins/watcher/common/constants/comparators.js b/x-pack/legacy/plugins/watcher/common/constants/comparators.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/comparators.js rename to x-pack/legacy/plugins/watcher/common/constants/comparators.js diff --git a/x-pack/plugins/watcher/common/constants/error_codes.js b/x-pack/legacy/plugins/watcher/common/constants/error_codes.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/error_codes.js rename to x-pack/legacy/plugins/watcher/common/constants/error_codes.js diff --git a/x-pack/plugins/watcher/common/constants/es_scroll_settings.js b/x-pack/legacy/plugins/watcher/common/constants/es_scroll_settings.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/es_scroll_settings.js rename to x-pack/legacy/plugins/watcher/common/constants/es_scroll_settings.js diff --git a/x-pack/plugins/watcher/common/constants/index.js b/x-pack/legacy/plugins/watcher/common/constants/index.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/index.js rename to x-pack/legacy/plugins/watcher/common/constants/index.js diff --git a/x-pack/plugins/watcher/common/constants/index_names.js b/x-pack/legacy/plugins/watcher/common/constants/index_names.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/index_names.js rename to x-pack/legacy/plugins/watcher/common/constants/index_names.js diff --git a/x-pack/plugins/watcher/common/constants/lists.js b/x-pack/legacy/plugins/watcher/common/constants/lists.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/lists.js rename to x-pack/legacy/plugins/watcher/common/constants/lists.js diff --git a/x-pack/plugins/watcher/common/constants/pagination.js b/x-pack/legacy/plugins/watcher/common/constants/pagination.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/pagination.js rename to x-pack/legacy/plugins/watcher/common/constants/pagination.js diff --git a/x-pack/plugins/watcher/common/constants/plugin.js b/x-pack/legacy/plugins/watcher/common/constants/plugin.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/plugin.js rename to x-pack/legacy/plugins/watcher/common/constants/plugin.js diff --git a/x-pack/plugins/watcher/common/constants/refresh_intervals.js b/x-pack/legacy/plugins/watcher/common/constants/refresh_intervals.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/refresh_intervals.js rename to x-pack/legacy/plugins/watcher/common/constants/refresh_intervals.js diff --git a/x-pack/plugins/watcher/common/constants/routes.js b/x-pack/legacy/plugins/watcher/common/constants/routes.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/routes.js rename to x-pack/legacy/plugins/watcher/common/constants/routes.js diff --git a/x-pack/plugins/watcher/common/constants/sort_orders.js b/x-pack/legacy/plugins/watcher/common/constants/sort_orders.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/sort_orders.js rename to x-pack/legacy/plugins/watcher/common/constants/sort_orders.js diff --git a/x-pack/plugins/watcher/common/constants/time_units.js b/x-pack/legacy/plugins/watcher/common/constants/time_units.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/time_units.js rename to x-pack/legacy/plugins/watcher/common/constants/time_units.js diff --git a/x-pack/plugins/watcher/common/constants/watch_history.js b/x-pack/legacy/plugins/watcher/common/constants/watch_history.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/watch_history.js rename to x-pack/legacy/plugins/watcher/common/constants/watch_history.js diff --git a/x-pack/plugins/watcher/common/constants/watch_state_comments.js b/x-pack/legacy/plugins/watcher/common/constants/watch_state_comments.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/watch_state_comments.js rename to x-pack/legacy/plugins/watcher/common/constants/watch_state_comments.js diff --git a/x-pack/plugins/watcher/common/constants/watch_states.js b/x-pack/legacy/plugins/watcher/common/constants/watch_states.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/watch_states.js rename to x-pack/legacy/plugins/watcher/common/constants/watch_states.js diff --git a/x-pack/plugins/watcher/common/constants/watch_types.js b/x-pack/legacy/plugins/watcher/common/constants/watch_types.js similarity index 100% rename from x-pack/plugins/watcher/common/constants/watch_types.js rename to x-pack/legacy/plugins/watcher/common/constants/watch_types.js diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/__tests__/get_action_type.js b/x-pack/legacy/plugins/watcher/common/lib/get_action_type/__tests__/get_action_type.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_action_type/__tests__/get_action_type.js rename to x-pack/legacy/plugins/watcher/common/lib/get_action_type/__tests__/get_action_type.js diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.js b/x-pack/legacy/plugins/watcher/common/lib/get_action_type/get_action_type.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_action_type/get_action_type.js rename to x-pack/legacy/plugins/watcher/common/lib/get_action_type/get_action_type.js diff --git a/x-pack/plugins/watcher/common/lib/get_action_type/index.js b/x-pack/legacy/plugins/watcher/common/lib/get_action_type/index.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_action_type/index.js rename to x-pack/legacy/plugins/watcher/common/lib/get_action_type/index.js diff --git a/x-pack/plugins/watcher/common/lib/get_moment/__tests__/get_moment.js b/x-pack/legacy/plugins/watcher/common/lib/get_moment/__tests__/get_moment.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_moment/__tests__/get_moment.js rename to x-pack/legacy/plugins/watcher/common/lib/get_moment/__tests__/get_moment.js diff --git a/x-pack/plugins/watcher/common/lib/get_moment/get_moment.js b/x-pack/legacy/plugins/watcher/common/lib/get_moment/get_moment.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_moment/get_moment.js rename to x-pack/legacy/plugins/watcher/common/lib/get_moment/get_moment.js diff --git a/x-pack/plugins/watcher/common/lib/get_moment/index.js b/x-pack/legacy/plugins/watcher/common/lib/get_moment/index.js similarity index 100% rename from x-pack/plugins/watcher/common/lib/get_moment/index.js rename to x-pack/legacy/plugins/watcher/common/lib/get_moment/index.js diff --git a/x-pack/plugins/watcher/index.js b/x-pack/legacy/plugins/watcher/index.js similarity index 100% rename from x-pack/plugins/watcher/index.js rename to x-pack/legacy/plugins/watcher/index.js diff --git a/x-pack/plugins/watcher/plugin_definition.js b/x-pack/legacy/plugins/watcher/plugin_definition.js similarity index 100% rename from x-pack/plugins/watcher/plugin_definition.js rename to x-pack/legacy/plugins/watcher/plugin_definition.js diff --git a/x-pack/plugins/watcher/public/_hacks.scss b/x-pack/legacy/plugins/watcher/public/_hacks.scss similarity index 100% rename from x-pack/plugins/watcher/public/_hacks.scss rename to x-pack/legacy/plugins/watcher/public/_hacks.scss diff --git a/x-pack/plugins/watcher/public/components/action_state_icon/action_state_icon.html b/x-pack/legacy/plugins/watcher/public/components/action_state_icon/action_state_icon.html similarity index 100% rename from x-pack/plugins/watcher/public/components/action_state_icon/action_state_icon.html rename to x-pack/legacy/plugins/watcher/public/components/action_state_icon/action_state_icon.html diff --git a/x-pack/plugins/watcher/public/components/action_state_icon/action_state_icon.js b/x-pack/legacy/plugins/watcher/public/components/action_state_icon/action_state_icon.js similarity index 100% rename from x-pack/plugins/watcher/public/components/action_state_icon/action_state_icon.js rename to x-pack/legacy/plugins/watcher/public/components/action_state_icon/action_state_icon.js diff --git a/x-pack/plugins/watcher/public/components/action_state_icon/index.js b/x-pack/legacy/plugins/watcher/public/components/action_state_icon/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/action_state_icon/index.js rename to x-pack/legacy/plugins/watcher/public/components/action_state_icon/index.js diff --git a/x-pack/plugins/watcher/public/components/action_type_select/_action_type_select.scss b/x-pack/legacy/plugins/watcher/public/components/action_type_select/_action_type_select.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/action_type_select/_action_type_select.scss rename to x-pack/legacy/plugins/watcher/public/components/action_type_select/_action_type_select.scss diff --git a/x-pack/plugins/watcher/public/components/action_type_select/_index.scss b/x-pack/legacy/plugins/watcher/public/components/action_type_select/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/action_type_select/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/action_type_select/_index.scss diff --git a/x-pack/plugins/watcher/public/components/action_type_select/action_type_select.html b/x-pack/legacy/plugins/watcher/public/components/action_type_select/action_type_select.html similarity index 100% rename from x-pack/plugins/watcher/public/components/action_type_select/action_type_select.html rename to x-pack/legacy/plugins/watcher/public/components/action_type_select/action_type_select.html diff --git a/x-pack/plugins/watcher/public/components/action_type_select/action_type_select.js b/x-pack/legacy/plugins/watcher/public/components/action_type_select/action_type_select.js similarity index 100% rename from x-pack/plugins/watcher/public/components/action_type_select/action_type_select.js rename to x-pack/legacy/plugins/watcher/public/components/action_type_select/action_type_select.js diff --git a/x-pack/plugins/watcher/public/components/action_type_select/index.js b/x-pack/legacy/plugins/watcher/public/components/action_type_select/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/action_type_select/index.js rename to x-pack/legacy/plugins/watcher/public/components/action_type_select/index.js diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/_chart_tooltip.scss b/x-pack/legacy/plugins/watcher/public/components/chart_tooltip/_chart_tooltip.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/chart_tooltip/_chart_tooltip.scss rename to x-pack/legacy/plugins/watcher/public/components/chart_tooltip/_chart_tooltip.scss diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/_index.scss b/x-pack/legacy/plugins/watcher/public/components/chart_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/chart_tooltip/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/chart_tooltip/_index.scss diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.html b/x-pack/legacy/plugins/watcher/public/components/chart_tooltip/chart_tooltip.html similarity index 100% rename from x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.html rename to x-pack/legacy/plugins/watcher/public/components/chart_tooltip/chart_tooltip.html diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js b/x-pack/legacy/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js similarity index 100% rename from x-pack/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js rename to x-pack/legacy/plugins/watcher/public/components/chart_tooltip/chart_tooltip.js diff --git a/x-pack/plugins/watcher/public/components/chart_tooltip/index.js b/x-pack/legacy/plugins/watcher/public/components/chart_tooltip/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/chart_tooltip/index.js rename to x-pack/legacy/plugins/watcher/public/components/chart_tooltip/index.js diff --git a/x-pack/plugins/watcher/public/components/duration_select/_duration_select.scss b/x-pack/legacy/plugins/watcher/public/components/duration_select/_duration_select.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/duration_select/_duration_select.scss rename to x-pack/legacy/plugins/watcher/public/components/duration_select/_duration_select.scss diff --git a/x-pack/plugins/watcher/public/components/duration_select/_index.scss b/x-pack/legacy/plugins/watcher/public/components/duration_select/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/duration_select/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/duration_select/_index.scss diff --git a/x-pack/plugins/watcher/public/components/duration_select/duration_select.html b/x-pack/legacy/plugins/watcher/public/components/duration_select/duration_select.html similarity index 100% rename from x-pack/plugins/watcher/public/components/duration_select/duration_select.html rename to x-pack/legacy/plugins/watcher/public/components/duration_select/duration_select.html diff --git a/x-pack/plugins/watcher/public/components/duration_select/duration_select.js b/x-pack/legacy/plugins/watcher/public/components/duration_select/duration_select.js similarity index 100% rename from x-pack/plugins/watcher/public/components/duration_select/duration_select.js rename to x-pack/legacy/plugins/watcher/public/components/duration_select/duration_select.js diff --git a/x-pack/plugins/watcher/public/components/duration_select/index.js b/x-pack/legacy/plugins/watcher/public/components/duration_select/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/duration_select/index.js rename to x-pack/legacy/plugins/watcher/public/components/duration_select/index.js diff --git a/x-pack/plugins/watcher/public/components/errors_display_modal/errors_display_modal.html b/x-pack/legacy/plugins/watcher/public/components/errors_display_modal/errors_display_modal.html similarity index 100% rename from x-pack/plugins/watcher/public/components/errors_display_modal/errors_display_modal.html rename to x-pack/legacy/plugins/watcher/public/components/errors_display_modal/errors_display_modal.html diff --git a/x-pack/plugins/watcher/public/components/errors_display_modal/errors_display_modal.js b/x-pack/legacy/plugins/watcher/public/components/errors_display_modal/errors_display_modal.js similarity index 100% rename from x-pack/plugins/watcher/public/components/errors_display_modal/errors_display_modal.js rename to x-pack/legacy/plugins/watcher/public/components/errors_display_modal/errors_display_modal.js diff --git a/x-pack/plugins/watcher/public/components/errors_display_modal/index.js b/x-pack/legacy/plugins/watcher/public/components/errors_display_modal/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/errors_display_modal/index.js rename to x-pack/legacy/plugins/watcher/public/components/errors_display_modal/index.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/_index.scss b/x-pack/legacy/plugins/watcher/public/components/expression_builder/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/_index.scss diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.html b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.html similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.html rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.html diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/expression_item.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/index.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_item/index.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_item/index.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/_expression_popover.scss b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/_expression_popover.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/_expression_popover.scss rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/_expression_popover.scss diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.html b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.html similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.html rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.html diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/expression_popover.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/index.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/components/expression_popover/index.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/components/expression_popover/index.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/expression_builder.html b/x-pack/legacy/plugins/watcher/public/components/expression_builder/expression_builder.html similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/expression_builder.html rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/expression_builder.html diff --git a/x-pack/plugins/watcher/public/components/expression_builder/expression_builder.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/expression_builder.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/expression_builder.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/expression_builder.js diff --git a/x-pack/plugins/watcher/public/components/expression_builder/index.js b/x-pack/legacy/plugins/watcher/public/components/expression_builder/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/expression_builder/index.js rename to x-pack/legacy/plugins/watcher/public/components/expression_builder/index.js diff --git a/x-pack/plugins/watcher/public/components/flot_chart/_flot_chart.scss b/x-pack/legacy/plugins/watcher/public/components/flot_chart/_flot_chart.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/_flot_chart.scss rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/_flot_chart.scss diff --git a/x-pack/plugins/watcher/public/components/flot_chart/_index.scss b/x-pack/legacy/plugins/watcher/public/components/flot_chart/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/_index.scss diff --git a/x-pack/plugins/watcher/public/components/flot_chart/constants.js b/x-pack/legacy/plugins/watcher/public/components/flot_chart/constants.js similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/constants.js rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/constants.js diff --git a/x-pack/plugins/watcher/public/components/flot_chart/flot_chart.html b/x-pack/legacy/plugins/watcher/public/components/flot_chart/flot_chart.html similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/flot_chart.html rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/flot_chart.html diff --git a/x-pack/plugins/watcher/public/components/flot_chart/flot_chart.js b/x-pack/legacy/plugins/watcher/public/components/flot_chart/flot_chart.js similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/flot_chart.js rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/flot_chart.js diff --git a/x-pack/plugins/watcher/public/components/flot_chart/index.js b/x-pack/legacy/plugins/watcher/public/components/flot_chart/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/flot_chart/index.js rename to x-pack/legacy/plugins/watcher/public/components/flot_chart/index.js diff --git a/x-pack/plugins/watcher/public/components/forbidden_message/forbidden_message.html b/x-pack/legacy/plugins/watcher/public/components/forbidden_message/forbidden_message.html similarity index 100% rename from x-pack/plugins/watcher/public/components/forbidden_message/forbidden_message.html rename to x-pack/legacy/plugins/watcher/public/components/forbidden_message/forbidden_message.html diff --git a/x-pack/plugins/watcher/public/components/forbidden_message/forbidden_message.js b/x-pack/legacy/plugins/watcher/public/components/forbidden_message/forbidden_message.js similarity index 100% rename from x-pack/plugins/watcher/public/components/forbidden_message/forbidden_message.js rename to x-pack/legacy/plugins/watcher/public/components/forbidden_message/forbidden_message.js diff --git a/x-pack/plugins/watcher/public/components/forbidden_message/index.js b/x-pack/legacy/plugins/watcher/public/components/forbidden_message/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/forbidden_message/index.js rename to x-pack/legacy/plugins/watcher/public/components/forbidden_message/index.js diff --git a/x-pack/plugins/watcher/public/components/index_select/_index.scss b/x-pack/legacy/plugins/watcher/public/components/index_select/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/index_select/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/index_select/_index.scss diff --git a/x-pack/plugins/watcher/public/components/index_select/_index_select.scss b/x-pack/legacy/plugins/watcher/public/components/index_select/_index_select.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/index_select/_index_select.scss rename to x-pack/legacy/plugins/watcher/public/components/index_select/_index_select.scss diff --git a/x-pack/plugins/watcher/public/components/index_select/index.js b/x-pack/legacy/plugins/watcher/public/components/index_select/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/index_select/index.js rename to x-pack/legacy/plugins/watcher/public/components/index_select/index.js diff --git a/x-pack/plugins/watcher/public/components/index_select/index_select.html b/x-pack/legacy/plugins/watcher/public/components/index_select/index_select.html similarity index 100% rename from x-pack/plugins/watcher/public/components/index_select/index_select.html rename to x-pack/legacy/plugins/watcher/public/components/index_select/index_select.html diff --git a/x-pack/plugins/watcher/public/components/index_select/index_select.js b/x-pack/legacy/plugins/watcher/public/components/index_select/index_select.js similarity index 100% rename from x-pack/plugins/watcher/public/components/index_select/index_select.js rename to x-pack/legacy/plugins/watcher/public/components/index_select/index_select.js diff --git a/x-pack/plugins/watcher/public/components/json_editor/_index.scss b/x-pack/legacy/plugins/watcher/public/components/json_editor/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/json_editor/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/json_editor/_index.scss diff --git a/x-pack/plugins/watcher/public/components/json_editor/_json_editor.scss b/x-pack/legacy/plugins/watcher/public/components/json_editor/_json_editor.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/json_editor/_json_editor.scss rename to x-pack/legacy/plugins/watcher/public/components/json_editor/_json_editor.scss diff --git a/x-pack/plugins/watcher/public/components/json_editor/index.js b/x-pack/legacy/plugins/watcher/public/components/json_editor/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/json_editor/index.js rename to x-pack/legacy/plugins/watcher/public/components/json_editor/index.js diff --git a/x-pack/plugins/watcher/public/components/json_editor/json_editor.html b/x-pack/legacy/plugins/watcher/public/components/json_editor/json_editor.html similarity index 100% rename from x-pack/plugins/watcher/public/components/json_editor/json_editor.html rename to x-pack/legacy/plugins/watcher/public/components/json_editor/json_editor.html diff --git a/x-pack/plugins/watcher/public/components/json_editor/json_editor.js b/x-pack/legacy/plugins/watcher/public/components/json_editor/json_editor.js similarity index 100% rename from x-pack/plugins/watcher/public/components/json_editor/json_editor.js rename to x-pack/legacy/plugins/watcher/public/components/json_editor/json_editor.js diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/index.js b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/index.js rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/index.js diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.html b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.html similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.html rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.html diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.js b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.js similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.js rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tab/kbn_tab.js diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/index.js b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/index.js rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/index.js diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.html b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.html similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.html rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.html diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.js b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.js similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.js rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/components/kbn_tabs/kbn_tabs.js diff --git a/x-pack/plugins/watcher/public/components/kbn_tabs/index.js b/x-pack/legacy/plugins/watcher/public/components/kbn_tabs/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/kbn_tabs/index.js rename to x-pack/legacy/plugins/watcher/public/components/kbn_tabs/index.js diff --git a/x-pack/plugins/watcher/public/components/panel_pager/_index.scss b/x-pack/legacy/plugins/watcher/public/components/panel_pager/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/panel_pager/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/panel_pager/_index.scss diff --git a/x-pack/plugins/watcher/public/components/panel_pager/_panel_pager.scss b/x-pack/legacy/plugins/watcher/public/components/panel_pager/_panel_pager.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/panel_pager/_panel_pager.scss rename to x-pack/legacy/plugins/watcher/public/components/panel_pager/_panel_pager.scss diff --git a/x-pack/plugins/watcher/public/components/panel_pager/index.js b/x-pack/legacy/plugins/watcher/public/components/panel_pager/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/panel_pager/index.js rename to x-pack/legacy/plugins/watcher/public/components/panel_pager/index.js diff --git a/x-pack/plugins/watcher/public/components/panel_pager/panel_pager.html b/x-pack/legacy/plugins/watcher/public/components/panel_pager/panel_pager.html similarity index 100% rename from x-pack/plugins/watcher/public/components/panel_pager/panel_pager.html rename to x-pack/legacy/plugins/watcher/public/components/panel_pager/panel_pager.html diff --git a/x-pack/plugins/watcher/public/components/panel_pager/panel_pager.js b/x-pack/legacy/plugins/watcher/public/components/panel_pager/panel_pager.js similarity index 100% rename from x-pack/plugins/watcher/public/components/panel_pager/panel_pager.js rename to x-pack/legacy/plugins/watcher/public/components/panel_pager/panel_pager.js diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/_index.scss b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/_index.scss diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/_threshold_preview_chart.scss b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/_threshold_preview_chart.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/_threshold_preview_chart.scss rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/_threshold_preview_chart.scss diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/constants.js b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/constants.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/constants.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/constants.js diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.html b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.html diff --git a/x-pack/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.js b/x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_preview_chart/threshold_preview_chart.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/_index.scss b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/_index.scss diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/_threshold_watch_expression.scss b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/_threshold_watch_expression.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/_threshold_watch_expression.scss rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/_threshold_watch_expression.scss diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_field/threshold_watch_agg_field.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_agg_type/threshold_watch_agg_type.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/threshold_watch_base.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/threshold_watch_base.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/threshold_watch_base.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_base/threshold_watch_base.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_group_by/threshold_watch_group_by.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_threshold_level/threshold_watch_threshold_level.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/components/threshold_watch_time_window/threshold_watch_time_window.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/index.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/index.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/index.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/agg_types.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/agg_types.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/agg_types.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/agg_types.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/comparators.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/comparators.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/comparators.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/comparators.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/group_by_types.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/group_by_types.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/group_by_types.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/group_by_types.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/time_units.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/time_units.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/lib/time_units.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/lib/time_units.js diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.html b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.html similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.html rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.html diff --git a/x-pack/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.js b/x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.js similarity index 100% rename from x-pack/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.js rename to x-pack/legacy/plugins/watcher/public/components/threshold_watch_expression/threshold_watch_expression.js diff --git a/x-pack/plugins/watcher/public/components/tool_bar_selected_count/index.js b/x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/tool_bar_selected_count/index.js rename to x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/index.js diff --git a/x-pack/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.html b/x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.html similarity index 100% rename from x-pack/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.html rename to x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.html diff --git a/x-pack/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.js b/x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.js similarity index 100% rename from x-pack/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.js rename to x-pack/legacy/plugins/watcher/public/components/tool_bar_selected_count/tool_bar_selected_count.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/_index.scss b/x-pack/legacy/plugins/watcher/public/components/watch_actions/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/_index.scss diff --git a/x-pack/plugins/watcher/public/components/watch_actions/_watch_actions.scss b/x-pack/legacy/plugins/watcher/public/components/watch_actions/_watch_actions.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/_watch_actions.scss rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/_watch_actions.scss diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/watch_action_controller_base.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/watch_action_controller_base.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/watch_action_controller_base.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/lib/watch_action_controller_base/watch_action_controller_base.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/_watch_action.scss b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/_watch_action.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/_watch_action.scss rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/_watch_action.scss diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.html b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.html rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.html diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_action/watch_action.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.html b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.html rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.html diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_email_action/watch_email_action.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.html b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.html rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.html diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_logging_action/watch_logging_action.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.html b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.html rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.html diff --git a/x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/components/watch_slack_action/watch_slack_action.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_actions/watch_actions.html b/x-pack/legacy/plugins/watcher/public/components/watch_actions/watch_actions.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/watch_actions.html rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/watch_actions.html diff --git a/x-pack/plugins/watcher/public/components/watch_actions/watch_actions.js b/x-pack/legacy/plugins/watcher/public/components/watch_actions/watch_actions.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_actions/watch_actions.js rename to x-pack/legacy/plugins/watcher/public/components/watch_actions/watch_actions.js diff --git a/x-pack/plugins/watcher/public/components/watch_history_item_detail/_index.scss b/x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_history_item_detail/_index.scss rename to x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/_index.scss diff --git a/x-pack/plugins/watcher/public/components/watch_history_item_detail/_watch_history_item_detail.scss b/x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/_watch_history_item_detail.scss similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_history_item_detail/_watch_history_item_detail.scss rename to x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/_watch_history_item_detail.scss diff --git a/x-pack/plugins/watcher/public/components/watch_history_item_detail/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_history_item_detail/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.html b/x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.html rename to x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.html diff --git a/x-pack/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.js b/x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.js rename to x-pack/legacy/plugins/watcher/public/components/watch_history_item_detail/watch_history_item_detail.js diff --git a/x-pack/plugins/watcher/public/components/watch_state_icon/index.js b/x-pack/legacy/plugins/watcher/public/components/watch_state_icon/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_state_icon/index.js rename to x-pack/legacy/plugins/watcher/public/components/watch_state_icon/index.js diff --git a/x-pack/plugins/watcher/public/components/watch_state_icon/watch_state_icon.html b/x-pack/legacy/plugins/watcher/public/components/watch_state_icon/watch_state_icon.html similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_state_icon/watch_state_icon.html rename to x-pack/legacy/plugins/watcher/public/components/watch_state_icon/watch_state_icon.html diff --git a/x-pack/plugins/watcher/public/components/watch_state_icon/watch_state_icon.js b/x-pack/legacy/plugins/watcher/public/components/watch_state_icon/watch_state_icon.js similarity index 100% rename from x-pack/plugins/watcher/public/components/watch_state_icon/watch_state_icon.js rename to x-pack/legacy/plugins/watcher/public/components/watch_state_icon/watch_state_icon.js diff --git a/x-pack/plugins/watcher/public/components/xpack_aria_describes/index.js b/x-pack/legacy/plugins/watcher/public/components/xpack_aria_describes/index.js similarity index 100% rename from x-pack/plugins/watcher/public/components/xpack_aria_describes/index.js rename to x-pack/legacy/plugins/watcher/public/components/xpack_aria_describes/index.js diff --git a/x-pack/plugins/watcher/public/components/xpack_aria_describes/xpack_aria_describes.js b/x-pack/legacy/plugins/watcher/public/components/xpack_aria_describes/xpack_aria_describes.js similarity index 100% rename from x-pack/plugins/watcher/public/components/xpack_aria_describes/xpack_aria_describes.js rename to x-pack/legacy/plugins/watcher/public/components/xpack_aria_describes/xpack_aria_describes.js diff --git a/x-pack/plugins/watcher/public/constants/index.js b/x-pack/legacy/plugins/watcher/public/constants/index.js similarity index 100% rename from x-pack/plugins/watcher/public/constants/index.js rename to x-pack/legacy/plugins/watcher/public/constants/index.js diff --git a/x-pack/plugins/watcher/public/constants/time_units.js b/x-pack/legacy/plugins/watcher/public/constants/time_units.js similarity index 100% rename from x-pack/plugins/watcher/public/constants/time_units.js rename to x-pack/legacy/plugins/watcher/public/constants/time_units.js diff --git a/x-pack/plugins/watcher/public/directives/check_box/check_box.html b/x-pack/legacy/plugins/watcher/public/directives/check_box/check_box.html similarity index 100% rename from x-pack/plugins/watcher/public/directives/check_box/check_box.html rename to x-pack/legacy/plugins/watcher/public/directives/check_box/check_box.html diff --git a/x-pack/plugins/watcher/public/directives/check_box/check_box.js b/x-pack/legacy/plugins/watcher/public/directives/check_box/check_box.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/check_box/check_box.js rename to x-pack/legacy/plugins/watcher/public/directives/check_box/check_box.js diff --git a/x-pack/plugins/watcher/public/directives/check_box/index.js b/x-pack/legacy/plugins/watcher/public/directives/check_box/index.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/check_box/index.js rename to x-pack/legacy/plugins/watcher/public/directives/check_box/index.js diff --git a/x-pack/plugins/watcher/public/directives/json_input.js b/x-pack/legacy/plugins/watcher/public/directives/json_input.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/json_input.js rename to x-pack/legacy/plugins/watcher/public/directives/json_input.js diff --git a/x-pack/plugins/watcher/public/directives/moment.js b/x-pack/legacy/plugins/watcher/public/directives/moment.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/moment.js rename to x-pack/legacy/plugins/watcher/public/directives/moment.js diff --git a/x-pack/plugins/watcher/public/directives/sortable_column/index.js b/x-pack/legacy/plugins/watcher/public/directives/sortable_column/index.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/sortable_column/index.js rename to x-pack/legacy/plugins/watcher/public/directives/sortable_column/index.js diff --git a/x-pack/plugins/watcher/public/directives/sortable_column/sortable_column.html b/x-pack/legacy/plugins/watcher/public/directives/sortable_column/sortable_column.html similarity index 100% rename from x-pack/plugins/watcher/public/directives/sortable_column/sortable_column.html rename to x-pack/legacy/plugins/watcher/public/directives/sortable_column/sortable_column.html diff --git a/x-pack/plugins/watcher/public/directives/sortable_column/sortable_column.js b/x-pack/legacy/plugins/watcher/public/directives/sortable_column/sortable_column.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/sortable_column/sortable_column.js rename to x-pack/legacy/plugins/watcher/public/directives/sortable_column/sortable_column.js diff --git a/x-pack/plugins/watcher/public/directives/toggle_button/index.js b/x-pack/legacy/plugins/watcher/public/directives/toggle_button/index.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_button/index.js rename to x-pack/legacy/plugins/watcher/public/directives/toggle_button/index.js diff --git a/x-pack/plugins/watcher/public/directives/toggle_button/toggle_button.html b/x-pack/legacy/plugins/watcher/public/directives/toggle_button/toggle_button.html similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_button/toggle_button.html rename to x-pack/legacy/plugins/watcher/public/directives/toggle_button/toggle_button.html diff --git a/x-pack/plugins/watcher/public/directives/toggle_button/toggle_button.js b/x-pack/legacy/plugins/watcher/public/directives/toggle_button/toggle_button.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_button/toggle_button.js rename to x-pack/legacy/plugins/watcher/public/directives/toggle_button/toggle_button.js diff --git a/x-pack/plugins/watcher/public/directives/toggle_panel/index.js b/x-pack/legacy/plugins/watcher/public/directives/toggle_panel/index.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_panel/index.js rename to x-pack/legacy/plugins/watcher/public/directives/toggle_panel/index.js diff --git a/x-pack/plugins/watcher/public/directives/toggle_panel/toggle_panel.html b/x-pack/legacy/plugins/watcher/public/directives/toggle_panel/toggle_panel.html similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_panel/toggle_panel.html rename to x-pack/legacy/plugins/watcher/public/directives/toggle_panel/toggle_panel.html diff --git a/x-pack/plugins/watcher/public/directives/toggle_panel/toggle_panel.js b/x-pack/legacy/plugins/watcher/public/directives/toggle_panel/toggle_panel.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/toggle_panel/toggle_panel.js rename to x-pack/legacy/plugins/watcher/public/directives/toggle_panel/toggle_panel.js diff --git a/x-pack/plugins/watcher/public/directives/tooltip/index.js b/x-pack/legacy/plugins/watcher/public/directives/tooltip/index.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/tooltip/index.js rename to x-pack/legacy/plugins/watcher/public/directives/tooltip/index.js diff --git a/x-pack/plugins/watcher/public/directives/tooltip/tooltip.html b/x-pack/legacy/plugins/watcher/public/directives/tooltip/tooltip.html similarity index 100% rename from x-pack/plugins/watcher/public/directives/tooltip/tooltip.html rename to x-pack/legacy/plugins/watcher/public/directives/tooltip/tooltip.html diff --git a/x-pack/plugins/watcher/public/directives/tooltip/tooltip.js b/x-pack/legacy/plugins/watcher/public/directives/tooltip/tooltip.js similarity index 100% rename from x-pack/plugins/watcher/public/directives/tooltip/tooltip.js rename to x-pack/legacy/plugins/watcher/public/directives/tooltip/tooltip.js diff --git a/x-pack/plugins/watcher/public/index.scss b/x-pack/legacy/plugins/watcher/public/index.scss similarity index 100% rename from x-pack/plugins/watcher/public/index.scss rename to x-pack/legacy/plugins/watcher/public/index.scss diff --git a/x-pack/plugins/watcher/public/lib/breadcrumbs.js b/x-pack/legacy/plugins/watcher/public/lib/breadcrumbs.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/breadcrumbs.js rename to x-pack/legacy/plugins/watcher/public/lib/breadcrumbs.js diff --git a/x-pack/plugins/watcher/public/lib/clamp/clamp.js b/x-pack/legacy/plugins/watcher/public/lib/clamp/clamp.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/clamp/clamp.js rename to x-pack/legacy/plugins/watcher/public/lib/clamp/clamp.js diff --git a/x-pack/plugins/watcher/public/lib/clamp/index.js b/x-pack/legacy/plugins/watcher/public/lib/clamp/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/clamp/index.js rename to x-pack/legacy/plugins/watcher/public/lib/clamp/index.js diff --git a/x-pack/plugins/watcher/public/lib/documentation_links/documentation_links.js b/x-pack/legacy/plugins/watcher/public/lib/documentation_links/documentation_links.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/documentation_links/documentation_links.js rename to x-pack/legacy/plugins/watcher/public/lib/documentation_links/documentation_links.js diff --git a/x-pack/plugins/watcher/public/lib/documentation_links/index.js b/x-pack/legacy/plugins/watcher/public/lib/documentation_links/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/documentation_links/index.js rename to x-pack/legacy/plugins/watcher/public/lib/documentation_links/index.js diff --git a/x-pack/plugins/watcher/public/lib/documentation_links/make_documentation_link.js b/x-pack/legacy/plugins/watcher/public/lib/documentation_links/make_documentation_link.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/documentation_links/make_documentation_link.js rename to x-pack/legacy/plugins/watcher/public/lib/documentation_links/make_documentation_link.js diff --git a/x-pack/plugins/watcher/public/lib/get_search_value/get_search_value.js b/x-pack/legacy/plugins/watcher/public/lib/get_search_value/get_search_value.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/get_search_value/get_search_value.js rename to x-pack/legacy/plugins/watcher/public/lib/get_search_value/get_search_value.js diff --git a/x-pack/plugins/watcher/public/lib/get_search_value/index.js b/x-pack/legacy/plugins/watcher/public/lib/get_search_value/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/get_search_value/index.js rename to x-pack/legacy/plugins/watcher/public/lib/get_search_value/index.js diff --git a/x-pack/plugins/watcher/public/lib/get_time_units_label/get_time_units_label.js b/x-pack/legacy/plugins/watcher/public/lib/get_time_units_label/get_time_units_label.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/get_time_units_label/get_time_units_label.js rename to x-pack/legacy/plugins/watcher/public/lib/get_time_units_label/get_time_units_label.js diff --git a/x-pack/plugins/watcher/public/lib/get_time_units_label/index.js b/x-pack/legacy/plugins/watcher/public/lib/get_time_units_label/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/get_time_units_label/index.js rename to x-pack/legacy/plugins/watcher/public/lib/get_time_units_label/index.js diff --git a/x-pack/plugins/watcher/public/lib/sortable_boolean/__tests__/sortable_boolean.js b/x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/__tests__/sortable_boolean.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/sortable_boolean/__tests__/sortable_boolean.js rename to x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/__tests__/sortable_boolean.js diff --git a/x-pack/plugins/watcher/public/lib/sortable_boolean/index.js b/x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/sortable_boolean/index.js rename to x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/index.js diff --git a/x-pack/plugins/watcher/public/lib/sortable_boolean/sortable_boolean.js b/x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/sortable_boolean.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/sortable_boolean/sortable_boolean.js rename to x-pack/legacy/plugins/watcher/public/lib/sortable_boolean/sortable_boolean.js diff --git a/x-pack/plugins/watcher/public/lib/update_management_sections/index.js b/x-pack/legacy/plugins/watcher/public/lib/update_management_sections/index.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/update_management_sections/index.js rename to x-pack/legacy/plugins/watcher/public/lib/update_management_sections/index.js diff --git a/x-pack/plugins/watcher/public/lib/update_management_sections/update_history_section.js b/x-pack/legacy/plugins/watcher/public/lib/update_management_sections/update_history_section.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/update_management_sections/update_history_section.js rename to x-pack/legacy/plugins/watcher/public/lib/update_management_sections/update_history_section.js diff --git a/x-pack/plugins/watcher/public/lib/update_management_sections/update_watch_sections.js b/x-pack/legacy/plugins/watcher/public/lib/update_management_sections/update_watch_sections.js similarity index 100% rename from x-pack/plugins/watcher/public/lib/update_management_sections/update_watch_sections.js rename to x-pack/legacy/plugins/watcher/public/lib/update_management_sections/update_watch_sections.js diff --git a/x-pack/plugins/watcher/public/models/action/action.js b/x-pack/legacy/plugins/watcher/public/models/action/action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/action.js rename to x-pack/legacy/plugins/watcher/public/models/action/action.js diff --git a/x-pack/plugins/watcher/public/models/action/base_action.js b/x-pack/legacy/plugins/watcher/public/models/action/base_action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/base_action.js rename to x-pack/legacy/plugins/watcher/public/models/action/base_action.js diff --git a/x-pack/plugins/watcher/public/models/action/email_action.js b/x-pack/legacy/plugins/watcher/public/models/action/email_action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/email_action.js rename to x-pack/legacy/plugins/watcher/public/models/action/email_action.js diff --git a/x-pack/plugins/watcher/public/models/action/hipchat.action.js b/x-pack/legacy/plugins/watcher/public/models/action/hipchat.action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/hipchat.action.js rename to x-pack/legacy/plugins/watcher/public/models/action/hipchat.action.js diff --git a/x-pack/plugins/watcher/public/models/action/index.action.js b/x-pack/legacy/plugins/watcher/public/models/action/index.action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/index.action.js rename to x-pack/legacy/plugins/watcher/public/models/action/index.action.js diff --git a/x-pack/plugins/watcher/public/models/action/index.js b/x-pack/legacy/plugins/watcher/public/models/action/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/index.js rename to x-pack/legacy/plugins/watcher/public/models/action/index.js diff --git a/x-pack/plugins/watcher/public/models/action/jira.action.js b/x-pack/legacy/plugins/watcher/public/models/action/jira.action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/jira.action.js rename to x-pack/legacy/plugins/watcher/public/models/action/jira.action.js diff --git a/x-pack/plugins/watcher/public/models/action/logging_action.js b/x-pack/legacy/plugins/watcher/public/models/action/logging_action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/logging_action.js rename to x-pack/legacy/plugins/watcher/public/models/action/logging_action.js diff --git a/x-pack/plugins/watcher/public/models/action/pagerduty.action.js b/x-pack/legacy/plugins/watcher/public/models/action/pagerduty.action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/pagerduty.action.js rename to x-pack/legacy/plugins/watcher/public/models/action/pagerduty.action.js diff --git a/x-pack/plugins/watcher/public/models/action/slack_action.js b/x-pack/legacy/plugins/watcher/public/models/action/slack_action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/slack_action.js rename to x-pack/legacy/plugins/watcher/public/models/action/slack_action.js diff --git a/x-pack/plugins/watcher/public/models/action/unknown_action.js b/x-pack/legacy/plugins/watcher/public/models/action/unknown_action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/unknown_action.js rename to x-pack/legacy/plugins/watcher/public/models/action/unknown_action.js diff --git a/x-pack/plugins/watcher/public/models/action/webhook.action.js b/x-pack/legacy/plugins/watcher/public/models/action/webhook.action.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action/webhook.action.js rename to x-pack/legacy/plugins/watcher/public/models/action/webhook.action.js diff --git a/x-pack/plugins/watcher/public/models/action_status/action_status.js b/x-pack/legacy/plugins/watcher/public/models/action_status/action_status.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action_status/action_status.js rename to x-pack/legacy/plugins/watcher/public/models/action_status/action_status.js diff --git a/x-pack/plugins/watcher/public/models/action_status/index.js b/x-pack/legacy/plugins/watcher/public/models/action_status/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/action_status/index.js rename to x-pack/legacy/plugins/watcher/public/models/action_status/index.js diff --git a/x-pack/plugins/watcher/public/models/execute_details/execute_details.js b/x-pack/legacy/plugins/watcher/public/models/execute_details/execute_details.js similarity index 100% rename from x-pack/plugins/watcher/public/models/execute_details/execute_details.js rename to x-pack/legacy/plugins/watcher/public/models/execute_details/execute_details.js diff --git a/x-pack/plugins/watcher/public/models/execute_details/index.js b/x-pack/legacy/plugins/watcher/public/models/execute_details/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/execute_details/index.js rename to x-pack/legacy/plugins/watcher/public/models/execute_details/index.js diff --git a/x-pack/plugins/watcher/public/models/settings/index.js b/x-pack/legacy/plugins/watcher/public/models/settings/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/settings/index.js rename to x-pack/legacy/plugins/watcher/public/models/settings/index.js diff --git a/x-pack/plugins/watcher/public/models/settings/settings.js b/x-pack/legacy/plugins/watcher/public/models/settings/settings.js similarity index 100% rename from x-pack/plugins/watcher/public/models/settings/settings.js rename to x-pack/legacy/plugins/watcher/public/models/settings/settings.js diff --git a/x-pack/plugins/watcher/public/models/visualize_options/index.js b/x-pack/legacy/plugins/watcher/public/models/visualize_options/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/visualize_options/index.js rename to x-pack/legacy/plugins/watcher/public/models/visualize_options/index.js diff --git a/x-pack/plugins/watcher/public/models/visualize_options/visualize_options.js b/x-pack/legacy/plugins/watcher/public/models/visualize_options/visualize_options.js similarity index 100% rename from x-pack/plugins/watcher/public/models/visualize_options/visualize_options.js rename to x-pack/legacy/plugins/watcher/public/models/visualize_options/visualize_options.js diff --git a/x-pack/plugins/watcher/public/models/watch/base_watch.js b/x-pack/legacy/plugins/watcher/public/models/watch/base_watch.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/base_watch.js rename to x-pack/legacy/plugins/watcher/public/models/watch/base_watch.js diff --git a/x-pack/plugins/watcher/public/models/watch/default_watch.json b/x-pack/legacy/plugins/watcher/public/models/watch/default_watch.json similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/default_watch.json rename to x-pack/legacy/plugins/watcher/public/models/watch/default_watch.json diff --git a/x-pack/plugins/watcher/public/models/watch/index.js b/x-pack/legacy/plugins/watcher/public/models/watch/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch/index.js diff --git a/x-pack/plugins/watcher/public/models/watch/json_watch.js b/x-pack/legacy/plugins/watcher/public/models/watch/json_watch.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/json_watch.js rename to x-pack/legacy/plugins/watcher/public/models/watch/json_watch.js diff --git a/x-pack/plugins/watcher/public/models/watch/lib/check_action_id_collision/check_action_id_collision.js b/x-pack/legacy/plugins/watcher/public/models/watch/lib/check_action_id_collision/check_action_id_collision.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/lib/check_action_id_collision/check_action_id_collision.js rename to x-pack/legacy/plugins/watcher/public/models/watch/lib/check_action_id_collision/check_action_id_collision.js diff --git a/x-pack/plugins/watcher/public/models/watch/lib/check_action_id_collision/index.js b/x-pack/legacy/plugins/watcher/public/models/watch/lib/check_action_id_collision/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/lib/check_action_id_collision/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch/lib/check_action_id_collision/index.js diff --git a/x-pack/plugins/watcher/public/models/watch/lib/create_action_id/create_action_id.js b/x-pack/legacy/plugins/watcher/public/models/watch/lib/create_action_id/create_action_id.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/lib/create_action_id/create_action_id.js rename to x-pack/legacy/plugins/watcher/public/models/watch/lib/create_action_id/create_action_id.js diff --git a/x-pack/plugins/watcher/public/models/watch/lib/create_action_id/index.js b/x-pack/legacy/plugins/watcher/public/models/watch/lib/create_action_id/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/lib/create_action_id/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch/lib/create_action_id/index.js diff --git a/x-pack/plugins/watcher/public/models/watch/monitoring_watch.js b/x-pack/legacy/plugins/watcher/public/models/watch/monitoring_watch.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/monitoring_watch.js rename to x-pack/legacy/plugins/watcher/public/models/watch/monitoring_watch.js diff --git a/x-pack/plugins/watcher/public/models/watch/threshold_watch.js b/x-pack/legacy/plugins/watcher/public/models/watch/threshold_watch.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/threshold_watch.js rename to x-pack/legacy/plugins/watcher/public/models/watch/threshold_watch.js diff --git a/x-pack/plugins/watcher/public/models/watch/watch.js b/x-pack/legacy/plugins/watcher/public/models/watch/watch.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch/watch.js rename to x-pack/legacy/plugins/watcher/public/models/watch/watch.js diff --git a/x-pack/plugins/watcher/public/models/watch_errors/index.js b/x-pack/legacy/plugins/watcher/public/models/watch_errors/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_errors/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch_errors/index.js diff --git a/x-pack/plugins/watcher/public/models/watch_errors/watch_errors.js b/x-pack/legacy/plugins/watcher/public/models/watch_errors/watch_errors.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_errors/watch_errors.js rename to x-pack/legacy/plugins/watcher/public/models/watch_errors/watch_errors.js diff --git a/x-pack/plugins/watcher/public/models/watch_history_item/index.js b/x-pack/legacy/plugins/watcher/public/models/watch_history_item/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_history_item/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch_history_item/index.js diff --git a/x-pack/plugins/watcher/public/models/watch_history_item/watch_history_item.js b/x-pack/legacy/plugins/watcher/public/models/watch_history_item/watch_history_item.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_history_item/watch_history_item.js rename to x-pack/legacy/plugins/watcher/public/models/watch_history_item/watch_history_item.js diff --git a/x-pack/plugins/watcher/public/models/watch_status/index.js b/x-pack/legacy/plugins/watcher/public/models/watch_status/index.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_status/index.js rename to x-pack/legacy/plugins/watcher/public/models/watch_status/index.js diff --git a/x-pack/plugins/watcher/public/models/watch_status/watch_status.js b/x-pack/legacy/plugins/watcher/public/models/watch_status/watch_status.js similarity index 100% rename from x-pack/plugins/watcher/public/models/watch_status/watch_status.js rename to x-pack/legacy/plugins/watcher/public/models/watch_status/watch_status.js diff --git a/x-pack/plugins/watcher/public/register_feature.js b/x-pack/legacy/plugins/watcher/public/register_feature.js similarity index 100% rename from x-pack/plugins/watcher/public/register_feature.js rename to x-pack/legacy/plugins/watcher/public/register_feature.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/action_status_table.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/action_status_table/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/action_status_table/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_detail/watch_detail.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history/watch_history.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_range_filter/watch_history_range_filter.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/components/watch_history_table/watch_history_table.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/watch_detail_route.html b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/watch_detail_route.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/watch_detail_route.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/watch_detail_route.html diff --git a/x-pack/plugins/watcher/public/sections/watch_detail/watch_detail_route.js b/x-pack/legacy/plugins/watcher/public/sections/watch_detail/watch_detail_route.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_detail/watch_detail_route.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_detail/watch_detail_route.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/json_watch_edit/json_watch_edit.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_index.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_index.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_index.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_threshold_watch_edit.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_threshold_watch_edit.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_threshold_watch_edit.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/_threshold_watch_edit.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/threshold_watch_edit/threshold_watch_edit.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_action_mode_table/watch_action_mode_table.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_actions_execute_summary/watch_edit_actions_execute_summary.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_index.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_index.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_index.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_watch_edit_detail.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_watch_edit_detail.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_watch_edit_detail.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/_watch_edit_detail.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_detail/watch_edit_detail.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_index.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_index.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_index.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_watch_edit_execute_detail.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_watch_edit_execute_detail.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_watch_edit_execute_detail.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/_watch_edit_execute_detail.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_detail/watch_edit_execute_detail.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_execute_info_panel/watch_edit_execute_info_panel.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_bar/watch_edit_title_bar.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_index.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_index.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_index.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_watch_edit_title_panel.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_watch_edit_title_panel.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_watch_edit_title_panel.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/_watch_edit_title_panel.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_title_panel/watch_edit_title_panel.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/components/watch_edit_watch_execute_summary/watch_edit_watch_execute_summary.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/watch_edit_route.html b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/watch_edit_route.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/watch_edit_route.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/watch_edit_route.html diff --git a/x-pack/plugins/watcher/public/sections/watch_edit/watch_edit_route.js b/x-pack/legacy/plugins/watcher/public/sections/watch_edit/watch_edit_route.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_edit/watch_edit_route.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_edit/watch_edit_route.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.html b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.html diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item/watch_history_item.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.html b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.html diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_actions_summary/watch_history_item_actions_summary.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.html b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.html diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/components/watch_history_item_watch_summary/watch_history_item_watch_summary.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.html b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.html diff --git a/x-pack/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.js b/x-pack/legacy/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_history_item/watch_history_item_route.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/_index.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/_index.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/_index.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/_index.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/_watch_list.scss b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/_watch_list.scss similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/_watch_list.scss rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/_watch_list.scss diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.html b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.html diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_list/watch_list.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.html b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.html diff --git a/x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/components/watch_table/watch_table.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/index.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/index.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/index.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/index.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/register_management_section.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/register_management_section.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/register_management_section.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/register_management_section.js diff --git a/x-pack/plugins/watcher/public/sections/watch_list/watch_list_route.html b/x-pack/legacy/plugins/watcher/public/sections/watch_list/watch_list_route.html similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/watch_list_route.html rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/watch_list_route.html diff --git a/x-pack/plugins/watcher/public/sections/watch_list/watch_list_route.js b/x-pack/legacy/plugins/watcher/public/sections/watch_list/watch_list_route.js similarity index 100% rename from x-pack/plugins/watcher/public/sections/watch_list/watch_list_route.js rename to x-pack/legacy/plugins/watcher/public/sections/watch_list/watch_list_route.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/action_defaults_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/action_defaults_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/action_defaults_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/action_defaults_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/action_defaults_service.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/action_defaults_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/action_defaults_service.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/action_defaults_service.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/actions/email_action.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/email_action.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/actions/email_action.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/email_action.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/actions/logging_action.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/logging_action.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/actions/logging_action.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/logging_action.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/actions/slack_action.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/slack_action.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/actions/slack_action.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/actions/slack_action.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/index.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/index.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/index.js diff --git a/x-pack/plugins/watcher/public/services/action_defaults/registry.js b/x-pack/legacy/plugins/watcher/public/services/action_defaults/registry.js similarity index 100% rename from x-pack/plugins/watcher/public/services/action_defaults/registry.js rename to x-pack/legacy/plugins/watcher/public/services/action_defaults/registry.js diff --git a/x-pack/plugins/watcher/public/services/fields/fields_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/fields/fields_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/fields/fields_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/fields/fields_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/fields/fields_service.js b/x-pack/legacy/plugins/watcher/public/services/fields/fields_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/fields/fields_service.js rename to x-pack/legacy/plugins/watcher/public/services/fields/fields_service.js diff --git a/x-pack/plugins/watcher/public/services/fields/index.js b/x-pack/legacy/plugins/watcher/public/services/fields/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/fields/index.js rename to x-pack/legacy/plugins/watcher/public/services/fields/index.js diff --git a/x-pack/plugins/watcher/public/services/html_id_generator/html_id_generator_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/html_id_generator/html_id_generator_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/html_id_generator/html_id_generator_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/html_id_generator/html_id_generator_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/html_id_generator/html_id_generator_service.js b/x-pack/legacy/plugins/watcher/public/services/html_id_generator/html_id_generator_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/html_id_generator/html_id_generator_service.js rename to x-pack/legacy/plugins/watcher/public/services/html_id_generator/html_id_generator_service.js diff --git a/x-pack/plugins/watcher/public/services/html_id_generator/index.js b/x-pack/legacy/plugins/watcher/public/services/html_id_generator/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/html_id_generator/index.js rename to x-pack/legacy/plugins/watcher/public/services/html_id_generator/index.js diff --git a/x-pack/plugins/watcher/public/services/indices/index.js b/x-pack/legacy/plugins/watcher/public/services/indices/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/indices/index.js rename to x-pack/legacy/plugins/watcher/public/services/indices/index.js diff --git a/x-pack/plugins/watcher/public/services/indices/indices_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/indices/indices_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/indices/indices_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/indices/indices_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/indices/indices_service.js b/x-pack/legacy/plugins/watcher/public/services/indices/indices_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/indices/indices_service.js rename to x-pack/legacy/plugins/watcher/public/services/indices/indices_service.js diff --git a/x-pack/plugins/watcher/public/services/interval/index.js b/x-pack/legacy/plugins/watcher/public/services/interval/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/interval/index.js rename to x-pack/legacy/plugins/watcher/public/services/interval/index.js diff --git a/x-pack/plugins/watcher/public/services/interval/xpack_watcher_interval_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/interval/xpack_watcher_interval_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/interval/xpack_watcher_interval_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/interval/xpack_watcher_interval_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/interval/xpack_watcher_interval_service.js b/x-pack/legacy/plugins/watcher/public/services/interval/xpack_watcher_interval_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/interval/xpack_watcher_interval_service.js rename to x-pack/legacy/plugins/watcher/public/services/interval/xpack_watcher_interval_service.js diff --git a/x-pack/plugins/watcher/public/services/license/index.js b/x-pack/legacy/plugins/watcher/public/services/license/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/license/index.js rename to x-pack/legacy/plugins/watcher/public/services/license/index.js diff --git a/x-pack/plugins/watcher/public/services/license/license_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/license/license_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/license/license_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/license/license_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/license/license_service.js b/x-pack/legacy/plugins/watcher/public/services/license/license_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/license/license_service.js rename to x-pack/legacy/plugins/watcher/public/services/license/license_service.js diff --git a/x-pack/plugins/watcher/public/services/settings/index.js b/x-pack/legacy/plugins/watcher/public/services/settings/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/settings/index.js rename to x-pack/legacy/plugins/watcher/public/services/settings/index.js diff --git a/x-pack/plugins/watcher/public/services/settings/settings_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/settings/settings_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/settings/settings_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/settings/settings_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/settings/settings_service.js b/x-pack/legacy/plugins/watcher/public/services/settings/settings_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/settings/settings_service.js rename to x-pack/legacy/plugins/watcher/public/services/settings/settings_service.js diff --git a/x-pack/plugins/watcher/public/services/timezone/index.js b/x-pack/legacy/plugins/watcher/public/services/timezone/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/timezone/index.js rename to x-pack/legacy/plugins/watcher/public/services/timezone/index.js diff --git a/x-pack/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.js b/x-pack/legacy/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.js rename to x-pack/legacy/plugins/watcher/public/services/timezone/xpack_watcher_timezone_service.js diff --git a/x-pack/plugins/watcher/public/services/watch/index.js b/x-pack/legacy/plugins/watcher/public/services/watch/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch/index.js rename to x-pack/legacy/plugins/watcher/public/services/watch/index.js diff --git a/x-pack/plugins/watcher/public/services/watch/watch_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/watch/watch_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch/watch_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/watch/watch_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/watch/watch_service.js b/x-pack/legacy/plugins/watcher/public/services/watch/watch_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch/watch_service.js rename to x-pack/legacy/plugins/watcher/public/services/watch/watch_service.js diff --git a/x-pack/plugins/watcher/public/services/watch_history/index.js b/x-pack/legacy/plugins/watcher/public/services/watch_history/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch_history/index.js rename to x-pack/legacy/plugins/watcher/public/services/watch_history/index.js diff --git a/x-pack/plugins/watcher/public/services/watch_history/watch_history_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/watch_history/watch_history_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch_history/watch_history_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/watch_history/watch_history_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/watch_history/watch_history_service.js b/x-pack/legacy/plugins/watcher/public/services/watch_history/watch_history_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watch_history/watch_history_service.js rename to x-pack/legacy/plugins/watcher/public/services/watch_history/watch_history_service.js diff --git a/x-pack/plugins/watcher/public/services/watches/index.js b/x-pack/legacy/plugins/watcher/public/services/watches/index.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watches/index.js rename to x-pack/legacy/plugins/watcher/public/services/watches/index.js diff --git a/x-pack/plugins/watcher/public/services/watches/watches_service.factory.js b/x-pack/legacy/plugins/watcher/public/services/watches/watches_service.factory.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watches/watches_service.factory.js rename to x-pack/legacy/plugins/watcher/public/services/watches/watches_service.factory.js diff --git a/x-pack/plugins/watcher/public/services/watches/watches_service.js b/x-pack/legacy/plugins/watcher/public/services/watches/watches_service.js similarity index 100% rename from x-pack/plugins/watcher/public/services/watches/watches_service.js rename to x-pack/legacy/plugins/watcher/public/services/watches/watches_service.js diff --git a/x-pack/plugins/watcher/server/lib/call_with_internal_user_factory/call_with_internal_user_factory.js b/x-pack/legacy/plugins/watcher/server/lib/call_with_internal_user_factory/call_with_internal_user_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/call_with_internal_user_factory/call_with_internal_user_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/call_with_internal_user_factory/call_with_internal_user_factory.js diff --git a/x-pack/plugins/watcher/server/lib/call_with_internal_user_factory/index.js b/x-pack/legacy/plugins/watcher/server/lib/call_with_internal_user_factory/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/call_with_internal_user_factory/index.js rename to x-pack/legacy/plugins/watcher/server/lib/call_with_internal_user_factory/index.js diff --git a/x-pack/plugins/watcher/server/lib/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/plugins/watcher/server/lib/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/plugins/watcher/server/lib/call_with_request_factory/index.js b/x-pack/legacy/plugins/watcher/server/lib/call_with_request_factory/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/call_with_request_factory/index.js rename to x-pack/legacy/plugins/watcher/server/lib/call_with_request_factory/index.js diff --git a/x-pack/plugins/watcher/server/lib/check_license/__tests__/check_license.js b/x-pack/legacy/plugins/watcher/server/lib/check_license/__tests__/check_license.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/check_license/__tests__/check_license.js rename to x-pack/legacy/plugins/watcher/server/lib/check_license/__tests__/check_license.js diff --git a/x-pack/plugins/watcher/server/lib/check_license/check_license.js b/x-pack/legacy/plugins/watcher/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/check_license/check_license.js rename to x-pack/legacy/plugins/watcher/server/lib/check_license/check_license.js diff --git a/x-pack/plugins/watcher/server/lib/check_license/index.js b/x-pack/legacy/plugins/watcher/server/lib/check_license/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/check_license/index.js rename to x-pack/legacy/plugins/watcher/server/lib/check_license/index.js diff --git a/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js b/x-pack/legacy/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js rename to x-pack/legacy/plugins/watcher/server/lib/elasticsearch_js_plugin/elasticsearch_js_plugin.js diff --git a/x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/index.js b/x-pack/legacy/plugins/watcher/server/lib/elasticsearch_js_plugin/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/elasticsearch_js_plugin/index.js rename to x-pack/legacy/plugins/watcher/server/lib/elasticsearch_js_plugin/index.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/index.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/index.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/index.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_custom_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_custom_error.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_es_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/wrap_es_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_es_error.js diff --git a/x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/plugins/watcher/server/lib/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js b/x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js rename to x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/__tests__/fetch_all_from_scroll.js diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js b/x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js rename to x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/fetch_all_from_scroll.js diff --git a/x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/index.js b/x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/fetch_all_from_scroll/index.js rename to x-pack/legacy/plugins/watcher/server/lib/fetch_all_from_scroll/index.js diff --git a/x-pack/plugins/watcher/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js b/x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/__tests__/is_es_error_factory.js diff --git a/x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js b/x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/is_es_error_factory/index.js rename to x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/index.js diff --git a/x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js b/x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/is_es_error_factory/is_es_error_factory.js diff --git a/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js b/x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/license_pre_routing_factory/index.js rename to x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/index.js diff --git a/x-pack/plugins/watcher/server/lib/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/plugins/watcher/server/lib/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/plugins/watcher/server/lib/normalized_field_types/index.js b/x-pack/legacy/plugins/watcher/server/lib/normalized_field_types/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/normalized_field_types/index.js rename to x-pack/legacy/plugins/watcher/server/lib/normalized_field_types/index.js diff --git a/x-pack/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.js b/x-pack/legacy/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.js rename to x-pack/legacy/plugins/watcher/server/lib/normalized_field_types/normalized_field_types.js diff --git a/x-pack/plugins/watcher/server/lib/register_license_checker/index.js b/x-pack/legacy/plugins/watcher/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/register_license_checker/index.js rename to x-pack/legacy/plugins/watcher/server/lib/register_license_checker/index.js diff --git a/x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/plugins/watcher/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/plugins/watcher/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/plugins/watcher/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/plugins/watcher/server/models/action/action.js b/x-pack/legacy/plugins/watcher/server/models/action/action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/action.js rename to x-pack/legacy/plugins/watcher/server/models/action/action.js diff --git a/x-pack/plugins/watcher/server/models/action/action.test.js b/x-pack/legacy/plugins/watcher/server/models/action/action.test.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/action.test.js rename to x-pack/legacy/plugins/watcher/server/models/action/action.test.js diff --git a/x-pack/plugins/watcher/server/models/action/base_action.js b/x-pack/legacy/plugins/watcher/server/models/action/base_action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/base_action.js rename to x-pack/legacy/plugins/watcher/server/models/action/base_action.js diff --git a/x-pack/plugins/watcher/server/models/action/email_action.js b/x-pack/legacy/plugins/watcher/server/models/action/email_action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/email_action.js rename to x-pack/legacy/plugins/watcher/server/models/action/email_action.js diff --git a/x-pack/plugins/watcher/server/models/action/index.js b/x-pack/legacy/plugins/watcher/server/models/action/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/index.js rename to x-pack/legacy/plugins/watcher/server/models/action/index.js diff --git a/x-pack/plugins/watcher/server/models/action/logging_action.js b/x-pack/legacy/plugins/watcher/server/models/action/logging_action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/logging_action.js rename to x-pack/legacy/plugins/watcher/server/models/action/logging_action.js diff --git a/x-pack/plugins/watcher/server/models/action/slack_action.js b/x-pack/legacy/plugins/watcher/server/models/action/slack_action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/slack_action.js rename to x-pack/legacy/plugins/watcher/server/models/action/slack_action.js diff --git a/x-pack/plugins/watcher/server/models/action/unknown_action.js b/x-pack/legacy/plugins/watcher/server/models/action/unknown_action.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action/unknown_action.js rename to x-pack/legacy/plugins/watcher/server/models/action/unknown_action.js diff --git a/x-pack/plugins/watcher/server/models/action_status/__tests__/action_status.js b/x-pack/legacy/plugins/watcher/server/models/action_status/__tests__/action_status.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action_status/__tests__/action_status.js rename to x-pack/legacy/plugins/watcher/server/models/action_status/__tests__/action_status.js diff --git a/x-pack/plugins/watcher/server/models/action_status/action_status.js b/x-pack/legacy/plugins/watcher/server/models/action_status/action_status.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action_status/action_status.js rename to x-pack/legacy/plugins/watcher/server/models/action_status/action_status.js diff --git a/x-pack/plugins/watcher/server/models/action_status/index.js b/x-pack/legacy/plugins/watcher/server/models/action_status/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/action_status/index.js rename to x-pack/legacy/plugins/watcher/server/models/action_status/index.js diff --git a/x-pack/plugins/watcher/server/models/execute_details/__tests__/execute_details.js b/x-pack/legacy/plugins/watcher/server/models/execute_details/__tests__/execute_details.js similarity index 100% rename from x-pack/plugins/watcher/server/models/execute_details/__tests__/execute_details.js rename to x-pack/legacy/plugins/watcher/server/models/execute_details/__tests__/execute_details.js diff --git a/x-pack/plugins/watcher/server/models/execute_details/execute_details.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/execute_details/execute_details.js diff --git a/x-pack/plugins/watcher/server/models/execute_details/index.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/execute_details/index.js diff --git a/x-pack/plugins/watcher/server/models/fields/__tests__/fields.js b/x-pack/legacy/plugins/watcher/server/models/fields/__tests__/fields.js similarity index 100% rename from x-pack/plugins/watcher/server/models/fields/__tests__/fields.js rename to x-pack/legacy/plugins/watcher/server/models/fields/__tests__/fields.js diff --git a/x-pack/plugins/watcher/server/models/fields/fields.js b/x-pack/legacy/plugins/watcher/server/models/fields/fields.js similarity index 100% rename from x-pack/plugins/watcher/server/models/fields/fields.js rename to x-pack/legacy/plugins/watcher/server/models/fields/fields.js diff --git a/x-pack/plugins/watcher/server/models/fields/index.js b/x-pack/legacy/plugins/watcher/server/models/fields/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/fields/index.js rename to x-pack/legacy/plugins/watcher/server/models/fields/index.js diff --git a/x-pack/plugins/watcher/server/models/settings/__tests__/settings.js b/x-pack/legacy/plugins/watcher/server/models/settings/__tests__/settings.js similarity index 100% rename from x-pack/plugins/watcher/server/models/settings/__tests__/settings.js rename to x-pack/legacy/plugins/watcher/server/models/settings/__tests__/settings.js diff --git a/x-pack/plugins/watcher/server/models/settings/index.js b/x-pack/legacy/plugins/watcher/server/models/settings/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/settings/index.js rename to x-pack/legacy/plugins/watcher/server/models/settings/index.js diff --git a/x-pack/plugins/watcher/server/models/settings/settings.js b/x-pack/legacy/plugins/watcher/server/models/settings/settings.js similarity index 100% rename from x-pack/plugins/watcher/server/models/settings/settings.js rename to x-pack/legacy/plugins/watcher/server/models/settings/settings.js diff --git a/x-pack/plugins/watcher/server/models/visualize_options/index.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/visualize_options/index.js diff --git a/x-pack/plugins/watcher/server/models/visualize_options/visualize_options.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/visualize_options/visualize_options.js diff --git a/x-pack/plugins/watcher/server/models/watch/__tests__/base_watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/__tests__/base_watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/__tests__/base_watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/__tests__/base_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/__tests__/json_watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/__tests__/json_watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/__tests__/json_watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/__tests__/json_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/__tests__/monitoring_watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/__tests__/monitoring_watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/__tests__/monitoring_watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/__tests__/monitoring_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/__tests__/threshold_watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/__tests__/threshold_watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/__tests__/threshold_watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/__tests__/threshold_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/__tests__/watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/__tests__/watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/__tests__/watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/__tests__/watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/base_watch.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/base_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/index.js b/x-pack/legacy/plugins/watcher/server/models/watch/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/index.js rename to x-pack/legacy/plugins/watcher/server/models/watch/index.js diff --git a/x-pack/plugins/watcher/server/models/watch/json_watch.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/json_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/lib/get_watch_type/get_watch_type.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/lib/get_watch_type/index.js diff --git a/x-pack/plugins/watcher/server/models/watch/lib/single_line_script/index.js b/x-pack/legacy/plugins/watcher/server/models/watch/lib/single_line_script/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/lib/single_line_script/index.js rename to x-pack/legacy/plugins/watcher/server/models/watch/lib/single_line_script/index.js diff --git a/x-pack/plugins/watcher/server/models/watch/lib/single_line_script/single_line_script.js b/x-pack/legacy/plugins/watcher/server/models/watch/lib/single_line_script/single_line_script.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/lib/single_line_script/single_line_script.js rename to x-pack/legacy/plugins/watcher/server/models/watch/lib/single_line_script/single_line_script.js diff --git a/x-pack/plugins/watcher/server/models/watch/monitoring_watch.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/monitoring_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/__tests__/format_visualize_data.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/__tests__/format_visualize_data.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/__tests__/format_visualize_data.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/__tests__/format_visualize_data.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_actions.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_actions.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_actions.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_actions.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_condition.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_condition.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_condition.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_condition.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_input.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_input.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_input.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_input.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_metadata.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_metadata.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_metadata.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_metadata.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_transform.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_transform.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_transform.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_transform.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_trigger.js b/x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_trigger.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/threshold_watch/build_trigger.js rename to x-pack/legacy/plugins/watcher/server/models/watch/threshold_watch/build_trigger.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/build_visualize_query.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/threshold_watch/format_visualize_data.js diff --git a/x-pack/plugins/watcher/server/models/watch/threshold_watch/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/watcher/server/models/watch/threshold_watch/threshold_watch.js diff --git a/x-pack/plugins/watcher/server/models/watch/watch.js b/x-pack/legacy/plugins/watcher/server/models/watch/watch.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch/watch.js rename to x-pack/legacy/plugins/watcher/server/models/watch/watch.js diff --git a/x-pack/plugins/watcher/server/models/watch_errors/index.js b/x-pack/legacy/plugins/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/legacy/plugins/watcher/server/models/watch_errors/index.js diff --git a/x-pack/plugins/watcher/server/models/watch_errors/watch_errors.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/watcher/server/models/watch_errors/watch_errors.test.js diff --git a/x-pack/plugins/watcher/server/models/watch_history_item/__tests__/watch_history_item.js b/x-pack/legacy/plugins/watcher/server/models/watch_history_item/__tests__/watch_history_item.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch_history_item/__tests__/watch_history_item.js rename to x-pack/legacy/plugins/watcher/server/models/watch_history_item/__tests__/watch_history_item.js diff --git a/x-pack/plugins/watcher/server/models/watch_history_item/index.js b/x-pack/legacy/plugins/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/legacy/plugins/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/legacy/plugins/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/legacy/plugins/watcher/server/models/watch_history_item/watch_history_item.js diff --git a/x-pack/plugins/watcher/server/models/watch_status/__tests__/watch_status.js b/x-pack/legacy/plugins/watcher/server/models/watch_status/__tests__/watch_status.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch_status/__tests__/watch_status.js rename to x-pack/legacy/plugins/watcher/server/models/watch_status/__tests__/watch_status.js diff --git a/x-pack/plugins/watcher/server/models/watch_status/index.js b/x-pack/legacy/plugins/watcher/server/models/watch_status/index.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch_status/index.js rename to x-pack/legacy/plugins/watcher/server/models/watch_status/index.js diff --git a/x-pack/plugins/watcher/server/models/watch_status/watch_status.js b/x-pack/legacy/plugins/watcher/server/models/watch_status/watch_status.js similarity index 100% rename from x-pack/plugins/watcher/server/models/watch_status/watch_status.js rename to x-pack/legacy/plugins/watcher/server/models/watch_status/watch_status.js diff --git a/x-pack/plugins/watcher/server/routes/api/fields/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/fields/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/fields/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/fields/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/fields/register_fields_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/fields/register_fields_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/fields/register_fields_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/fields/register_fields_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/fields/register_list_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/fields/register_list_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/fields/register_list_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/fields/register_list_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/history/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/history/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/history/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/history/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/history/register_history_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/history/register_history_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/history/register_history_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/history/register_history_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/history/register_load_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/history/register_load_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/history/register_load_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/history/register_load_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/indices/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/indices/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/indices/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/indices/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/indices/register_get_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/indices/register_get_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/indices/register_get_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/indices/register_get_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/indices/register_indices_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/indices/register_indices_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/indices/register_indices_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/indices/register_indices_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/license/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/license/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/license/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/license/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/license/register_license_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/license/register_license_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/license/register_license_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/license/register_license_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/license/register_refresh_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/license/register_refresh_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/license/register_refresh_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/license/register_refresh_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/settings/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/settings/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/settings/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/settings/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/settings/register_load_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/settings/register_load_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/settings/register_load_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/settings/register_load_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/settings/register_settings_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/settings/register_settings_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/settings/register_settings_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/settings/register_settings_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/action/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/action/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/action/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/action/register_acknowledge_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/action/register_action_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/action/register_action_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/action/register_action_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_activate_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_activate_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_activate_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_activate_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_deactivate_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_deactivate_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_deactivate_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_deactivate_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_delete_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_delete_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_delete_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_execute_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_execute_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_execute_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_execute_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_history_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_history_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_history_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_history_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_load_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_load_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_load_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_load_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_save_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_save_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_save_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_save_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_visualize_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_visualize_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_visualize_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_visualize_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watch/register_watch_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/watch/register_watch_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watch/register_watch_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watch/register_watch_routes.js diff --git a/x-pack/plugins/watcher/server/routes/api/watches/index.js b/x-pack/legacy/plugins/watcher/server/routes/api/watches/index.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watches/index.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watches/index.js diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_delete_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watches/register_delete_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watches/register_delete_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watches/register_delete_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_list_route.js b/x-pack/legacy/plugins/watcher/server/routes/api/watches/register_list_route.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watches/register_list_route.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watches/register_list_route.js diff --git a/x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js b/x-pack/legacy/plugins/watcher/server/routes/api/watches/register_watches_routes.js similarity index 100% rename from x-pack/plugins/watcher/server/routes/api/watches/register_watches_routes.js rename to x-pack/legacy/plugins/watcher/server/routes/api/watches/register_watches_routes.js diff --git a/x-pack/plugins/xpack_main/index.js b/x-pack/legacy/plugins/xpack_main/index.js similarity index 100% rename from x-pack/plugins/xpack_main/index.js rename to x-pack/legacy/plugins/xpack_main/index.js diff --git a/x-pack/plugins/xpack_main/public/components/index.js b/x-pack/legacy/plugins/xpack_main/public/components/index.js similarity index 100% rename from x-pack/plugins/xpack_main/public/components/index.js rename to x-pack/legacy/plugins/xpack_main/public/components/index.js diff --git a/x-pack/plugins/xpack_main/public/hacks/__tests__/check_xpack_info_change.js b/x-pack/legacy/plugins/xpack_main/public/hacks/__tests__/check_xpack_info_change.js similarity index 100% rename from x-pack/plugins/xpack_main/public/hacks/__tests__/check_xpack_info_change.js rename to x-pack/legacy/plugins/xpack_main/public/hacks/__tests__/check_xpack_info_change.js diff --git a/x-pack/plugins/xpack_main/public/hacks/check_xpack_info_change.js b/x-pack/legacy/plugins/xpack_main/public/hacks/check_xpack_info_change.js similarity index 100% rename from x-pack/plugins/xpack_main/public/hacks/check_xpack_info_change.js rename to x-pack/legacy/plugins/xpack_main/public/hacks/check_xpack_info_change.js diff --git a/x-pack/plugins/xpack_main/public/jquery_flot/index.js b/x-pack/legacy/plugins/xpack_main/public/jquery_flot/index.js similarity index 100% rename from x-pack/plugins/xpack_main/public/jquery_flot/index.js rename to x-pack/legacy/plugins/xpack_main/public/jquery_flot/index.js diff --git a/x-pack/plugins/xpack_main/public/jquery_flot/jquery_flot.js b/x-pack/legacy/plugins/xpack_main/public/jquery_flot/jquery_flot.js similarity index 100% rename from x-pack/plugins/xpack_main/public/jquery_flot/jquery_flot.js rename to x-pack/legacy/plugins/xpack_main/public/jquery_flot/jquery_flot.js diff --git a/x-pack/plugins/xpack_main/public/services/__tests__/_mock_window.js b/x-pack/legacy/plugins/xpack_main/public/services/__tests__/_mock_window.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/__tests__/_mock_window.js rename to x-pack/legacy/plugins/xpack_main/public/services/__tests__/_mock_window.js diff --git a/x-pack/plugins/xpack_main/public/services/__tests__/xpack_info.js b/x-pack/legacy/plugins/xpack_main/public/services/__tests__/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/__tests__/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/public/services/__tests__/xpack_info.js diff --git a/x-pack/plugins/xpack_main/public/services/__tests__/xpack_info_signature.js b/x-pack/legacy/plugins/xpack_main/public/services/__tests__/xpack_info_signature.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/__tests__/xpack_info_signature.js rename to x-pack/legacy/plugins/xpack_main/public/services/__tests__/xpack_info_signature.js diff --git a/x-pack/plugins/xpack_main/public/services/path.js b/x-pack/legacy/plugins/xpack_main/public/services/path.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/path.js rename to x-pack/legacy/plugins/xpack_main/public/services/path.js diff --git a/x-pack/plugins/xpack_main/public/services/xpack_info.js b/x-pack/legacy/plugins/xpack_main/public/services/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/public/services/xpack_info.js diff --git a/x-pack/plugins/xpack_main/public/services/xpack_info_signature.js b/x-pack/legacy/plugins/xpack_main/public/services/xpack_info_signature.js similarity index 100% rename from x-pack/plugins/xpack_main/public/services/xpack_info_signature.js rename to x-pack/legacy/plugins/xpack_main/public/services/xpack_info_signature.js diff --git a/x-pack/plugins/xpack_main/server/lib/__tests__/call_cluster_factory.js b/x-pack/legacy/plugins/xpack_main/server/lib/__tests__/call_cluster_factory.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/__tests__/call_cluster_factory.js rename to x-pack/legacy/plugins/xpack_main/server/lib/__tests__/call_cluster_factory.js diff --git a/x-pack/plugins/xpack_main/server/lib/__tests__/inject_xpack_info_signature.js b/x-pack/legacy/plugins/xpack_main/server/lib/__tests__/inject_xpack_info_signature.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/__tests__/inject_xpack_info_signature.js rename to x-pack/legacy/plugins/xpack_main/server/lib/__tests__/inject_xpack_info_signature.js diff --git a/x-pack/plugins/xpack_main/server/lib/__tests__/replace_injected_vars.js b/x-pack/legacy/plugins/xpack_main/server/lib/__tests__/replace_injected_vars.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/__tests__/replace_injected_vars.js rename to x-pack/legacy/plugins/xpack_main/server/lib/__tests__/replace_injected_vars.js diff --git a/x-pack/plugins/xpack_main/server/lib/__tests__/setup_xpack_main.js b/x-pack/legacy/plugins/xpack_main/server/lib/__tests__/setup_xpack_main.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/__tests__/setup_xpack_main.js rename to x-pack/legacy/plugins/xpack_main/server/lib/__tests__/setup_xpack_main.js diff --git a/x-pack/plugins/xpack_main/server/lib/__tests__/xpack_info.js b/x-pack/legacy/plugins/xpack_main/server/lib/__tests__/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/__tests__/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/server/lib/__tests__/xpack_info.js diff --git a/x-pack/plugins/xpack_main/server/lib/call_cluster_factory.js b/x-pack/legacy/plugins/xpack_main/server/lib/call_cluster_factory.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/call_cluster_factory.js rename to x-pack/legacy/plugins/xpack_main/server/lib/call_cluster_factory.js diff --git a/x-pack/plugins/xpack_main/server/lib/feature_registry/__snapshots__/feature_registry.test.ts.snap b/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/__snapshots__/feature_registry.test.ts.snap similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/feature_registry/__snapshots__/feature_registry.test.ts.snap rename to x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/__snapshots__/feature_registry.test.ts.snap diff --git a/x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.test.ts b/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.test.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.test.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.test.ts diff --git a/x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts b/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/feature_registry.ts diff --git a/x-pack/plugins/xpack_main/server/lib/feature_registry/index.ts b/x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/index.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/feature_registry/index.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/feature_registry/index.ts diff --git a/x-pack/plugins/xpack_main/server/lib/inject_xpack_info_signature.js b/x-pack/legacy/plugins/xpack_main/server/lib/inject_xpack_info_signature.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/inject_xpack_info_signature.js rename to x-pack/legacy/plugins/xpack_main/server/lib/inject_xpack_info_signature.js diff --git a/x-pack/plugins/xpack_main/server/lib/register_oss_features.test.ts b/x-pack/legacy/plugins/xpack_main/server/lib/register_oss_features.test.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/register_oss_features.test.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/register_oss_features.test.ts diff --git a/x-pack/plugins/xpack_main/server/lib/register_oss_features.ts b/x-pack/legacy/plugins/xpack_main/server/lib/register_oss_features.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/register_oss_features.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/register_oss_features.ts diff --git a/x-pack/plugins/xpack_main/server/lib/replace_injected_vars.js b/x-pack/legacy/plugins/xpack_main/server/lib/replace_injected_vars.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/replace_injected_vars.js rename to x-pack/legacy/plugins/xpack_main/server/lib/replace_injected_vars.js diff --git a/x-pack/plugins/xpack_main/server/lib/setup_xpack_main.js b/x-pack/legacy/plugins/xpack_main/server/lib/setup_xpack_main.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/setup_xpack_main.js rename to x-pack/legacy/plugins/xpack_main/server/lib/setup_xpack_main.js diff --git a/x-pack/plugins/xpack_main/server/lib/ui_capabilities_for_features.test.ts b/x-pack/legacy/plugins/xpack_main/server/lib/ui_capabilities_for_features.test.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/ui_capabilities_for_features.test.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/ui_capabilities_for_features.test.ts diff --git a/x-pack/plugins/xpack_main/server/lib/ui_capabilities_for_features.ts b/x-pack/legacy/plugins/xpack_main/server/lib/ui_capabilities_for_features.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/ui_capabilities_for_features.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/ui_capabilities_for_features.ts diff --git a/x-pack/plugins/xpack_main/server/lib/xpack_info.d.ts b/x-pack/legacy/plugins/xpack_main/server/lib/xpack_info.d.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/xpack_info.d.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/xpack_info.d.ts diff --git a/x-pack/plugins/xpack_main/server/lib/xpack_info.js b/x-pack/legacy/plugins/xpack_main/server/lib/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/server/lib/xpack_info.js diff --git a/x-pack/plugins/xpack_main/server/lib/xpack_info_license.d.ts b/x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.d.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/xpack_info_license.d.ts rename to x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.d.ts diff --git a/x-pack/plugins/xpack_main/server/lib/xpack_info_license.js b/x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/xpack_info_license.js rename to x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.js diff --git a/x-pack/plugins/xpack_main/server/lib/xpack_info_license.test.js b/x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.test.js similarity index 100% rename from x-pack/plugins/xpack_main/server/lib/xpack_info_license.test.js rename to x-pack/legacy/plugins/xpack_main/server/lib/xpack_info_license.test.js diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/__tests__/xpack_info.js b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/__tests__/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/__tests__/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/__tests__/xpack_info.js diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/features/__snapshots__/features.test.ts.snap b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/__snapshots__/features.test.ts.snap similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/features/__snapshots__/features.test.ts.snap rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/__snapshots__/features.test.ts.snap diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/features/features.test.ts b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/features.test.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/features/features.test.ts rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/features.test.ts diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/features/features.ts b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/features.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/features/features.ts rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/features.ts diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/features/index.ts b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/index.ts similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/features/index.ts rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/features/index.ts diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/index.js b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/index.js similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/index.js rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/index.js diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/settings.js b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/settings.js similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/settings.js rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/settings.js diff --git a/x-pack/plugins/xpack_main/server/routes/api/v1/xpack_info.js b/x-pack/legacy/plugins/xpack_main/server/routes/api/v1/xpack_info.js similarity index 100% rename from x-pack/plugins/xpack_main/server/routes/api/v1/xpack_info.js rename to x-pack/legacy/plugins/xpack_main/server/routes/api/v1/xpack_info.js diff --git a/x-pack/plugins/xpack_main/types.ts b/x-pack/legacy/plugins/xpack_main/types.ts similarity index 100% rename from x-pack/plugins/xpack_main/types.ts rename to x-pack/legacy/plugins/xpack_main/types.ts diff --git a/x-pack/plugins/xpack_main/xpack_main.d.ts b/x-pack/legacy/plugins/xpack_main/xpack_main.d.ts similarity index 100% rename from x-pack/plugins/xpack_main/xpack_main.d.ts rename to x-pack/legacy/plugins/xpack_main/xpack_main.d.ts diff --git a/x-pack/server/lib/__snapshots__/optional_plugin.test.ts.snap b/x-pack/legacy/server/lib/__snapshots__/optional_plugin.test.ts.snap similarity index 100% rename from x-pack/server/lib/__snapshots__/optional_plugin.test.ts.snap rename to x-pack/legacy/server/lib/__snapshots__/optional_plugin.test.ts.snap diff --git a/x-pack/server/lib/__tests__/key_case_converter.js b/x-pack/legacy/server/lib/__tests__/key_case_converter.js similarity index 100% rename from x-pack/server/lib/__tests__/key_case_converter.js rename to x-pack/legacy/server/lib/__tests__/key_case_converter.js diff --git a/x-pack/server/lib/__tests__/kibana_state.js b/x-pack/legacy/server/lib/__tests__/kibana_state.js similarity index 100% rename from x-pack/server/lib/__tests__/kibana_state.js rename to x-pack/legacy/server/lib/__tests__/kibana_state.js diff --git a/x-pack/server/lib/__tests__/mirror_plugin_status.js b/x-pack/legacy/server/lib/__tests__/mirror_plugin_status.js similarity index 100% rename from x-pack/server/lib/__tests__/mirror_plugin_status.js rename to x-pack/legacy/server/lib/__tests__/mirror_plugin_status.js diff --git a/x-pack/server/lib/audit_logger.js b/x-pack/legacy/server/lib/audit_logger.js similarity index 100% rename from x-pack/server/lib/audit_logger.js rename to x-pack/legacy/server/lib/audit_logger.js diff --git a/x-pack/server/lib/audit_logger.test.js b/x-pack/legacy/server/lib/audit_logger.test.js similarity index 100% rename from x-pack/server/lib/audit_logger.test.js rename to x-pack/legacy/server/lib/audit_logger.test.js diff --git a/x-pack/server/lib/check_license/check_license.js b/x-pack/legacy/server/lib/check_license/check_license.js similarity index 100% rename from x-pack/server/lib/check_license/check_license.js rename to x-pack/legacy/server/lib/check_license/check_license.js diff --git a/x-pack/server/lib/check_license/check_license.test.js b/x-pack/legacy/server/lib/check_license/check_license.test.js similarity index 100% rename from x-pack/server/lib/check_license/check_license.test.js rename to x-pack/legacy/server/lib/check_license/check_license.test.js diff --git a/x-pack/server/lib/check_license/index.js b/x-pack/legacy/server/lib/check_license/index.js similarity index 100% rename from x-pack/server/lib/check_license/index.js rename to x-pack/legacy/server/lib/check_license/index.js diff --git a/x-pack/server/lib/constants/admin.ts b/x-pack/legacy/server/lib/constants/admin.ts similarity index 100% rename from x-pack/server/lib/constants/admin.ts rename to x-pack/legacy/server/lib/constants/admin.ts diff --git a/x-pack/server/lib/constants/index.ts b/x-pack/legacy/server/lib/constants/index.ts similarity index 100% rename from x-pack/server/lib/constants/index.ts rename to x-pack/legacy/server/lib/constants/index.ts diff --git a/x-pack/server/lib/constants/xpack_info.ts b/x-pack/legacy/server/lib/constants/xpack_info.ts similarity index 100% rename from x-pack/server/lib/constants/xpack_info.ts rename to x-pack/legacy/server/lib/constants/xpack_info.ts diff --git a/x-pack/server/lib/create_router/call_with_request_factory/call_with_request_factory.js b/x-pack/legacy/server/lib/create_router/call_with_request_factory/call_with_request_factory.js similarity index 100% rename from x-pack/server/lib/create_router/call_with_request_factory/call_with_request_factory.js rename to x-pack/legacy/server/lib/create_router/call_with_request_factory/call_with_request_factory.js diff --git a/x-pack/server/lib/create_router/call_with_request_factory/index.d.ts b/x-pack/legacy/server/lib/create_router/call_with_request_factory/index.d.ts similarity index 100% rename from x-pack/server/lib/create_router/call_with_request_factory/index.d.ts rename to x-pack/legacy/server/lib/create_router/call_with_request_factory/index.d.ts diff --git a/x-pack/server/lib/create_router/call_with_request_factory/index.js b/x-pack/legacy/server/lib/create_router/call_with_request_factory/index.js similarity index 100% rename from x-pack/server/lib/create_router/call_with_request_factory/index.js rename to x-pack/legacy/server/lib/create_router/call_with_request_factory/index.js diff --git a/x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_custom_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_custom_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_custom_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_custom_error.js diff --git a/x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_es_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_es_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_es_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_es_error.js diff --git a/x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_unknown_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_unknown_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/__tests__/wrap_unknown_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/__tests__/wrap_unknown_error.js diff --git a/x-pack/server/lib/create_router/error_wrappers/index.d.ts b/x-pack/legacy/server/lib/create_router/error_wrappers/index.d.ts similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/index.d.ts rename to x-pack/legacy/server/lib/create_router/error_wrappers/index.d.ts diff --git a/x-pack/server/lib/create_router/error_wrappers/index.js b/x-pack/legacy/server/lib/create_router/error_wrappers/index.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/index.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/index.js diff --git a/x-pack/server/lib/create_router/error_wrappers/wrap_custom_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/wrap_custom_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/wrap_custom_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/wrap_custom_error.js diff --git a/x-pack/server/lib/create_router/error_wrappers/wrap_es_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/wrap_es_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/wrap_es_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/wrap_es_error.js diff --git a/x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js b/x-pack/legacy/server/lib/create_router/error_wrappers/wrap_unknown_error.js similarity index 100% rename from x-pack/server/lib/create_router/error_wrappers/wrap_unknown_error.js rename to x-pack/legacy/server/lib/create_router/error_wrappers/wrap_unknown_error.js diff --git a/x-pack/server/lib/create_router/index.d.ts b/x-pack/legacy/server/lib/create_router/index.d.ts similarity index 100% rename from x-pack/server/lib/create_router/index.d.ts rename to x-pack/legacy/server/lib/create_router/index.d.ts diff --git a/x-pack/server/lib/create_router/index.js b/x-pack/legacy/server/lib/create_router/index.js similarity index 100% rename from x-pack/server/lib/create_router/index.js rename to x-pack/legacy/server/lib/create_router/index.js diff --git a/x-pack/server/lib/create_router/is_es_error_factory/__tests__/is_es_error_factory.js b/x-pack/legacy/server/lib/create_router/is_es_error_factory/__tests__/is_es_error_factory.js similarity index 100% rename from x-pack/server/lib/create_router/is_es_error_factory/__tests__/is_es_error_factory.js rename to x-pack/legacy/server/lib/create_router/is_es_error_factory/__tests__/is_es_error_factory.js diff --git a/x-pack/server/lib/create_router/is_es_error_factory/index.js b/x-pack/legacy/server/lib/create_router/is_es_error_factory/index.js similarity index 100% rename from x-pack/server/lib/create_router/is_es_error_factory/index.js rename to x-pack/legacy/server/lib/create_router/is_es_error_factory/index.js diff --git a/x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js b/x-pack/legacy/server/lib/create_router/is_es_error_factory/is_es_error_factory.js similarity index 100% rename from x-pack/server/lib/create_router/is_es_error_factory/is_es_error_factory.js rename to x-pack/legacy/server/lib/create_router/is_es_error_factory/is_es_error_factory.js diff --git a/x-pack/server/lib/create_router/license_pre_routing_factory/__tests__/license_pre_routing_factory.js b/x-pack/legacy/server/lib/create_router/license_pre_routing_factory/__tests__/license_pre_routing_factory.js similarity index 100% rename from x-pack/server/lib/create_router/license_pre_routing_factory/__tests__/license_pre_routing_factory.js rename to x-pack/legacy/server/lib/create_router/license_pre_routing_factory/__tests__/license_pre_routing_factory.js diff --git a/x-pack/server/lib/create_router/license_pre_routing_factory/index.js b/x-pack/legacy/server/lib/create_router/license_pre_routing_factory/index.js similarity index 100% rename from x-pack/server/lib/create_router/license_pre_routing_factory/index.js rename to x-pack/legacy/server/lib/create_router/license_pre_routing_factory/index.js diff --git a/x-pack/server/lib/create_router/license_pre_routing_factory/license_pre_routing_factory.js b/x-pack/legacy/server/lib/create_router/license_pre_routing_factory/license_pre_routing_factory.js similarity index 100% rename from x-pack/server/lib/create_router/license_pre_routing_factory/license_pre_routing_factory.js rename to x-pack/legacy/server/lib/create_router/license_pre_routing_factory/license_pre_routing_factory.js diff --git a/x-pack/server/lib/esjs_shield_plugin.js b/x-pack/legacy/server/lib/esjs_shield_plugin.js similarity index 100% rename from x-pack/server/lib/esjs_shield_plugin.js rename to x-pack/legacy/server/lib/esjs_shield_plugin.js diff --git a/x-pack/server/lib/get_client_shield.ts b/x-pack/legacy/server/lib/get_client_shield.ts similarity index 100% rename from x-pack/server/lib/get_client_shield.ts rename to x-pack/legacy/server/lib/get_client_shield.ts diff --git a/x-pack/server/lib/key_case_converter.js b/x-pack/legacy/server/lib/key_case_converter.js similarity index 100% rename from x-pack/server/lib/key_case_converter.js rename to x-pack/legacy/server/lib/key_case_converter.js diff --git a/x-pack/server/lib/mirror_plugin_status.js b/x-pack/legacy/server/lib/mirror_plugin_status.js similarity index 100% rename from x-pack/server/lib/mirror_plugin_status.js rename to x-pack/legacy/server/lib/mirror_plugin_status.js diff --git a/x-pack/server/lib/optional_plugin.test.ts b/x-pack/legacy/server/lib/optional_plugin.test.ts similarity index 100% rename from x-pack/server/lib/optional_plugin.test.ts rename to x-pack/legacy/server/lib/optional_plugin.test.ts diff --git a/x-pack/server/lib/optional_plugin.ts b/x-pack/legacy/server/lib/optional_plugin.ts similarity index 100% rename from x-pack/server/lib/optional_plugin.ts rename to x-pack/legacy/server/lib/optional_plugin.ts diff --git a/x-pack/server/lib/parse_kibana_state.js b/x-pack/legacy/server/lib/parse_kibana_state.js similarity index 100% rename from x-pack/server/lib/parse_kibana_state.js rename to x-pack/legacy/server/lib/parse_kibana_state.js diff --git a/x-pack/server/lib/register_license_checker/index.d.ts b/x-pack/legacy/server/lib/register_license_checker/index.d.ts similarity index 100% rename from x-pack/server/lib/register_license_checker/index.d.ts rename to x-pack/legacy/server/lib/register_license_checker/index.d.ts diff --git a/x-pack/server/lib/register_license_checker/index.js b/x-pack/legacy/server/lib/register_license_checker/index.js similarity index 100% rename from x-pack/server/lib/register_license_checker/index.js rename to x-pack/legacy/server/lib/register_license_checker/index.js diff --git a/x-pack/server/lib/register_license_checker/register_license_checker.js b/x-pack/legacy/server/lib/register_license_checker/register_license_checker.js similarity index 100% rename from x-pack/server/lib/register_license_checker/register_license_checker.js rename to x-pack/legacy/server/lib/register_license_checker/register_license_checker.js diff --git a/x-pack/server/lib/watch_status_and_license_to_initialize.js b/x-pack/legacy/server/lib/watch_status_and_license_to_initialize.js similarity index 100% rename from x-pack/server/lib/watch_status_and_license_to_initialize.js rename to x-pack/legacy/server/lib/watch_status_and_license_to_initialize.js diff --git a/x-pack/server/lib/watch_status_and_license_to_initialize.test.js b/x-pack/legacy/server/lib/watch_status_and_license_to_initialize.test.js similarity index 100% rename from x-pack/server/lib/watch_status_and_license_to_initialize.test.js rename to x-pack/legacy/server/lib/watch_status_and_license_to_initialize.test.js diff --git a/x-pack/server/lib/xpack_usage.js b/x-pack/legacy/server/lib/xpack_usage.js similarity index 100% rename from x-pack/server/lib/xpack_usage.js rename to x-pack/legacy/server/lib/xpack_usage.js diff --git a/x-pack/package.json b/x-pack/package.json index 39cc7096fd775..4b5c1efd6fe18 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -6,7 +6,7 @@ "license": "Elastic-License", "scripts": { "kbn": "node ../scripts/kbn", - "kbn:bootstrap": "node plugins/canvas/scripts/clean_storybook_dll", + "kbn:bootstrap": "node legacy/plugins/canvas/scripts/clean_storybook_dll", "start": "gulp dev", "build": "gulp build", "testonly": "gulp testonly", diff --git a/x-pack/plugins/infra/tsconfig.json b/x-pack/plugins/infra/tsconfig.json deleted file mode 100644 index 01bddbfc4264d..0000000000000 --- a/x-pack/plugins/infra/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json", -} \ No newline at end of file diff --git a/x-pack/plugins/ml/tsconfig.json b/x-pack/plugins/ml/tsconfig.json deleted file mode 100644 index 4082f16a5d91c..0000000000000 --- a/x-pack/plugins/ml/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/x-pack/plugins/rollup/tsconfig.json b/x-pack/plugins/rollup/tsconfig.json deleted file mode 100644 index 4082f16a5d91c..0000000000000 --- a/x-pack/plugins/rollup/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json" -} diff --git a/x-pack/plugins/siem/.gitattributes b/x-pack/plugins/siem/.gitattributes deleted file mode 100644 index 13ac7e9abe60e..0000000000000 --- a/x-pack/plugins/siem/.gitattributes +++ /dev/null @@ -1,6 +0,0 @@ -# Auto-collapse generated files in GitHub -# https://help.github.com/en/articles/customizing-how-changed-files-appear-on-github -x-pack/plugins/siem/public/graphql/types.ts linguist-generated=true -x-pack/plugins/siem/server/graphql/types.ts linguist-generated=true -x-pack/plugins/siem/public/graphql/introspection.json linguist-generated=true - diff --git a/x-pack/plugins/siem/tsconfig.json b/x-pack/plugins/siem/tsconfig.json deleted file mode 100644 index 01bddbfc4264d..0000000000000 --- a/x-pack/plugins/siem/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.json", -} \ No newline at end of file diff --git a/x-pack/tasks/helpers/get_plugins.js b/x-pack/tasks/helpers/get_plugins.js index 46d01dd9d7b35..a540cda27bd73 100644 --- a/x-pack/tasks/helpers/get_plugins.js +++ b/x-pack/tasks/helpers/get_plugins.js @@ -22,7 +22,7 @@ import { findPluginSpecs } from '../../../src/legacy/plugin_discovery'; const argv = yargs .describe('plugins', 'Comma-separated list of plugins') .argv; -const allPlugins = glob.sync('*', { cwd: resolve(__dirname, '..', '..', 'plugins') }); +const allPlugins = glob.sync('*', { cwd: resolve(__dirname, '..', '..', 'legacy', 'plugins') }); export function getPlugins() { const plugins = argv.plugins && argv.plugins.split(','); diff --git a/x-pack/tasks/prepare.js b/x-pack/tasks/prepare.js index a79fa6bf8a33f..287781a819400 100644 --- a/x-pack/tasks/prepare.js +++ b/x-pack/tasks/prepare.js @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { ensureAllBrowsersDownloaded } from '../plugins/reporting/server/browsers'; +import { ensureAllBrowsersDownloaded } from '../legacy/plugins/reporting/server/browsers'; export default gulp => { // anything that should always happen before anything else diff --git a/x-pack/test/api_integration/apis/infra/ip_to_hostname.ts b/x-pack/test/api_integration/apis/infra/ip_to_hostname.ts index 2b7a89f7b3adf..29fdd0fd48231 100644 --- a/x-pack/test/api_integration/apis/infra/ip_to_hostname.ts +++ b/x-pack/test/api_integration/apis/infra/ip_to_hostname.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { KbnTestProvider } from './types'; -import { IpToHostResponse } from '../../../../plugins/infra/server/routes/ip_to_hostname'; +import { IpToHostResponse } from '../../../../legacy/plugins/infra/server/routes/ip_to_hostname'; const ipToHostNameTest: KbnTestProvider = ({ getService }) => { const supertest = getService('supertest'); diff --git a/x-pack/test/api_integration/apis/infra/log_entries.ts b/x-pack/test/api_integration/apis/infra/log_entries.ts index c788a2b6de2aa..b3b49c416b9c5 100644 --- a/x-pack/test/api_integration/apis/infra/log_entries.ts +++ b/x-pack/test/api_integration/apis/infra/log_entries.ts @@ -9,8 +9,8 @@ import { ascending, pairs } from 'd3-array'; import gql from 'graphql-tag'; import { v4 as uuidv4 } from 'uuid'; -import { sharedFragments } from '../../../../plugins/infra/common/graphql/shared'; -import { InfraTimeKey } from '../../../../plugins/infra/public/graphql/types'; +import { sharedFragments } from '../../../../legacy/plugins/infra/common/graphql/shared'; +import { InfraTimeKey } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; const KEY_WITHIN_DATA_RANGE = { diff --git a/x-pack/test/api_integration/apis/infra/log_item.ts b/x-pack/test/api_integration/apis/infra/log_item.ts index 306e22850dbf1..191081c88a2ff 100644 --- a/x-pack/test/api_integration/apis/infra/log_item.ts +++ b/x-pack/test/api_integration/apis/infra/log_item.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { flyoutItemQuery } from '../../../../plugins/infra/public/containers/logs/flyout_item.gql_query'; -import { FlyoutItemQuery } from '../../../../plugins/infra/public/graphql/types'; +import { flyoutItemQuery } from '../../../../legacy/plugins/infra/public/containers/logs/flyout_item.gql_query'; +import { FlyoutItemQuery } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; const logItemTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/infra/logs_without_millis.ts b/x-pack/test/api_integration/apis/infra/logs_without_millis.ts index bffb61f5b7f52..9c33a6f1aed56 100644 --- a/x-pack/test/api_integration/apis/infra/logs_without_millis.ts +++ b/x-pack/test/api_integration/apis/infra/logs_without_millis.ts @@ -8,8 +8,8 @@ import expect from '@kbn/expect'; import { ascending, pairs } from 'd3-array'; import gql from 'graphql-tag'; -import { sharedFragments } from '../../../../plugins/infra/common/graphql/shared'; -import { InfraTimeKey } from '../../../../plugins/infra/public/graphql/types'; +import { sharedFragments } from '../../../../legacy/plugins/infra/common/graphql/shared'; +import { InfraTimeKey } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; const KEY_WITHIN_DATA_RANGE = { diff --git a/x-pack/test/api_integration/apis/infra/metadata.ts b/x-pack/test/api_integration/apis/infra/metadata.ts index eef19b80a6ba5..fcb446258cf38 100644 --- a/x-pack/test/api_integration/apis/infra/metadata.ts +++ b/x-pack/test/api_integration/apis/infra/metadata.ts @@ -6,8 +6,8 @@ import expect from '@kbn/expect'; -import { metadataQuery } from '../../../../plugins/infra/public/containers/metadata/metadata.gql_query'; -import { MetadataQuery } from '../../../../plugins/infra/public/graphql/types'; +import { metadataQuery } from '../../../../legacy/plugins/infra/public/containers/metadata/metadata.gql_query'; +import { MetadataQuery } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; const metadataTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/infra/metrics.ts b/x-pack/test/api_integration/apis/infra/metrics.ts index 22adde22a72ea..985af588eca35 100644 --- a/x-pack/test/api_integration/apis/infra/metrics.ts +++ b/x-pack/test/api_integration/apis/infra/metrics.ts @@ -7,8 +7,8 @@ import expect from '@kbn/expect'; import { first, last } from 'lodash'; -import { metricsQuery } from '../../../../plugins/infra/public/containers/metrics/metrics.gql_query'; -import { MetricsQuery } from '../../../../plugins/infra/public/graphql/types'; +import { metricsQuery } from '../../../../legacy/plugins/infra/public/containers/metrics/metrics.gql_query'; +import { MetricsQuery } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; import { DATES } from './constants'; diff --git a/x-pack/test/api_integration/apis/infra/metrics_explorer.ts b/x-pack/test/api_integration/apis/infra/metrics_explorer.ts index 01aa73a2d3a8b..0448b683bcc24 100644 --- a/x-pack/test/api_integration/apis/infra/metrics_explorer.ts +++ b/x-pack/test/api_integration/apis/infra/metrics_explorer.ts @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; import { first } from 'lodash'; import { DATES } from './constants'; -import { MetricsExplorerResponse } from '../../../../plugins/infra/server/routes/metrics_explorer/types'; +import { MetricsExplorerResponse } from '../../../../legacy/plugins/infra/server/routes/metrics_explorer/types'; import { KbnTestProvider } from './types'; const { min, max } = DATES['7.0.0'].hosts; diff --git a/x-pack/test/api_integration/apis/infra/sources.ts b/x-pack/test/api_integration/apis/infra/sources.ts index f143dbf9ea05e..c553e2f5c7bc7 100644 --- a/x-pack/test/api_integration/apis/infra/sources.ts +++ b/x-pack/test/api_integration/apis/infra/sources.ts @@ -7,14 +7,14 @@ import expect from '@kbn/expect'; import gql from 'graphql-tag'; -import { sourceQuery } from '../../../../plugins/infra/public/containers/source/query_source.gql_query'; +import { sourceQuery } from '../../../../legacy/plugins/infra/public/containers/source/query_source.gql_query'; import { sourceConfigurationFieldsFragment, sourceStatusFieldsFragment, -} from '../../../../plugins/infra/public/containers/source/source_fields_fragment.gql_query'; -import { SourceQuery } from '../../../../plugins/infra/public/graphql/types'; +} from '../../../../legacy/plugins/infra/public/containers/source/source_fields_fragment.gql_query'; +import { SourceQuery } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; -import { sharedFragments } from '../../../../plugins/infra/common/graphql/shared'; +import { sharedFragments } from '../../../../legacy/plugins/infra/common/graphql/shared'; const sourcesTests: KbnTestProvider = ({ getService }) => { const esArchiver = getService('esArchiver'); diff --git a/x-pack/test/api_integration/apis/infra/types.ts b/x-pack/test/api_integration/apis/infra/types.ts index 372c53c5571f0..0011feb201da3 100644 --- a/x-pack/test/api_integration/apis/infra/types.ts +++ b/x-pack/test/api_integration/apis/infra/types.ts @@ -10,7 +10,7 @@ import { ApolloClient } from 'apollo-client'; import { UpdateSourceInput, UpdateSourceResult, -} from '../../../../plugins/infra/public/graphql/types'; +} from '../../../../legacy/plugins/infra/public/graphql/types'; export interface EsArchiver { load(name: string): void; diff --git a/x-pack/test/api_integration/apis/infra/waffle.ts b/x-pack/test/api_integration/apis/infra/waffle.ts index b6d47b767468f..1f7a189f6c516 100644 --- a/x-pack/test/api_integration/apis/infra/waffle.ts +++ b/x-pack/test/api_integration/apis/infra/waffle.ts @@ -7,8 +7,8 @@ import expect from '@kbn/expect'; import { first, last } from 'lodash'; -import { waffleNodesQuery } from '../../../../plugins/infra/public/containers/waffle/waffle_nodes.gql_query'; -import { WaffleNodesQuery } from '../../../../plugins/infra/public/graphql/types'; +import { waffleNodesQuery } from '../../../../legacy/plugins/infra/public/containers/waffle/waffle_nodes.gql_query'; +import { WaffleNodesQuery } from '../../../../legacy/plugins/infra/public/graphql/types'; import { KbnTestProvider } from './types'; import { DATES } from './constants'; diff --git a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js index cf34edc442484..8ed10ccf31dce 100644 --- a/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js +++ b/x-pack/test/api_integration/apis/management/cross_cluster_replication/follower_indices.js @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; -import { FOLLOWER_INDEX_ADVANCED_SETTINGS } from '../../../../../plugins/cross_cluster_replication/common/constants'; +import { FOLLOWER_INDEX_ADVANCED_SETTINGS } from '../../../../../legacy/plugins/cross_cluster_replication/common/constants'; import { getFollowerIndexPayload } from './fixtures'; import { registerHelpers as registerElasticSearchHelpers, getRandomString } from './lib'; import { registerHelpers as registerRemoteClustersHelpers } from './remote_clusters.helpers'; diff --git a/x-pack/test/api_integration/apis/monitoring/common/mappings_exist.js b/x-pack/test/api_integration/apis/monitoring/common/mappings_exist.js index 5dd647b97ac43..6d3dbe68c77ac 100644 --- a/x-pack/test/api_integration/apis/monitoring/common/mappings_exist.js +++ b/x-pack/test/api_integration/apis/monitoring/common/mappings_exist.js @@ -6,11 +6,11 @@ import expect from '@kbn/expect'; import { get } from 'lodash'; -import * as esMetrics from '../../../../../plugins/monitoring/server/lib/metrics/elasticsearch/metrics'; -import * as kibanaMetrics from '../../../../../plugins/monitoring/server/lib/metrics/kibana/metrics'; -import * as logstashMetrics from '../../../../../plugins/monitoring/server/lib/metrics/logstash/metrics'; -import * as beatsMetrics from '../../../../../plugins/monitoring/server/lib/metrics/beats/metrics'; -import * as apmMetrics from '../../../../../plugins/monitoring/server/lib/metrics/apm/metrics'; +import * as esMetrics from '../../../../../legacy/plugins/monitoring/server/lib/metrics/elasticsearch/metrics'; +import * as kibanaMetrics from '../../../../../legacy/plugins/monitoring/server/lib/metrics/kibana/metrics'; +import * as logstashMetrics from '../../../../../legacy/plugins/monitoring/server/lib/metrics/logstash/metrics'; +import * as beatsMetrics from '../../../../../legacy/plugins/monitoring/server/lib/metrics/beats/metrics'; +import * as apmMetrics from '../../../../../legacy/plugins/monitoring/server/lib/metrics/apm/metrics'; export default function ({ getService }) { const es = getService('es'); diff --git a/x-pack/test/api_integration/apis/siem/authentications.ts b/x-pack/test/api_integration/apis/siem/authentications.ts index 251500ddfd42c..7968f97b51100 100644 --- a/x-pack/test/api_integration/apis/siem/authentications.ts +++ b/x-pack/test/api_integration/apis/siem/authentications.ts @@ -6,8 +6,8 @@ import expect from '@kbn/expect'; -import { authenticationsQuery } from '../../../../plugins/siem/public/containers/authentications/index.gql_query'; -import { GetAuthenticationsQuery } from '../../../../plugins/siem/public/graphql/types'; +import { authenticationsQuery } from '../../../../legacy/plugins/siem/public/containers/authentications/index.gql_query'; +import { GetAuthenticationsQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/domains.ts b/x-pack/test/api_integration/apis/siem/domains.ts index 480e04a29030f..0125af1bd9234 100644 --- a/x-pack/test/api_integration/apis/siem/domains.ts +++ b/x-pack/test/api_integration/apis/siem/domains.ts @@ -5,14 +5,14 @@ */ import expect from '@kbn/expect'; -import { domainsQuery } from '../../../../plugins/siem/public/containers/domains/index.gql_query'; +import { domainsQuery } from '../../../../legacy/plugins/siem/public/containers/domains/index.gql_query'; import { Direction, DomainsFields, FlowDirection, FlowTarget, GetDomainsQuery, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/events.ts b/x-pack/test/api_integration/apis/siem/events.ts index 9b12dc8b1dda0..144d987807e0d 100644 --- a/x-pack/test/api_integration/apis/siem/events.ts +++ b/x-pack/test/api_integration/apis/siem/events.ts @@ -6,14 +6,14 @@ import expect from '@kbn/expect'; -import { eventsQuery } from '../../../../plugins/siem/public/containers/events/index.gql_query'; -import { LastEventTimeGqlQuery } from '../../../../plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query'; +import { eventsQuery } from '../../../../legacy/plugins/siem/public/containers/events/index.gql_query'; +import { LastEventTimeGqlQuery } from '../../../../legacy/plugins/siem/public/containers/events/last_event_time/last_event_time.gql_query'; import { Direction, GetEventsQuery, GetLastEventTimeQuery, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/hosts.ts b/x-pack/test/api_integration/apis/siem/hosts.ts index 45d33d553152f..a6430476a76aa 100644 --- a/x-pack/test/api_integration/apis/siem/hosts.ts +++ b/x-pack/test/api_integration/apis/siem/hosts.ts @@ -12,10 +12,10 @@ import { GetHostFirstLastSeenQuery, GetHostsTableQuery, HostsFields, -} from '../../../../plugins/siem/public/graphql/types'; -import { HostOverviewQuery } from '../../../../plugins/siem/public/containers/hosts/overview/host_overview.gql_query'; -import { HostFirstLastSeenGqlQuery } from './../../../../plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query'; -import { HostsTableQuery } from './../../../../plugins/siem/public/containers/hosts/hosts_table.gql_query'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; +import { HostOverviewQuery } from '../../../../legacy/plugins/siem/public/containers/hosts/overview/host_overview.gql_query'; +import { HostFirstLastSeenGqlQuery } from './../../../../legacy/plugins/siem/public/containers/hosts/first_last_seen/first_last_seen.gql_query'; +import { HostsTableQuery } from './../../../../legacy/plugins/siem/public/containers/hosts/hosts_table.gql_query'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/ip_overview.ts b/x-pack/test/api_integration/apis/siem/ip_overview.ts index f4131b92e8517..c3674573ba9f1 100644 --- a/x-pack/test/api_integration/apis/siem/ip_overview.ts +++ b/x-pack/test/api_integration/apis/siem/ip_overview.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { ipOverviewQuery } from '../../../../plugins/siem/public/containers/ip_overview/index.gql_query'; -import { GetIpOverviewQuery } from '../../../../plugins/siem/public/graphql/types'; +import { ipOverviewQuery } from '../../../../legacy/plugins/siem/public/containers/ip_overview/index.gql_query'; +import { GetIpOverviewQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const ipOverviewTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/kpi_hosts.ts b/x-pack/test/api_integration/apis/siem/kpi_hosts.ts index 2476d46df09b8..7486afdd9d87c 100644 --- a/x-pack/test/api_integration/apis/siem/kpi_hosts.ts +++ b/x-pack/test/api_integration/apis/siem/kpi_hosts.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { kpiHostsQuery } from '../../../../plugins/siem/public/containers/kpi_hosts/index.gql_query'; -import { GetKpiHostsQuery } from '../../../../plugins/siem/public/graphql/types'; +import { kpiHostsQuery } from '../../../../legacy/plugins/siem/public/containers/kpi_hosts/index.gql_query'; +import { GetKpiHostsQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const kpiHostsTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/kpi_network.ts b/x-pack/test/api_integration/apis/siem/kpi_network.ts index 057a22b363c5d..b45d8ee806117 100644 --- a/x-pack/test/api_integration/apis/siem/kpi_network.ts +++ b/x-pack/test/api_integration/apis/siem/kpi_network.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { kpiNetworkQuery } from '../../../../plugins/siem/public/containers/kpi_network/index.gql_query'; -import { GetKpiNetworkQuery } from '../../../../plugins/siem/public/graphql/types'; +import { kpiNetworkQuery } from '../../../../legacy/plugins/siem/public/containers/kpi_network/index.gql_query'; +import { GetKpiNetworkQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const kpiNetworkTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/network_dns.ts b/x-pack/test/api_integration/apis/siem/network_dns.ts index a57158133866d..1ff8678d9f23b 100644 --- a/x-pack/test/api_integration/apis/siem/network_dns.ts +++ b/x-pack/test/api_integration/apis/siem/network_dns.ts @@ -5,12 +5,12 @@ */ import expect from '@kbn/expect'; -import { networkDnsQuery } from '../../../../plugins/siem/public/containers/network_dns/index.gql_query'; +import { networkDnsQuery } from '../../../../legacy/plugins/siem/public/containers/network_dns/index.gql_query'; import { Direction, GetNetworkDnsQuery, NetworkDnsFields, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const networkDnsTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/network_top_n_flow.ts b/x-pack/test/api_integration/apis/siem/network_top_n_flow.ts index a9ac5938c536c..414945cc5cacd 100644 --- a/x-pack/test/api_integration/apis/siem/network_top_n_flow.ts +++ b/x-pack/test/api_integration/apis/siem/network_top_n_flow.ts @@ -5,14 +5,14 @@ */ import expect from '@kbn/expect'; -import { networkTopNFlowQuery } from '../../../../plugins/siem/public/containers/network_top_n_flow/index.gql_query'; +import { networkTopNFlowQuery } from '../../../../legacy/plugins/siem/public/containers/network_top_n_flow/index.gql_query'; import { Direction, FlowDirection, FlowTarget, GetNetworkTopNFlowQuery, NetworkTopNFlowFields, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const EDGE_LENGTH = 10; diff --git a/x-pack/test/api_integration/apis/siem/overview_host.ts b/x-pack/test/api_integration/apis/siem/overview_host.ts index 79efde3a38500..0a3e3f65a1459 100644 --- a/x-pack/test/api_integration/apis/siem/overview_host.ts +++ b/x-pack/test/api_integration/apis/siem/overview_host.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { overviewHostQuery } from '../../../../plugins/siem/public/containers/overview/overview_host/index.gql_query'; -import { GetOverviewHostQuery } from '../../../../plugins/siem/public/graphql/types'; +import { overviewHostQuery } from '../../../../legacy/plugins/siem/public/containers/overview/overview_host/index.gql_query'; +import { GetOverviewHostQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const overviewHostTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/overview_network.ts b/x-pack/test/api_integration/apis/siem/overview_network.ts index 1061c37f9ce9d..7624796c43826 100644 --- a/x-pack/test/api_integration/apis/siem/overview_network.ts +++ b/x-pack/test/api_integration/apis/siem/overview_network.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { overviewNetworkQuery } from '../../../../plugins/siem/public/containers/overview/overview_network/index.gql_query'; -import { GetOverviewNetworkQuery } from '../../../../plugins/siem/public/graphql/types'; +import { overviewNetworkQuery } from '../../../../legacy/plugins/siem/public/containers/overview/overview_network/index.gql_query'; +import { GetOverviewNetworkQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const overviewNetworkTests: KbnTestProvider = ({ getService }) => { diff --git a/x-pack/test/api_integration/apis/siem/sources.ts b/x-pack/test/api_integration/apis/siem/sources.ts index 627e55b5fb2fe..ffad618da4ec5 100644 --- a/x-pack/test/api_integration/apis/siem/sources.ts +++ b/x-pack/test/api_integration/apis/siem/sources.ts @@ -5,8 +5,8 @@ */ import expect from '@kbn/expect'; -import { sourceQuery } from '../../../../plugins/siem/public/containers/source/index.gql_query'; -import { SourceQuery } from '../../../../plugins/siem/public/graphql/types'; +import { sourceQuery } from '../../../../legacy/plugins/siem/public/containers/source/index.gql_query'; +import { SourceQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; diff --git a/x-pack/test/api_integration/apis/siem/timeline.ts b/x-pack/test/api_integration/apis/siem/timeline.ts index 3696dd7b1946e..0ae56dc05a630 100644 --- a/x-pack/test/api_integration/apis/siem/timeline.ts +++ b/x-pack/test/api_integration/apis/siem/timeline.ts @@ -6,8 +6,8 @@ import expect from '@kbn/expect'; -import { timelineQuery } from '../../../../plugins/siem/public/containers/timeline/index.gql_query'; -import { Direction, GetTimelineQuery } from '../../../../plugins/siem/public/graphql/types'; +import { timelineQuery } from '../../../../legacy/plugins/siem/public/containers/timeline/index.gql_query'; +import { Direction, GetTimelineQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const LTE = new Date('3000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/timeline_details.ts b/x-pack/test/api_integration/apis/siem/timeline_details.ts index 443161b7c20ac..9f48c75ece0bc 100644 --- a/x-pack/test/api_integration/apis/siem/timeline_details.ts +++ b/x-pack/test/api_integration/apis/siem/timeline_details.ts @@ -7,8 +7,11 @@ import expect from '@kbn/expect'; import { sortBy } from 'lodash'; -import { timelineDetailsQuery } from '../../../../plugins/siem/public/containers/timeline/details/index.gql_query'; -import { DetailItem, GetTimelineDetailsQuery } from '../../../../plugins/siem/public/graphql/types'; +import { timelineDetailsQuery } from '../../../../legacy/plugins/siem/public/containers/timeline/details/index.gql_query'; +import { + DetailItem, + GetTimelineDetailsQuery, +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; type DetailsData = Array< diff --git a/x-pack/test/api_integration/apis/siem/tls.ts b/x-pack/test/api_integration/apis/siem/tls.ts index 6f0046f4f5451..2807f8e12eb5d 100644 --- a/x-pack/test/api_integration/apis/siem/tls.ts +++ b/x-pack/test/api_integration/apis/siem/tls.ts @@ -5,13 +5,13 @@ */ import expect from '@kbn/expect'; -import { tlsQuery } from '../../../../plugins/siem/public/containers/tls/index.gql_query'; +import { tlsQuery } from '../../../../legacy/plugins/siem/public/containers/tls/index.gql_query'; import { Direction, TlsFields, FlowTarget, GetTlsQuery, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/uncommon_processes.ts b/x-pack/test/api_integration/apis/siem/uncommon_processes.ts index 1139e7e78572d..d2143af5346e5 100644 --- a/x-pack/test/api_integration/apis/siem/uncommon_processes.ts +++ b/x-pack/test/api_integration/apis/siem/uncommon_processes.ts @@ -6,8 +6,8 @@ import expect from '@kbn/expect'; -import { uncommonProcessesQuery } from '../../../../plugins/siem/public/containers/uncommon_processes/index.gql_query'; -import { GetUncommonProcessesQuery } from '../../../../plugins/siem/public/graphql/types'; +import { uncommonProcessesQuery } from '../../../../legacy/plugins/siem/public/containers/uncommon_processes/index.gql_query'; +import { GetUncommonProcessesQuery } from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/siem/users.ts b/x-pack/test/api_integration/apis/siem/users.ts index 5d17dc925f5eb..5b1ce5da68396 100644 --- a/x-pack/test/api_integration/apis/siem/users.ts +++ b/x-pack/test/api_integration/apis/siem/users.ts @@ -5,13 +5,13 @@ */ import expect from '@kbn/expect'; -import { usersQuery } from '../../../../plugins/siem/public/containers/users/index.gql_query'; +import { usersQuery } from '../../../../legacy/plugins/siem/public/containers/users/index.gql_query'; import { Direction, UsersFields, FlowTarget, GetUsersQuery, -} from '../../../../plugins/siem/public/graphql/types'; +} from '../../../../legacy/plugins/siem/public/graphql/types'; import { KbnTestProvider } from './types'; const FROM = new Date('2000-01-01T00:00:00.000Z').valueOf(); diff --git a/x-pack/test/api_integration/apis/uptime/feature_controls.ts b/x-pack/test/api_integration/apis/uptime/feature_controls.ts index 243e5ebdddd90..475d38e4e10c7 100644 --- a/x-pack/test/api_integration/apis/uptime/feature_controls.ts +++ b/x-pack/test/api_integration/apis/uptime/feature_controls.ts @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { docCountQueryString } from '../../../../plugins/uptime/public/queries'; +import { docCountQueryString } from '../../../../legacy/plugins/uptime/public/queries'; import { SecurityService, SpacesService } from '../../../common/services'; import { KibanaFunctionalTestDefaultProviders } from '../../../types/providers'; import { PINGS_DATE_RANGE_END, PINGS_DATE_RANGE_START } from './constants'; diff --git a/x-pack/test/api_integration/apis/uptime/graphql/doc_count.js b/x-pack/test/api_integration/apis/uptime/graphql/doc_count.js index b981ccef2f10b..9574365268e8e 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/doc_count.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/doc_count.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { docCountQueryString } from '../../../../../plugins/uptime/public/queries'; +import { docCountQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import docCount from './fixtures/doc_count'; export default function ({ getService }) { diff --git a/x-pack/test/api_integration/apis/uptime/graphql/error_list.js b/x-pack/test/api_integration/apis/uptime/graphql/error_list.js index ea59b4aa3846d..ce50b321a8d7e 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/error_list.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/error_list.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { errorListQueryString } from '../../../../../plugins/uptime/public/queries'; +import { errorListQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import errorList from './fixtures/error_list'; import errorListFilteredById from './fixtures/error_list_filtered_by_id'; import errorListFilteredByPort from './fixtures/error_list_filtered_by_port'; diff --git a/x-pack/test/api_integration/apis/uptime/graphql/filter_bar.js b/x-pack/test/api_integration/apis/uptime/graphql/filter_bar.js index d79185879b048..4144219a5acc3 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/filter_bar.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/filter_bar.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { filterBarQueryString } from '../../../../../plugins/uptime/public/queries'; +import { filterBarQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import filterList from './fixtures/filter_list'; export default function ({ getService }) { diff --git a/x-pack/test/api_integration/apis/uptime/graphql/monitor_charts.js b/x-pack/test/api_integration/apis/uptime/graphql/monitor_charts.js index 06c8689b1d0cd..007eef026150a 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/monitor_charts.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/monitor_charts.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { monitorChartsQueryString } from '../../../../../plugins/uptime/public/queries'; +import { monitorChartsQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import monitorCharts from './fixtures/monitor_charts'; import monitorChartsEmptySet from './fixtures/monitor_charts_empty_set'; diff --git a/x-pack/test/api_integration/apis/uptime/graphql/monitor_list.js b/x-pack/test/api_integration/apis/uptime/graphql/monitor_list.js index 2ffb06d98c887..7aa0b2f03ce7e 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/monitor_list.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/monitor_list.js @@ -8,7 +8,7 @@ import expect from '@kbn/expect'; import monitorList from './fixtures/monitor_list'; import monitorListDownFiltered from './fixtures/monitor_list_down_filtered'; import monitorListUpFiltered from './fixtures/monitor_list_up_filtered'; -import { monitorListQueryString } from '../../../../../plugins/uptime/public/queries'; +import { monitorListQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; export default function ({ getService }) { describe('monitorList query', () => { diff --git a/x-pack/test/api_integration/apis/uptime/graphql/monitor_status_bar.js b/x-pack/test/api_integration/apis/uptime/graphql/monitor_status_bar.js index c11605261853b..5d30a9fa85c05 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/monitor_status_bar.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/monitor_status_bar.js @@ -7,7 +7,7 @@ import { omit } from 'lodash'; import expect from '@kbn/expect'; // eslint-disable-next-line max-len -import { monitorStatusBarQueryString } from '../../../../../plugins/uptime/public/queries'; +import { monitorStatusBarQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import monitorStatus from './fixtures/monitor_status'; import monitorStatusById from './fixtures/monitor_status_by_id'; diff --git a/x-pack/test/api_integration/apis/uptime/graphql/ping_list.js b/x-pack/test/api_integration/apis/uptime/graphql/ping_list.js index a3013b4625453..147a08433204d 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/ping_list.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/ping_list.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { pingsQueryString } from '../../../../../plugins/uptime/public/queries'; +import { pingsQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import pingList from './fixtures/ping_list'; import pingListCount from './fixtures/ping_list_count'; import pingListMonitorId from './fixtures/ping_list_monitor_id'; diff --git a/x-pack/test/api_integration/apis/uptime/graphql/snapshot.js b/x-pack/test/api_integration/apis/uptime/graphql/snapshot.js index 789a0f3d8be84..791f0d355304a 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/snapshot.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/snapshot.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { snapshotQueryString } from '../../../../../plugins/uptime/public/queries'; +import { snapshotQueryString } from '../../../../../legacy/plugins/uptime/public/queries'; import snapshot from './fixtures/snapshot'; import snapshotFilteredByDown from './fixtures/snapshot_filtered_by_down'; import snapshotFilteredByUp from './fixtures/snapshot_filtered_by_up'; diff --git a/x-pack/test/api_integration/apis/uptime/location.js b/x-pack/test/api_integration/apis/uptime/location.js index 0e31fd72abfa9..7ab592f40ca7b 100644 --- a/x-pack/test/api_integration/apis/uptime/location.js +++ b/x-pack/test/api_integration/apis/uptime/location.js @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import monitorsWithLocation from './graphql/fixtures/monitors_with_location'; -import { monitorListQueryString } from '../../../../plugins/uptime/public/queries'; +import { monitorListQueryString } from '../../../../legacy/plugins/uptime/public/queries'; export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/x-pack/test/api_integration/apis/xpack_main/features/features.ts b/x-pack/test/api_integration/apis/xpack_main/features/features.ts index a8a7c21bc5ee7..a3e77fd151e25 100644 --- a/x-pack/test/api_integration/apis/xpack_main/features/features.ts +++ b/x-pack/test/api_integration/apis/xpack_main/features/features.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SecurityService } from '../../../../common/services'; -import { Feature } from '../../../../../plugins/xpack_main/types'; +import { Feature } from '../../../../../legacy/plugins/xpack_main/types'; import { KibanaFunctionalTestDefaultProviders } from '../../../../types/providers'; // eslint-disable-next-line import/no-default-export diff --git a/x-pack/test/api_integration/services/es.js b/x-pack/test/api_integration/services/es.js index 3d6e5b0cee1a1..e24de5847ca72 100644 --- a/x-pack/test/api_integration/services/es.js +++ b/x-pack/test/api_integration/services/es.js @@ -7,7 +7,7 @@ import { format as formatUrl } from 'url'; import elasticsearch from 'elasticsearch'; -import shieldPlugin from '../../../server/lib/esjs_shield_plugin'; +import shieldPlugin from '../../../legacy/server/lib/esjs_shield_plugin'; // eslint-disable-next-line @kbn/eslint/no-restricted-paths import { DEFAULT_API_VERSION } from '../../../../src/core/server/elasticsearch/elasticsearch_config'; diff --git a/x-pack/test/api_integration/services/infraops_graphql_client.js b/x-pack/test/api_integration/services/infraops_graphql_client.js index e76016fb2cfdc..65c17300687c2 100644 --- a/x-pack/test/api_integration/services/infraops_graphql_client.js +++ b/x-pack/test/api_integration/services/infraops_graphql_client.js @@ -10,7 +10,7 @@ import { InMemoryCache, IntrospectionFragmentMatcher } from 'apollo-cache-inmemo import { ApolloClient } from 'apollo-client'; import { HttpLink } from 'apollo-link-http'; -import introspectionQueryResultData from '../../../plugins/infra/public/graphql/introspection.json'; +import introspectionQueryResultData from '../../../legacy/plugins/infra/public/graphql/introspection.json'; export function InfraOpsGraphQLClientProvider({ getService }) { return new InfraOpsGraphQLClientFactoryProvider({ getService })(); diff --git a/x-pack/test/api_integration/services/siem_graphql_client.js b/x-pack/test/api_integration/services/siem_graphql_client.js index 9ecabbdfa8048..4583283dae8b8 100644 --- a/x-pack/test/api_integration/services/siem_graphql_client.js +++ b/x-pack/test/api_integration/services/siem_graphql_client.js @@ -10,7 +10,7 @@ import { InMemoryCache, IntrospectionFragmentMatcher } from 'apollo-cache-inmemo import { ApolloClient } from 'apollo-client'; import { HttpLink } from 'apollo-link-http'; -import introspectionQueryResultData from '../../../plugins/siem/public/graphql/introspection.json'; +import introspectionQueryResultData from '../../../legacy/plugins/siem/public/graphql/introspection.json'; export function SiemGraphQLClientProvider({ getService }) { return new SiemGraphQLClientFactoryProvider({ getService })(); diff --git a/x-pack/test/functional/apps/security/management.js b/x-pack/test/functional/apps/security/management.js index 725cef08d9565..cb9f88f35b5dd 100644 --- a/x-pack/test/functional/apps/security/management.js +++ b/x-pack/test/functional/apps/security/management.js @@ -10,7 +10,7 @@ import { EDIT_USERS_PATH, ROLES_PATH, EDIT_ROLES_PATH, -} from '../../../../plugins/security/public/views/management/management_urls'; +} from '../../../../legacy/plugins/security/public/views/management/management_urls'; export default function ({ getService, getPageObjects }) { const kibanaServer = getService('kibanaServer'); diff --git a/x-pack/test/reporting/services/reporting_api.js b/x-pack/test/reporting/services/reporting_api.js index 8feb7a70803e2..b2b04d982d27a 100644 --- a/x-pack/test/reporting/services/reporting_api.js +++ b/x-pack/test/reporting/services/reporting_api.js @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; -import { indexTimestamp } from '../../../plugins/reporting/server/lib/esqueue/helpers/index_timestamp'; +import { indexTimestamp } from '../../../legacy/plugins/reporting/server/lib/esqueue/helpers/index_timestamp'; function removeWhitespace(str) { return str.replace(/\s/g, ''); diff --git a/x-pack/test/saved_object_api_integration/common/lib/space_test_utils.ts b/x-pack/test/saved_object_api_integration/common/lib/space_test_utils.ts index 1619d77761c84..d858177dc62ca 100644 --- a/x-pack/test/saved_object_api_integration/common/lib/space_test_utils.ts +++ b/x-pack/test/saved_object_api_integration/common/lib/space_test_utils.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; export function getUrlPrefix(spaceId: string) { return spaceId && spaceId !== DEFAULT_SPACE_ID ? `/s/${spaceId}` : ``; diff --git a/x-pack/test/saved_object_api_integration/common/services/es.js b/x-pack/test/saved_object_api_integration/common/services/es.js index af188ca5e3971..8c0fb7208944b 100644 --- a/x-pack/test/saved_object_api_integration/common/services/es.js +++ b/x-pack/test/saved_object_api_integration/common/services/es.js @@ -7,7 +7,7 @@ import { format as formatUrl } from 'url'; import elasticsearch from 'elasticsearch'; -import shieldPlugin from '../../../../server/lib/esjs_shield_plugin'; +import shieldPlugin from '../../../../legacy/server/lib/esjs_shield_plugin'; export function EsProvider({ getService }) { const config = getService('config'); diff --git a/x-pack/test/saved_object_api_integration/common/suites/bulk_create.ts b/x-pack/test/saved_object_api_integration/common/suites/bulk_create.ts index 4e9d367be5399..080aeef930c29 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/bulk_create.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/bulk_create.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/bulk_get.ts b/x-pack/test/saved_object_api_integration/common/suites/bulk_get.ts index 34298620ee12f..83f02ed083f6a 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/bulk_get.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/bulk_get.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/create.ts b/x-pack/test/saved_object_api_integration/common/suites/create.ts index 85bc0782dbe4a..2fc0319fc163e 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/create.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/create.ts @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/delete.ts b/x-pack/test/saved_object_api_integration/common/suites/delete.ts index 50e860fec0893..d7729c91bc345 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/delete.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/delete.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/export.ts b/x-pack/test/saved_object_api_integration/common/suites/export.ts index 077d4c124daa4..50b982bfaf715 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/export.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/export.ts @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/find.ts b/x-pack/test/saved_object_api_integration/common/suites/find.ts index e6903c400683f..1454c5689b3c9 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/find.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/find.ts @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/get.ts b/x-pack/test/saved_object_api_integration/common/suites/get.ts index b46d8f87afe1c..0db0b452e6b36 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/get.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/get.ts @@ -5,7 +5,7 @@ */ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/import.ts b/x-pack/test/saved_object_api_integration/common/suites/import.ts index 8498dfc2af1d1..f3a484549d3e6 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/import.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/import.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/resolve_import_errors.ts b/x-pack/test/saved_object_api_integration/common/suites/resolve_import_errors.ts index 6a871c692b0bd..ab323ab0ae38d 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/resolve_import_errors.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/resolve_import_errors.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/saved_object_api_integration/common/suites/update.ts b/x-pack/test/saved_object_api_integration/common/suites/update.ts index fd72e4c20e293..a77b049d40dc3 100644 --- a/x-pack/test/saved_object_api_integration/common/suites/update.ts +++ b/x-pack/test/saved_object_api_integration/common/suites/update.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getIdPrefix, getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/spaces_api_integration/common/lib/space_test_utils.ts b/x-pack/test/spaces_api_integration/common/lib/space_test_utils.ts index f233bc1d11d7c..9206e48afe9a4 100644 --- a/x-pack/test/spaces_api_integration/common/lib/space_test_utils.ts +++ b/x-pack/test/spaces_api_integration/common/lib/space_test_utils.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; export function getUrlPrefix(spaceId?: string) { return spaceId && spaceId !== DEFAULT_SPACE_ID ? `/s/${spaceId}` : ``; diff --git a/x-pack/test/spaces_api_integration/common/services/es.js b/x-pack/test/spaces_api_integration/common/services/es.js index c4fa7c504e12c..01f1d5b943c61 100644 --- a/x-pack/test/spaces_api_integration/common/services/es.js +++ b/x-pack/test/spaces_api_integration/common/services/es.js @@ -7,7 +7,7 @@ import { format as formatUrl } from 'url'; import elasticsearch from 'elasticsearch'; -import shieldPlugin from '../../../../server/lib/esjs_shield_plugin'; +import shieldPlugin from '../../../../legacy/server/lib/esjs_shield_plugin'; export function EsProvider({ getService }) { const config = getService('config'); diff --git a/x-pack/test/spaces_api_integration/common/suites/select.ts b/x-pack/test/spaces_api_integration/common/suites/select.ts index ab8cbfcd0ddc2..07471fe4e324f 100644 --- a/x-pack/test/spaces_api_integration/common/suites/select.ts +++ b/x-pack/test/spaces_api_integration/common/suites/select.ts @@ -6,7 +6,7 @@ import expect from '@kbn/expect'; import { SuperTest } from 'supertest'; -import { DEFAULT_SPACE_ID } from '../../../../plugins/spaces/common/constants'; +import { DEFAULT_SPACE_ID } from '../../../../legacy/plugins/spaces/common/constants'; import { getUrlPrefix } from '../lib/space_test_utils'; import { DescribeFn, TestDefinitionAuthentication } from '../lib/types'; diff --git a/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js b/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js index ae48c38a23fe6..233336c722611 100644 --- a/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js +++ b/x-pack/test/upgrade_assistant_integration/upgrade_assistant/reindexing.js @@ -7,7 +7,7 @@ import expect from '@kbn/expect'; -import { ReindexStatus, REINDEX_OP_TYPE } from '../../../plugins/upgrade_assistant/common/types'; +import { ReindexStatus, REINDEX_OP_TYPE } from '../../../legacy/plugins/upgrade_assistant/common/types'; export default function ({ getService }) { const supertest = getService('supertest'); diff --git a/x-pack/test_utils/jest/config.js b/x-pack/test_utils/jest/config.js index 88c0c863d600d..9dd6b7bdf4c04 100644 --- a/x-pack/test_utils/jest/config.js +++ b/x-pack/test_utils/jest/config.js @@ -9,15 +9,15 @@ import { RESERVED_DIR_JEST_INTEGRATION_TESTS } from '../../../src/dev/constants' export default { rootDir: '../../', roots: [ - '/plugins', - '/server', - '/common', + '/legacy/plugins', + '/legacy/server', + '/legacy/common', '/test_utils/jest/integration_tests', ], collectCoverageFrom: [ - 'plugins/**/*.js', - 'common/**/*.js', - 'server/**/*.js', + 'legacy/plugins/**/*.js', + 'legacy/common/**/*.js', + 'legacy/server/**/*.js', ], moduleNameMapper: { '^ui/(.*)': '**/public/$1', diff --git a/x-pack/tsconfig.json b/x-pack/tsconfig.json index 64d0cb0b28496..ee0c6a27faa38 100644 --- a/x-pack/tsconfig.json +++ b/x-pack/tsconfig.json @@ -2,9 +2,9 @@ "extends": "../tsconfig.json", "include": [ "typings/**/*", - "common/**/*", - "server/**/*", - "plugins/**/*", + "legacy/common/**/*", + "legacy/server/**/*", + "legacy/plugins/**/*", "test_utils/**/*" ], "exclude": [ @@ -18,13 +18,13 @@ "src/legacy/ui/public/*" ], "plugins/xpack_main/*": [ - "x-pack/plugins/xpack_main/public/*" + "x-pack/legacy/plugins/xpack_main/public/*" ], "plugins/security/*": [ - "x-pack/plugins/security/public/*" + "x-pack/legacy/plugins/security/public/*" ], "plugins/spaces/*": [ - "x-pack/plugins/spaces/public/*" + "x-pack/legacy/plugins/spaces/public/*" ], "test_utils/*": [ "x-pack/test_utils/*" diff --git a/x-pack/typings/hapi.d.ts b/x-pack/typings/hapi.d.ts index 9fedea3e541ad..cbf6a19612aba 100644 --- a/x-pack/typings/hapi.d.ts +++ b/x-pack/typings/hapi.d.ts @@ -6,10 +6,10 @@ import 'hapi'; -import { CloudPlugin } from '../plugins/cloud'; -import { EncryptedSavedObjectsPlugin } from '../plugins/encrypted_saved_objects'; -import { XPackMainPlugin } from '../plugins/xpack_main/xpack_main'; -import { SecurityPlugin } from '../plugins/security'; +import { CloudPlugin } from '../legacy/plugins/cloud'; +import { EncryptedSavedObjectsPlugin } from '../legacy/plugins/encrypted_saved_objects'; +import { XPackMainPlugin } from '../legacy/plugins/xpack_main/xpack_main'; +import { SecurityPlugin } from '../legacy/plugins/security'; declare module 'hapi' { interface PluginProperties {